public class OccurrencesSearchGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
OccurrencesSearchGroup(IWorkbenchSite site)
Creates a new
ImplementorsSearchGroup . |
OccurrencesSearchGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new
OccurrencesSearchGroup . |
OccurrencesSearchGroup(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 OccurrencesSearchGroup(IWorkbenchSite site)
ImplementorsSearchGroup
. 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 OccurrencesSearchGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider)
OccurrencesSearchGroup
. 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 OccurrencesSearchGroup(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, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.