KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > search > ui > IContextMenuConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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 package org.eclipse.search.ui;
12
13 import org.eclipse.ui.IWorkbenchActionConstants;
14
15 /**
16  * Constants for menu groups used in context menus for Search views and editors.
17  * <p>
18  * This interface declares constants only; it is not intended to be implemented.
19  * </p>
20  *
21  * @since 2.0
22  */

23 public interface IContextMenuConstants {
24
25     /**
26      * Pop-up menu: name of group for goto actions (value <code>"group.open"</code>).
27      * <p>
28      * Examples for open actions are:
29      * <ul>
30      * <li>Go Into</li>
31      * <li>Go To</li>
32      * </ul>
33      * </p>
34      */

35     public static final String JavaDoc GROUP_GOTO= "group.goto"; //$NON-NLS-1$
36

37     /**
38      * Pop-up menu: name of group for open actions (value <code>"group.open"</code>).
39      * <p>
40      * Examples for open actions are:
41      * <ul>
42      * <li>Open To</li>
43      * <li>Open With</li>
44      * </ul>
45      * </p>
46      */

47     public static final String JavaDoc GROUP_OPEN= "group.open"; //$NON-NLS-1$
48

49     /**
50      * Pop-up menu: name of group for show actions (value <code>"group.show"</code>).
51      * <p>
52      * Examples for show actions are:
53      * <ul>
54      * <li>Show in Navigator</li>
55      * <li>Show in Type Hierarchy</li>
56      * </ul>
57      * </p>
58      */

59     public static final String JavaDoc GROUP_SHOW= "group.show"; //$NON-NLS-1$
60

61     /**
62      * Pop-up menu: name of group for new actions (value <code>"group.new"</code>).
63      * <p>
64      * Examples for new actions are:
65      * <ul>
66      * <li>Create new class</li>
67      * <li>Create new interface</li>
68      * </ul>
69      * </p>
70      */

71     public static final String JavaDoc GROUP_NEW= "group.new"; //$NON-NLS-1$
72

73     /**
74      * Pop-up menu: name of group for build actions (value <code>"group.build"</code>).
75      */

76     public static final String JavaDoc GROUP_BUILD= "group.build"; //$NON-NLS-1$
77

78     /**
79      * Pop-up menu: name of group for reorganize actions (value <code>"group.reorganize"</code>).
80      */

81     public static final String JavaDoc GROUP_REORGANIZE= IWorkbenchActionConstants.GROUP_REORGANIZE;
82     
83     /**
84      * Pop-up menu: name of group for code generation or refactoring actions (
85      * value <code>"group.generate"</code>).
86      */

87     public static final String JavaDoc GROUP_GENERATE= "group.generate"; //$NON-NLS-1$
88

89     /**
90      * Pop-up menu: name of group for search actions (value <code>"group.search"</code>).
91      */

92     public static final String JavaDoc GROUP_SEARCH= "group.search"; //$NON-NLS-1$
93

94     /**
95      * Pop-up menu: name of group for additional actions (value <code>"group.additions"</code>).
96      */

97     public static final String JavaDoc GROUP_ADDITIONS= "additions"; //$NON-NLS-1$
98

99     /**
100      * Pop-up menu: name of group for viewer setup actions (value <code>"group.viewerSetup"</code>).
101      */

102     public static final String JavaDoc GROUP_VIEWER_SETUP= "group.viewerSetup"; //$NON-NLS-1$
103

104     /**
105      * Pop-up menu: name of group for filtering (value <code>"group.filtering"</code>).
106      * @since 3.3
107      */

108     public static final String JavaDoc GROUP_FILTERING= "group.filtering"; //$NON-NLS-1$
109

110     /**
111      * Pop-up menu: name of group for properties actions (value <code>"group.properties"</code>).
112      */

113     public static final String JavaDoc GROUP_PROPERTIES= "group.properties"; //$NON-NLS-1$
114

115     /**
116      * Pop-up menu: name of group for cut/copy/paste actions (value <code>"group.edit"</code>).
117      * @since 3.3
118      */

119     public static final String JavaDoc GROUP_EDIT = "group.edit"; //$NON-NLS-1$
120

121     /**
122      * Pop-up menu: name of group for remove match actions (value <code>"group.removeMatches"</code>).
123      * @since 2.1
124      */

125     public static final String JavaDoc GROUP_REMOVE_MATCHES= "group.removeMatches"; //$NON-NLS-1$
126
}
127
Popular Tags