001: /*******************************************************************************
002: * Copyright (c) 2000, 2005 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.ui.texteditor;
011:
012: /**
013: * Defines the definitions ids for workbench actions.
014: * @since 2.0
015: */
016: public interface IWorkbenchActionDefinitionIds {
017:
018: // workbench file actions
019:
020: /**
021: * Action definition id of the file print action.
022: * Value: <code>"org.eclipse.ui.file.print"</code>
023: */
024: public static final String PRINT = "org.eclipse.ui.file.print"; //$NON-NLS-1$
025:
026: /**
027: * Action definition id of the file save action.
028: * Value: <code>"org.eclipse.ui.file.save"</code>
029: */
030: public static final String SAVE = "org.eclipse.ui.file.save"; //$NON-NLS-1$
031:
032: /**
033: * Action definition id of the file revert action.
034: * Value: <code>"org.eclipse.ui.edit.revertToSaved"</code>
035: */
036: public static final String REVERT_TO_SAVED = "org.eclipse.ui.edit.revertToSaved"; //$NON-NLS-1$
037:
038: // workbench edit actions
039:
040: /**
041: * Action definition id of the edit cut action.
042: * Value: <code>"org.eclipse.ui.edit.cut"</code>
043: */
044: public static final String CUT = "org.eclipse.ui.edit.cut"; //$NON-NLS-1$
045:
046: /**
047: * Action definition id of the edit copy action.
048: * Value: <code>"org.eclipse.ui.edit.copy"</code>
049: */
050: public static final String COPY = "org.eclipse.ui.edit.copy"; //$NON-NLS-1$
051:
052: /**
053: * Action definition id of the edit past action.
054: * Value: <code>"org.eclipse.ui.edit.paste"</code>
055: */
056: public static final String PASTE = "org.eclipse.ui.edit.paste"; //$NON-NLS-1$
057:
058: /**
059: * Action definition id of the edit undo action.
060: * Value: <code>"org.eclipse.ui.edit.undo"</code>
061: */
062: public static final String UNDO = "org.eclipse.ui.edit.undo"; //$NON-NLS-1$
063:
064: /**
065: * Action definition id of the file properties action.
066: * Value: <code>"org.eclipse.ui.file.properties"</code>
067: * @since 3.1
068: */
069: public static final String PROPERTIES = "org.eclipse.ui.file.properties"; //$NON-NLS-1$
070:
071: /**
072: * Action definition id of the edit redo action.
073: * Value: <code>"org.eclipse.ui.edit.redo"</code>
074: */
075: public static final String REDO = "org.eclipse.ui.edit.redo"; //$NON-NLS-1$
076:
077: /**
078: * Action definition id of the edit delete action.
079: * Value: <code>"org.eclipse.ui.edit.delete"</code>
080: */
081: public static final String DELETE = "org.eclipse.ui.edit.delete"; //$NON-NLS-1$
082:
083: /**
084: * Action definition id of the edit select all action.
085: * Value: <code>"org.eclipse.ui.edit.selectAll"</code>
086: */
087: public static final String SELECT_ALL = "org.eclipse.ui.edit.selectAll"; //$NON-NLS-1$
088:
089: /**
090: * Action definition id of the edit find/replace action.
091: * Value: <code>"org.eclipse.ui.edit.findReplace"</code>
092: */
093: public static final String FIND_REPLACE = "org.eclipse.ui.edit.findReplace"; //$NON-NLS-1$
094:
095: /**
096: * Action definition id of the edit add bookmark action.
097: * Value: <code>"org.eclipse.ui.edit.addBookmark"</code>
098: */
099: public static final String ADD_BOOKMARK = "org.eclipse.ui.edit.addBookmark"; //$NON-NLS-1$
100:
101: /**
102: * Action definition id of the edit add task action.
103: * Value: <code>"org.eclipse.ui.edit.addTask"</code>
104: */
105: public static final String ADD_TASK = "org.eclipse.ui.edit.addTask"; //$NON-NLS-1$
106:
107: // future workbench edit actions
108:
109: /**
110: * Action definition id of the edit find next action.
111: * Value: <code>"org.eclipse.ui.edit.findNext"</code>
112: */
113: public static final String FIND_NEXT = "org.eclipse.ui.edit.findNext"; //$NON-NLS-1$
114: /**
115: * Action definition id of the edit find previous action.
116: * Value: <code>"org.eclipse.ui.edit.findPrevious"</code>
117: */
118: public static final String FIND_PREVIOUS = "org.eclipse.ui.edit.findPrevious"; //$NON-NLS-1$
119: /**
120: * Action definition id of the edit incremental find action.
121: * Value: <code>"org.eclipse.ui.edit.findIncremental"</code>
122: */
123: public static final String FIND_INCREMENTAL = "org.eclipse.ui.edit.findIncremental"; //$NON-NLS-1$
124: /**
125: * Action definition id of the edit incremental find reverse action.
126: * Value: <code>"org.eclipse.ui.edit.findIncrementalReverse"</code>
127: *
128: * @since 2.1
129: */
130: public static final String FIND_INCREMENTAL_REVERSE = "org.eclipse.ui.edit.findIncrementalReverse"; //$NON-NLS-1$
131:
132: /**
133: * The command identifier for the "move" action that typically appears in
134: * the file menu.
135: * Value: <code>"org.eclipse.ui.edit.move"</code>
136: * @since 3.0
137: */
138: public static final String MOVE = "org.eclipse.ui.edit.move"; //$NON-NLS-1$
139: /**
140: * The command identifier for the "rename" action that typically appears in
141: * the file menu.
142: * Value: <code>"org.eclipse.ui.edit.rename"</code>
143: * @since 3.0
144: */
145: public static final String RENAME = "org.eclipse.ui.edit.rename"; //$NON-NLS-1$
146: }
|