<!ELEMENT extension (createParticipant*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT createParticipant (enablement)>
<!ATTLIST createParticipant
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED>
<createParticipant id=
"org.myCompany.createParticipant"
name=
"%CreateParticipant.name"
class=
"org.myCompany.CreateParticipant"
>
<enablement>
<with variable=
"affectedNatures"
>
<iterate operator=
"or"
>
<equals value=
"org.eclipse.jdt.core.javanature"
/>
</iterate>
</with>
<with variable=
"element"
>
<instanceof value=
"org.eclipse.core.resources.IFolder"
/>
</with>
</enablement>
</createParticipant>
org.eclipse.ltk.core.refactoring.participants.CreateParticipant
Copyright (c) 2001, 2004 IBM Corporation and others.
All rights reserved.
本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html