|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.vcs.changelist.ChangeListContextMenuListener
public class ChangeListContextMenuListener
Context menu listener class for a ChangeList.
Constructor Summary | |
---|---|
ChangeListContextMenuListener(ChangeList changeList)
|
Method Summary | |
---|---|
protected void |
addCategoryMenuItems(ContextMenu popup)
|
protected javax.swing.JMenu |
addMenuItemBaseCompare(ContextMenu popup)
|
protected void |
addMenuItemCompare(ContextMenu popup)
|
protected void |
addMenuItemCopyFileList(ContextMenu popup)
|
protected void |
addMenuItemPreferences(ContextMenu popup)
|
protected void |
addMenuItemRefresh(ContextMenu popup)
|
protected void |
addMenuItemSelectInNavigator(ContextMenu popup)
|
ChangeList |
getChangeList()
|
protected IdeAction |
getDefaultAction()
|
protected IdeAction |
getDefaultAction(Context context)
|
protected IdeAction |
getLocalAction(Context context,
int cmdId)
|
protected IdeAction |
getLocalAction(ContextMenu popup,
int cmdId)
|
protected Locatable[] |
getLocatableSelection(Context context)
|
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a context menu. |
protected boolean |
handleDefaultActionImpl(Context context)
|
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. |
protected void |
menuWillShowImpl(ContextMenu popup)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeListContextMenuListener(ChangeList changeList)
Method Detail |
---|
public ChangeList getChangeList()
public boolean handleDefaultAction(Context context)
true
; otherwise it must return
false
. Processing of handleDefaultAction
stops on the first return of true
.
handleDefaultAction
in interface ContextMenuListener
context
- the context on which the default action needs
to occur.protected boolean handleDefaultActionImpl(Context context)
protected IdeAction getDefaultAction(Context context)
protected IdeAction getDefaultAction()
public void menuWillHide(ContextMenu popup)
ContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu)
, since the IDE takes care of that
automatically.
menuWillHide
in interface ContextMenuListener
popup
- the context menu being hiddenpublic void menuWillShow(ContextMenu popup)
menuWillShow
in interface ContextMenuListener
popup
- the context menu being shownprotected void addCategoryMenuItems(ContextMenu popup)
protected void menuWillShowImpl(ContextMenu popup)
protected final void addMenuItemCopyFileList(ContextMenu popup)
protected final void addMenuItemSelectInNavigator(ContextMenu popup)
protected final void addMenuItemRefresh(ContextMenu popup)
protected final void addMenuItemCompare(ContextMenu popup)
protected final javax.swing.JMenu addMenuItemBaseCompare(ContextMenu popup)
protected final void addMenuItemPreferences(ContextMenu popup)
protected IdeAction getLocalAction(ContextMenu popup, int cmdId)
protected IdeAction getLocalAction(Context context, int cmdId)
protected final Locatable[] getLocatableSelection(Context context)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |