警告:這個延伸點已停用。
請不要使用這個延伸點,將在本產品的未來版本中移除它。
請改用 org.eclipse.ui.commands 延伸點。
加速器集宣告會藉由列出範圍的 ID 作為它的 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, 2004 IBM Corporation and others.
All rights reserved.
本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html