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 categoryId="no.uio.ifi.refaktor.commands.category"
18 id="no.uio.ifi.refaktor.commands.saferRefactoring"
19 name="Safer Refactoring">
22 id="no.uio.ifi.refaktor.commands.textSelectionInformation"
23 name="Text Selection Information">
26 id="no.uio.ifi.refaktor.commands.testPropertyExtractor"
27 name="Test Property Extractor">
30 id="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
31 name="Extract and move method">
35 point="org.eclipse.ui.handlers">
37 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
38 class="no.uio.ifi.refaktor.handlers.TestRefactoringHandler">
41 class="no.uio.ifi.refaktor.handlers.SaferRefactoringHandler"
42 commandId="no.uio.ifi.refaktor.commands.saferRefactoring">
45 class="no.uio.ifi.refaktor.handlers.TextSelectionInformationHandler"
46 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation">
51 value="org.eclipse.jface.text.TextSelection">
57 class="no.uio.ifi.refaktor.handlers.TestPropertyExtractorHandler"
58 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor">
61 class="no.uio.ifi.refaktor.handlers.ExtractAndMoveMethodHandler"
62 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod">
66 point="org.eclipse.ui.menus">
68 locationURI="menu:org.eclipse.ui.main.menu?after=additions">
72 id="no.uio.ifi.refaktor.menus.refaktor">
74 commandId="no.uio.ifi.refaktor.commands.testRefactoring"
76 id="no.uio.ifi.refaktor.menus.testRefactoring">
79 commandId="no.uio.ifi.refaktor.commands.saferRefactoring"
80 id="no.uio.ifi.refaktor.menus.saferRefactoring"
87 locationURI="popup:org.eclipse.ui.popup.any?after=additions">
89 id="no.uio.ifi.refaktor.menus.refaktorSelectionPopup"
90 label="IFI Refaktor Selection"
93 commandId="no.uio.ifi.refaktor.commands.textSelectionInformation"
94 id="no.uio.ifi.refaktor.menus.textSelectionInformation"
100 variable="selection">
102 value="org.eclipse.jface.text.TextSelection">
107 commandId="no.uio.ifi.refaktor.commands.testPropertyExtractor"
108 label="Test Property Extractor"
112 commandId="no.uio.ifi.refaktor.commands.extractAndMoveMethod"
113 label="Extract and Move Method"
120 point="org.eclipse.ui.popupMenus">
122 id="no.uio.ifi.refaktor.contribution1"
123 objectClass="org.eclipse.jdt.core.IMethod">
125 id="no.uio.ifi.refaktor.menu1"
136 class="no.uio.ifi.refaktor.popup.actions.SaferAction"
138 id="no.uio.ifi.refaktor.saferAction"
139 label="Safer Refactoring"
140 menubarPath="no.uio.ifi.refaktor.menu1/group1">
143 class="no.uio.ifi.refaktor.popup.actions.CyclomaticComplexityAction"
145 id="no.uio.ifi.refaktor.cyclomaticComplexityAction"
146 label="Compute Cyclomatic Complexity"
147 menubarPath="no.uio.ifi.refaktor.menu1/group2">
149 </objectContribution>
152 point="org.eclipse.ui.views">
154 id="no.uio.ifi.refaktor.views"
155 name="Refaktor Views">
158 category="no.uio.ifi.refaktor.views"
159 class="no.uio.ifi.refaktor.views.PrefixView"
160 icon="icons/sample.gif"
161 id="no.uio.ifi.refaktor.views.PrefixView"
166 point="org.eclipse.ui.perspectiveExtensions">
167 <perspectiveExtension
168 targetID="org.eclipse.jdt.ui.JavaPerspective">
170 id="no.uio.ifi.refaktor.views.PrefixView"
172 relationship="bottom"
173 relative="org.eclipse.ui.views.ProblemView"
176 </perspectiveExtension>