alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui;

/**
 * Action ids for standard actions, groups in the workbench menu bar, and
 * global actions.
 * <p>
 * This interface contains constants only; it is not intended to be implemented
 * or extended.
 * </p>
 * <h3>Standard menus
 * <ul>
 *   <li>File menu (M_FILE)
 *   <li>Edit menu (M_EDIT)
 *   <li>Window menu (M_WINDOW)
 *   <li>Help menu (M_HELP)
 * </ul>
 * <h3>Standard group for adding top level menus
 * <ul>
 *   <li>Extra top level menu group (MB_ADDITIONS)
 * </ul>
 * <h3>Global actions
 * <ul>
 *   <li>Undo (UNDO)
 *   <li>Redo (REDO)
 *   <li>Cut (CUT)
 *   <li>Copy (COPY)
 *   <li>Paste (PASTE)
 *   <li>Delete (DELETE)
 *   <li>Find (FIND)
 *   <li>Select All (SELECT_ALL)
 *   <li>Add Bookmark (BOOKMARK)
 * </ul>
 * <h3>Standard File menu actions
 * <ul>
 *   <li>Start group (FILE_START)
 *   <li>End group (FILE_END)
 *   <li>New action (NEW)
 *   <li>Extra New-like action group (NEW_EXT)
 *   <li>Close action (CLOSE)
 *   <li>Close All action (CLOSE_ALL)
 *   <li>Extra Close-like action group (CLOSE_EXT)
 *   <li>Save action (SAVE)
 *   <li>Save As action (SAVE_AS)
 *   <li>Save All action (SAVE_ALL)
 *   <li>Extra Save-like action group (SAVE_EXT)
 *   <li>Import action (IMPORT)
 *   <li>Export action (EXPORT)
 *   <li>Extra Import-like action group (IMPORT_EXT)
 *   <li>Quit action (QUIT)
 * </ul>
 * <h3>Standard Edit menu actions
 * <ul>
 *   <li>Start group (EDIT_START)
 *   <li>End group (EDIT_END)
 *   <li>Undo global action (UNDO)
 *   <li>Redo global action (REDO)
 *   <li>Extra Undo-like action group (UNDO_EXT)
 *   <li>Cut global action (CUT)
 *   <li>Copy global action (COPY)
 *   <li>Paste global action (PASTE)
 *   <li>Extra Cut-like action group (CUT_EXT)
 *   <li>Delete global action (DELETE)
 *   <li>Find global action (FIND)
 *   <li>Select All global action (SELECT_ALL)
 *   <li>Bookmark global action (BOOKMARK)
 * </ul>
 * <h3>Standard Perspective menu actions
 * <ul>
 *   <li>Extra Perspective-like action group (VIEW_EXT)
 * </ul>
 * <h3>Standard Workbench menu actions
 * <ul>
 *   <li>Start group (WB_START)
 *   <li>End group (WB_END)
 *   <li>Extra Build-like action group (BUILD_EXT)
 *   <li>Build action (BUILD)
 *   <li>Rebuild All action (REBUILD_ALL)
 * </ul>
 * <h3>Standard Window menu actions
 * <ul>
 *   <li>Extra Window-like action group (WINDOW_EXT)
 * </ul>
 * <h3>Standard Help menu actions
 * <ul>
 *   <li>Start group (HELP_START)
 *   <li>End group (HELP_END)
 *   <li>About action (ABOUT)
 * </ul>
 * <h3>Standard pop-up menu groups
 * <ul>
 *   <li>Managing group (GROUP_MANAGING)
 *   <li>Reorganize group (GROUP_REORGANIZE)
 *   <li>Add group (GROUP_ADD)
 *   <li>File group (GROUP_FILE)
 * </ul>
 * <p>
 * To hook a global action handler, a view should use the following code:
 * <code>
 *   IAction copyHandler = ...;
 *   view.getSite().getActionBars().setGlobalActionHandler(
 *       IWorkbenchActionConstants.COPY, 
 *       copyHandler);
 * </code>
 * For editors, this should be done in the <code>IEditorActionBarContributor.
 * </p>
 *  
 * @see org.eclipse.ui.IActionBars#setGlobalActionHandler
 * 
 * Note: many of the remaining non-deprecated constants here are IDE-specific
 *   and should be deprecated and moved to a constant pool at the IDE layer
 *   (e.g. IIDEActionConstants).
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface IWorkbenchActionConstants {

    // Standard menus:
    /**
     * <p>
     * [Issue: MENU_PREFIX is "". It is used to prefix some of the other
     * constants. There doesn't seem to be much point for this.
     * Recommend deleting it.
     * ]
     * </p>
     */
    public static final String MENU_PREFIX = ""; //$NON-NLS-1$

    /**
     * <p>
     * [Issue: SEP is "/". It is not used anywhere. Recommend deleting it.]
     * </p>
     */
    public static final String SEP = "/"; //$NON-NLS-1$

    /**
     * Name of standard File menu (value <code>"file").
     */
    public static final String M_FILE = MENU_PREFIX + "file"; //$NON-NLS-1$

    /**
     * Name of standard Edit menu (value <code>"edit").
     */
    public static final String M_EDIT = MENU_PREFIX + "edit"; //$NON-NLS-1$

    /**
     * Name of standard View menu (value <code>"view").
     * @deprecated Since 3.0.  This is no longer used.
     */
    public static final String M_VIEW = MENU_PREFIX + "view"; //$NON-NLS-1$

    /**
     * Name of standard Workbench menu (value <code>"workbench").
     * @deprecated Since 3.0.  This is no longer used.
     */
    public static final String M_WORKBENCH = MENU_PREFIX + "workbench"; //$NON-NLS-1$

    // menu reorg

    /**
     * Name of standard Navigate menu (value <code>"navigate").
     */
    public static final String M_NAVIGATE = MENU_PREFIX + "navigate"; //$NON-NLS-1$

    /**
     * Name of standard Project menu (value <code>"project").
     */
    public static final String M_PROJECT = MENU_PREFIX + "project"; //$NON-NLS-1$

    // end menu reorg

    /**
     * Name of standard Window menu (value <code>"window").
     */
    public static final String M_WINDOW = MENU_PREFIX + "window"; //$NON-NLS-1$

    /**
     * Name of Launch window menu (value <code>"launch").
     */
    public static final String M_LAUNCH = MENU_PREFIX + "launch"; //$NON-NLS-1$

    /**
     * Name of standard Help menu (value <code>"help").
     */
    public static final String M_HELP = MENU_PREFIX + "help"; //$NON-NLS-1$

    // Standard area for adding top level menus:
    /**
     * Name of group for adding new top-level menus (value <code>"additions").
     */
    public static final String MB_ADDITIONS = "additions"; // Group. //$NON-NLS-1$

    // Standard file actions:
    /**
     * File menu: name of group for start of menu (value <code>"fileStart").
     */
    public static final String FILE_START = "fileStart"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of group for end of menu (value <code>"fileEnd").
     */
    public static final String FILE_END = "fileEnd"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of standard New action (value <code>"new").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ActionFactory.NEW.getId()
     * instead.
     */
    public static final String NEW = "new"; //$NON-NLS-1$

    /**
     * File menu: name of group for extra New-like actions (value <code>"new.ext").
     */
    public static final String NEW_EXT = "new.ext"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of standard Close action (value <code>"close").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CLOSE
     * ActionFactory.CLOSE.getId()} instead.
     */
    public static final String CLOSE = "close"; //$NON-NLS-1$

    /**
     * File menu: name of standard Close All action (value <code>"closeAll").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CLOSE_ALL
     * ActionFactory.CLOSE_ALL.getId()} instead.
     */
    public static final String CLOSE_ALL = "closeAll"; //$NON-NLS-1$

    /**
     * File menu: name of group for extra Close-like actions (value <code>"close.ext").
     */
    public static final String CLOSE_EXT = "close.ext"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of standard Save action (value <code>"save").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE
     * ActionFactory.SAVE.getId()} instead.
     */
    public static final String SAVE = "save"; //$NON-NLS-1$

    /**
     * File menu: name of standard Save As action (value <code>"saveAs").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE_AS
     * ActionFactory.SAVE_AS.getId()} instead.
     */
    public static final String SAVE_AS = "saveAs"; //$NON-NLS-1$

    /**
     * File menu: name of standard Save All action (value <code>"saveAll").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE_ALL
     * ActionFactory.SAVE_ALL.getId()} instead.
     */
    public static final String SAVE_ALL = "saveAll"; //$NON-NLS-1$

    /**
     * File menu: name of group for extra Save-like actions (value <code>"save.ext").
     */
    public static final String SAVE_EXT = "save.ext"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of standard Print global action 
     * (value <code>"print").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PRINT
     * ActionFactory.PRINT.getId()} instead.
     */
    public static final String PRINT = "print"; // Global action. //$NON-NLS-1$

    /**
     * File menu: name of group for extra Print-like actions (value <code>"print.ext").
     * @since 3.0
     */
    public static final String PRINT_EXT = "print.ext"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of standard Import action (value <code>"import").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ActionFactory.IMPORT.getId()
     * instead.
     */
    public static final String IMPORT = "import"; //$NON-NLS-1$

    /**
     * File menu: name of standard Export action (value <code>"export").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ActionFactory.EXPORT.getId()
     * instead.
     */
    public static final String EXPORT = "export"; //$NON-NLS-1$

    /**
     * File menu: name of group for extra Import-like actions (value <code>"import.ext").
     */
    public static final String IMPORT_EXT = "import.ext"; // Group. //$NON-NLS-1$

    /**
     * File menu: name of "Most Recently Used File" group.
     * (value <code>"mru").
     */
    public static final String MRU = "mru"; //$NON-NLS-1$

    /**
     * File menu: name of standard Quit action (value <code>"quit").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#QUIT
     * ActionFactory.QUIT.getId()} instead.
     */
    public static final String QUIT = "quit"; //$NON-NLS-1$

    // Standard edit actions:
    /**
     * Edit menu: name of group for start of menu (value <code>"editStart").
     */
    public static final String EDIT_START = "editStart"; // Group. //$NON-NLS-1$

    /**
     * Edit menu: name of group for end of menu (value <code>"editEnd").
     */
    public static final String EDIT_END = "editEnd"; // Group. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Undo global action 
     * (value <code>"undo").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#UNDO
     * ActionFactory.UNDO.getId()} instead.
     */
    public static final String UNDO = "undo"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Redo global action 
     * (value <code>"redo").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REDO
     * ActionFactory.REDO.getId()} instead.
     */
    public static final String REDO = "redo"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of group for extra Undo-like actions (value <code>"undo.ext").
     */
    public static final String UNDO_EXT = "undo.ext"; // Group. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Cut global action 
     * (value <code>"cut").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CUT
     * ActionFactory.CUT.getId()} instead.
     */
    public static final String CUT = "cut"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Copy global action
     * (value <code>"copy").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#COPY
     * ActionFactory.COPY.getId()} instead.
     */
    public static final String COPY = "copy"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Paste global action 
     * (value <code>"paste").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PASTE
     * ActionFactory.PASTE.getId()} instead.
     */
    public static final String PASTE = "paste"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of group for extra Cut-like actions (value <code>"cut.ext").
     */
    public static final String CUT_EXT = "cut.ext"; // Group. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Delete global action 
     * (value <code>"delete").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#DELETE
     * ActionFactory.DELETE.getId()} instead.
     */
    public static final String DELETE = "delete"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Find global action
     * (value <code>"find").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#FIND
     * ActionFactory.FIND.getId()} instead.
     */
    public static final String FIND = "find"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of group for extra Find-like actions (value <code>"find.ext").
     */
    public static final String FIND_EXT = "find.ext"; // Group. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Select All global action
     * (value <code>"selectAll").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SELECT_ALL
     * ActionFactory.SELECT_ALL.getId()} instead.
     */
    public static final String SELECT_ALL = "selectAll"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Add Bookmark global action
     * (value <code>"bookmark").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.BOOKMARK.getId()
     * instead.
     */
    public static final String BOOKMARK = "bookmark"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Add Task global action
     * (value <code>"addTask").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.ADD_TASK.getId()
     * instead.
     */
    public static final String ADD_TASK = "addTask"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of group for extra Add-like actions (value <code>"add.ext").
     */
    public static final String ADD_EXT = "add.ext"; // Group. //$NON-NLS-1$

    // Standard workbench actions:
    /**
     * Workbench menu: name of group for start of menu
     * (value <code>"wbStart").
     */
    public static final String WB_START = "wbStart"; // Group. //$NON-NLS-1$

    /**
     * Workbench menu: name of group for end of menu
     * (value <code>"wbEnd").
     */
    public static final String WB_END = "wbEnd"; // Group. //$NON-NLS-1$

    /**
     * Workbench menu: name of group for extra Build-like actions
     * (value <code>"build.ext").
     */
    public static final String BUILD_EXT = "build.ext"; // Group. //$NON-NLS-1$

    /**
     * Workbench menu: name of standard Build action 
     * (value <code>"build").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.BUILD.getId()
     * instead.
     */
    public static final String BUILD = "build"; //$NON-NLS-1$

    /**
     * Workbench menu: name of standard Rebuild All action 
     * (value <code>"rebuildAll").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.REBUILD_ALL.getId()
     * instead.
     */
    public static final String REBUILD_ALL = "rebuildAll"; //$NON-NLS-1$

    // Workbench toolbar ids:
    /**
     * Workbench toolbar id for file toolbar group.
     * 
     * @since 2.1
     */
    public static final String TOOLBAR_FILE = "org.eclipse.ui.workbench.file"; //$NON-NLS-1$

    /**
     * Workbench toolbar id for navigate toolbar group.
     * 
     * @since 2.1
     */
    public static final String TOOLBAR_NAVIGATE = "org.eclipse.ui.workbench.navigate"; //$NON-NLS-1$

    /**
     * Workbench toolbar id for help toolbar group.
     * 
     * @since 3.1
     */
    public static final String TOOLBAR_HELP = "org.eclipse.ui.workbench.help"; //$NON-NLS-1$    

    // Workbench toolbar group ids.  To add an item at the beginning of the group, 
    // use the GROUP id.  To add an item at the end of the group, use the EXT id.
   
    /**
     * Group id for pin toolbar group.
     * 
     * @since 2.1
     */
    public static final String PIN_GROUP = "pin.group"; //$NON-NLS-1$

    /**
     * Group id for history toolbar group.
     * 
     * @since 2.1
     */
    public static final String HISTORY_GROUP = "history.group"; //$NON-NLS-1$

    /**
     * Group id for new toolbar group.
     * 
     * @since 2.1
     */
    public static final String NEW_GROUP = "new.group"; //$NON-NLS-1$

    /**
     * Group id for save group.
     * 
     * @since 2.1
     */
    public static final String SAVE_GROUP = "save.group"; //$NON-NLS-1$
    
    /**
     * Group id for build group.
     * 
     * @since 2.1
     */
    public static final String BUILD_GROUP = "build.group"; //$NON-NLS-1$

    // Pop-up menu groups:
    /**
     * Pop-up menu: name of group for Managing actions (value <code>"group.managing").
     */
    public static final String GROUP_MANAGING = "group.managing"; //$NON-NLS-1$

    /**
     * Pop-up menu: name of group for Reorganize actions (value <code>"group.reorganize").
     */
    public static final String GROUP_REORGANIZE = "group.reorganize"; //$NON-NLS-1$

    /**
     * Pop-up menu: name of group for Add actions (value <code>"group.add").
     */
    public static final String GROUP_ADD = "group.add"; //$NON-NLS-1$

    /**
     * Pop-up menu: name of group for File actions (value <code>"group.file").
     */
    public static final String GROUP_FILE = "group.file"; //$NON-NLS-1$

    /**
     * Pop-up menu: name of group for Show In actions (value <code>"group.showIn").
     * 
     * @since 2.1
     */
    public static final String GROUP_SHOW_IN = "group.showIn"; //$NON-NLS-1$

    /**
     * Coolbar: name of group for application created actions
     * 
     * @since 3.0
     */
    public static final String GROUP_APP = "group.application"; //$NON-NLS-1$

    /**
     * Toolbar: name of group for editor action bars.
     */
    public static final String GROUP_EDITOR = "group.editor"; //$NON-NLS-1$
    
    /**
     * Coolbar: name of group for help actions and contributions
     * 
     * @since 3.1
     */
    public static final String GROUP_HELP = "group.help"; //$NON-NLS-1$    

    // Standard view actions:
    /**
     * View menu: name of group for additional view-like items.
     * (value <code>"additions").
     */
    public static final String VIEW_EXT = MB_ADDITIONS; // Group.

    // Standard window actions:
    /**
     * Window menu: name of group for additional window-like items.
     * (value <code>"additions").
     */
    public static final String WINDOW_EXT = MB_ADDITIONS; // Group.

    /**
     * Launch menu: name of group for launching additional windows.
     * (value <code>"additions").
     */
    public static final String LAUNCH_EXT = MB_ADDITIONS; // Group.

    // menu reorg
    /**
     * File menu: name of standard Revert global action
     * (value <code>"revert").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REVERT
     * ActionFactory.REVERT.getId()} instead.
     */
    public static final String REVERT = "revert"; // Global action. //$NON-NLS-1$

    /**
     * File menu: name of standard Refresh global action
     * (value <code>"refresh").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REFRESH
     * ActionFactory.REFRESH.getId()} instead.
     */
    public static final String REFRESH = "refresh"; // Global action. //$NON-NLS-1$

    /**
     * File menu: name of standard Properties global action
     * (value <code>"properties").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PROPERTIES
     * ActionFactory.PROPERTIES.getId()} instead.
     */
    public static final String PROPERTIES = "properties"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Move global action
     * (value <code>"move").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#MOVE
     * ActionFactory.MOVE.getId()} instead.
     */
    public static final String MOVE = "move"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Rename global action
     * (value <code>"rename").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#RENAME
     * ActionFactory.RENAME.getId()} instead.
     */
    public static final String RENAME = "rename"; // Global action. //$NON-NLS-1$

    /**
     * Edit menu: name of standard Add Task global action
     * (value <code>"addTask").
     */
    //	public static final String ADD_TASK = "addTask";	// Global action. //$NON-NLS-1$
    /**
     * Navigate menu: name of group for start of menu
     * (value <code>"navStart").
     */
    public static final String NAV_START = "navStart"; // Group. //$NON-NLS-1$

    /**
     * Navigate menu: name of group for end of menu
     * (value <code>"navEnd").
     */
    public static final String NAV_END = "navEnd"; // Group. //$NON-NLS-1$

    /**
     * File and Navigate menu: name of group for extra Open actions
     * (value <code>"open.ext").
     */
    public static final String OPEN_EXT = "open.ext"; // Group. //$NON-NLS-1$

    /**
     * Navigate menu: name of group for extra Show actions
     * (value <code>"show.ext").
     */
    public static final String SHOW_EXT = "show.ext"; // Group. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Go Into global action
     * (value <code>"goInto").
     */
    public static final String GO_INTO = "goInto"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Go To submenu
     * (value <code>"goTo").
     */
    public static final String GO_TO = "goTo"; //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Go To Resource global action
     * (value <code>"goToResource").
     */
    public static final String GO_TO_RESOURCE = "goToResource"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Sync With Editor global action (value
     * <code>"syncEditor").
     * 
     * @deprecated this action will be removed soon; use SHOW_IN instead 
     */
    public static final String SYNC_EDITOR = "syncEditor"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Show In... action 
     * (value <code>"showIn").
     * 
     * @see org.eclipse.ui.internal.ShowInAction
     * @since 2.1
     * 
     * @deprecated
     */
    public static final String SHOW_IN = "showIn"; //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Back global action
     * (value <code>"back").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#BACK
     * ActionFactory.BACK.getId()} instead.
     */
    public static final String BACK = "back"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Forward global action
     * (value <code>"forward").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#FORWARD
     * ActionFactory.FORWARD.getId()} instead.
     */
    public static final String FORWARD = "forward"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Up global action
     * (value <code>"up").
     */
    public static final String UP = "up"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Next global action
     * (value <code>"next").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#NEXT
     * ActionFactory.NEXT.getId()} instead.
     */
    public static final String NEXT = "next"; // Global action. //$NON-NLS-1$

    /**
     * Navigate menu: name of standard Up global action
     * (value <code>"previous").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PREVIOUS
     * ActionFactory.PREVIOUS.getId()} instead.
     */
    public static final String PREVIOUS = "previous"; // Global action. //$NON-NLS-1$

    /**
     * Project menu: name of group for start of menu
     * (value <code>"projStart").
     */
    public static final String PROJ_START = "projStart"; // Group. //$NON-NLS-1$

    /**
     * Project menu: name of group for start of menu
     * (value <code>"projEnd").
     */
    public static final String PROJ_END = "projEnd"; // Group. //$NON-NLS-1$

    /**
     * Project menu: name of standard Build Project global action
     * (value <code>"buildProject").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.BUILD_PROJECT.getId()
     * instead.
     */
    public static final String BUILD_PROJECT = "buildProject"; // Global action. //$NON-NLS-1$

    /**
     * Project menu: name of standard Rebuild Project global action
     * (value <code>"rebuildProject").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.REBUILD_PROJECT.getId()
     * instead.
     */
    public static final String REBUILD_PROJECT = "rebuildProject"; // Global action. //$NON-NLS-1$

    /**
     * Project menu: name of standard Open Project global action
     * (value <code>"openProject").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.OPEN_PROJECT.getId()
     * instead.
     */
    public static final String OPEN_PROJECT = "openProject"; // Global action. //$NON-NLS-1$

    /**
     * Project menu: name of standard Close Project global action
     * (value <code>"closeProject").
     * 
     * @deprecated in 3.0. Use
     * <code>org.eclipse.ui.ide.IDEActionFactory.CLOSE_PROJECT.getId()
     * instead.
     */
    public static final String CLOSE_PROJECT = "closeProject"; // Global action. //$NON-NLS-1$
    // end menu reorg

    // Standard help actions:
    /**
     * Help menu: name of group for start of menu
     * (value <code>"helpStart").
     */
    public static final String HELP_START = "helpStart"; // Group. //$NON-NLS-1$

    /**
     * Help menu: name of group for end of menu
     * (value <code>"helpEnd").
     */
    public static final String HELP_END = "helpEnd"; // Group. //$NON-NLS-1$

    /**
     * Help menu: name of standard About action 
     * (value <code>"about").
     * 
     * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#ABOUT
     * ActionFactory.ABOUT.getId()} instead.
     */
    public static final String ABOUT = "about"; //$NON-NLS-1$

    /**
     * Standard global actions in a workbench window.
     * 
     * @deprecated in 3.0
     */
    public static final String[] GLOBAL_ACTIONS = { UNDO, REDO, CUT, COPY,
            PASTE, PRINT, DELETE, FIND, SELECT_ALL, BOOKMARK };
}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.