1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>
6 point="org.eclipse.ui.commands">
9 id="no.uio.ifi.refaktor.commands.category">
12 name="Test Refactoring"
13 categoryId="no.uio.ifi.refaktor.commands.category"
14 id="no.uio.ifi.refaktor.commands.testRefactoring">
17 id="no.uio.ifi.refaktor.commands.textSelectionInformation"
18 name="Text Selection Information">
21 id="no.uio.ifi.refaktor.commands.testPropertyExtractor"
22 name="Test Property Extractor">
25 id="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
26 name="Extract and move method">
29 id="no.uio.ifi.refaktor.commands.treeSelectionInfo"
30 name="Tree Selection Info">
33 id="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis"
34 name="Search Based Extract And Move Method Analysis">
37 id="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis"
38 name="Type Wide Search Based Extract And Move Method Analysis">
41 id="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis"
42 name="Compilation Unit Wide Search Based Extract And Move Method Analysis">
45 id="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis"
46 name="Package Wide Search Based Extract And Move Method Analysis">
49 id="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis"
50 name="Project Wide Search Based Extract And Move Method Analysis">
53 id="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis"
54 name="Package Fragment Root Wide Search Based Extract And Move Method Analysis">
57 id="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
58 name="Project Wide Search Based Extract And Move Method Change">
61 id="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger"
62 name="Search Based Extract And Move Method Change">
65 id="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger"
66 name="Compilation Unit Wide Search Based Extract And Move Method Change">
69 id="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger"
70 name="Package Wide Search Based Extract And Move Method Change">
73 id="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
74 name="Extract Local Variable">
78 point="org.eclipse.ui.handlers">
80 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
81 class="no.uio.ifi.refaktor.handlers.TestRefactoringHandler">
84 commandId="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
85 class="no.uio.ifi.refaktor.handlers.ExtractLocalVariableWithAssertsHandler">
90 value="org.eclipse.jface.text.TextSelection">
96 class="no.uio.ifi.refaktor.handlers.TextSelectionInformationHandler"
97 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation">
100 variable="selection">
102 value="org.eclipse.jface.text.TextSelection">
108 class="no.uio.ifi.refaktor.handlers.TestPropertyExtractorHandler"
109 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor">
112 class="no.uio.ifi.refaktor.handlers.ExtractAndMoveMethodHandler"
113 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod">
116 class="no.uio.ifi.refaktor.handlers.TreeSelectionInfoHandler"
117 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo">
120 class="no.uio.ifi.refaktor.handlers.SearchBasedExtractAndMoveMethodAnalysisHandler"
121 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis">
124 class="no.uio.ifi.refaktor.handlers.TypeWideSearchBasedExtractAndMoveMethodAnalysisHandler"
125 commandId="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis">
128 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodAnalysisHandler"
129 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis">
132 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodAnalysisHandler"
133 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis">
136 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodAnalysisHandler"
137 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis">
140 class="no.uio.ifi.refaktor.handlers.PackageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysisHandler"
141 commandId="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis">
144 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodChangerHandler"
145 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger">
148 class="no.uio.ifi.refaktor.handlers.SearchBasedExtractAndMoveMethodChangerHandler"
149 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger">
152 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodChangerHandler"
153 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger">
156 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodChangerHandler"
157 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger">
161 point="org.eclipse.ui.menus">
163 locationURI="menu:org.eclipse.ui.main.menu?after=additions">
167 id="no.uio.ifi.refaktor.menus.refaktor">
169 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
171 id="no.uio.ifi.refaktor.menus.testRefactoring">
177 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
179 id="no.uio.ifi.refaktor.menus.refaktorSelectionPopup"
180 label="IFI Refaktor Selection"
183 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
184 id="no.uio.ifi.refaktor.menus.textSelectionInformation"
188 checkEnabled="false">
190 variable="selection">
192 value="org.eclipse.jface.text.TextSelection">
197 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor"
198 label="Test Property Extractor"
202 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
203 label="Extract and Move Method"
207 commandId="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
208 label="Extract Local Variable"
213 id="no.uio.ifi.refaktor.menus.refaktorTreeSelectionPopup"
214 label="IFI Refaktor Tree Selection"
217 checkEnabled="false">
219 variable="selection">
221 value="org.eclipse.jface.viewers.ITreeSelection">
226 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo"
227 label="Tree Selection Info"
231 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis"
232 label="Search Based Extract And Move Method Analysis"
235 checkEnabled="false">
237 variable="selection">
239 forcePluginActivation="true"
240 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
241 value="org.eclipse.jdt.core.IMethod">
247 commandId="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis"
248 label="Type Wide Search Based Extract And Move Method Analysis"
251 checkEnabled="false">
253 variable="selection">
255 forcePluginActivation="true"
256 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
257 value="org.eclipse.jdt.core.IType">
263 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis"
264 label="Compilation Unit Wide Search Based Extract And Move Method Analysis"
267 checkEnabled="false">
269 variable="selection">
271 forcePluginActivation="true"
272 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
273 value="org.eclipse.jdt.core.ICompilationUnit">
279 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis"
280 label="Package Wide Search Based Extract And Move Method Analysis"
283 checkEnabled="false">
285 variable="selection">
287 forcePluginActivation="true"
288 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
289 value="org.eclipse.jdt.core.IPackageFragment">
295 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis"
296 label="Project Wide Search Based Extract And Move Method Analysis"
299 checkEnabled="false">
301 variable="selection">
303 forcePluginActivation="true"
304 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
305 value="org.eclipse.core.resources.IProject">
311 commandId="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis"
312 label="Package Fragment Root Wide Search Based Extract And Move Method Analysis"
315 checkEnabled="false">
317 variable="selection">
319 forcePluginActivation="true"
320 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
321 value="org.eclipse.jdt.core.IPackageFragmentRoot">
327 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
328 label="Project Wide Search Based Extract And Move Method Changer"
331 checkEnabled="false">
333 variable="selection">
335 forcePluginActivation="true"
336 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
337 value="org.eclipse.core.resources.IProject">
343 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger"
344 label="Search Based Extract And Move Method Change"
347 checkEnabled="false">
349 variable="selection">
351 forcePluginActivation="true"
352 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
353 value="org.eclipse.jdt.core.IMethod">
359 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger"
360 label="Compilation Unit Wide Search Based Extract And Move Method Changer"
363 checkEnabled="false">
365 variable="selection">
367 forcePluginActivation="true"
368 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
369 value="org.eclipse.jdt.core.ICompilationUnit">
375 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis"
376 label="Project Wide Search Based Extract And Move Method Analysis"
379 checkEnabled="false">
381 variable="selection">
383 forcePluginActivation="true"
384 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
385 value="org.eclipse.jdt.core.IJavaProject">
391 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
392 label="Project Wide Search Based Extract And Move Method Changer"
395 checkEnabled="false">
397 variable="selection">
399 forcePluginActivation="true"
400 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
401 value="org.eclipse.jdt.core.IJavaProject">
407 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger"
408 label="Package Wide Search Based Extract And Move Method Changer"
411 checkEnabled="false">
413 variable="selection">
415 forcePluginActivation="true"
416 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
417 value="org.eclipse.jdt.core.IPackageFragment">
426 point="org.eclipse.ui.popupMenus">
428 id="no.uio.ifi.refaktor.contribution1"
429 objectClass="org.eclipse.jdt.core.IMethod">
431 id="no.uio.ifi.refaktor.menu1"
442 class="no.uio.ifi.refaktor.popup.actions.CyclomaticComplexityAction"
444 id="no.uio.ifi.refaktor.cyclomaticComplexityAction"
445 label="Compute Cyclomatic Complexity"
446 menubarPath="no.uio.ifi.refaktor.menu1/group2">
448 </objectContribution>
451 point="org.eclipse.ui.views">
453 id="no.uio.ifi.refaktor.views"
454 name="Refaktor Views">
457 category="no.uio.ifi.refaktor.views"
458 class="no.uio.ifi.refaktor.views.PrefixView"
459 icon="icons/sample.gif"
460 id="no.uio.ifi.refaktor.views.PrefixView"
465 point="org.eclipse.ui.perspectiveExtensions">
466 <perspectiveExtension
467 targetID="org.eclipse.jdt.ui.JavaPerspective">
469 id="no.uio.ifi.refaktor.views.PrefixView"
471 relationship="bottom"
472 relative="org.eclipse.ui.views.ProblemView"
475 </perspectiveExtension>
478 point="org.eclipse.core.expressions.propertyTesters">
480 class="no.uio.ifi.refaktor.propertyTesters.TreeSelectionPropertyTester"
481 id="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
482 namespace="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
483 properties="elementType"
484 type="org.eclipse.jface.viewers.ITreeSelection">
488 point="org.eclipse.ui.bindings">
490 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
491 contextId="org.eclipse.ui.contexts.window"
492 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
493 sequence="M1+R M1+S">