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(org.eclipse.jface.action.IMenuManager menubar)
Adds Actions to the given IMenuManager, which is displayed as the
main-menu of Eclipse.
|
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager tbm)
Adds Actions to the given IToolBarManager, which is displayed above the
editor.
|
dispose, init, setActiveEditorpublic static final java.lang.String MENU_ID_VIEW
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager tbm)
contributeToToolBar in class org.eclipse.ui.part.EditorActionBarContributortbm - the IToolBarManagerEditorActionBarContributorpublic void contributeToMenu(org.eclipse.jface.action.IMenuManager menubar)
contributeToMenu in class org.eclipse.ui.part.EditorActionBarContributormenubar - the menubarEditorActionBarContributor