RSE
Release 1.0

org.eclipse.rse.ui.actions
Interface ISystemDynamicPopupMenuExtension


public interface ISystemDynamicPopupMenuExtension

Required interface for use in making contributions view the adapter menu extension extension point (org.eclipse.rse.ui.dynamicPopupMenuExtensions).


Method Summary
 void populateMenu(Shell shell, SystemMenuManager menu, IStructuredSelection selection, String menuGroup)
          Populates the menu with specialized actions.
 boolean supportsSelection(IStructuredSelection selection)
          Returns true if this menu extension supports the specified selection.
 

Method Detail

supportsSelection

public boolean supportsSelection(IStructuredSelection selection)
Returns true if this menu extension supports the specified selection.

Parameters:
selection - the resources to contriubte menu items to
Returns:
true if the extension will be used for menu population

populateMenu

public void populateMenu(Shell shell,
                         SystemMenuManager menu,
                         IStructuredSelection selection,
                         String menuGroup)
Populates the menu with specialized actions.

Parameters:
shell - the shell
menu - the menu to contribute actions to
menuGroup - the defect menu group to add actions to
selection - the resources to contriubte menu items to

RSE
Release 1.0

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