<!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. 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