public class AppServerNavigatorController extends java.lang.Object implements Controller, ContextMenuListener
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Constructor and Description | 
|---|
AppServerNavigatorController(AppServerNavigatorModel model)  | 
| Modifier and Type | Method and Description | 
|---|---|
AppServerNavigatorModel | 
getDataModel()  | 
boolean | 
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a context menu. 
 | 
boolean | 
handleEvent(IdeAction action, Context context)
This method is called when a user interaction with a  
View triggers the execution of a command. | 
void | 
menuWillHide(ContextMenu popup)
This method is called just before a showing context menu is dismissed. 
 | 
void | 
menuWillShow(ContextMenu popup)
Called just before the context menu is shown. 
 | 
boolean | 
update(IdeAction action, Context context)
This method updates the enabled status of the specified action within the specified context. 
 | 
protected boolean | 
whenCreateConnection(Context ctx)  | 
public AppServerNavigatorController(AppServerNavigatorModel model)
public AppServerNavigatorModel getDataModel()
public boolean handleEvent(IdeAction action, Context context)
ControllerView triggers the execution of a command.handleEvent in interface Controlleraction - action whose command is to be executed.public boolean update(IdeAction action, Context context)
Controllerupdate in interface Controlleraction - action whose command is to be executed.context - the current contextpublic void menuWillShow(ContextMenu popup)
ContextMenuListenermenuWillShow in interface ContextMenuListenerpopup - the context menu being shownpublic void menuWillHide(ContextMenu popup)
ContextMenuListenerContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that automatically.menuWillHide in interface ContextMenuListenerpopup - the context menu being hiddenpublic boolean handleDefaultAction(Context context)
ContextMenuListenertrue; otherwise it must return false. Processing of handleDefaultAction stops on the first return of true.handleDefaultAction in interface ContextMenuListenercontext - the context on which the default action needs to occur.protected boolean whenCreateConnection(Context ctx)