public class DiagramEditorActionBarContributor
extends org.eclipse.gef.ui.actions.ActionBarContributor
Some of the standard-actions are: undo/redo, delete, copy/paste, alignment, zooming.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MENU_ID_VIEW
The menu ID of the Graphiti view menu that is added by this action bar
contributor to the main menu.
|
Constructor and Description |
---|
DiagramEditorActionBarContributor() |
Modifier and Type | Method and Description |
---|---|
void |
contributeToMenu(IMenuManager menubar)
Adds Actions to the given IMenuManager, which is displayed as the
main-menu of Eclipse.
|
void |
contributeToToolBar(IToolBarManager tbm)
Adds Actions to the given IToolBarManager, which is displayed above the
editor.
|
dispose, init, setActiveEditor
contributeToCoolBar, contributeToStatusLine, getActionBars, getPage, init
public static final java.lang.String MENU_ID_VIEW
public void contributeToToolBar(IToolBarManager tbm)
contributeToToolBar
in class EditorActionBarContributor
tbm
- the IToolBarManager
EditorActionBarContributor
public void contributeToMenu(IMenuManager menubar)
contributeToMenu
in class EditorActionBarContributor
menubar
- the menubarEditorActionBarContributor