/* * 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.ui.common.actions; import org.eclipse.ui.actions.ActionFactory; import org.eclipse.ui.ide.IDEActionFactory; /** * The <code>IModelerActionConstants</code> interface defines the constants used for the * action identifiers for global actions and actions groups used in the modeler. * * @since 8.0 */ public interface IActionConstants { /** * Eclipse global actions. Keep consistent with * {@link org.eclipse.ui.IWorkbenchActionConstants#GLOBAL_ACTIONS}. */ interface EclipseGlobalActions { /** Key for accessing the eclipse global copy action. */ String BOOKMARK = IDEActionFactory.BOOKMARK.getId(); /** Key for accessing the eclipse global copy action. */ String COPY = ActionFactory.COPY.getId(); /** Key for accessing the eclipse global cut action. */ String CUT = ActionFactory.CUT.getId(); /** Key for accessing the eclipse global delete action. */ String DELETE = ActionFactory.DELETE.getId(); /** Key for accessing the eclipse global delete action. */ String FIND = ActionFactory.FIND.getId(); /** Key for accessing the eclipse global paste action. */ String PASTE = ActionFactory.PASTE.getId(); /** Key for accessing the eclipse global paste action. */ String PRINT = ActionFactory.PRINT.getId(); /** Key for accessing the eclipse global rename action. */ String RENAME = ActionFactory.RENAME.getId(); /** Key for accessing the eclipse global redo action. */ String SELECT_ALL = ActionFactory.SELECT_ALL.getId(); /** All actions eclipse identifies as being global. */ String[] ALL_ACTIONS = new String[] { CUT, COPY, PASTE, PRINT, DELETE, FIND, SELECT_ALL, BOOKMARK, RENAME }; } }