Class GEFActionConstants

java.lang.Object
org.eclipse.gef.ui.actions.GEFActionConstants
All Implemented Interfaces:
IWorkbenchActionConstants

public final class GEFActionConstants extends Object implements IWorkbenchActionConstants
Defines the names of those actions which are preregistered with the GraphicalEditor. This interface extends the set of names available from IWorkbenchActionConstants. It also defines the names of the menu groups in a graphical editor's context menu.
  • Field Details

    • CONTEXT_TEXT

      public static final String CONTEXT_TEXT
      The ID for the GEF Text Context.
      See Also:
    • ALIGN_BOTTOM

      public static final String ALIGN_BOTTOM
      Align bottom action id. Value: "org.eclipse.gef.align_bottom"
      See Also:
    • ALIGN_CENTER

      public static final String ALIGN_CENTER
      Align center (horizontal) action id. Value: "org.eclipse.gef.align_center"
      See Also:
    • ALIGN_LEFT

      public static final String ALIGN_LEFT
      Align left action id. Value: "org.eclipse.gef.align_left"
      See Also:
    • ALIGN_MIDDLE

      public static final String ALIGN_MIDDLE
      Align middle (vertical) action id. Value: "org.eclipse.gef.align_middle"
      See Also:
    • ALIGN_RIGHT

      public static final String ALIGN_RIGHT
      Align right action id. Value: "org.eclipse.gef.align_right"
      See Also:
    • ALIGN_TOP

      public static final String ALIGN_TOP
      Align top action id. Value: "org.eclipse.gef.align_top"
      See Also:
    • DIRECT_EDIT

      public static final String DIRECT_EDIT
      Direct edit action id. Value: "org.eclipse.gef.direct_edit"
      See Also:
    • GROUP_COPY

      public static final String GROUP_COPY
      Context menu group for copy/paste related actions. Value: "org.eclipse.gef.group.copy"
      See Also:
    • GROUP_EDIT

      public static final String GROUP_EDIT
      Context menu group for EditPart manipulation actions. Value: "org.eclipse.gef.group.edit"
      See Also:
    • GROUP_FIND

      public static final String GROUP_FIND
      Context menu group for find/replace related actions. Value: "org.eclipse.gef.group.find"
      See Also:
    • GROUP_PRINT

      public static final String GROUP_PRINT
      Context menu group for print related actions. Value: "org.eclipse.gef.group.print"
      See Also:
    • GROUP_REST

      public static final String GROUP_REST
      Context menu group for actions which do not fit in one of the other categories. Value: "org.eclipse.gef.group.rest"
      See Also:
    • GROUP_SAVE

      public static final String GROUP_SAVE
      Context menu group for save related actions. Value: "org.eclipse.gef.group.save"
      See Also:
    • GROUP_UNDO

      public static final String GROUP_UNDO
      Context menu group for undo/redo related actions. Value: "org.eclipse.gef.group.undo"
      See Also:
    • GROUP_VIEW

      public static final String GROUP_VIEW
      Context menu group for view related actions. Value: "org.eclipse.gef.group.view"
      See Also:
    • MATCH_SIZE

      public static final String MATCH_SIZE
      Value: "org.eclipse.gef.match.size"
      Since:
      3.7
      See Also:
    • MATCH_WIDTH

      public static final String MATCH_WIDTH
      Value: "org.eclipse.gef.match.width"
      See Also:
    • MATCH_HEIGHT

      public static final String MATCH_HEIGHT
      Value: "org.eclipse.gef.match.height"
      See Also:
    • ZOOM_TOOLBAR_WIDGET

      public static final String ZOOM_TOOLBAR_WIDGET
      Zoom contribution id. Value: "org.eclipse.gef.zoom"
      See Also:
    • ZOOM_IN

      public static final String ZOOM_IN
      Zoom in contribution id. Value: "org.eclipse.gef.zoom_in"
      See Also:
    • ZOOM_OUT

      public static final String ZOOM_OUT
      Zoom out contribution id. Value: "org.eclipse.gef.zoom_out"
      See Also:
    • TOGGLE_GRID_VISIBILITY

      public static final String TOGGLE_GRID_VISIBILITY
      Toggle grid visibility contribution id
      Value: "org.eclipse.gef.snap.grid.visibility"
      See Also:
    • TOGGLE_RULER_VISIBILITY

      public static final String TOGGLE_RULER_VISIBILITY
      Toggle ruler visibility contribution id
      Value: "org.eclipse.gef.rulers.visibility"
      See Also:
    • TOGGLE_SNAP_TO_GEOMETRY

      public static final String TOGGLE_SNAP_TO_GEOMETRY
      Toggle snap to geometry contribution id
      Value: "org.eclipse.gef.snap.geometry"
      See Also:
  • Constructor Details

    • GEFActionConstants

      public GEFActionConstants()
  • Method Details

    • addStandardActionGroups

      public static void addStandardActionGroups(IMenuManager menu)
      Adds standard group separators to the given MenuManager.
      Parameters:
      menu - the MenuManager