|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.SystemMenuManager
Override/wrapper of JFace MenuManager so we can redirect any menu additions to specific menu groups to go into pre-defined submenus.
Only exposes core set of MenuManager methods. Rest can be accessed by calling getMenuManger().
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemMenuManager(IMenuManager menuManager)
Constructor for SystemMenuManager |
Method Summary | |
---|---|
void |
add(String menuGroup,
IAction action)
Special helper that intelligently adds system framework actions |
void |
addSeparator()
Add a separator. |
void |
appendToGroup(String groupName,
IAction action)
Method declared on IContributionManager. |
IMenuManager |
getMenuManager()
Get the wrapped IMenuManager manager |
IMenuManager |
getSpecialSubMenuByMenuID(String menuID)
|
void |
prependToGroup(String groupName,
IAction action)
Method declared on IContributionManager. |
boolean |
wasMenuCreated()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemMenuManager(IMenuManager menuManager)
menuManager
- existing JFace menu managerMethod Detail |
public IMenuManager getMenuManager()
public void appendToGroup(String groupName, IAction action)
Intercepted so we can direct appends to certain groups into appropriate cascading submenus.
groupName
- group to append to. See ISystemContextMenuConstants
.action
- action to append.public void prependToGroup(String groupName, IAction action)
Intercepted so we can direct appends to certain groups into appropriate cascading submenus.
groupName
- group to append to. See ISystemContextMenuConstants
.action
- action to prepend.public void addSeparator()
public void add(String menuGroup, IAction action)
menuGroup
- default menuGroup to add to, if action doesn't contain an explicit locationaction
- action to add to the menupublic IMenuManager getSpecialSubMenuByMenuID(String menuID)
public boolean wasMenuCreated()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |