Eclipse Platform
2.0

org.eclipse.search.ui
Interface IContextMenuContributor


public interface IContextMenuContributor

Specify how clients can add menu items to the context menu of the search result view. A class that contributes context menu items must implement this interface and pass an instance of itself to the search result view.

See Also:
ISearchResultView.searchStarted(org.eclipse.search.ui.IActionGroupFactory, java.lang.String, java.lang.String, org.eclipse.jface.resource.ImageDescriptor, java.lang.String, org.eclipse.jface.viewers.ILabelProvider, org.eclipse.jface.action.IAction, org.eclipse.search.ui.IGroupByKeyComputer, org.eclipse.jface.operation.IRunnableWithProgress)

Method Summary
 void fill(IMenuManager menu, IInputSelectionProvider inputProvider)
          Contributes menu items to the given context menu appropriate for the given selection.
 

Method Detail

fill

public void fill(IMenuManager menu,
                 IInputSelectionProvider inputProvider)
Contributes menu items to the given context menu appropriate for the given selection.

Parameters:
menu - the menu to which the items are added
inputProvider - the selection and input provider

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.