|
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.GenerateActionGroup
Action group that adds the source and generate actions to a part's context menu and installs handlers for the corresponding global menu actions.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
GenerateActionGroup(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor,
String groupName)
Note: This constructor is for internal use only. |
|
GenerateActionGroup(IViewPart part)
Creates a new GenerateActionGroup . |
|
GenerateActionGroup(Page page)
Creates a new GenerateActionGroup . |
Method Summary | |
void |
dispose()
|
void |
editorStateChanged()
Note: This method is for internal use only. |
void |
fillActionBars(IActionBars actionBar)
|
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 GenerateActionGroup(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor, String groupName)
public GenerateActionGroup(Page page)
GenerateActionGroup
. 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 GenerateActionGroup(IViewPart part)
GenerateActionGroup
. 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 groupMethod Detail |
public void editorStateChanged()
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 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |