|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.jdt.ui.actions.JavaSearchActionGroup
public class JavaSearchActionGroup
Action group that adds the Java search actions to a context menu and the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
---|---|
JavaSearchActionGroup(IViewPart part)
Creates a new JavaSearchActionGroup . |
|
JavaSearchActionGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new JavaSearchActionGroup . |
|
JavaSearchActionGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
Note: This constructor is for internal use only. |
|
JavaSearchActionGroup(Page page)
Creates a new JavaSearchActionGroup . |
Method Summary | |
---|---|
void |
dispose()
|
void |
fillActionBars(IActionBars actionBar)
|
void |
fillContextMenu(IMenuManager menu)
|
void |
setContext(ActionContext context)
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
getContext, updateActionBars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSearchActionGroup(IViewPart part)
JavaSearchActionGroup
. The group
requires that the selection provided by the part's selection provider
is of type org.eclipse.jface.viewers.IStructuredSelection
.
part
- the view part that owns this action grouppublic JavaSearchActionGroup(Page page)
JavaSearchActionGroup
. The group
requires that the selection provided by the page's selection provider
is of type org.eclipse.jface.viewers.IStructuredSelection
.
page
- the page that owns this action grouppublic JavaSearchActionGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor
- the Java editorpublic JavaSearchActionGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider)
JavaSearchActionGroup
. 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.Method Detail |
---|
public void setContext(ActionContext context)
setContext
in class ActionGroup
public void fillActionBars(IActionBars actionBar)
fillActionBars
in class ActionGroup
public void fillContextMenu(IMenuManager menu)
fillContextMenu
in class ActionGroup
public void dispose()
dispose
in class ActionGroup
|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |