blob: e35acc1d3aff0528cf8610f2098a832113c92874 [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 Savage3ba3a4f2009-07-14 09:23:15 +000025 <startup class="org.apache.felix.sigil.ui.eclipse.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 Savage3ba3a4f2009-07-14 09:23:15 +000034 class="org.apache.felix.sigil.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000044 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000055 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000061 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000067 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000073 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000081 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +000091 class="org.apache.felix.sigil.ui.eclipse.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 Savage02676c32009-07-20 07:53:24 +000097 class="org.apache.felix.sigil.ui.eclipse.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 Savage3ba3a4f2009-07-14 09:23:15 +0000103 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +0000112 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +0000121 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +0000130 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage3ba3a4f2009-07-14 09:23:15 +0000144 class="org.apache.felix.sigil.ui.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
149 point="org.eclipse.ui.commands">
150 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000151 id="org.apache.felix.sigil.ui.commands.renameComposite"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000152 name="Rename Composite">
153 </command>
154 </extension>
155 <extension
Richard S. Hall85bafab2009-07-13 13:25:46 +0000156 point="org.eclipse.ui.propertyPages">
157 <page
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +0000158 class="org.apache.felix.sigil.ui.eclipse.ui.preferences.project.ProjectPropertyPage"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000159 id="org.apache.felix.sigil.ui.projectpage"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000160 name="Repositories">
161 <filter
162 name="projectNature"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000163 value="org.apache.felix.sigil.sigilnature"/>
Richard S. Hall85bafab2009-07-13 13:25:46 +0000164 <enabledWhen>
165 <adapt
166 type="org.eclipse.core.resources.IProject">
167 </adapt>
168 </enabledWhen>
169 </page>
170 </extension>
171 <extension
172 point="org.eclipse.ui.menus">
173 <menuContribution
174 locationURI="popup:org.eclipse.ui.popup.any">
175 <menu
176 icon="etc/images/newton.png"
177 label="Sigil">
178 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000179 commandId="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000180 label="Convert Project"
181 style="push">
182 <visibleWhen
183 checkEnabled="true">
184 </visibleWhen>
185 </command>
186 </menu>
187 <separator
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000188 name="org.apache.felix.sigil.ui.separator"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000189 visible="true">
190 </separator>
191 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000192 commandId="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000193 icon="icons/refreshBundle.png"
194 label="Refresh bundle classpath"
195 style="push">
196 <visibleWhen
197 checkEnabled="true">
198 </visibleWhen>
199 </command>
200 </menuContribution>
201 </extension>
202 <extension
203 point="org.eclipse.ui.commands">
204 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000205 id="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000206 name="%commandConvertProject">
207 </command>
208 <command
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000209 id="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000210 name="%commandRefreshClasspath">
211 </command>
212 </extension>
213 <extension
214 point="org.eclipse.ui.commandImages">
215 <image
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000216 commandId="org.apache.felix.sigil.ui.convertproject"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +0000217 icon="icons/logo16x16.gif">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000218 </image>
219 <image
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000220 commandId="org.apache.felix.sigil.ui.refreshclasspath"
David Morgan Spencer Savagefccb2472009-10-26 21:35:00 +0000221 icon="icons/repository.gif">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000222 </image>
223 </extension>
224
225 <extension
226 point="org.eclipse.ui.handlers">
227 <handler
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +0000228 class="org.apache.felix.sigil.ui.eclipse.handlers.project.ConvertProjectHandler"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000229 commandId="org.apache.felix.sigil.ui.convertproject">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000230 <activeWhen>
231 <with
232 variable="selection">
233 <iterate
234 ifEmpty="false"
235 operator="and">
236 <instanceof
237 value="org.eclipse.core.resources.IProject">
238 </instanceof>
239 <test
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000240 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000241 value="false">
242 </test>
243 </iterate>
244 </with>
245 </activeWhen>
246 </handler>
247 <handler
David Morgan Spencer Savage3ba3a4f2009-07-14 09:23:15 +0000248 class="org.apache.felix.sigil.ui.eclipse.handlers.project.RefreshSigilClasspathHandler"
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000249 commandId="org.apache.felix.sigil.ui.refreshclasspath">
Richard S. Hall85bafab2009-07-13 13:25:46 +0000250 <activeWhen>
251 <with
252 variable="selection">
253 <iterate
254 ifEmpty="false"
255 operator="and">
256 <instanceof
257 value="org.eclipse.core.resources.IProject">
258 </instanceof>
259 <test
David Morgan Spencer Savage02676c32009-07-20 07:53:24 +0000260 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall85bafab2009-07-13 13:25:46 +0000261 value="true">
262 </test>
263 </iterate>
264 </with>
265 </activeWhen>
266 </handler>
David Morgan Spencer Savage85fa6ab2010-07-22 07:09:55 +0000267 </extension>
268 <extension point="org.eclipse.ltk.core.refactoring.renameParticipants">
269 <renameParticipant
270 id="org.apache.felix.sigil.renamePackageParticipant"
271 name="%RenamePackageParticipant.name"
272 class="org.apache.felix.sigil.ui.eclipse.refactor.RenamePackageParticipant">
273 <enablement>
274 <with variable="affectedNatures">
275 <iterate operator="or">
276 <equals value="org.apache.felix.sigil.sigilnature"/>
277 </iterate>
278 </with>
279 <with variable="element">
280 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
281 </with>
282 </enablement>
283 </renameParticipant>
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000284 <renameParticipant
285 id="org.apache.felix.sigil.renameActivatorParticipant"
286 name="%RenameActivatorParticipant.name"
287 class="org.apache.felix.sigil.ui.eclipse.refactor.RenameActivatorParticipant">
288 <enablement>
289 <with variable="affectedNatures">
290 <iterate operator="or">
291 <equals value="org.apache.felix.sigil.sigilnature"/>
292 </iterate>
293 </with>
294 <with variable="element">
295 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
296 </with>
297 </enablement>
298 </renameParticipant>
David Morgan Spencer Savage85fa6ab2010-07-22 07:09:55 +0000299 </extension>
David Morgan Spencer Savage3d427a22010-07-22 13:11:23 +0000300 <extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
301 <moveParticipant
302 id="org.apache.felix.sigil.movePackageParticipant"
303 name="%MovePackageParticipant.name"
304 class="org.apache.felix.sigil.ui.eclipse.refactor.MovePackageParticipant">
305 <enablement>
306 <with variable="affectedNatures">
307 <iterate operator="or">
308 <equals value="org.apache.felix.sigil.sigilnature"/>
309 </iterate>
310 </with>
311 <with variable="element">
312 <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
313 </with>
314 </enablement>
315 </moveParticipant>
David Morgan Spencer Savage3af608c2010-07-23 09:27:40 +0000316 <moveParticipant
317 id="org.apache.felix.sigil.moveActivatorParticipant"
318 name="%MoveActivatorParticipant.name"
319 class="org.apache.felix.sigil.ui.eclipse.refactor.MoveActivatorParticipant">
320 <enablement>
321 <with variable="affectedNatures">
322 <iterate operator="or">
323 <equals value="org.apache.felix.sigil.sigilnature"/>
324 </iterate>
325 </with>
326 <with variable="element">
327 <instanceof value="org.eclipse.jdt.core.ICompilationUnit"/>
328 </with>
329 </enablement>
330 </moveParticipant>
David Morgan Spencer Savage3d427a22010-07-22 13:11:23 +0000331 </extension>
Richard S. Hall85bafab2009-07-13 13:25:46 +0000332</plugin>