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, setActiveEditorcontributeToCoolBar, contributeToStatusLine, getActionBars, getPage, initpublic static final java.lang.String MENU_ID_VIEW
public void contributeToToolBar(IToolBarManager tbm)
contributeToToolBar in class EditorActionBarContributortbm - the IToolBarManagerEditorActionBarContributorpublic void contributeToMenu(IMenuManager menubar)
contributeToMenu in class EditorActionBarContributormenubar - the menubarEditorActionBarContributor