Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions
Class ISeriesCascadingGenericAction

java.lang.Object
  extended by SystemBaseSubMenuAction
      extended by 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());


Field Summary
static String copyright
           
 
Constructor Summary
ISeriesCascadingGenericAction(Shell shell, String name, ImageDescriptor image, IAction[] subActions)
           
ISeriesCascadingGenericAction(Shell shell, String text, String tooltip, ImageDescriptor image, IAction[] subActions)
           
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesCascadingGenericAction

public ISeriesCascadingGenericAction(Shell shell,
                                     String text,
                                     String tooltip,
                                     ImageDescriptor image,
                                     IAction[] subActions)

ISeriesCascadingGenericAction

public ISeriesCascadingGenericAction(Shell shell,
                                     String name,
                                     ImageDescriptor image,
                                     IAction[] subActions)
Method Detail

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!


Rational Developer for Power Systems Software
V7.6

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.