KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > navigator > ICommonMenuConstants


1 /*******************************************************************************
2  * Copyright (c) 2003, 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 /*
12  * Created on Feb 5, 2004
13  *
14  * To change the template for this generated file go to
15  * Window - Preferences - Java - Code Generation - Code and Comments
16  */

17 package org.eclipse.ui.navigator;
18
19 import org.eclipse.ui.IWorkbenchActionConstants;
20
21 /**
22  * Defines strings used for menu insertion points.
23  * <p>
24  * This interface is not intended to be implemented by clients.
25  * </p>
26  *
27  * @since 3.2
28  */

29 public interface ICommonMenuConstants {
30
31     /**
32      * Pop-up menu: name of group for the top of the menu (value
33      * <code>"group.top"</code>).
34      */

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

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

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

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

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

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

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

76     /**
77      * Pop-up menu: name of group for open actions (value
78      * <code>"group.open"</code>).
79      * <p>
80      * Examples for open actions are:
81      * <ul>
82      * <li>Open To</li>
83      * <li>Open With</li>
84      * </ul>
85      * </p>
86      *
87      * @see #GROUP_OPEN_WITH
88      */

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

91     /**
92      * Pop-up menu: name of group for open actions (value
93      * <code>"group.openWith"</code>).
94      * <p>
95      * Examples for open actions are:
96      * <ul>
97      * <li>Open With</li>
98      * </ul>
99      * </p>
100      */

101     public static final String JavaDoc GROUP_OPEN_WITH = "group.openWith"; //$NON-NLS-1$
102

103     /**
104      * Pop-up menu: name of group for porting actions (value
105      * <code>"group.port"</code>).
106      * <p>
107      * Examples for open actions are:
108      * <ul>
109      * <li>Import</li>
110      * <li>Export</li>
111      * </ul>
112      * </p>
113      */

114     public static final String JavaDoc GROUP_PORT = "group.port";//$NON-NLS-1$
115

116     /**
117      * Pop-up menu: name of group for properties actions (value
118      * <code>"group.edit"</code>).
119      */

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

122     /**
123      * Pop-up menu: name of group for build actions (value
124      * <code>"group.build"</code>).
125      */

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

128     /**
129      * Pop-up menu: name of group for reorganize actions (value
130      * <code>"group.reorganize"</code>).
131      */

132     public static final String JavaDoc GROUP_REORGANIZE = IWorkbenchActionConstants.GROUP_REORGANIZE;
133
134     /**
135      * Pop-up menu: name of group for code generation actions ( value
136      * <code>"group.generate"</code>).
137      */

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

140     /**
141      * Pop-up menu: name of group for source actions. This is an alias for
142      * <code>GROUP_GENERATE</code> to be more consistent with main menu bar
143      * structure.
144      *
145      */

146     public static final String JavaDoc GROUP_SOURCE = GROUP_GENERATE;
147
148     /**
149      * Pop-up menu: name of group for search actions (value
150      * <code>"group.search"</code>).
151      */

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

154     /**
155      * Pop-up menu: name of group for additional actions (value
156      * <code>"additions"</code>).
157      */

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

160     /**
161      * Pop-up menu: name of group for viewer setup actions (value
162      * <code>"group.viewerSetup"</code>).
163      */

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

166     /**
167      * Pop-up menu: name of group for properties actions (value
168      * <code>"group.properties"</code>).
169      */

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

172 }
173
Popular Tags