|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.ralfebert.rcputils.menus.ContextMenu
public class ContextMenu
ContextMenu creates a context menu for a structured viewer and registers it with the workbench. It can assist with handling the default menu item.
http://www.ralfebert.de/blog/eclipsercp/commands_context_menu/
Constructor Summary | |
---|---|
ContextMenu(StructuredViewer viewer,
IWorkbenchPartSite site)
Creates an empty context menu for a structured viewer and registers it for the given workbench part site. |
|
ContextMenu(StructuredViewer viewer,
IWorkbenchPartSite site,
boolean defaultItemHandling)
Deprecated. |
Method Summary | |
---|---|
void |
setDefaultItemHandling(boolean defaultItemHandling)
Activates default item handling. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextMenu(StructuredViewer viewer, IWorkbenchPartSite site)
@Deprecated public ContextMenu(StructuredViewer viewer, IWorkbenchPartSite site, boolean defaultItemHandling)
Method Detail |
---|
public void setDefaultItemHandling(boolean defaultItemHandling)
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |