/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.diagram.ui.actions; import org.teiid.designer.ui.actions.IModelerActionConstants; import org.teiid.designer.ui.common.actions.IActionConstants; /** * IDiagramActionConstants * * @since 8.0 */ public interface IDiagramActionConstants extends IActionConstants { interface DiagramGlobalActions { /** Key for accessing the global copy action. */ String ZOOM_IN = ZoomInWrapper.class.getName(); /** Key for accessing the global edit action. */ String ZOOM_OUT = ZoomOutWrapper.class.getName(); /** Key for accessing the global increase font action. */ String FONT_UP = FontUpWrapper.class.getName(); /** Key for accessing the global decrease font action. */ String FONT_DOWN = FontDownWrapper.class.getName(); /** Key for accessing the global autolayout action. */ String AUTOLAYOUT = AutoLayoutWrapper.class.getName(); /** All diagram unique global actions. Do not include 'original' global actions, like PRINT.*/ String[] ALL_ACTIONS = new String[] { // ZOOM_IN, // ZOOM_OUT, // FONT_UP, // FONT_DOWN, // AUTOLAYOUT, }; } interface ContextMenu { /** The identifier for the diagram editor's context menu. */ String DIAGRAM_EDITOR_PAGE = "diagramEditorPage" + IModelerActionConstants.ContextMenu.MENU_ID_SUFFIX; //$NON-NLS-1$ /** Name of group for start of zoom menu items. */ String ZOOM_START = "zoomStart"; //$NON-NLS-1$ /** Name of group for end of zoom menu items. */ String ZOOM_END = "zoomEnd"; //$NON-NLS-1$ /** Name of group for start of notation menu items. */ String NOTATION_START = "notationStart"; //$NON-NLS-1$ /** Name of group for end of notation menu items. */ String NOTATION_END = "notationEnd"; //$NON-NLS-1$ // /** Name of group for start of transformation menu items. */ // String TRANS_START = "transformationStart"; //$NON-NLS-1$ // // /** Name of group for end of transformation menu items. */ // String TRANS_END = "transformationEnd"; //$NON-NLS-1$ /** Name of group for start of transformation menu items. */ String DIAGRAM_START = "diagramStart"; //$NON-NLS-1$ /** Name of group for end of transformation menu items. */ String DIAGRAM_END = "diagramEnd"; //$NON-NLS-1$ } interface Toolbar { /** Name of group for start of diagram toolbar buttons. */ String DIAGRAM_START = "diagramStart"; //$NON-NLS-1$ /** Name of group for end of diagram toolbar buttons. */ String DIAGRAM_END = "diagramEnd"; //$NON-NLS-1$ } }