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 {
25 // * Type hierarchy view part: pop-up menu target ID for type hierarchy viewer
26 // * (value <code>"org.eclipse.jdt.ui.TypeHierarchy.typehierarchy"</code>).
30 // public static final String TARGET_ID_HIERARCHY_VIEW= JavaUI.ID_TYPE_HIERARCHY + ".typehierarchy"; //$NON-NLS-1$
33 // * Type hierarchy view part: pop-up menu target ID for supertype hierarchy viewer
34 // * (value <code>"org.eclipse.jdt.ui.TypeHierarchy.supertypes"</code>).
38 // public static final String TARGET_ID_SUPERTYPES_VIEW= JavaUI.ID_TYPE_HIERARCHY + ".supertypes"; //$NON-NLS-1$
41 // * Type hierarchy view part: Pop-up menu target ID for the subtype hierarchy viewer
42 // * (value <code>"org.eclipse.jdt.ui.TypeHierarchy.subtypes"</code>).
46 // public static final String TARGET_ID_SUBTYPES_VIEW= JavaUI.ID_TYPE_HIERARCHY + ".subtypes"; //$NON-NLS-1$
49 // * Type hierarchy view part: pop-up menu target ID for the meber viewer
50 // * (value <code>"org.eclipse.jdt.ui.TypeHierarchy.members"</code>).
54 // public static final String TARGET_ID_MEMBERS_VIEW= JavaUI.ID_TYPE_HIERARCHY + ".members"; //$NON-NLS-1$
58 * Pop-up menu: name of group for goto actions (value <code>"group.open"</code>).
60 * Examples for open actions are:
67 public static final String GROUP_GOTO= "group.goto"; //$NON-NLS-1$
69 * Pop-up menu: name of group for open actions (value <code>"group.open"</code>).
71 * Examples for open actions are:
78 public static final String GROUP_OPEN= "group.open"; //$NON-NLS-1$
81 * Pop-up menu: name of group for show actions (value <code>"group.show"</code>).
83 * Examples for show actions are:
85 * <li>Show in Navigator</li>
86 * <li>Show in Type Hierarchy</li>
90 public static final String GROUP_SHOW= "group.show"; //$NON-NLS-1$
93 * Pop-up menu: name of group for new actions (value <code>"group.new"</code>).
95 * Examples for new actions are:
97 * <li>Create new class</li>
98 * <li>Create new interface</li>
102 public static final String GROUP_NEW= "group.new"; //$NON-NLS-1$
105 * Pop-up menu: name of group for build actions (value <code>"group.build"</code>).
107 public static final String GROUP_BUILD= "group.build"; //$NON-NLS-1$
110 * Pop-up menu: name of group for reorganize actions (value <code>"group.reorganize"</code>).
112 public static final String GROUP_REORGANIZE= IWorkbenchActionConstants.GROUP_REORGANIZE;
115 * Pop-up menu: name of group for code generation actions (
116 * value <code>"group.generate"</code>).
118 public static final String GROUP_GENERATE= "group.generate"; //$NON-NLS-1$
121 * Pop-up menu: name of group for source actions. This is an alias for
122 * <code>GROUP_GENERATE</code> to be more consistent with main menu
127 public static final String GROUP_SOURCE= GROUP_GENERATE;
130 * Pop-up menu: name of group for search actions (value <code>"group.search"</code>).
132 public static final String GROUP_SEARCH= "group.search"; //$NON-NLS-1$
135 * Pop-up menu: name of group for additional actions (value <code>"additions"</code>).
137 public static final String GROUP_ADDITIONS= "additions"; //$NON-NLS-1$
140 * Pop-up menu: name of group for viewer setup actions (value <code>"group.viewerSetup"</code>).
142 public static final String GROUP_VIEWER_SETUP= "group.viewerSetup"; //$NON-NLS-1$
145 * Pop-up menu: name of group for properties actions (value <code>"group.properties"</code>).
147 public static final String GROUP_PROPERTIES= "group.properties"; //$NON-NLS-1$