Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.actions
Class SystemDynamicPopupMenuExtensionManager

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.actions.SystemDynamicPopupMenuExtensionManager
All Implemented Interfaces:
ISystemDynamicPopupMenuExtensionManager

public class SystemDynamicPopupMenuExtensionManager
extends Object
implements ISystemDynamicPopupMenuExtensionManager

Singleton class for managing adapter menu extensions. View adapters that support this feature, should call populateMenu to allow for extended menu contributions.


Method Summary
static SystemDynamicPopupMenuExtensionManager getInstance()
           
 void populateMenu(Shell shell, IMenuManager menu, IStructuredSelection selection, String menuGroup)
          Actions are added to a contribution menu.
 void registerMenuExtension(ISystemDynamicPopupMenuExtension ext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SystemDynamicPopupMenuExtensionManager getInstance()

registerMenuExtension

public void registerMenuExtension(ISystemDynamicPopupMenuExtension ext)

populateMenu

public void populateMenu(Shell shell,
                         IMenuManager menu,
                         IStructuredSelection selection,
                         String menuGroup)
Actions are added to a contribution menu.

Parameters:
shell - the shell
menu - the menu to contribute to
menuGroup - the default menu group to add actions to
Returns:
the menu is populated with actions

Remote Systems
v6.4.1

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.