public class ReadReferencesSearchGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
ReadReferencesSearchGroup(IWorkbenchSite site)
Creates a new
ReadReferencesSearchGroup . |
ReadReferencesSearchGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new
ReadReferencesSearchGroup . |
ReadReferencesSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
Note: This constructor is for internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
fillActionBars(IActionBars actionBars) |
void |
fillContextMenu(IMenuManager manager) |
getContext, setContext, updateActionBars
public ReadReferencesSearchGroup(IWorkbenchSite site)
ReadReferencesSearchGroup
. The group requires
that the selection provided by the site's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
.site
- the view part that owns this action grouppublic ReadReferencesSearchGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider)
ReadReferencesSearchGroup
. The group requires
that the selection provided by the given selection provider is of type
IStructuredSelection
.site
- the site that will own the action group.specialSelectionProvider
- the selection provider used instead of the
sites selection provider.public ReadReferencesSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor
- the Java editorpublic void fillContextMenu(IMenuManager manager)
fillContextMenu
in class ActionGroup
public void fillActionBars(IActionBars actionBars)
fillActionBars
in class ActionGroup
public void dispose()
dispose
in class ActionGroup
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.