public class JavaSearchActionGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
JavaSearchActionGroup(IViewPart part)
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 . |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
fillActionBars(IActionBars actionBar) |
void |
fillContextMenu(IMenuManager menu) |
void |
setContext(ActionContext context) |
getContext, updateActionBars
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 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
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.