Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Accelerator Scopes

This extension point is deprecated




WARNING: This extension point is DEPRECATED.
Do not use this extension point, it will be removed in future versions of this product. Instead, use the extension point org.eclipse.ui.commands

This extension point is used to register accelerator scope extensions. Accelerator scopes are scopes for which accelerator sets may be applicable. For example, if an accelerator set is applicable for the scope entitled "Text Editor Scope", the accelerators of that accelerator set will only operate if the "Text Editor Scope" or one of its children is active (in other words, if the active part is a participating text editor).

An accelerator set declares what scope it is applicable for by listing the scope's id as the value of its "scopeId" attribute (see the Accelerator Sets extension point). Many accelerator sets can be applicable for the same accelerator scope.

Configuration Markup:

<!ELEMENT extension ( acceleratorScope*)>

<!ATTLIST extension





  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

The acceleratorScope element is deprecated

<!ELEMENT acceleratorScope EMPTY>

<!ATTLIST acceleratorScope

id          CDATA #REQUIRED

name        CDATA #REQUIRED

description CDATA #REQUIRED

parentScope CDATA #IMPLIED


  • id - a unique name that can be used to identify this accelerator scope.
  • name - a translatable name of the accelerator scope.
  • description - a short description of the accelerator scope.
  • parentScope - an optional attribute which represents a scope which is active whenever this scope is active. For most scopes, org.eclipse.ui.globalScope will be the parent scope

Following is an example of an accelerator scope extension:

   <extension point=
"Action accelerator key applicable to all views and editors unless explicitly overridden."
"Java Editor"
"Action accelerator key applicable only when java editor active."

Supplied Implementation:
The workbench provides the Global accelerator scope and the Text Editor accelerator scope.

Copyright (c) 2002, 2007 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

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire