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)
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 addedinputProvider
- the selection and input provider
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.