Extension SDK 10.1.2

oracle.ide
Class PinnableManager

java.lang.Object
  extended byoracle.ide.MultiManager
      extended byoracle.ide.PinnableManager
All Implemented Interfaces:
Controller, Module
Direct Known Subclasses:
ExplorerManager, InspectorManager

public abstract class PinnableManager
extends MultiManager


Constructor Summary
PinnableManager()
           
 
Method Summary
 boolean handleEvent(IdeAction action, Context context)
          This method is called when a user interaction with a View triggers the execution of a command.
 DockableView showLastView(Context context)
          Show the last managed View.
 DockableView showView(Context context)
          Show the View for the given Context, creating a new View instance as necessary.
 boolean update(IdeAction action, Context context)
          This method updates the enabled status of the specified action within the specified context.
 
Methods inherited from class oracle.ide.MultiManager
createDockableView, createShowAction, createToggleToolbarAction, findOrCreateView, findView, getDefaultName, getDefaultViewId, getDockableFactory, getLastView, getNewView, getOrientation, getRelativeView, getShowAction, getToggleToolbarMenuWeight, getViewCategory, getViewId, getViews, initialize, isToolbarVisible, setToolbarVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PinnableManager

public PinnableManager()
Method Detail

showLastView

public DockableView showLastView(Context context)
Description copied from class: MultiManager
Show the last managed View. This method is called in response to the IdeAction returned by getAction. The value returned may be dependant upon the Context provided (e.g. if context already refers to the last managed View, might return the next to last managed View thereby allowing round robin View activation by continually showing the managed View previous to the current managed View).

Overrides:
showLastView in class MultiManager
See Also:
#getAction

showView

public DockableView showView(Context context)
Description copied from class: MultiManager
Show the View for the given Context, creating a new View instance as necessary. This method is called in response to the IdeAction returned by getNewAction.

Overrides:
showView in class MultiManager
See Also:
#getNewAction

update

public boolean update(IdeAction action,
                      Context context)
Description copied from interface: Controller
This method updates the enabled status of the specified action within the specified context. It should generally be called on the controller associated with the active view to allow that controller to take the first crack at determining its enabled status. If that controller wants to update its enabled status, it does so and returns true to indicate that further controllers do not need to be consulted. If the controller does not deal with setting the enabled status of an action, it delegates the request to its supervising controller, all the way up to the Ide. The Ide has a special implementation of update(xx) that further delegates the request to root controllers, until one of them returns true indicating the request was handled by the controller.

Specified by:
update in interface Controller
Overrides:
update in class MultiManager

handleEvent

public boolean handleEvent(IdeAction action,
                           Context context)
Description copied from interface: Controller
This method is called when a user interaction with a View triggers the execution of a command.

Specified by:
handleEvent in interface Controller
Overrides:
handleEvent in class MultiManager

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.