public class ReferencesSearchGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
ReferencesSearchGroup(IWorkbenchSite site)
Creates a new
ReferencesSearchGroup . |
ReferencesSearchGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new
ReferencesSearchGroup . |
ReferencesSearchGroup(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) |
protected String |
getName()
Note: this method is for internal use only.
|
getContext, setContext, updateActionBars
public ReferencesSearchGroup(IWorkbenchSite site)
ReferencesSearchGroup
. 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 ReferencesSearchGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider)
ReferencesSearchGroup
. 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 ReferencesSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor
- the Java editorprotected String getName()
public void fillActionBars(IActionBars actionBars)
fillActionBars
in class ActionGroup
public void fillContextMenu(IMenuManager manager)
fillContextMenu
in class ActionGroup
public void dispose()
dispose
in class ActionGroup
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.