blob: 8ca3bb24b4d4578efb8c4bcbe446503f006880c2 [file] [log] [blame]
Richard S. Hall85bafab2009-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 Spencer Savage02676c32009-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. Hall85bafab2009-07-13 13:25:46 +000023 <extension
24 point="org.eclipse.ui.startup">
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000025 <startup class="org.apache.felix.sigil.eclipse.ui.internal.startup.SigilStartup"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000026 </extension>
27 <extension
28 point="org.eclipse.ui.newWizards">
29 <category
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000030 id="org.apache.felix.sigil.newWizardCategory"
Richard S. Hall85bafab2009-07-13 13:25:46 +000031 name="Sigil"/>
32 <wizard
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000033 category="org.apache.felix.sigil.newWizardCategory"
David Morgan Spencer Savage342e02a2010-08-02 08:27:15 +000034 class="org.apache.felix.sigil.eclipse.ui.wizard.project.SigilProjectWizard"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000035 finalPerspective="org.apache.felix.sigil.ui.perspective"
David Morgan Spencer Savage3c8a8c22009-10-27 14:42:10 +000036 icon="icons/logo16x16.gif"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000037 id="org.apache.felix.sigil.editors.newProjectWizard"
Richard S. Hall85bafab2009-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 Spencer Savagec834ea42010-08-02 09:45:25 +000044 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.SigilPreferencePage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000045 id="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
Richard S. Hall85bafab2009-07-13 13:25:46 +000046 name="Sigil"/>
47 <!--page
David Morgan Spencer Savage02676c32009-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. Hall85bafab2009-07-13 13:25:46 +000051 name="%librariesPrefsPage" >
52 </page-->
53 <page
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000054 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000055 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.repository.RepositoriesPreferencePage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000056 id="org.apache.felix.sigil.ui.preferences.repositoriesPreferencePage"
Richard S. Hall85bafab2009-07-13 13:25:46 +000057 name="%repositoriesPrefPage">
58 </page>
59 <page
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000060 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000061 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.ExcludedResourcesPrefsPage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000062 id="org.apache.felix.sigil.ui.preferences.excludedResources"
Richard S. Hall85bafab2009-07-13 13:25:46 +000063 name="Excluded Resources">
64 </page>
65 <page
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000066 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000067 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.VersionsPreferencePage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000068 id="org.apache.felix.sigil.ui.preferences.VersionsPreferencePage"
Richard S. Hall85bafab2009-07-13 13:25:46 +000069 name="Version Handling">
70 </page>
71 <page
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000072 category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000073 class="org.apache.felix.sigil.eclipse.ui.internal.preferences.installs.OSGiInstallsPreferencePage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000074 id="org.apache.felix.sigil.ui.preferences.osgiInstalls"
David Morgan Spencer Savage733e1b12009-07-28 18:49:00 +000075 name="OSGi Installs">
Richard S. Hall85bafab2009-07-13 13:25:46 +000076 </page>
77 </extension>
78 <extension
79 point="org.eclipse.ui.editors">
80 <editor
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000081 class="org.apache.felix.sigil.eclipse.ui.internal.editors.project.SigilProjectEditorPart"
Richard S. Hall85bafab2009-07-13 13:25:46 +000082 default="true"
83 filenames="sigil.properties"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +000084 icon="icons/logo16x16.gif"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000085 id="org.apache.felix.sigil.editors.SigilProjectEditor"
Richard S. Hall85bafab2009-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 Spencer Savagec834ea42010-08-02 09:45:25 +000091 class="org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilClasspathContainerInitializer"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +000092 id="org.apache.felix.sigil.classpathContainer"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +000093 </extension>
94 <extension
95 point="org.eclipse.jdt.ui.classpathContainerPage">
96 <classpathContainerPage
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +000097 class="org.apache.felix.sigil.eclipse.ui.internal.classpath.SigilLibraryPage" id="org.apache.felix.sigil.classpathContainer"
Richard S. Hall85bafab2009-07-13 13:25:46 +000098 name="Sigil Library"/>
99 </extension>
100 <extension
101 point="org.eclipse.ui.perspectives">
102 <perspective
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000103 class="org.apache.felix.sigil.eclipse.ui.internal.perspective.SigilPerspectiveFactory"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +0000104 icon="icons/logo16x16.gif"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000105 id="org.apache.felix.sigil.ui.perspective"
Richard S. Hall85bafab2009-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 Spencer Savagec834ea42010-08-02 09:45:25 +0000112 class="org.apache.felix.sigil.eclipse.ui.internal.quickfix.ImportQuickFixProcessor"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000113 id="org.apache.felix.sigil.ui.importQuickFixProcessor">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000114 </quickFixProcessor>
115 </extension>
116 <extension
117 point="org.eclipse.ui.views">
118 <view
119 allowMultiple="false"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000120 category="org.apache.felix.sigil.ui.views"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000121 class="org.apache.felix.sigil.eclipse.ui.internal.views.resolution.BundleResolverView"
David Morgan Spencer Savage9c122572009-10-26 21:07:06 +0000122 icon="icons/bundle-graph.gif"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000123 id="org.apache.felix.sigil.ui.bundleDependencyView"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000124 name="Bundle Dependency View"
125 restorable="true">
126 </view>
127 <view
128 allowMultiple="false"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000129 category="org.apache.felix.sigil.ui.views"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000130 class="org.apache.felix.sigil.eclipse.ui.internal.views.RepositoryViewPart"
David Morgan Spencer Savage9c122572009-10-26 21:07:06 +0000131 icon="icons/repository.gif"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000132 id="org.apache.felix.sigil.ui.repositoryBrowser"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000133 name="Repository Browser"
134 restorable="true">
135 </view>
136 <category
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000137 id="org.apache.felix.sigil.ui.views"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000138 name="Sigil">
139 </category>
140 </extension>
141 <extension
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000142 point="org.apache.felix.sigil.ui.repositorywizard">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000143 <wizard
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000144 class="org.apache.felix.sigil.eclipse.ui.internal.repository.FileSystemRepositoryWizard"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000145 repository="org.apache.felix.sigil.core.file">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000146 </wizard>
147 </extension>
148 <extension
Richard S. Hall85bafab2009-07-13 13:25:46 +0000149 point="org.eclipse.ui.menus">
150 <menuContribution
151 locationURI="popup:org.eclipse.ui.popup.any">
152 <menu
153 icon="etc/images/newton.png"
154 label="Sigil">
155 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000156 commandId="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000157 label="Convert Project"
158 style="push">
159 <visibleWhen
160 checkEnabled="true">
161 </visibleWhen>
162 </command>
163 </menu>
164 <separator
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000165 name="org.apache.felix.sigil.ui.separator"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000166 visible="true">
167 </separator>
168 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000169 commandId="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000170 icon="icons/refreshBundle.png"
171 label="Refresh bundle classpath"
172 style="push">
173 <visibleWhen
174 checkEnabled="true">
175 </visibleWhen>
176 </command>
177 </menuContribution>
178 </extension>
179 <extension
180 point="org.eclipse.ui.commands">
181 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000182 id="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000183 name="%commandConvertProject">
184 </command>
185 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000186 id="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000187 name="%commandRefreshClasspath">
188 </command>
189 </extension>
190 <extension
191 point="org.eclipse.ui.commandImages">
192 <image
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000193 commandId="org.apache.felix.sigil.ui.convertproject"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +0000194 icon="icons/logo16x16.gif">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000195 </image>
196 <image
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000197 commandId="org.apache.felix.sigil.ui.refreshclasspath"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +0000198 icon="icons/repository.gif">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000199 </image>
200 </extension>
201
202 <extension
203 point="org.eclipse.ui.handlers">
204 <handler
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000205 class="org.apache.felix.sigil.eclipse.ui.internal.handlers.project.ConvertProjectHandler"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000206 commandId="org.apache.felix.sigil.ui.convertproject">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000207 <activeWhen>
208 <with
209 variable="selection">
210 <iterate
211 ifEmpty="false"
212 operator="and">
213 <instanceof
214 value="org.eclipse.core.resources.IProject">
215 </instanceof>
216 <test
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000217 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000218 value="false">
219 </test>
220 </iterate>
221 </with>
222 </activeWhen>
223 </handler>
224 <handler
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000225 class="org.apache.felix.sigil.eclipse.ui.internal.handlers.project.RefreshSigilClasspathHandler"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000226 commandId="org.apache.felix.sigil.ui.refreshclasspath">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000227 <activeWhen>
228 <with
229 variable="selection">
230 <iterate
231 ifEmpty="false"
232 operator="and">
233 <instanceof
234 value="org.eclipse.core.resources.IProject">
235 </instanceof>
236 <test
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000237 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000238 value="true">
239 </test>
240 </iterate>
241 </with>
242 </activeWhen>
243 </handler>
David Morgan Spencer Savage85fa6ab2010-07-22 07:09:55 +0000244 </extension>
245 <extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
246 <renameParticipant
247 id="org.apache.felix.sigil.renamePackageParticipant"
248 name="%RenamePackageParticipant.name"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000249 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenamePackageParticipant">
David Morgan Spencer Savage85fa6ab2010-07-22 07:09:55 +0000250 <enablement>
251 <with variable="affectedNatures">
252 <iterate operator="or">
253 <equals value="org.apache.felix.sigil.sigilnature"/>
254 </iterate>
255 </with>
256 <with variable="element">
257 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
258 </with>
259 </enablement>
260 </renameParticipant>
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000261 <renameParticipant
262 id="org.apache.felix.sigil.renameActivatorParticipant"
263 name="%RenameActivatorParticipant.name"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000264 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenameActivatorParticipant">
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000265 <enablement>
266 <with variable="affectedNatures">
267 <iterate operator="or">
268 <equals value="org.apache.felix.sigil.sigilnature"/>
269 </iterate>
270 </with>
271 <with variable="element">
272 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
273 </with>
274 </enablement>
275 </renameParticipant>
David Morgan Spencer Savagee2a9cfd2010-08-02 08:00:56 +0000276 <renameParticipant
277 id="org.apache.felix.sigil.movePackageParticipant"
278 name="%RenameActivatorPackageParticipant.name"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000279 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.RenameActivatorPackageParticipant">
David Morgan Spencer Savagee2a9cfd2010-08-02 08:00:56 +0000280 <enablement>
281 <with variable="affectedNatures">
282 <iterate operator="or">
283 <equals value="org.apache.felix.sigil.sigilnature"/>
284 </iterate>
285 </with>
286 <with variable="element">
287 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
288 </with>
289 </enablement>
290 </renameParticipant>
David Morgan Spencer Savage85fa6ab2010-07-22 07:09:55 +0000291 </extension>
David Morgan Spencer Savage3d427a22010-07-22 13:11:23 +0000292 <extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
293 <moveParticipant
294 id="org.apache.felix.sigil.movePackageParticipant"
295 name="%MovePackageParticipant.name"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000296 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.MovePackageParticipant">
David Morgan Spencer Savage3d427a22010-07-22 13:11:23 +0000297 <enablement>
298 <with variable="affectedNatures">
299 <iterate operator="or">
300 <equals value="org.apache.felix.sigil.sigilnature"/>
301 </iterate>
302 </with>
303 <with variable="element">
304 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
305 </with>
306 </enablement>
307 </moveParticipant>
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000308 <moveParticipant
309 id="org.apache.felix.sigil.moveActivatorParticipant"
310 name="%MoveActivatorParticipant.name"
David Morgan Spencer Savagec834ea42010-08-02 09:45:25 +0000311 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.MoveActivatorParticipant">
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000312 <enablement>
313 <with variable="affectedNatures">
314 <iterate operator="or">
315 <equals value="org.apache.felix.sigil.sigilnature"/>
316 </iterate>
317 </with>
318 <with variable="element">
319 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
320 </with>
321 </enablement>
322 </moveParticipant>
David Morgan Spencer Savage3d427a22010-07-22 13:11:23 +0000323 </extension>
David Morgan Spencer Savagebb627652010-08-09 08:57:34 +0000324
325 <!--extension point="org.eclipse.ltk.ui.refactoring.changePreviewViewers">
326 <changePreviewViewer
327 class="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportChangePreviewViewer"
328 id="org.apache.felix.sigil.eclipse.ui.refactor.exportChangePreviewViewer">
329 <enablement>
330 <instanceof value="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportPackageChange"/>
331 </enablement>
332 </changePreviewViewer>
333 </extension-->
Richard S. Hall85bafab2009-07-13 13:25:46 +0000334</plugin>