Search in sources :

Example 1 with ActionMenu

use of org.jboss.tools.hibernate.ui.diagram.editors.actions.ActionMenu in project jbosstools-hibernate by jbosstools.

the class DiagramActionBarContributor method buildActions.

/**
 * @see org.eclipse.gef.ui.actions.ActionBarContributor#buildActions()
 */
protected void buildActions() {
    IWorkbenchAction workbenchAction = ActionFactory.REFRESH.create(getPage().getWorkbenchWindow());
    // $NON-NLS-1$
    workbenchAction.setImageDescriptor(UiPlugin.getImageDescriptor2(ImageBundle.getString("Explorer.refreshOrmGef")));
    workbenchAction.setToolTipText(DiagramViewerMessages.EditorActionContributor_refresh_visual_mapping);
    addAction(workbenchAction);
    // 
    DiagramBaseRetargetAction diagramAction;
    Action[] act;
    // 
    diagramAction = new DiagramBaseRetargetAction(AutoLayoutAction.ACTION_ID, DiagramViewerMessages.AutoLayoutAction_auto_layout, DiagramViewerMessages.AutoLayoutAction_auto_layout, AutoLayoutAction.img);
    addRetargetAction(diagramAction);
    // 
    DiagramBaseRetargetAction diagramToggleConnectionsAction = new DiagramBaseRetargetAction(ToggleConnectionsAction.ACTION_ID, DiagramViewerMessages.ToggleConnectionsAction_toggle_connections, DiagramViewerMessages.ToggleConnectionsAction_toggle_connections, ToggleConnectionsAction.img);
    addRetargetAction(diagramToggleConnectionsAction);
    // 
    DiagramBaseRetargetAction diagramToggleExpandStateAction = new DiagramBaseRetargetAction(ToggleShapeExpandStateAction.ACTION_ID, DiagramViewerMessages.ToggleShapeExpandStateAction_toggle_expand_state, DiagramViewerMessages.ToggleShapeExpandStateAction_toggle_expand_state_tooltip, ToggleShapeExpandStateAction.img);
    addRetargetAction(diagramToggleExpandStateAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ShapeExpandAction.ACTION_ID, DiagramViewerMessages.ShapeExpandAction_shape_expand, DiagramViewerMessages.ShapeExpandAction_shape_expand_tooltip, ShapeExpandAction.img);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ShapeCollapseAction.ACTION_ID, DiagramViewerMessages.ShapeCollapseAction_shape_collapse, DiagramViewerMessages.ShapeCollapseAction_shape_collapse_tooltip, ShapeCollapseAction.img);
    addRetargetAction(diagramAction);
    // 
    DiagramBaseRetargetAction diagramToggleVisibleStateAction = new DiagramBaseRetargetAction(ToggleShapeVisibleStateAction.ACTION_ID, DiagramViewerMessages.ToggleShapeVisibleStateAction_toggle_visible_state, DiagramViewerMessages.ToggleShapeVisibleStateAction_toggle_visible_state_tooltip, ToggleShapeVisibleStateAction.img);
    addRetargetAction(diagramToggleVisibleStateAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ShapeHideAction.ACTION_ID, DiagramViewerMessages.ShapeHideAction_shape_hide, DiagramViewerMessages.ShapeHideAction_shape_hide_tooltip, ShapeHideAction.img);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ShapeShowAction.ACTION_ID, DiagramViewerMessages.ShapeShowAction_shape_show, DiagramViewerMessages.ShapeShowAction_shape_show_tooltip, ShapeShowAction.img);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ToggleClassMappingAction.ACTION_ID, DiagramViewerMessages.ToggleClassMappingAction_class_mappings, DiagramViewerMessages.ToggleClassMappingAction_class_mappings, ToggleClassMappingAction.img, IAction.AS_CHECK_BOX);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(TogglePropertyMappingAction.ACTION_ID, DiagramViewerMessages.TogglePropertyMappingAction_property_mappings, DiagramViewerMessages.TogglePropertyMappingAction_property_mappings, TogglePropertyMappingAction.img, IAction.AS_CHECK_BOX);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ToggleAssociationAction.ACTION_ID, DiagramViewerMessages.ToggleAssociationAction_associations, DiagramViewerMessages.ToggleAssociationAction_associations, ToggleAssociationAction.img, IAction.AS_CHECK_BOX);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ToggleForeignKeyConstraintAction.ACTION_ID, DiagramViewerMessages.ToggleForeignKeyConstraintAction_foreign_key_constraints, DiagramViewerMessages.ToggleForeignKeyConstraintAction_foreign_key_constraints, ToggleForeignKeyConstraintAction.img, IAction.AS_CHECK_BOX);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ConnectionRouterManhattanAction.ACTION_ID, DiagramViewerMessages.ConnectionRouterManhattanAction_select_manhattan_connection_router, DiagramViewerMessages.ConnectionRouterManhattanAction_select_manhattan_connection_router, ConnectionRouterManhattanAction.img, IAction.AS_RADIO_BUTTON);
    addRetargetAction(diagramAction);
    // 
    diagramAction = new DiagramBaseRetargetAction(ConnectionRouterFanAction.ACTION_ID, DiagramViewerMessages.ConnectionRouterFanAction_select_fan_connection_router, DiagramViewerMessages.ConnectionRouterFanAction_select_fan_connection_router, ConnectionRouterFanAction.img, IAction.AS_RADIO_BUTTON);
    addRetargetAction(diagramAction);
    // 
    act = new Action[4];
    act[0] = (Action) getAction(TogglePropertyMappingAction.ACTION_ID);
    act[1] = (Action) getAction(ToggleClassMappingAction.ACTION_ID);
    act[2] = (Action) getAction(ToggleAssociationAction.ACTION_ID);
    act[3] = (Action) getAction(ToggleForeignKeyConstraintAction.ACTION_ID);
    // act[4] = null;
    // act[5] = (Action)getAction(ConnectionRouterManhattanAction.ACTION_ID);
    // act[6] = (Action)getAction(ConnectionRouterFanAction.ACTION_ID);
    diagramToggleConnectionsAction.setMenuCreator(new ActionMenu(act));
    // 
    // act = new Action[2];
    // act[0] = (Action)getAction(ShapeExpandAction.ACTION_ID);
    // act[1] = (Action)getAction(ShapeCollapseAction.ACTION_ID);
    // diagramToggleExpandStateAction.setMenuCreator(new ActionMenu(act));
    // 
    // act = new Action[2];
    // act[0] = (Action)getAction(ShapeShowAction.ACTION_ID);
    // act[1] = (Action)getAction(ShapeHideAction.ACTION_ID);
    // diagramToggleVisibleStateAction.setMenuCreator(new ActionMenu(act));
    // 
    addRetargetAction(new UndoRetargetAction());
    addRetargetAction(new RedoRetargetAction());
    addRetargetAction(new ZoomInRetargetAction());
    addRetargetAction(new ZoomOutRetargetAction());
    addRetargetAction(new RetargetAction(GEFActionConstants.TOGGLE_RULER_VISIBILITY, GEFMessages.ToggleRulerVisibility_Label, IAction.AS_CHECK_BOX));
    addRetargetAction(new RetargetAction(GEFActionConstants.TOGGLE_SNAP_TO_GEOMETRY, GEFMessages.ToggleSnapToGeometry_Label, IAction.AS_CHECK_BOX));
    addRetargetAction(new RetargetAction(GEFActionConstants.TOGGLE_GRID_VISIBILITY, GEFMessages.ToggleGrid_Label, IAction.AS_CHECK_BOX));
}
Also used : ToggleAssociationAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleAssociationAction) ConnectionRouterFanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterFanAction) IAction(org.eclipse.jface.action.IAction) TogglePropertyMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.TogglePropertyMappingAction) ToggleShapeVisibleStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeVisibleStateAction) AutoLayoutAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.AutoLayoutAction) ToggleConnectionsAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleConnectionsAction) ToggleClassMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleClassMappingAction) UndoRetargetAction(org.eclipse.gef.ui.actions.UndoRetargetAction) IWorkbenchAction(org.eclipse.ui.actions.ActionFactory.IWorkbenchAction) ShapeCollapseAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeCollapseAction) ZoomOutRetargetAction(org.eclipse.gef.ui.actions.ZoomOutRetargetAction) ShapeShowAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeShowAction) ToggleShapeExpandStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeExpandStateAction) ZoomInRetargetAction(org.eclipse.gef.ui.actions.ZoomInRetargetAction) Action(org.eclipse.jface.action.Action) DiagramBaseRetargetAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.DiagramBaseRetargetAction) ShapeExpandAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeExpandAction) RetargetAction(org.eclipse.ui.actions.RetargetAction) ShapeHideAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeHideAction) RedoRetargetAction(org.eclipse.gef.ui.actions.RedoRetargetAction) ToggleForeignKeyConstraintAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleForeignKeyConstraintAction) ConnectionRouterManhattanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterManhattanAction) RedoRetargetAction(org.eclipse.gef.ui.actions.RedoRetargetAction) DiagramBaseRetargetAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.DiagramBaseRetargetAction) IWorkbenchAction(org.eclipse.ui.actions.ActionFactory.IWorkbenchAction) UndoRetargetAction(org.eclipse.gef.ui.actions.UndoRetargetAction) UndoRetargetAction(org.eclipse.gef.ui.actions.UndoRetargetAction) ZoomOutRetargetAction(org.eclipse.gef.ui.actions.ZoomOutRetargetAction) ZoomInRetargetAction(org.eclipse.gef.ui.actions.ZoomInRetargetAction) DiagramBaseRetargetAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.DiagramBaseRetargetAction) RetargetAction(org.eclipse.ui.actions.RetargetAction) RedoRetargetAction(org.eclipse.gef.ui.actions.RedoRetargetAction) ActionMenu(org.jboss.tools.hibernate.ui.diagram.editors.actions.ActionMenu) ZoomInRetargetAction(org.eclipse.gef.ui.actions.ZoomInRetargetAction) ZoomOutRetargetAction(org.eclipse.gef.ui.actions.ZoomOutRetargetAction)

Example 2 with ActionMenu

use of org.jboss.tools.hibernate.ui.diagram.editors.actions.ActionMenu in project jbosstools-hibernate by jbosstools.

the class DiagramViewer method createActions.

@SuppressWarnings("unchecked")
protected void createActions() {
    // super.createActions();
    // BEGIN: redefine super.createActions
    ActionRegistry registry = getActionRegistry();
    IAction action;
    action = new RefreshAction(this);
    registry.registerAction(action);
    getEditorSite().getActionBars().setGlobalActionHandler(ActionFactory.REFRESH.getId(), action);
    action = new UndoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());
    action = new RedoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());
    action = new SelectAllAction(this);
    registry.registerAction(action);
    action = new DeleteAction((IWorkbenchPart) this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());
    action = new SaveAction(this);
    registry.registerAction(action);
    getPropertyActions().add(action.getId());
    registry.registerAction(new PrintDiagramViewerAction(this));
    // END: redefine super.createActions
    getEditorSite().getActionBars().setGlobalActionHandler(ActionFactory.PRINT.getId(), getActionRegistry().getAction(ActionFactory.PRINT.getId()));
    getEditorSite().getActionBars().setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), getActionRegistry().getAction(ActionFactory.SELECT_ALL.getId()));
    action = new OpenMappingAction(this);
    registry.registerAction(action);
    action = new OpenSourceAction(this);
    registry.registerAction(action);
    action = new ExportImageAction(this);
    registry.registerAction(action);
    action = new AutoLayoutAction(this);
    registry.registerAction(action);
    ToggleConnectionsAction actionToggleConnections = new ToggleConnectionsAction(this);
    registry.registerAction(actionToggleConnections);
    action = new ToggleAssociationAction(this);
    registry.registerAction(action);
    action = new ToggleClassMappingAction(this);
    registry.registerAction(action);
    action = new ToggleForeignKeyConstraintAction(this);
    registry.registerAction(action);
    action = new TogglePropertyMappingAction(this);
    registry.registerAction(action);
    action = new ConnectionRouterFanAction(this);
    registry.registerAction(action);
    getPropertyActions().add(action.getId());
    action = new ConnectionRouterManhattanAction(this);
    registry.registerAction(action);
    getPropertyActions().add(action.getId());
    ToggleShapeExpandStateAction actionToggleShapeExpandState = new ToggleShapeExpandStateAction(this);
    registry.registerAction(actionToggleShapeExpandState);
    getSelectionActions().add(actionToggleShapeExpandState.getId());
    action = new ShapeExpandAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());
    action = new ShapeCollapseAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());
    ToggleShapeVisibleStateAction actionToggleShapeVisibleState = new ToggleShapeVisibleStateAction(this);
    registry.registerAction(actionToggleShapeVisibleState);
    getSelectionActions().add(actionToggleShapeVisibleState.getId());
    action = new ShapeHideAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());
    action = new ShapeShowAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());
    // action = new CollapseAllAction(this);
    // registry.registerAction(action);
    // action = new ExpandAllAction(this);
    // registry.registerAction(action);
    action = new ZoomInAction(gefRootEditPart.getZoomManager());
    registry.registerAction(action);
    action = new ZoomOutAction(gefRootEditPart.getZoomManager());
    registry.registerAction(action);
    action = new LexicalSortingAction(this, null);
    registry.registerAction(action);
    Action[] act = new Action[4];
    act[0] = (Action) registry.getAction(TogglePropertyMappingAction.ACTION_ID);
    act[1] = (Action) registry.getAction(ToggleClassMappingAction.ACTION_ID);
    act[2] = (Action) registry.getAction(ToggleAssociationAction.ACTION_ID);
    act[3] = (Action) registry.getAction(ToggleForeignKeyConstraintAction.ACTION_ID);
    // act[4] = null;
    // act[5] = (Action)registry.getAction(ConnectionRouterManhattanAction.ACTION_ID);
    // act[6] = (Action)registry.getAction(ConnectionRouterFanAction.ACTION_ID);
    actionToggleConnections.setMenuCreator(new ActionMenu(act));
// act = new Action[2];
// act[0] = (Action)registry.getAction(ShapeExpandAction.ACTION_ID);
// act[1] = (Action)registry.getAction(ShapeCollapseAction.ACTION_ID);
// actionToggleShapeExpandState.setMenuCreator(new ActionMenu(act));
// act = new Action[2];
// act[0] = (Action)registry.getAction(ShapeShowAction.ACTION_ID);
// act[1] = (Action)registry.getAction(ShapeHideAction.ACTION_ID);
// actionToggleShapeVisibleState.setMenuCreator(new ActionMenu(act));
}
Also used : SaveAction(org.eclipse.gef.ui.actions.SaveAction) ToggleAssociationAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleAssociationAction) IAction(org.eclipse.jface.action.IAction) ZoomOutAction(org.eclipse.gef.ui.actions.ZoomOutAction) TogglePropertyMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.TogglePropertyMappingAction) ToggleRulerVisibilityAction(org.eclipse.gef.ui.actions.ToggleRulerVisibilityAction) ToggleConnectionsAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleConnectionsAction) ToggleClassMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleClassMappingAction) RedoAction(org.eclipse.gef.ui.actions.RedoAction) RefreshAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.RefreshAction) ShapeCollapseAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeCollapseAction) ShapeShowAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeShowAction) OpenMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.OpenMappingAction) UndoAction(org.eclipse.gef.ui.actions.UndoAction) PrintDiagramViewerAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.PrintDiagramViewerAction) ConnectionRouterFanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterFanAction) ExportImageAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ExportImageAction) ToggleShapeVisibleStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeVisibleStateAction) AutoLayoutAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.AutoLayoutAction) LexicalSortingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.LexicalSortingAction) ToggleGridAction(org.eclipse.gef.ui.actions.ToggleGridAction) OpenSourceAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.OpenSourceAction) SelectAllAction(org.eclipse.gef.ui.actions.SelectAllAction) ToggleShapeExpandStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeExpandStateAction) SaveAction(org.eclipse.gef.ui.actions.SaveAction) Action(org.eclipse.jface.action.Action) DeleteAction(org.eclipse.gef.ui.actions.DeleteAction) ShapeExpandAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeExpandAction) ZoomInAction(org.eclipse.gef.ui.actions.ZoomInAction) ShapeHideAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeHideAction) ToggleForeignKeyConstraintAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleForeignKeyConstraintAction) ToggleSnapToGeometryAction(org.eclipse.gef.ui.actions.ToggleSnapToGeometryAction) ConnectionRouterManhattanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterManhattanAction) ZoomOutAction(org.eclipse.gef.ui.actions.ZoomOutAction) ShapeExpandAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeExpandAction) ActionRegistry(org.eclipse.gef.ui.actions.ActionRegistry) ToggleShapeExpandStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeExpandStateAction) ToggleShapeVisibleStateAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeVisibleStateAction) PrintDiagramViewerAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.PrintDiagramViewerAction) OpenMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.OpenMappingAction) IWorkbenchPart(org.eclipse.ui.IWorkbenchPart) RedoAction(org.eclipse.gef.ui.actions.RedoAction) AutoLayoutAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.AutoLayoutAction) ShapeHideAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeHideAction) ShapeShowAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeShowAction) ZoomInAction(org.eclipse.gef.ui.actions.ZoomInAction) OpenSourceAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.OpenSourceAction) ToggleConnectionsAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleConnectionsAction) IAction(org.eclipse.jface.action.IAction) ToggleAssociationAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleAssociationAction) ExportImageAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ExportImageAction) ToggleForeignKeyConstraintAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleForeignKeyConstraintAction) LexicalSortingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.LexicalSortingAction) ConnectionRouterFanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterFanAction) RefreshAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.RefreshAction) TogglePropertyMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.TogglePropertyMappingAction) SelectAllAction(org.eclipse.gef.ui.actions.SelectAllAction) ConnectionRouterManhattanAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterManhattanAction) DeleteAction(org.eclipse.gef.ui.actions.DeleteAction) ShapeCollapseAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeCollapseAction) ActionMenu(org.jboss.tools.hibernate.ui.diagram.editors.actions.ActionMenu) ToggleClassMappingAction(org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleClassMappingAction) UndoAction(org.eclipse.gef.ui.actions.UndoAction)

Aggregations

Action (org.eclipse.jface.action.Action)2 IAction (org.eclipse.jface.action.IAction)2 ActionMenu (org.jboss.tools.hibernate.ui.diagram.editors.actions.ActionMenu)2 AutoLayoutAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.AutoLayoutAction)2 ConnectionRouterFanAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterFanAction)2 ConnectionRouterManhattanAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ConnectionRouterManhattanAction)2 ShapeCollapseAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeCollapseAction)2 ShapeExpandAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeExpandAction)2 ShapeHideAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeHideAction)2 ShapeShowAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ShapeShowAction)2 ToggleAssociationAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleAssociationAction)2 ToggleClassMappingAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleClassMappingAction)2 ToggleConnectionsAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleConnectionsAction)2 ToggleForeignKeyConstraintAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleForeignKeyConstraintAction)2 TogglePropertyMappingAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.TogglePropertyMappingAction)2 ToggleShapeExpandStateAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeExpandStateAction)2 ToggleShapeVisibleStateAction (org.jboss.tools.hibernate.ui.diagram.editors.actions.ToggleShapeVisibleStateAction)2 ActionRegistry (org.eclipse.gef.ui.actions.ActionRegistry)1 DeleteAction (org.eclipse.gef.ui.actions.DeleteAction)1 RedoAction (org.eclipse.gef.ui.actions.RedoAction)1