Stephan Herrmann | 47e5890 | 2010-04-01 23:52:56 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | <plugin> |
| 4 | |
| 5 | <extension point="org.eclipse.ltk.core.refactoring.renameParticipants"> |
| 6 | <renameParticipant |
| 7 | class="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantShared" |
| 8 | name="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantShared" |
| 9 | id="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantShared"> |
| 10 | <enablement> |
| 11 | <with variable="affectedNatures"> |
| 12 | <iterate operator="or"> |
| 13 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 14 | </iterate> |
| 15 | </with> |
| 16 | <with variable="element"> |
| 17 | <or> |
| 18 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 19 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 20 | </or> |
| 21 | </with> |
| 22 | </enablement> |
| 23 | </renameParticipant> |
| 24 | <renameParticipant |
| 25 | class="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantSingle" |
| 26 | name="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantSingle" |
| 27 | id="org.eclipse.jdt.ui.tests.refactoring.TestRenameParticipantSingle"> |
| 28 | <enablement> |
| 29 | <with variable="affectedNatures"> |
| 30 | <iterate operator="or"> |
| 31 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 32 | </iterate> |
| 33 | </with> |
| 34 | <with variable="element"> |
| 35 | <or> |
| 36 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 37 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 38 | </or> |
| 39 | </with> |
| 40 | </enablement> |
| 41 | </renameParticipant> |
| 42 | </extension> |
| 43 | <extension point="org.eclipse.ltk.core.refactoring.moveParticipants"> |
| 44 | <moveParticipant |
| 45 | class="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantShared" |
| 46 | name="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantShared" |
| 47 | id="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantShared"> |
| 48 | <enablement> |
| 49 | <with variable="affectedNatures"> |
| 50 | <iterate operator="or"> |
| 51 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 52 | </iterate> |
| 53 | </with> |
| 54 | <with variable="element"> |
| 55 | <or> |
| 56 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 57 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 58 | </or> |
| 59 | </with> |
| 60 | </enablement> |
| 61 | </moveParticipant> |
| 62 | <moveParticipant |
| 63 | class="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantSingle" |
| 64 | name="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantSingle" |
| 65 | id="org.eclipse.jdt.ui.tests.refactoring.TestMoveParticipantSingle"> |
| 66 | <enablement> |
| 67 | <with variable="affectedNatures"> |
| 68 | <iterate operator="or"> |
| 69 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 70 | </iterate> |
| 71 | </with> |
| 72 | <with variable="element"> |
| 73 | <or> |
| 74 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 75 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 76 | </or> |
| 77 | </with> |
| 78 | </enablement> |
| 79 | </moveParticipant> |
| 80 | </extension> |
| 81 | <extension point="org.eclipse.ltk.core.refactoring.createParticipants"> |
| 82 | <createParticipant |
| 83 | class="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantShared" |
| 84 | name="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantShared" |
| 85 | id="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantShared"> |
| 86 | <enablement> |
| 87 | <with variable="affectedNatures"> |
| 88 | <iterate operator="or"> |
| 89 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 90 | </iterate> |
| 91 | </with> |
| 92 | <with variable="element"> |
| 93 | <or> |
| 94 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 95 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 96 | </or> |
| 97 | </with> |
| 98 | </enablement> |
| 99 | </createParticipant> |
| 100 | <createParticipant |
| 101 | class="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantSingle" |
| 102 | name="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantSingle" |
| 103 | id="org.eclipse.jdt.ui.tests.refactoring.TestCreateParticipantSingle"> |
| 104 | <enablement> |
| 105 | <with variable="affectedNatures"> |
| 106 | <iterate operator="or"> |
| 107 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 108 | </iterate> |
| 109 | </with> |
| 110 | <with variable="element"> |
| 111 | <or> |
| 112 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 113 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 114 | </or> |
| 115 | </with> |
| 116 | </enablement> |
| 117 | </createParticipant> |
| 118 | </extension> |
| 119 | <extension point="org.eclipse.ltk.core.refactoring.deleteParticipants"> |
| 120 | <deleteParticipant |
| 121 | class="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantShared" |
| 122 | name="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantShared" |
| 123 | id="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantShared"> |
| 124 | <enablement> |
| 125 | <with variable="affectedNatures"> |
| 126 | <iterate operator="or"> |
| 127 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 128 | </iterate> |
| 129 | </with> |
| 130 | <with variable="element"> |
| 131 | <or> |
| 132 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 133 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 134 | </or> |
| 135 | </with> |
| 136 | </enablement> |
| 137 | </deleteParticipant> |
| 138 | <deleteParticipant |
| 139 | class="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantSingle" |
| 140 | name="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantSingle" |
| 141 | id="org.eclipse.jdt.ui.tests.refactoring.TestDeleteParticipantSingle"> |
| 142 | <enablement> |
| 143 | <with variable="affectedNatures"> |
| 144 | <iterate operator="or"> |
| 145 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 146 | </iterate> |
| 147 | </with> |
| 148 | <with variable="element"> |
| 149 | <or> |
| 150 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 151 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 152 | </or> |
| 153 | </with> |
| 154 | </enablement> |
| 155 | </deleteParticipant> |
| 156 | </extension> |
| 157 | <extension point="org.eclipse.ltk.core.refactoring.copyParticipants"> |
| 158 | <copyParticipant |
| 159 | class="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantShared" |
| 160 | name="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantShared" |
| 161 | id="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantShared"> |
| 162 | <enablement> |
| 163 | <with variable="affectedNatures"> |
| 164 | <iterate operator="or"> |
| 165 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 166 | </iterate> |
| 167 | </with> |
| 168 | <with variable="element"> |
| 169 | <or> |
| 170 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 171 | <instanceof value="org.eclipse.core.resources.mapping.ResourceMapping"/> |
| 172 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 173 | </or> |
| 174 | </with> |
| 175 | </enablement> |
| 176 | </copyParticipant> |
| 177 | <copyParticipant |
| 178 | class="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantSingle" |
| 179 | name="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantSingle" |
| 180 | id="org.eclipse.jdt.ui.tests.refactoring.TestCopyParticipantSingle"> |
| 181 | <enablement> |
| 182 | <with variable="affectedNatures"> |
| 183 | <iterate operator="or"> |
| 184 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 185 | </iterate> |
| 186 | </with> |
| 187 | <with variable="element"> |
| 188 | <or> |
| 189 | <instanceof value="org.eclipse.core.resources.IResource"/> |
| 190 | <instanceof value="org.eclipse.core.resources.mapping.ResourceMapping"/> |
| 191 | <instanceof value="org.eclipse.jdt.core.IJavaElement"/> |
| 192 | </or> |
| 193 | </with> |
| 194 | </enablement> |
| 195 | </copyParticipant> |
| 196 | </extension> |
| 197 | <extension point="org.eclipse.jdt.core.manipulation.changeMethodSignatureParticipants"> |
| 198 | <changeMethodSignatureParticipant |
| 199 | class="org.eclipse.jdt.ui.tests.refactoring.TestChangeMethodSignaturParticipant" |
| 200 | name="org.eclipse.jdt.ui.tests.refactoring.TestChangeMethodSignataturParticipant" |
| 201 | id="org.eclipse.jdt.ui.tests.refactoring.TestChangeMethodSignataturParticipant"> |
| 202 | <enablement> |
| 203 | <with variable="affectedNatures"> |
| 204 | <iterate operator="or"> |
| 205 | <equals value="org.eclipse.jdt.core.javanature"/> |
| 206 | </iterate> |
| 207 | </with> |
| 208 | </enablement> |
| 209 | </changeMethodSignatureParticipant> |
| 210 | </extension> |
| 211 | <extension |
| 212 | id="modelProvider" |
| 213 | name="TestModelProvider" |
| 214 | point="org.eclipse.core.resources.modelProviders"> |
| 215 | <modelProvider |
| 216 | class="org.eclipse.jdt.ui.tests.refactoring.TestModelProvider"/> |
| 217 | <extends-model id="org.eclipse.core.resources.modelProvider"/> |
| 218 | <enablement> |
| 219 | <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature" /> |
| 220 | </enablement> |
| 221 | </extension> |
| 222 | <extension point="org.eclipse.team.core.repository"> |
| 223 | <repository |
| 224 | id="org.eclipse.jdt.ui.tests.refactoring.refactoringTestRepositoryProvider" |
| 225 | class="org.eclipse.jdt.ui.tests.refactoring.infra.RefactoringTestRepositoryProvider"> |
| 226 | </repository> |
| 227 | |
| 228 | |
| 229 | </extension> |
| 230 | |
| 231 | </plugin> |