org.eclipse.ui.ide.IIDEActionConstants Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
* Kaloyan Raev - Bug 322002
*******************************************************************************/
package org.eclipse.ui.ide;
/**
* Identifiers for IDE menus, toolbars and groups.
*
* This interface contains constants only; it is not intended to be implemented
* or extended.
*
*
* Note: want to move IDE-specific stuff out of IWorkbenchActionConstants.
* There's still some cleanup to be done here (and there).
*
* @since 3.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IIDEActionConstants {
/**
* Name of standard File menu (value "file"
).
*/
String M_FILE = "file"; //$NON-NLS-1$
/**
* Name of standard Edit menu (value "edit"
).
*/
String M_EDIT = "edit"; //$NON-NLS-1$
/**
* Name of standard Navigate menu (value "navigate"
).
*/
String M_NAVIGATE = "navigate"; //$NON-NLS-1$
/**
* Name of standard Project menu (value "project"
).
*/
String M_PROJECT = "project"; //$NON-NLS-1$
/**
* Name of standard Window menu (value "window"
).
*/
String M_WINDOW = "window"; //$NON-NLS-1$
/**
* Name of standard Help menu (value "help"
).
*/
String M_HELP = "help"; //$NON-NLS-1$
/**
* File menu: name of group for start of menu (value "fileStart"
).
*/
String FILE_START = "fileStart"; //$NON-NLS-1$
/**
* File menu: name of group for end of menu (value "fileEnd"
).
*/
String FILE_END = "fileEnd"; //$NON-NLS-1$
/**
* File menu: name of group for extra New-like actions (value "new.ext"
).
*/
String NEW_EXT = "new.ext"; //$NON-NLS-1$
/**
* File menu: name of group for extra Close-like actions (value "close.ext"
).
*/
String CLOSE_EXT = "close.ext"; //$NON-NLS-1$
/**
* File menu: name of group for extra Save-like actions (value "save.ext"
).
*/
String SAVE_EXT = "save.ext"; //$NON-NLS-1$
/**
* File menu: name of group for extra Print-like actions (value "print.ext"
).
*/
String PRINT_EXT = "print.ext"; //$NON-NLS-1$
/**
* File menu: name of group for extra Import-like actions (value "import.ext"
).
*/
String IMPORT_EXT = "import.ext"; //$NON-NLS-1$
/**
* File menu: name of "Most Recently Used File" group.
* (value "mru"
).
*/
String MRU = "mru"; //$NON-NLS-1$
/**
* Edit menu: name of group for start of menu (value "editStart"
).
*/
String EDIT_START = "editStart"; //$NON-NLS-1$
/**
* Edit menu: name of group for end of menu (value "editEnd"
).
*/
String EDIT_END = "editEnd"; //$NON-NLS-1$
/**
* Edit menu: name of group for extra Undo-like actions (value "undo.ext"
).
*/
String UNDO_EXT = "undo.ext"; //$NON-NLS-1$
/**
* Edit menu: name of group for extra Cut-like actions (value "cut.ext"
).
*/
String CUT_EXT = "cut.ext"; //$NON-NLS-1$
/**
* Edit menu: name of group for extra Find-like actions (value "find.ext"
).
* Note: The value of this constant has changed in 3.3 to match the specification;
* before 3.3, its value was incorrect ("cut.ext"
). See bug 155856 for details.
*/
String FIND_EXT = "find.ext"; //$NON-NLS-1$
/**
* Edit menu: name of group for extra Add-like actions (value "add.ext"
).
*/
String ADD_EXT = "add.ext"; //$NON-NLS-1$
/**
* Workbench menu: name of group for extra Build-like actions
* (value "build.ext"
).
*/
String BUILD_EXT = "build.ext"; //$NON-NLS-1$
/**
* Workbench toolbar id for file toolbar group.
*
* @since 2.1
*/
String TOOLBAR_FILE = "org.eclipse.ui.workbench.file"; //$NON-NLS-1$
/**
* Workbench toolbar id for navigate toolbar group.
*
* @since 2.1
*/
String TOOLBAR_NAVIGATE = "org.eclipse.ui.workbench.navigate"; //$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
*/
String PIN_GROUP = "pin.group"; //$NON-NLS-1$
/**
* Group ids for history toolbar group.
*
* @since 2.1
*/
String HISTORY_GROUP = "history.group"; //$NON-NLS-1$
/**
* Group ids for new toolbar group.
*
* @since 2.1
*/
String NEW_GROUP = "new.group"; //$NON-NLS-1$
/**
* Group ids for save toolbar group.
*
* @since 2.1
*/
String SAVE_GROUP = "save.group"; //$NON-NLS-1$
/**
* Group ids for build toolbar group.
*
* @since 2.1
*/
String BUILD_GROUP = "build.group"; //$NON-NLS-1$
// Pop-up menu groups:
/**
* Pop-up menu: name of group for Add actions (value "group.add"
).
*/
String GROUP_ADD = "group.add"; //$NON-NLS-1$
/**
* Pop-up menu and cool bar: name of group for File actions (value "group.file"
).
*/
String GROUP_FILE = "group.file"; //$NON-NLS-1$
/**
* Pop-up menu and cool bar: name of group for Edit actions (value "group.edit"
).
*
* @since 3.14
*/
String GROUP_EDIT = "group.edit"; //$NON-NLS-1$
/**
* Coolbar: name of group for Navigate actions (value "group.nav"
).
*/
String GROUP_NAV = "group.nav"; //$NON-NLS-1$
/**
* Pop-up menu: name of group for Show In actions (value "group.showIn"
).
*
* @since 2.1
*/
String GROUP_SHOW_IN = "group.showIn"; //$NON-NLS-1$
/**
* Navigate menu: name of group for start of menu
* (value "navStart"
).
*/
String NAV_START = "navStart"; //$NON-NLS-1$
/**
* Navigate menu: name of group for end of menu
* (value "navEnd"
).
*/
String NAV_END = "navEnd"; //$NON-NLS-1$
/**
* Navigate menu: name of group for extra Open actions
* (value "open.ext"
).
*/
String OPEN_EXT = "open.ext"; //$NON-NLS-1$
/**
* Navigate menu: name of group for extra Show actions
* (value "show.ext"
).
*/
String SHOW_EXT = "show.ext"; //$NON-NLS-1$
/**
* Navigate menu: name of standard Go Into global action
* (value "goInto"
).
*/
String GO_INTO = "goInto"; // Global action. //$NON-NLS-1$
/**
* Navigate menu: name of standard Go To submenu
* (value "goTo"
).
*/
String GO_TO = "goTo"; //$NON-NLS-1$
/**
* Navigate menu: name of standard Go To Resource global action
* (value "goToResource"
).
*
* Note:should be in an action factory
*/
String GO_TO_RESOURCE = "goToResource"; // Global action. //$NON-NLS-1$
/**
* Project menu: name of group for start of menu
* (value "projStart"
).
*/
String PROJ_START = "projStart"; //$NON-NLS-1$
/**
* Project menu: name of group for start of menu
* (value "projEnd"
).
*/
String PROJ_END = "projEnd"; //$NON-NLS-1$
/**
* Help menu: name of group for start of menu
* (value "helpStart"
).
*/
String HELP_START = "helpStart"; //$NON-NLS-1$
/**
* Help menu: name of group for end of menu
* (value "helpEnd"
).
*/
String HELP_END = "helpEnd"; //$NON-NLS-1$
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy