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">
74 point="org.eclipse.ui.handlers">
76 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
77 class="no.uio.ifi.refaktor.handlers.TestRefactoringHandler">
80 class="no.uio.ifi.refaktor.handlers.TextSelectionInformationHandler"
81 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation">
86 value="org.eclipse.jface.text.TextSelection">
92 class="no.uio.ifi.refaktor.handlers.TestPropertyExtractorHandler"
93 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor">
96 class="no.uio.ifi.refaktor.handlers.ExtractAndMoveMethodHandler"
97 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod">
100 class="no.uio.ifi.refaktor.handlers.TreeSelectionInfoHandler"
101 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo">
104 class="no.uio.ifi.refaktor.handlers.SearchBasedExtractAndMoveMethodAnalysisHandler"
105 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis">
108 class="no.uio.ifi.refaktor.handlers.TypeWideSearchBasedExtractAndMoveMethodAnalysisHandler"
109 commandId="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis">
112 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodAnalysisHandler"
113 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis">
116 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodAnalysisHandler"
117 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis">
120 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodAnalysisHandler"
121 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis">
124 class="no.uio.ifi.refaktor.handlers.PackageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysisHandler"
125 commandId="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis">
128 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodChangerHandler"
129 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger">
132 class="no.uio.ifi.refaktor.handlers.SearchBasedExtractAndMoveMethodChangerHandler"
133 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger">
136 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodChangerHandler"
137 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger">
140 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodChangerHandler"
141 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger">
145 point="org.eclipse.ui.menus">
147 locationURI="menu:org.eclipse.ui.main.menu?after=additions">
151 id="no.uio.ifi.refaktor.menus.refaktor">
153 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
155 id="no.uio.ifi.refaktor.menus.testRefactoring">
161 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
163 id="no.uio.ifi.refaktor.menus.refaktorSelectionPopup"
164 label="IFI Refaktor Selection"
167 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
168 id="no.uio.ifi.refaktor.menus.textSelectionInformation"
172 checkEnabled="false">
174 variable="selection">
176 value="org.eclipse.jface.text.TextSelection">
181 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor"
182 label="Test Property Extractor"
186 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
187 label="Extract and Move Method"
192 id="no.uio.ifi.refaktor.menus.refaktorTreeSelectionPopup"
193 label="IFI Refaktor Tree Selection"
196 checkEnabled="false">
198 variable="selection">
200 value="org.eclipse.jface.viewers.ITreeSelection">
205 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo"
206 label="Tree Selection Info"
210 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis"
211 label="Search Based Extract And Move Method Analysis"
214 checkEnabled="false">
216 variable="selection">
218 forcePluginActivation="true"
219 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
220 value="org.eclipse.jdt.core.IMethod">
226 commandId="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis"
227 label="Type Wide Search Based Extract And Move Method Analysis"
230 checkEnabled="false">
232 variable="selection">
234 forcePluginActivation="true"
235 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
236 value="org.eclipse.jdt.core.IType">
242 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis"
243 label="Compilation Unit Wide Search Based Extract And Move Method Analysis"
246 checkEnabled="false">
248 variable="selection">
250 forcePluginActivation="true"
251 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
252 value="org.eclipse.jdt.core.ICompilationUnit">
258 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis"
259 label="Package Wide Search Based Extract And Move Method Analysis"
262 checkEnabled="false">
264 variable="selection">
266 forcePluginActivation="true"
267 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
268 value="org.eclipse.jdt.core.IPackageFragment">
274 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis"
275 label="Project Wide Search Based Extract And Move Method Analysis"
278 checkEnabled="false">
280 variable="selection">
282 forcePluginActivation="true"
283 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
284 value="org.eclipse.core.resources.IProject">
290 commandId="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis"
291 label="Package Fragment Root Wide Search Based Extract And Move Method Analysis"
294 checkEnabled="false">
296 variable="selection">
298 forcePluginActivation="true"
299 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
300 value="org.eclipse.jdt.core.IPackageFragmentRoot">
306 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
307 label="Project Wide Search Based Extract And Move Method Changer"
310 checkEnabled="false">
312 variable="selection">
314 forcePluginActivation="true"
315 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
316 value="org.eclipse.core.resources.IProject">
322 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger"
323 label="Search Based Extract And Move Method Change"
326 checkEnabled="false">
328 variable="selection">
330 forcePluginActivation="true"
331 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
332 value="org.eclipse.jdt.core.IMethod">
338 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger"
339 label="Compilation Unit Wide Search Based Extract And Move Method Changer"
342 checkEnabled="false">
344 variable="selection">
346 forcePluginActivation="true"
347 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
348 value="org.eclipse.jdt.core.ICompilationUnit">
354 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis"
355 label="Project Wide Search Based Extract And Move Method Analysis"
358 checkEnabled="false">
360 variable="selection">
362 forcePluginActivation="true"
363 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
364 value="org.eclipse.jdt.core.IJavaProject">
370 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
371 label="Project Wide Search Based Extract And Move Method Changer"
374 checkEnabled="false">
376 variable="selection">
378 forcePluginActivation="true"
379 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
380 value="org.eclipse.jdt.core.IJavaProject">
386 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger"
387 label="Package Wide Search Based Extract And Move Method Changer"
390 checkEnabled="false">
392 variable="selection">
394 forcePluginActivation="true"
395 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
396 value="org.eclipse.jdt.core.IPackageFragment">
405 point="org.eclipse.ui.popupMenus">
407 id="no.uio.ifi.refaktor.contribution1"
408 objectClass="org.eclipse.jdt.core.IMethod">
410 id="no.uio.ifi.refaktor.menu1"
421 class="no.uio.ifi.refaktor.popup.actions.CyclomaticComplexityAction"
423 id="no.uio.ifi.refaktor.cyclomaticComplexityAction"
424 label="Compute Cyclomatic Complexity"
425 menubarPath="no.uio.ifi.refaktor.menu1/group2">
427 </objectContribution>
430 point="org.eclipse.ui.views">
432 id="no.uio.ifi.refaktor.views"
433 name="Refaktor Views">
436 category="no.uio.ifi.refaktor.views"
437 class="no.uio.ifi.refaktor.views.PrefixView"
438 icon="icons/sample.gif"
439 id="no.uio.ifi.refaktor.views.PrefixView"
444 point="org.eclipse.ui.perspectiveExtensions">
445 <perspectiveExtension
446 targetID="org.eclipse.jdt.ui.JavaPerspective">
448 id="no.uio.ifi.refaktor.views.PrefixView"
450 relationship="bottom"
451 relative="org.eclipse.ui.views.ProblemView"
454 </perspectiveExtension>
457 point="org.eclipse.core.expressions.propertyTesters">
459 class="no.uio.ifi.refaktor.propertyTesters.TreeSelectionPropertyTester"
460 id="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
461 namespace="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
462 properties="elementType"
463 type="org.eclipse.jface.viewers.ITreeSelection">
467 point="org.eclipse.ui.bindings">
469 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
470 contextId="org.eclipse.ui.contexts.window"
471 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
472 sequence="M1+R M1+S">