<!ELEMENT extension (actionSetPartAssociation*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT actionSetPartAssociation (part*)>
<!ATTLIST actionSetPartAssociation
targetID CDATA #REQUIRED>
<!ELEMENT part EMPTY>
<!ATTLIST part
id CDATA #REQUIRED>
在上面的範例中,視圖或編輯器與重構動作集相關聯。<extension point=
"org.eclipse.ui.actionSetPartAssociations"
>
<actionSetPartAssociation targetID=
"org.eclipse.jdt.ui.refactoring.actionSet"
>
<part id=
"org.eclipse.jdt.ui.PackageExplorer"
/>
<part id=
"org.eclipse.jdt.ui.CompilationUnitError"
/>
</actionSetPartAssociation>
</extension>
Copyright (c) 2002, 2004 IBM Corporation and others.
All rights reserved.
這個程式和檢附的資料是遵循這項分送檢附的 Common Public License 1.0 版條款而提供的,請造訪下列網址,取得這份條款:http://www.eclipse.org/legal/cpl-v10.html