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