public class OpenEditorActionGroup extends ActionGroup
This class may be instantiated; it is not intended to be subclassed.
| Constructor and Description |
|---|
OpenEditorActionGroup(IViewPart part)
Creates a new
OpenActionGroup. |
OpenEditorActionGroup(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 actionBar) |
void |
fillContextMenu(IMenuManager menu) |
IAction |
getOpenAction()
Returns the open action managed by this action group.
|
getContext, setContext, updateActionBarspublic OpenEditorActionGroup(IViewPart part)
OpenActionGroup. 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 OpenEditorActionGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor - the Java editorpublic IAction getOpenAction()
null if the group
doesn't provide any open actionpublic void fillActionBars(IActionBars actionBar)
fillActionBars in class ActionGrouppublic void fillContextMenu(IMenuManager menu)
fillContextMenu in class ActionGrouppublic void dispose()
dispose in class ActionGroupCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.