|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectActionBarContributor
org.eclipse.graphiti.ui.editor.DiagramEditorActionBarContributor
public class DiagramEditorActionBarContributor
Provides some standard-actions and adds them to the toolbar or the toplevel-menu.
Some of the standard-actions are: undo/redo, delete, copy/paste, alignment, zooming.
| Field Summary | |
|---|---|
static 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 Summary | |
|---|---|
DiagramEditorActionBarContributor()
|
|
| Method Summary | |
|---|---|
protected void |
addSaveAsImageEntryToMenu(IMenuManager menubar)
Adds the save as image menu entry to the main menu. |
protected void |
buildActions()
Creates and initialises all Actions. |
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. |
protected void |
declareGlobalActionKeys()
Global action keys are already declared with #addRetargetAction(RetargetAction). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MENU_ID_VIEW
| Constructor Detail |
|---|
public DiagramEditorActionBarContributor()
| Method Detail |
|---|
protected void buildActions()
org.eclipse.gef.ui.actions.ActionBarContributorprotected void declareGlobalActionKeys()
#addRetargetAction(RetargetAction). See the corresponding method
in the super class.
org.eclipse.gef.ui.actions.ActionBarContributorpublic void contributeToToolBar(IToolBarManager tbm)
tbm - the IToolBarManagerorg.eclipse.ui.part.EditorActionBarContributorpublic void contributeToMenu(IMenuManager menubar)
menubar - the menubarorg.eclipse.ui.part.EditorActionBarContributorprotected void addSaveAsImageEntryToMenu(IMenuManager menubar)
menubar - The main menu bar to add toISaveImageFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||