/******************************************************************************* * Copyright (c) 2000, 2002 International Business Machines Corp. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation ******************************************************************************/ package net.sourceforge.phpdt.ui; import org.eclipse.ui.IWorkbenchActionConstants; /** * Constants for menu groups used in context menus for Java views and editors. *

* This interface declares constants only; it is not intended to be implemented. *

*/ public interface IContextMenuConstants { /** * Type hierarchy view part: pop-up menu target ID for type hierarchy viewer * (value * "net.sourceforge.phpdt.ui.TypeHierarchy.typehierarchy"). * * @since 2.0 */ public static final String TARGET_ID_HIERARCHY_VIEW = JavaUI.ID_TYPE_HIERARCHY + ".typehierarchy"; //$NON-NLS-1$ /** * Type hierarchy view part: pop-up menu target ID for supertype hierarchy * viewer (value * "net.sourceforge.phpdt.ui.TypeHierarchy.supertypes"). * * @since 2.0 */ public static final String TARGET_ID_SUPERTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY + ".supertypes"; //$NON-NLS-1$ /** * Type hierarchy view part: Pop-up menu target ID for the subtype hierarchy * viewer (value * "net.sourceforge.phpdt.ui.TypeHierarchy.subtypes"). * * @since 2.0 */ public static final String TARGET_ID_SUBTYPES_VIEW = JavaUI.ID_TYPE_HIERARCHY + ".subtypes"; //$NON-NLS-1$ /** * Type hierarchy view part: pop-up menu target ID for the meber viewer * (value "net.sourceforge.phpdt.ui.TypeHierarchy.members"). * * @since 2.0 */ public static final String TARGET_ID_MEMBERS_VIEW = JavaUI.ID_TYPE_HIERARCHY + ".members"; //$NON-NLS-1$ /** * Pop-up menu: name of group for goto actions (value * "group.open"). *

* Examples for open actions are: *

*

*/ public static final String GROUP_GOTO = "group.goto"; //$NON-NLS-1$ /** * Pop-up menu: name of group for open actions (value * "group.open"). *

* Examples for open actions are: *

*

*/ public static final String GROUP_OPEN = "group.open"; //$NON-NLS-1$ /** * Pop-up menu: name of group for show actions (value * "group.show"). *

* Examples for show actions are: *

*

*/ public static final String GROUP_SHOW = "group.show"; //$NON-NLS-1$ /** * Pop-up menu: name of group for new actions (value * "group.new"). *

* Examples for new actions are: *

*

*/ public static final String GROUP_NEW = "group.new"; //$NON-NLS-1$ /** * Pop-up menu: name of group for build actions (value * "group.build"). */ public static final String GROUP_BUILD = "group.build"; //$NON-NLS-1$ /** * Pop-up menu: name of group for reorganize actions (value * "group.reorganize"). */ public static final String GROUP_REORGANIZE = IWorkbenchActionConstants.GROUP_REORGANIZE; /** * Pop-up menu: name of group for code generation actions ( value * "group.generate"). */ public static final String GROUP_GENERATE = "group.generate"; //$NON-NLS-1$ /** * Pop-up menu: name of group for source actions. This is an alias for * GROUP_GENERATE to be more consistent with main menu bar * structure. * * @since 2.0 */ public static final String GROUP_SOURCE = GROUP_GENERATE; /** * Pop-up menu: name of group for search actions (value * "group.search"). */ public static final String GROUP_SEARCH = "group.search"; //$NON-NLS-1$ /** * Pop-up menu: name of group for additional actions (value * "additions"). */ public static final String GROUP_ADDITIONS = "additions"; //$NON-NLS-1$ /** * Pop-up menu: name of group for viewer setup actions (value * "group.viewerSetup"). */ public static final String GROUP_VIEWER_SETUP = "group.viewerSetup"; //$NON-NLS-1$ /** * Pop-up menu: name of group for properties actions (value * "group.properties"). */ public static final String GROUP_PROPERTIES = "group.properties"; //$NON-NLS-1$ }