RSE
Release 1.0

org.eclipse.rse.core
Class SystemPopupMenuActionContributorManager

java.lang.Object
  extended byorg.eclipse.rse.core.SystemPopupMenuActionContributorManager

public class SystemPopupMenuActionContributorManager
extends Object

This class provides for the management of all popup menus provided by the org.eclipse.rse.core.popupMenus extension point. To that end, we must

See Also:
SystemPopupMenuActionContributor

Constructor Summary
SystemPopupMenuActionContributorManager()
          Constructor for SystemPopupMenuActionContributorManager
 
Method Summary
 boolean contributeObjectActions(IWorkbenchPart part, SystemMenuManager popupMenu, ISelectionProvider selectionProvider, List actionIdOverrides)
          Contributes submenus and/or actions applicable to the selection in the provided viewer into the provided popup menu.
static SystemPopupMenuActionContributorManager getManager()
          Returns the singleton instance of this manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemPopupMenuActionContributorManager

public SystemPopupMenuActionContributorManager()
Constructor for SystemPopupMenuActionContributorManager

Method Detail

getManager

public static SystemPopupMenuActionContributorManager getManager()
Returns the singleton instance of this manager.


contributeObjectActions

public boolean contributeObjectActions(IWorkbenchPart part,
                                       SystemMenuManager popupMenu,
                                       ISelectionProvider selectionProvider,
                                       List actionIdOverrides)
Contributes submenus and/or actions applicable to the selection in the provided viewer into the provided popup menu. It is called from the SystemView class when filling the context menu. TODO: use actionIdOverrides list

Parameters:
part - the IWorkbenchPart in which the selection lives and the menu will appear
popupMenu - the SystemMenuManager (menu) in which the menu items are to be placed
selectionProvider - the ISelectionProvider that will give us access to the selected items in the view
actionIdOverrides - the List of overrides for the actions (currently ignored)
Returns:
true if anything was added to the menu

RSE
Release 1.0

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