<!ELEMENT extension (copyParticipant*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT copyParticipant (enablement)>
<!ATTLIST copyParticipant
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED
processOnCancel CDATA #IMPLIED>
<copyParticipant id=
"org.eclipse.samples.copyParticipant"
name=
"%CopyFileParticipant.name"
class=
"org.eclipse.samples.CopyFileParticipant"
>
<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.IFile"
/>
</with>
</enablement>
</copyParticipant>
org.eclipse.ltk.core.refactoring.participants.CopyParticipant
Copyright (c) 2001, 2005 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