blob: 238460c9b623227e074126ce44ca4ee162b7a022 [file] [log] [blame]
Richard S. Hall6fe36b42009-07-13 13:25:46 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19-->
20<?eclipse version="3.2"?>
21<plugin>
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000022 <extension-point id="org.apache.felix.sigil.ui.repositorywizard" name="Repository Wizard" schema="schema/org.apache.felix.sigil.ui.repositorywizard.exsd"/>
Richard S. Hall6fe36b42009-07-13 13:25:46 +000023 <extension
24 point="org.eclipse.ui.startup">
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000025 <startup class="org.apache.felix.sigil.eclipse.ui.internal.startup.SigilStartup"/>
Richard S. Hall6fe36b42009-07-13 13:25:46 +000026 </extension>
27 <extension
28 point="org.eclipse.ui.newWizards">
29 <category
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000030 id="org.apache.felix.sigil.newWizardCategory"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000031 name="Sigil"/>
32 <wizard
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000033 category="org.apache.felix.sigil.newWizardCategory"
David Morgan Spenser Savage2db214f2010-08-02 08:27:15 +000034 class="org.apache.felix.sigil.eclipse.ui.wizard.project.SigilProjectWizard"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000035 finalPerspective="org.apache.felix.sigil.ui.perspective"
David Morgan Spenser Savage96a94382009-10-27 14:42:10 +000036 icon="icons/logo16x16.gif"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000037 id="org.apache.felix.sigil.editors.newProjectWizard"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000038 name="Sigil Project"
39 project="true"/>
40 </extension>
41 <extension
42 point="org.eclipse.ui.preferencePages">
43 <page
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000044 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.SigilPreferencePage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000045 id="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000046 name="Sigil"/>
47 <!--page
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000048 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
49 class="org.apache.felix.sigil.ui.preferences.LibraryPreferencePage"
50 id="org.apache.felix.sigil.ui.libraryPreferences"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000051 name="%librariesPrefsPage" >
52 </page-->
53 <page
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000054 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000055 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.repository.RepositoriesPreferencePage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000056 id="org.apache.felix.sigil.ui.preferences.repositoriesPreferencePage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000057 name="%repositoriesPrefPage">
58 </page>
59 <page
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000060 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000061 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.ExcludedResourcesPrefsPage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000062 id="org.apache.felix.sigil.ui.preferences.excludedResources"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000063 name="Excluded Resources">
64 </page>
65 <page
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000066 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000067 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.VersionsPreferencePage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000068 id="org.apache.felix.sigil.ui.preferences.VersionsPreferencePage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000069 name="Version Handling">
70 </page>
71 <page
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000072 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000073 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.installs.OSGiInstallsPreferencePage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000074 id="org.apache.felix.sigil.ui.preferences.osgiInstalls"
David Morgan Spenser Savage587b5022009-07-28 18:49:00 +000075 name="OSGi Installs">
Richard S. Hall6fe36b42009-07-13 13:25:46 +000076 </page>
77 </extension>
78 <extension
79 point="org.eclipse.ui.editors">
80 <editor
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000081 class="org.apache.felix.sigil.eclipse.ui.internal.editors.project.SigilProjectEditorPart"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000082 default="true"
83 filenames="sigil.properties"
David Morgan Spenser Savage60f6dc12009-10-26 21:35:00 +000084 icon="icons/logo16x16.gif"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000085 id="org.apache.felix.sigil.editors.SigilProjectEditor"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000086 name="Sigil Project Editor"/>
87 </extension>
88 <extension
89 point="org.eclipse.jdt.core.classpathContainerInitializer">
90 <classpathContainerInitializer
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000091 class="org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilClasspathContainerInitializer"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000092 id="org.apache.felix.sigil.classpathContainer"/>
Richard S. Hall6fe36b42009-07-13 13:25:46 +000093 </extension>
94 <extension
95 point="org.eclipse.jdt.ui.classpathContainerPage">
96 <classpathContainerPage
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +000097 class="org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilLibraryPage" id="org.apache.felix.sigil.classpathContainer"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000098 name="Sigil Library"/>
99 </extension>
100 <extension
101 point="org.eclipse.ui.perspectives">
102 <perspective
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000103 class="org.apache.felix.sigil.eclipse.ui.internal.perspective.SigilPerspectiveFactory"
David Morgan Spenser Savage60f6dc12009-10-26 21:35:00 +0000104 icon="icons/logo16x16.gif"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000105 id="org.apache.felix.sigil.ui.perspective"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000106 name="Sigil">
107 </perspective>
108 </extension>
109 <extension
110 point="org.eclipse.jdt.ui.quickFixProcessors">
111 <quickFixProcessor
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000112 class="org.apache.felix.sigil.eclipse.ui.internal.quickfix.ImportQuickFixProcessor"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000113 id="org.apache.felix.sigil.ui.importQuickFixProcessor">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000114 </quickFixProcessor>
115 </extension>
116 <extension
117 point="org.eclipse.ui.views">
118 <view
119 allowMultiple="false"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000120 category="org.apache.felix.sigil.ui.views"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000121 class="org.apache.felix.sigil.eclipse.ui.internal.views.resolution.BundleResolverView"
David Morgan Spenser Savagee0d683e2009-10-26 21:07:06 +0000122 icon="icons/bundle-graph.gif"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000123 id="org.apache.felix.sigil.ui.bundleDependencyView"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000124 name="Bundle Dependency View"
125 restorable="true">
126 </view>
127 <view
128 allowMultiple="false"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000129 category="org.apache.felix.sigil.ui.views"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000130 class="org.apache.felix.sigil.eclipse.ui.internal.views.RepositoryViewPart"
David Morgan Spenser Savagee0d683e2009-10-26 21:07:06 +0000131 icon="icons/repository.gif"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000132 id="org.apache.felix.sigil.ui.repositoryBrowser"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000133 name="Repository Browser"
134 restorable="true">
135 </view>
136 <category
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000137 id="org.apache.felix.sigil.ui.views"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000138 name="Sigil">
139 </category>
140 </extension>
141 <extension
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000142 point="org.apache.felix.sigil.ui.repositorywizard">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000143 <wizard
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000144 class="org.apache.felix.sigil.eclipse.ui.internal.repository.FileSystemRepositoryWizard"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000145 repository="org.apache.felix.sigil.core.file">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000146 </wizard>
147 </extension>
148 <extension
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000149 point="org.eclipse.ui.propertyPages">
150 <page
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000151 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.project.ProjectPropertyPage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000152 id="org.apache.felix.sigil.ui.projectpage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000153 name="Repositories">
154 <filter
155 name="projectNature"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000156 value="org.apache.felix.sigil.sigilnature"/>
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000157 <enabledWhen>
158 <adapt
159 type="org.eclipse.core.resources.IProject">
160 </adapt>
161 </enabledWhen>
162 </page>
163 </extension>
164 <extension
165 point="org.eclipse.ui.menus">
166 <menuContribution
167 locationURI="popup:org.eclipse.ui.popup.any">
168 <menu
169 icon="etc/images/newton.png"
170 label="Sigil">
171 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000172 commandId="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000173 label="Convert Project"
174 style="push">
175 <visibleWhen
176 checkEnabled="true">
177 </visibleWhen>
178 </command>
179 </menu>
180 <separator
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000181 name="org.apache.felix.sigil.ui.separator"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000182 visible="true">
183 </separator>
184 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000185 commandId="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000186 icon="icons/refreshBundle.png"
187 label="Refresh bundle classpath"
188 style="push">
189 <visibleWhen
190 checkEnabled="true">
191 </visibleWhen>
192 </command>
193 </menuContribution>
194 </extension>
195 <extension
196 point="org.eclipse.ui.commands">
197 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000198 id="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000199 name="%commandConvertProject">
200 </command>
201 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000202 id="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000203 name="%commandRefreshClasspath">
204 </command>
205 </extension>
206 <extension
207 point="org.eclipse.ui.commandImages">
208 <image
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000209 commandId="org.apache.felix.sigil.ui.convertproject"
David Morgan Spenser Savage60f6dc12009-10-26 21:35:00 +0000210 icon="icons/logo16x16.gif">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000211 </image>
212 <image
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000213 commandId="org.apache.felix.sigil.ui.refreshclasspath"
David Morgan Spenser Savage60f6dc12009-10-26 21:35:00 +0000214 icon="icons/repository.gif">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000215 </image>
216 </extension>
217
218 <extension
219 point="org.eclipse.ui.handlers">
220 <handler
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000221 class="org.apache.felix.sigil.eclipse.ui.internal.handlers.project.ConvertProjectHandler"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000222 commandId="org.apache.felix.sigil.ui.convertproject">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000223 <activeWhen>
224 <with
225 variable="selection">
226 <iterate
227 ifEmpty="false"
228 operator="and">
229 <instanceof
230 value="org.eclipse.core.resources.IProject">
231 </instanceof>
232 <test
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000233 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000234 value="false">
235 </test>
236 </iterate>
237 </with>
238 </activeWhen>
239 </handler>
240 <handler
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000241 class="org.apache.felix.sigil.eclipse.ui.internal.handlers.project.RefreshSigilClasspathHandler"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000242 commandId="org.apache.felix.sigil.ui.refreshclasspath">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000243 <activeWhen>
244 <with
245 variable="selection">
246 <iterate
247 ifEmpty="false"
248 operator="and">
249 <instanceof
250 value="org.eclipse.core.resources.IProject">
251 </instanceof>
252 <test
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000253 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000254 value="true">
255 </test>
256 </iterate>
257 </with>
258 </activeWhen>
259 </handler>
David Morgan Spenser Savage6095fc12010-07-22 07:09:55 +0000260 </extension>
261 <extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
262 <renameParticipant
263 id="org.apache.felix.sigil.renamePackageParticipant"
264 name="%RenamePackageParticipant.name"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000265 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenamePackageParticipant">
David Morgan Spenser Savage6095fc12010-07-22 07:09:55 +0000266 <enablement>
267 <with variable="affectedNatures">
268 <iterate operator="or">
269 <equals value="org.apache.felix.sigil.sigilnature"/>
270 </iterate>
271 </with>
272 <with variable="element">
273 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
274 </with>
275 </enablement>
276 </renameParticipant>
David Morgan Spenser Savage38544d52010-07-23 09:27:40 +0000277 <renameParticipant
278 id="org.apache.felix.sigil.renameActivatorParticipant"
279 name="%RenameActivatorParticipant.name"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000280 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenameActivatorParticipant">
David Morgan Spenser Savage38544d52010-07-23 09:27:40 +0000281 <enablement>
282 <with variable="affectedNatures">
283 <iterate operator="or">
284 <equals value="org.apache.felix.sigil.sigilnature"/>
285 </iterate>
286 </with>
287 <with variable="element">
288 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
289 </with>
290 </enablement>
291 </renameParticipant>
David Morgan Spenser Savagee56f03b2010-08-02 08:00:56 +0000292 <renameParticipant
293 id="org.apache.felix.sigil.movePackageParticipant"
294 name="%RenameActivatorPackageParticipant.name"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000295 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenameActivatorPackageParticipant">
David Morgan Spenser Savagee56f03b2010-08-02 08:00:56 +0000296 <enablement>
297 <with variable="affectedNatures">
298 <iterate operator="or">
299 <equals value="org.apache.felix.sigil.sigilnature"/>
300 </iterate>
301 </with>
302 <with variable="element">
303 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
304 </with>
305 </enablement>
306 </renameParticipant>
David Morgan Spenser Savage6095fc12010-07-22 07:09:55 +0000307 </extension>
David Morgan Spenser Savage087bb402010-07-22 13:11:23 +0000308 <extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
309 <moveParticipant
310 id="org.apache.felix.sigil.movePackageParticipant"
311 name="%MovePackageParticipant.name"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000312 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.MovePackageParticipant">
David Morgan Spenser Savage087bb402010-07-22 13:11:23 +0000313 <enablement>
314 <with variable="affectedNatures">
315 <iterate operator="or">
316 <equals value="org.apache.felix.sigil.sigilnature"/>
317 </iterate>
318 </with>
319 <with variable="element">
320 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
321 </with>
322 </enablement>
323 </moveParticipant>
David Morgan Spenser Savage38544d52010-07-23 09:27:40 +0000324 <moveParticipant
325 id="org.apache.felix.sigil.moveActivatorParticipant"
326 name="%MoveActivatorParticipant.name"
David Morgan Spenser Savage7c13d8c2010-08-02 09:45:25 +0000327 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.MoveActivatorParticipant">
David Morgan Spenser Savage38544d52010-07-23 09:27:40 +0000328 <enablement>
329 <with variable="affectedNatures">
330 <iterate operator="or">
331 <equals value="org.apache.felix.sigil.sigilnature"/>
332 </iterate>
333 </with>
334 <with variable="element">
335 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
336 </with>
337 </enablement>
338 </moveParticipant>
David Morgan Spenser Savage087bb402010-07-22 13:11:23 +0000339 </extension>
David Morgan Spenser Savagec1a5e3b2010-08-09 08:57:34 +0000340
341 <!--extension point="org.eclipse.ltk.ui.refactoring.changePreviewViewers">
342 <changePreviewViewer
343 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportChangePreviewViewer"
344 id="org.apache.felix.sigil.eclipse.ui.refactor.exportChangePreviewViewer">
345 <enablement>
346 <instanceof value="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportPackageChange"/>
347 </enablement>
348 </changePreviewViewer>
349 </extension-->
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000350</plugin>