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 id="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
13 name="Extract and move method">
16 id="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
17 name="Project Wide Search Based Extract And Move Method Change">
20 id="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger"
21 name="Search Based Extract And Move Method Change">
24 id="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger"
25 name="Compilation Unit Wide Search Based Extract And Move Method Change">
28 id="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger"
29 name="Package Wide Search Based Extract And Move Method Change">
32 id="no.uio.ifi.refaktor.commands.searchBasedExtractLocalVariableWithAssertsChanger"
33 name="Extract Local Variable With Asserts">
36 id="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
37 name="Extract Local Variable With Asserts">
41 point="org.eclipse.ui.handlers">
43 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
44 class="no.uio.ifi.refaktor.handlers.TestRefactoringHandler">
47 commandId="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
48 class="no.uio.ifi.refaktor.handlers.ExtractLocalVariableWithAssertsHandler">
53 value="org.eclipse.jface.text.TextSelection">
59 class="no.uio.ifi.refaktor.handlers.ExtractAndMoveMethodHandler"
60 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod">
63 class="no.uio.ifi.refaktor.handlers.TreeSelectionInfoHandler"
64 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo">
67 class="no.uio.ifi.refaktor.handlers.SearchBasedExtractAndMoveMethodAnalysisHandler"
68 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodAnalysis">
71 class="no.uio.ifi.refaktor.handlers.TypeWideSearchBasedExtractAndMoveMethodAnalysisHandler"
72 commandId="no.uio.ifi.refaktor.commands.typeWideSearchBasedExtractAndMoveMethodAnalysis">
75 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodAnalysisHandler"
76 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodAnalysis">
79 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodAnalysisHandler"
80 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodAnalysis">
83 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodAnalysisHandler"
84 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodAnalysis">
87 class="no.uio.ifi.refaktor.handlers.PackageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysisHandler"
88 commandId="no.uio.ifi.refaktor.commands.packageFragmentRootWideSearchBasedExtractAndMoveMethodAnalysis">
91 class="no.uio.ifi.refaktor.handlers.ProjectWideSearchBasedExtractAndMoveMethodChangerHandler"
92 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger">
95 class="no.uio.ifi.refaktor.handlers.entrypoints.SearchBasedExtractAndMoveMethodChangerHandler"
96 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger">
99 class="no.uio.ifi.refaktor.handlers.CompilationUnitWideSearchBasedExtractAndMoveMethodChangerHandler"
100 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger">
103 class="no.uio.ifi.refaktor.handlers.PackageWideSearchBasedExtractAndMoveMethodChangerHandler"
104 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger">
107 class="no.uio.ifi.refaktor.handlers.entrypoints.SearchBasedExtractLocalVariableWithAssertsHandler"
108 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractLocalVariableWithAssertsChanger">
111 class="no.uio.ifi.refaktor.handlers.entrypoints.SearchBasedExtractLocalVariableWithoutAssertsHandler"
112 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractLocalVariableWithoutAssertsChanger">
116 point="org.eclipse.ui.menus">
118 locationURI="menu:org.eclipse.ui.main.menu?after=additions">
122 id="no.uio.ifi.refaktor.menus.refaktor">
124 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
126 id="no.uio.ifi.refaktor.menus.testRefactoring">
132 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
134 id="no.uio.ifi.refaktor.menus.refaktorSelectionPopup"
135 label="IFI Refaktor Selection"
138 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
139 id="no.uio.ifi.refaktor.menus.textSelectionInformation"
143 checkEnabled="false">
145 variable="selection">
147 value="org.eclipse.jface.text.TextSelection">
152 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor"
153 label="Test Property Extractor"
157 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
158 label="Extract and Move Method"
162 commandId="no.uio.ifi.refaktor.extractLocalVariableWithAsserts"
163 label="Extract Local Variable"
168 id="no.uio.ifi.refaktor.menus.refaktorTreeSelectionPopup"
169 label="IFI Refaktor Tree Selection"
172 checkEnabled="false">
174 variable="selection">
176 value="org.eclipse.jface.viewers.ITreeSelection">
181 commandId="no.uio.ifi.refaktor.commands.treeSelectionInfo"
182 label="Tree Selection Info"
186 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
187 label="Project Wide Search Based Extract And Move Method Changer"
190 checkEnabled="false">
192 variable="selection">
194 forcePluginActivation="true"
195 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
196 value="org.eclipse.core.resources.IProject">
202 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractAndMoveMethodChanger"
203 label="Search Based Extract And Move Method Change"
206 checkEnabled="false">
208 variable="selection">
210 forcePluginActivation="true"
211 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
212 value="org.eclipse.jdt.core.IMethod">
218 commandId="no.uio.ifi.refaktor.commands.compilationUnitWideSearchBasedExtractAndMoveMethodChanger"
219 label="Compilation Unit Wide Search Based Extract And Move Method Changer"
222 checkEnabled="false">
224 variable="selection">
226 forcePluginActivation="true"
227 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
228 value="org.eclipse.jdt.core.ICompilationUnit">
234 commandId="no.uio.ifi.refaktor.commands.projectWideSearchBasedExtractAndMoveMethodChanger"
235 label="Project Wide Search Based Extract And Move Method Changer"
238 checkEnabled="false">
240 variable="selection">
242 forcePluginActivation="true"
243 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
244 value="org.eclipse.jdt.core.IJavaProject">
250 commandId="no.uio.ifi.refaktor.commands.packageWideSearchBasedExtractAndMoveMethodChanger"
251 label="Package Wide Search Based Extract And Move Method Changer"
254 checkEnabled="false">
256 variable="selection">
258 forcePluginActivation="true"
259 property="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester.elementType"
260 value="org.eclipse.jdt.core.IPackageFragment">
266 commandId="no.uio.ifi.refaktor.commands.searchBasedExtractLocalVariableWithAssertsChanger"
267 label="Search Based Extract Local Variable With Asserts">
274 point="org.eclipse.ui.popupMenus">
276 id="no.uio.ifi.refaktor.contribution1"
277 objectClass="org.eclipse.jdt.core.IMethod">
279 id="no.uio.ifi.refaktor.menu1"
290 class="no.uio.ifi.refaktor.popup.actions.CyclomaticComplexityAction"
292 id="no.uio.ifi.refaktor.cyclomaticComplexityAction"
293 label="Compute Cyclomatic Complexity"
294 menubarPath="no.uio.ifi.refaktor.menu1/group2">
296 </objectContribution>
299 point="org.eclipse.ui.views">
301 id="no.uio.ifi.refaktor.views"
302 name="Refaktor Views">
305 category="no.uio.ifi.refaktor.views"
306 class="no.uio.ifi.refaktor.views.PrefixView"
307 icon="icons/sample.gif"
308 id="no.uio.ifi.refaktor.views.PrefixView"
313 point="org.eclipse.ui.perspectiveExtensions">
314 <perspectiveExtension
315 targetID="org.eclipse.jdt.ui.JavaPerspective">
317 id="no.uio.ifi.refaktor.views.PrefixView"
319 relationship="bottom"
320 relative="org.eclipse.ui.views.ProblemView"
323 </perspectiveExtension>
326 point="org.eclipse.core.expressions.propertyTesters">
328 class="no.uio.ifi.refaktor.propertyTesters.TreeSelectionPropertyTester"
329 id="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
330 namespace="no.uio.ifi.refaktor.propertyTesters.treeSelectionPropertyTester"
331 properties="elementType"
332 type="org.eclipse.jface.viewers.ITreeSelection">
336 point="org.eclipse.ui.bindings">
338 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
339 contextId="org.eclipse.ui.contexts.window"
340 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
341 sequence="M1+R M1+S">