KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > texteditor > IWorkbenchActionDefinitionIds


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12
13 package org.eclipse.ui.texteditor;
14
15
16 /**
17  * Defines the definitions ids for workbench actions.
18  * @since 2.0
19  */

20 public interface IWorkbenchActionDefinitionIds {
21
22     // workbench file actions
23

24     /**
25      * Action definition id of the file print action.
26      * Value: <code>"org.eclipse.ui.file.print"</code>
27      */

28     public static final String JavaDoc PRINT= "org.eclipse.ui.file.print"; //$NON-NLS-1$
29

30     /**
31      * Action definition id of the file save action.
32      * Value: <code>"org.eclipse.ui.file.save"</code>
33      */

34     public static final String JavaDoc SAVE= "org.eclipse.ui.file.save"; //$NON-NLS-1$
35

36     /**
37      * Action definition id of the file revert action.
38      * Value: <code>"org.eclipse.ui.edit.revertToSaved"</code>
39      */

40     public static final String JavaDoc REVERT_TO_SAVED= "org.eclipse.ui.edit.revertToSaved"; //$NON-NLS-1$
41

42
43
44     // workbench edit actions
45

46     /**
47      * Action definition id of the edit cut action.
48      * Value: <code>"org.eclipse.ui.edit.cut"</code>
49      */

50     public static final String JavaDoc CUT= "org.eclipse.ui.edit.cut"; //$NON-NLS-1$
51

52     /**
53      * Action definition id of the edit copy action.
54      * Value: <code>"org.eclipse.ui.edit.copy"</code>
55      */

56     public static final String JavaDoc COPY= "org.eclipse.ui.edit.copy"; //$NON-NLS-1$
57

58     /**
59      * Action definition id of the edit past action.
60      * Value: <code>"org.eclipse.ui.edit.paste"</code>
61      */

62     public static final String JavaDoc PASTE= "org.eclipse.ui.edit.paste"; //$NON-NLS-1$
63

64     /**
65      * Action definition id of the edit undo action.
66      * Value: <code>"org.eclipse.ui.edit.undo"</code>
67      */

68     public static final String JavaDoc UNDO= "org.eclipse.ui.edit.undo"; //$NON-NLS-1$
69

70     /**
71      * Action definition id of the file properties action.
72      * Value: <code>"org.eclipse.ui.file.properties"</code>
73      * @since 3.1
74      */

75     public static final String JavaDoc PROPERTIES= "org.eclipse.ui.file.properties"; //$NON-NLS-1$
76

77     /**
78      * Action definition id of the edit redo action.
79      * Value: <code>"org.eclipse.ui.edit.redo"</code>
80      */

81     public static final String JavaDoc REDO= "org.eclipse.ui.edit.redo"; //$NON-NLS-1$
82

83     /**
84      * Action definition id of the edit delete action.
85      * Value: <code>"org.eclipse.ui.edit.delete"</code>
86      */

87     public static final String JavaDoc DELETE= "org.eclipse.ui.edit.delete"; //$NON-NLS-1$
88

89     /**
90      * Action definition id of the edit select all action.
91      * Value: <code>"org.eclipse.ui.edit.selectAll"</code>
92      */

93     public static final String JavaDoc SELECT_ALL= "org.eclipse.ui.edit.selectAll"; //$NON-NLS-1$
94

95     /**
96      * Action definition id of the edit find/replace action.
97      * Value: <code>"org.eclipse.ui.edit.findReplace"</code>
98      */

99     public static final String JavaDoc FIND_REPLACE= "org.eclipse.ui.edit.findReplace"; //$NON-NLS-1$
100

101     /**
102      * Action definition id of the edit add bookmark action.
103      * Value: <code>"org.eclipse.ui.edit.addBookmark"</code>
104      */

105     public static final String JavaDoc ADD_BOOKMARK= "org.eclipse.ui.edit.addBookmark"; //$NON-NLS-1$
106

107     /**
108      * Action definition id of the edit add task action.
109      * Value: <code>"org.eclipse.ui.edit.addTask"</code>
110      */

111     public static final String JavaDoc ADD_TASK= "org.eclipse.ui.edit.addTask"; //$NON-NLS-1$
112

113
114     // future workbench edit actions
115

116     /**
117      * Action definition id of the edit find next action.
118      * Value: <code>"org.eclipse.ui.edit.findNext"</code>
119      */

120     public static final String JavaDoc FIND_NEXT= "org.eclipse.ui.edit.findNext"; //$NON-NLS-1$
121
/**
122      * Action definition id of the edit find previous action.
123      * Value: <code>"org.eclipse.ui.edit.findPrevious"</code>
124      */

125     public static final String JavaDoc FIND_PREVIOUS= "org.eclipse.ui.edit.findPrevious"; //$NON-NLS-1$
126
/**
127      * Action definition id of the edit incremental find action.
128      * Value: <code>"org.eclipse.ui.edit.findIncremental"</code>
129      */

130     public static final String JavaDoc FIND_INCREMENTAL= "org.eclipse.ui.edit.findIncremental"; //$NON-NLS-1$
131
/**
132      * Action definition id of the edit incremental find reverse action.
133      * Value: <code>"org.eclipse.ui.edit.findIncrementalReverse"</code>
134      *
135      * @since 2.1
136      */

137     public static final String JavaDoc FIND_INCREMENTAL_REVERSE= "org.eclipse.ui.edit.findIncrementalReverse"; //$NON-NLS-1$
138

139
140     /**
141      * The command identifier for the "move" action that typically appears in
142      * the file menu.
143      * Value: <code>"org.eclipse.ui.edit.move"</code>
144      * @since 3.0
145      */

146     public static final String JavaDoc MOVE = "org.eclipse.ui.edit.move"; //$NON-NLS-1$
147
/**
148      * The command identifier for the "rename" action that typically appears in
149      * the file menu.
150      * Value: <code>"org.eclipse.ui.edit.rename"</code>
151      * @since 3.0
152      */

153     public static final String JavaDoc RENAME = "org.eclipse.ui.edit.rename"; //$NON-NLS-1$
154
}
155
Popular Tags