com.ibm.etools.systems.core.ui.actions
Class SystemCascadingPreferencesAction
java.lang.Object
Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.actions.SystemBaseSubMenuAction
com.ibm.etools.systems.core.ui.actions.SystemCascadingPreferencesAction
- All Implemented Interfaces:
- ISystemAction
- public class SystemCascadingPreferencesAction
- extends SystemBaseSubMenuAction
A cascading menu action for "Preferences->".
- See Also:
SystemShowPreferencesPageAction
,
Serialized Form
Method Summary |
void |
menuAboutToShow(IMenuManager ourSubMenu)
Called when submenu is about to show |
IMenuManager |
populateSubMenu(IMenuManager ourSubMenu)
Must be overridden
Example of this:
menu.add(new MyAction1());
|
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseSubMenuAction |
cascadeAllInputs, createMnemonicsListener, createStandardGroups, getActions, getSelection, getShell, getSubMenu, getViewer, setCreateMenuEachTime, setEnabled, setInputs, setInputsFromSubMenuManager, setMenuID, setPopulateMenuEachTime, setSelection, setShell, setTest, setViewer |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelectionProvider, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, run, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setSelectionProvider, setSelectionSensitive, setSystemConnection, setTracing, setTracing, updateSelection |
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
SystemCascadingPreferencesAction
public SystemCascadingPreferencesAction(Shell shell)
- Constructor
populateSubMenu
public IMenuManager populateSubMenu(IMenuManager ourSubMenu)
- Description copied from class:
SystemBaseSubMenuAction
- Must be overridden
Example of this:
menu.add(new MyAction1());
- Specified by:
populateSubMenu
in class SystemBaseSubMenuAction
- Parameters:
ourSubMenu
- The cascading menu, which is created for you. Add your actions to it.
- Returns:
- The given menu if you just populated it, or a new menu if you want to create the menu yourself.
- See Also:
SystemBaseSubMenuAction.getSubMenu()
menuAboutToShow
public void menuAboutToShow(IMenuManager ourSubMenu)
- Called when submenu is about to show
Copyright © 2005 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.