<!ELEMENT extension (renameParticipant*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT renameParticipant (enablement)>
<!ATTLIST renameParticipant
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED>
<renameParticipant id=
"org.eclipse.jdt.junit.renameTypeParticipant"
name=
"%RenameTypeParticipant.name"
class=
"org.eclipse.jdt.internal.junit.ui.TypeRenameParticipant"
>
<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.IType"
/>
<test property=
"org.eclipse.jdt.junit.isTest"
/>
</with>
</enablement>
</renameParticipant>
org.eclipse.ltk.core.refactoring.participants.RenameParticipant
Copyright (c) 2001, 2004 IBM Corporation and others.
All rights reserved.
本程式與隨附的資料依照 Elipse Public License 1.0 版此次發行所隨附的條款而提供,
可以在以下網址取得:http://www.eclipse.org/legal/epl-v10.html