org.eclipse.jdt.ui.actions
Class GenerateActionGroup
java.lang.Object
|
+--org.eclipse.ui.actions.ActionGroup
|
+--org.eclipse.jdt.ui.actions.GenerateActionGroup
- public class GenerateActionGroup
- extends ActionGroup
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.
- Since:
- 2.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerateActionGroup
public GenerateActionGroup(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor,
String groupName)
- Note: This constructor is for internal use only. Clients should not call this constructor.
GenerateActionGroup
public GenerateActionGroup(Page page)
- Creates a new
GenerateActionGroup. The group
requires that the selection provided by the page's selection provider
is of type org.eclipse.jface.viewers.IStructuredSelection.
- Parameters:
page - the page that owns this action group
GenerateActionGroup
public GenerateActionGroup(IViewPart part)
- Creates a new
GenerateActionGroup. The group
requires that the selection provided by the part's selection provider
is of type org.eclipse.jface.viewers.IStructuredSelection.
- Parameters:
part - the view part that owns this action group
editorStateChanged
public void editorStateChanged()
- Note: This method is for internal use only. Clients should not call this method.
fillActionBars
public void fillActionBars(IActionBars actionBar)
- Overrides:
fillActionBars in class ActionGroup
fillContextMenu
public void fillContextMenu(IMenuManager menu)
- Overrides:
fillContextMenu in class ActionGroup
dispose
public void dispose()
- Overrides:
dispose in class ActionGroup
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.