fix #774 infinite loop in net.sourceforge.phpeclipse.builder.IdentifierIndexManager...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / IContextMenuConstants.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2002 International Business Machines Corp. and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  ******************************************************************************/
11 package net.sourceforge.phpdt.ui;
12
13 import org.eclipse.ui.IWorkbenchActionConstants;
14
15 /**
16  * Constants for menu groups used in context menus for Java views and editors.
17  * <p>
18  * This interface declares constants only; it is not intended to be implemented.
19  * </p>
20  */
21 public interface IContextMenuConstants {
22
23         /**
24          * Type hierarchy view part: pop-up menu target ID for type hierarchy viewer
25          * (value
26          * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.typehierarchy"</code>).
27          * 
28          * @since 2.0
29          */
30         public static final String TARGET_ID_HIERARCHY_VIEW = JavaUI.ID_TYPE_HIERARCHY
31                         + ".typehierarchy"; //$NON-NLS-1$       
32
33         /**
34          * Type hierarchy view part: pop-up menu target ID for supertype hierarchy
35          * viewer (value
36          * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.supertypes"</code>).
37          * 
38          * @since 2.0
39          */
40         public static final String TARGET_ID_SUPERTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY
41                         + ".supertypes"; //$NON-NLS-1$  
42
43         /**
44          * Type hierarchy view part: Pop-up menu target ID for the subtype hierarchy
45          * viewer (value
46          * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.subtypes"</code>).
47          * 
48          * @since 2.0
49          */
50         public static final String TARGET_ID_SUBTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY
51                         + ".subtypes"; //$NON-NLS-1$    
52
53         /**
54          * Type hierarchy view part: pop-up menu target ID for the meber viewer
55          * (value <code>"net.sourceforge.phpdt.ui.TypeHierarchy.members"</code>).
56          * 
57          * @since 2.0
58          */
59         public static final String TARGET_ID_MEMBERS_VIEW = JavaUI.ID_TYPE_HIERARCHY
60                         + ".members"; //$NON-NLS-1$     
61
62         /**
63          * Pop-up menu: name of group for goto actions (value
64          * <code>"group.open"</code>).
65          * <p>
66          * Examples for open actions are:
67          * <ul>
68          * <li>Go Into</li>
69          * <li>Go To</li>
70          * </ul>
71          * </p>
72          */
73         public static final String GROUP_GOTO = "group.goto"; //$NON-NLS-1$
74
75         /**
76          * Pop-up menu: name of group for open actions (value
77          * <code>"group.open"</code>).
78          * <p>
79          * Examples for open actions are:
80          * <ul>
81          * <li>Open To</li>
82          * <li>Open With</li>
83          * </ul>
84          * </p>
85          */
86         public static final String GROUP_OPEN = "group.open"; //$NON-NLS-1$
87
88         /**
89          * Pop-up menu: name of group for show actions (value
90          * <code>"group.show"</code>).
91          * <p>
92          * Examples for show actions are:
93          * <ul>
94          * <li>Show in Navigator</li>
95          * <li>Show in Type Hierarchy</li>
96          * </ul>
97          * </p>
98          */
99         public static final String GROUP_SHOW = "group.show"; //$NON-NLS-1$
100
101         /**
102          * Pop-up menu: name of group for new actions (value
103          * <code>"group.new"</code>).
104          * <p>
105          * Examples for new actions are:
106          * <ul>
107          * <li>Create new class</li>
108          * <li>Create new interface</li>
109          * </ul>
110          * </p>
111          */
112         public static final String GROUP_NEW = "group.new"; //$NON-NLS-1$
113
114         /**
115          * Pop-up menu: name of group for build actions (value
116          * <code>"group.build"</code>).
117          */
118         public static final String GROUP_BUILD = "group.build"; //$NON-NLS-1$
119
120         /**
121          * Pop-up menu: name of group for reorganize actions (value
122          * <code>"group.reorganize"</code>).
123          */
124         public static final String GROUP_REORGANIZE = IWorkbenchActionConstants.GROUP_REORGANIZE;
125
126         /**
127          * Pop-up menu: name of group for code generation actions ( value
128          * <code>"group.generate"</code>).
129          */
130         public static final String GROUP_GENERATE = "group.generate"; //$NON-NLS-1$
131
132         /**
133          * Pop-up menu: name of group for source actions. This is an alias for
134          * <code>GROUP_GENERATE</code> to be more consistent with main menu bar
135          * structure.
136          * 
137          * @since 2.0
138          */
139         public static final String GROUP_SOURCE = GROUP_GENERATE;
140
141         /**
142          * Pop-up menu: name of group for search actions (value
143          * <code>"group.search"</code>).
144          */
145         public static final String GROUP_SEARCH = "group.search"; //$NON-NLS-1$
146
147         /**
148          * Pop-up menu: name of group for additional actions (value
149          * <code>"additions"</code>).
150          */
151         public static final String GROUP_ADDITIONS = "additions"; //$NON-NLS-1$
152
153         /**
154          * Pop-up menu: name of group for viewer setup actions (value
155          * <code>"group.viewerSetup"</code>).
156          */
157         public static final String GROUP_VIEWER_SETUP = "group.viewerSetup"; //$NON-NLS-1$
158
159         /**
160          * Pop-up menu: name of group for properties actions (value
161          * <code>"group.properties"</code>).
162          */
163         public static final String GROUP_PROPERTIES = "group.properties"; //$NON-NLS-1$
164 }