|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.spi.VCSContextMenuListener
Utility listener class for handling context menu events.
Constructor Summary | |
VCSContextMenuListener()
|
Method Summary | |
protected abstract java.awt.Component[] |
getContextMenuItems(Context context)
Gets the menu items to be added directly to the context menu when popup notification is received. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a popup menu. |
void |
poppingDown(ContextMenu popup)
|
void |
poppingUp(ContextMenu popup)
Called just before the context menu is popping up. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VCSContextMenuListener()
Method Detail |
public boolean handleDefaultAction(Context context)
ContextMenuListener
handleDefaultAction
in interface ContextMenuListener
context
- the current contextpublic void poppingDown(ContextMenu popup)
poppingDown
in interface ContextMenuListener
public void poppingUp(ContextMenu popup)
ContextMenuListener
poppingUp
in interface ContextMenuListener
protected abstract java.awt.Component[] getContextMenuItems(Context context)
context
- the current context.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.