|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.actions.ActionGroup | +--org.eclipse.jdt.ui.actions.RefactorActionGroup
Action group that adds refactor actions (e.g. Rename..., Move..., etc.) to a context menu and the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
RefactorActionGroup(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor,
String groupName)
Note: This constructor is for internal use only. |
|
RefactorActionGroup(IViewPart part)
Creates a new RefactorActionGroup . |
|
RefactorActionGroup(Page page)
Creates a new RefactorActionGroup . |
Method Summary | |
void |
dispose()
|
void |
fillActionBars(IActionBars actionBars)
|
void |
fillContextMenu(IMenuManager menu)
|
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RefactorActionGroup(IViewPart part)
RefactorActionGroup
. 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 RefactorActionGroup(Page page)
RefactorActionGroup
. The action 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 RefactorActionGroup(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor, String groupName)
Method Detail |
public void fillActionBars(IActionBars actionBars)
fillActionBars
in class ActionGroup
public void fillContextMenu(IMenuManager menu)
fillContextMenu
in class ActionGroup
public void dispose()
dispose
in class ActionGroup
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |