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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Accelerator Configurations

This extension point is deprecated

Identifier:
org.eclipse.ui.acceleratorConfigurations

Since:
2.0

Description:

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 configuration extensions. Accelerator configurations are configurations to which accelerator sets may be registered. The workbench allows the user to select an accelerator configuration from the Workbench preference page. Only one accelerator configuration may be active at a time.

An accelerator configuration represents a general style or theme of accelerators for Workbench actions. For example, the Workbench provides the "Emacs" accelerator configuration. When the "Emacs" accelerator configuration is active, accelerators belonging to accelerator sets registered to the "Emacs" configuration are active. These accelerators are defined to mimic the accelerators in Emacs (a popular text editor amongst developers).

An accelerator set registers with an accelerator configuration by listing the configuration's id as the value of its "configurationId" attribute (see the Accelerator Sets extension point). Many accelerator sets can be registered to the same accelerator configuration.

Note the accelerator configuration name presented to the user is the same as the value of the attribute "name" of the extension element of org.eclipse.ui.acceleratorConfigurations extension point.

Configuration Markup:

<!ELEMENT extension ( acceleratorConfiguration*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • 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 acceleratorConfiguration element is deprecated

<!ELEMENT acceleratorConfiguration EMPTY>

<!ATTLIST acceleratorConfiguration

id          CDATA #REQUIRED

name        CDATA #REQUIRED

description CDATA #REQUIRED

>

  • id - a unique name that can be used to identify this accelerator configuration.
  • name - a translatable name of the accelerator configuration to be presented to the user.
  • description - a short description of the accelerator configuration.

Examples:
Following is an example of an accelerator configuration extension:


   <extension point=
"org.eclipse.ui.acceleratorConfigurations"
> 
      <acceleratorConfiguration 
        id=
"org.eclipse.ui.viAcceleratorConfiguration"
 
        name=
"VI"
 
        description=
"VI style accelerator configuration"
> 
      </acceleratorConfiguration> 
      <acceleratorConfiguration 
        id=
"org.eclipse.ui.jonDoeAcceleratorConfiguration"
 
        name=
"Jon Doe"
 
        description=
"Personal accelerator configuration for Jon Doe"
> 
      </acceleratorConfiguration> 
   </extension>

Supplied Implementation:
The workbench provides the Default and Emacs accelerator configurations.


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 https://www.eclipse.org/legal/epl-v10.html


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