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