警告:不推荐使用此扩展点。
不要使用此扩展点,在此产品的将来版本中将会除去它。相反,请使用扩展点 org.eclipse.ui.commands
加速键集通过将作用域的标识列示为它的“scopeId”属性的值来声明它适用于哪个作用域(请参阅“加速键集”扩展点)。许多加速键集可适用于同一加速键作用域。
<!ELEMENT extension (acceleratorScope*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT acceleratorScope EMPTY>
<!ATTLIST acceleratorScope
id CDATA #REQUIRED
name CDATA #REQUIRED
description CDATA #REQUIRED
parentScope CDATA #IMPLIED>
<extension point=
"org.eclipse.ui.acceleratorScopes"
>
<acceleratorScope id=
"org.eclipse.ui.globalScope"
name=
"Global"
description=
"Action accelerator key applicable to all views and editors unless explicitly overridden."
>
</acceleratorScope>
<acceleratorScope id=
"org.eclipse.ui.javaEditorScope"
name=
"Java Editor"
description=
"Action accelerator key applicable only when java editor active."
parentScope=
"org.eclipse.ui.globalScope"
>
</acceleratorScope>
</extension>
Copyright (c) 2002, 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