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
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.ui;
13 import org.eclipse.ui.IWorkbenchActionConstants;
16 * Constants for menu groups used in context menus for Java views and editors.
18 * This interface declares constants only; it is not intended to be implemented.
21 public interface IContextMenuConstants {
24 * Type hierarchy view part: pop-up menu target ID for type hierarchy viewer
26 * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.typehierarchy"</code>).
30 public static final String TARGET_ID_HIERARCHY_VIEW = JavaUI.ID_TYPE_HIERARCHY
31 + ".typehierarchy"; //$NON-NLS-1$
34 * Type hierarchy view part: pop-up menu target ID for supertype hierarchy
36 * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.supertypes"</code>).
40 public static final String TARGET_ID_SUPERTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY
41 + ".supertypes"; //$NON-NLS-1$
44 * Type hierarchy view part: Pop-up menu target ID for the subtype hierarchy
46 * <code>"net.sourceforge.phpdt.ui.TypeHierarchy.subtypes"</code>).
50 public static final String TARGET_ID_SUBTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY
51 + ".subtypes"; //$NON-NLS-1$
54 * Type hierarchy view part: pop-up menu target ID for the meber viewer
55 * (value <code>"net.sourceforge.phpdt.ui.TypeHierarchy.members"</code>).
59 public static final String TARGET_ID_MEMBERS_VIEW = JavaUI.ID_TYPE_HIERARCHY
60 + ".members"; //$NON-NLS-1$
63 * Pop-up menu: name of group for goto actions (value
64 * <code>"group.open"</code>).
66 * Examples for open actions are:
73 public static final String GROUP_GOTO = "group.goto"; //$NON-NLS-1$
76 * Pop-up menu: name of group for open actions (value
77 * <code>"group.open"</code>).
79 * Examples for open actions are:
86 public static final String GROUP_OPEN = "group.open"; //$NON-NLS-1$
89 * Pop-up menu: name of group for show actions (value
90 * <code>"group.show"</code>).
92 * Examples for show actions are:
94 * <li>Show in Navigator</li>
95 * <li>Show in Type Hierarchy</li>
99 public static final String GROUP_SHOW = "group.show"; //$NON-NLS-1$
102 * Pop-up menu: name of group for new actions (value
103 * <code>"group.new"</code>).
105 * Examples for new actions are:
107 * <li>Create new class</li>
108 * <li>Create new interface</li>
112 public static final String GROUP_NEW = "group.new"; //$NON-NLS-1$
115 * Pop-up menu: name of group for build actions (value
116 * <code>"group.build"</code>).
118 public static final String GROUP_BUILD = "group.build"; //$NON-NLS-1$
121 * Pop-up menu: name of group for reorganize actions (value
122 * <code>"group.reorganize"</code>).
124 public static final String GROUP_REORGANIZE = IWorkbenchActionConstants.GROUP_REORGANIZE;
127 * Pop-up menu: name of group for code generation actions ( value
128 * <code>"group.generate"</code>).
130 public static final String GROUP_GENERATE = "group.generate"; //$NON-NLS-1$
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
139 public static final String GROUP_SOURCE = GROUP_GENERATE;
142 * Pop-up menu: name of group for search actions (value
143 * <code>"group.search"</code>).
145 public static final String GROUP_SEARCH = "group.search"; //$NON-NLS-1$
148 * Pop-up menu: name of group for additional actions (value
149 * <code>"additions"</code>).
151 public static final String GROUP_ADDITIONS = "additions"; //$NON-NLS-1$
154 * Pop-up menu: name of group for viewer setup actions (value
155 * <code>"group.viewerSetup"</code>).
157 public static final String GROUP_VIEWER_SETUP = "group.viewerSetup"; //$NON-NLS-1$
160 * Pop-up menu: name of group for properties actions (value
161 * <code>"group.properties"</code>).
163 public static final String GROUP_PROPERTIES = "group.properties"; //$NON-NLS-1$