RSE
Release 1.0

org.eclipse.rse.ui.actions
Class SystemDynamicPopupMenuExtensionManager

java.lang.Object
  extended byorg.eclipse.rse.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, SystemMenuManager 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,
                         SystemMenuManager 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

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.