|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.internal.ShortcutMenu | +--org.eclipse.ui.actions.NewWizardMenu
A NewWizardMenu
is used to populate a menu manager with
New Wizard actions. The visible actions are determined by user preference
from the Perspective Customize dialog.
Constructor Summary | |
NewWizardMenu(IMenuManager innerMgr,
IWorkbenchWindow window,
boolean register)
Create a new wizard shortcut menu. |
Method Summary | |
protected void |
fillMenu()
Fills the menu. |
void |
setEnabled(boolean enabledValue)
Sets the enabled state of the receiver. |
Methods inherited from class org.eclipse.ui.internal.ShortcutMenu |
deregisterListeners, getCurrentPerspective, getMenuManager, getWindow, pageActivated, pageClosed, pageOpened, perspectiveActivated, perspectiveChanged, perspectiveClosed, perspectiveOpened, updateMenu |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NewWizardMenu(IMenuManager innerMgr, IWorkbenchWindow window, boolean register)
If the menu will appear on a semi-permanent basis, for instance within
a toolbar or menubar, the value passed for register
should be true.
If set, the menu will listen to perspective activation and update itself
to suit. In this case clients are expected to call deregister
when the menu is no longer needed. This will unhook any perspective
listeners.
innerMgr
- the location for the shortcut menu contentswindow
- the window containing the menuregister
- if true
the menu listens to perspective changes in
the windowMethod Detail |
protected void fillMenu()
org.eclipse.ui.internal.ShortcutMenu
Subclasses must implement.
fillMenu
in class org.eclipse.ui.internal.ShortcutMenu
public void setEnabled(boolean enabledValue)
enabledValue
- if true
the menu is enabled; else
it is disabled
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |