|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.ceditor.CodeEditorController
The CodeEditorController is the controller for the
CodeEditor Addin. It takes care of managing commands that this
CodeEditor supports (i.e., Cut, Copy, or Paste.)
| Field Summary | |
static int |
UNDO_WRAPPER_CMD_ID
Command ID for UndoWrapperCommand |
static int |
UNDO_WRAPPER_MSG
This is the message that the user had new typed input |
| Fields inherited from interface oracle.ide.controller.Controller |
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED |
| Method Summary | |
protected void |
checkCommandsAfterNavigation(Context context)
Utility routine which is used to verify command sensitivity after a change in the caret position of the editor. |
javax.swing.JComponent[] |
gatherDynamicActions(Context context)
Called just before the dynamic menu is added to the main menu bar. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a popup 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)
Called just before the context menu is popping down. |
void |
menuWillShow(ContextMenu popup)
Called just before the context menu is popping up. |
boolean |
update(IdeAction action,
Context context)
This method is called when the availability of a specific command needs to be determined. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UNDO_WRAPPER_CMD_ID
public static final int UNDO_WRAPPER_MSG
| Method Detail |
protected void checkCommandsAfterNavigation(Context context)
context - the current context
public boolean update(IdeAction action,
Context context)
update in interface Controlleraction - the action associated with this commandcontext - the current context
public boolean handleEvent(IdeAction action,
Context context)
View
triggers the execution of a command.
handleEvent in interface Controlleraction - action whose command is to be executed.
public void menuWillShow(ContextMenu popup)
menuWillShow in interface ContextMenuListenerpopup - the current view context menupublic void menuWillHide(ContextMenu popup)
menuWillHide in interface ContextMenuListenerpopup - the current view context menupublic boolean handleDefaultAction(Context context)
handleDefaultAction in interface ContextMenuListenercontext - the current contextpublic javax.swing.JComponent[] gatherDynamicActions(Context context)
gatherDynamicActions in interface DynamicMenuListenercontext - the current view context.
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.