com.ibm.etools.iseries.rse.ui.actions
Class ISeriesCascadingGenericAction
java.lang.Object
SystemBaseSubMenuAction
com.ibm.etools.iseries.rse.ui.actions.ISeriesCascadingGenericAction
public class ISeriesCascadingGenericAction
- extends SystemBaseSubMenuAction
Generic cascading menu action that can be used to display submenus actions.
Make sure to use menuMgr.add(cascadingAction.getSubMenu());
Method Summary |
IMenuManager |
populateSubMenu(IMenuManager menu)
|
void |
setEnabled(boolean enable)
Enable/disable this cascading action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ISeriesCascadingGenericAction
public ISeriesCascadingGenericAction(Shell shell,
String text,
String tooltip,
ImageDescriptor image,
IAction[] subActions)
ISeriesCascadingGenericAction
public ISeriesCascadingGenericAction(Shell shell,
String name,
ImageDescriptor image,
IAction[] subActions)
populateSubMenu
public IMenuManager populateSubMenu(IMenuManager menu)
- See Also:
SystemBaseSubMenuAction#populateSubMenu(IMenuManager)
setEnabled
public void setEnabled(boolean enable)
- Enable/disable this cascading action. This amounts to enabling/disabling
submenu actions.
Unfortunately, for some reason the action itself cannot be disabled!
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.