blob: 139a379428acbad45cd367ca1f8812da7587f6b3 [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 Savage2c305ba2009-07-14 09:23:15 +000025 <startup class="org.apache.felix.sigil.ui.eclipse.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 Savage2c305ba2009-07-14 09:23:15 +000034 class="org.apache.felix.sigil.ui.eclipse.ui.wizard.project.SigilProjectWizard"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000035 finalPerspective="org.apache.felix.sigil.ui.perspective"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000036 icon="etc/images/newton.png"
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 Savage2c305ba2009-07-14 09:23:15 +000044 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage2c305ba2009-07-14 09:23:15 +000055 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage2c305ba2009-07-14 09:23:15 +000061 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage2c305ba2009-07-14 09:23:15 +000067 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage2c305ba2009-07-14 09:23:15 +000073 class="org.apache.felix.sigil.ui.eclipse.ui.preferences.installs.OSGiInstallsPreferencePage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +000074 id="org.apache.felix.sigil.ui.preferences.osgiInstalls"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000075 name="Newton Installs">
76 </page>
77 </extension>
78 <extension
79 point="org.eclipse.ui.editors">
80 <editor
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +000081 class="org.apache.felix.sigil.ui.eclipse.ui.editors.project.SigilProjectEditorPart"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000082 default="true"
83 filenames="sigil.properties"
84 icon="etc/images/newton.png"
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 Savage2c305ba2009-07-14 09:23:15 +000091 class="org.apache.felix.sigil.ui.eclipse.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 Savagee6f18512009-07-20 07:53:24 +000097 class="org.apache.felix.sigil.ui.eclipse.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 Savage2c305ba2009-07-14 09:23:15 +0000103 class="org.apache.felix.sigil.ui.eclipse.ui.perspective.SigilPerspectiveFactory"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000104 icon="etc/images/newton.png"
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 Savage2c305ba2009-07-14 09:23:15 +0000112 class="org.apache.felix.sigil.ui.eclipse.ui.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 Savage2c305ba2009-07-14 09:23:15 +0000121 class="org.apache.felix.sigil.ui.eclipse.ui.views.resolution.BundleResolverView"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000122 icon="icons/jar_web_obj.png"
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 Savage2c305ba2009-07-14 09:23:15 +0000130 class="org.apache.felix.sigil.ui.eclipse.ui.views.RepositoryViewPart"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000131 icon="icons/jars_obj.png"
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 Savage2c305ba2009-07-14 09:23:15 +0000144 class="org.apache.felix.sigil.ui.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
149 point="org.eclipse.ui.commands">
150 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000151 id="org.apache.felix.sigil.ui.commands.renameComposite"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000152 name="Rename Composite">
153 </command>
154 </extension>
155 <extension
156 point="org.eclipse.ltk.core.refactoring.refactoringContributions">
157 <contribution
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +0000158 class="org.apache.felix.sigil.ui.eclipse.ui.refactor.RenameCompositeRefactoring"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000159 id="org.apache.felix.sigil.ui.rename.composite">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000160 </contribution>
161 </extension>
162 <extension
163 point="org.eclipse.ui.propertyPages">
164 <page
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +0000165 class="org.apache.felix.sigil.ui.eclipse.ui.preferences.project.ProjectPropertyPage"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000166 id="org.apache.felix.sigil.ui.projectpage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000167 name="Repositories">
168 <filter
169 name="projectNature"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000170 value="org.apache.felix.sigil.sigilnature"/>
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000171 <enabledWhen>
172 <adapt
173 type="org.eclipse.core.resources.IProject">
174 </adapt>
175 </enabledWhen>
176 </page>
177 </extension>
178 <extension
179 point="org.eclipse.ui.menus">
180 <menuContribution
181 locationURI="popup:org.eclipse.ui.popup.any">
182 <menu
183 icon="etc/images/newton.png"
184 label="Sigil">
185 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000186 commandId="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000187 label="Convert Project"
188 style="push">
189 <visibleWhen
190 checkEnabled="true">
191 </visibleWhen>
192 </command>
193 </menu>
194 <separator
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000195 name="org.apache.felix.sigil.ui.separator"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000196 visible="true">
197 </separator>
198 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000199 commandId="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000200 icon="icons/refreshBundle.png"
201 label="Refresh bundle classpath"
202 style="push">
203 <visibleWhen
204 checkEnabled="true">
205 </visibleWhen>
206 </command>
207 </menuContribution>
208 </extension>
209 <extension
210 point="org.eclipse.ui.commands">
211 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000212 id="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000213 name="%commandConvertProject">
214 </command>
215 <command
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000216 id="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000217 name="%commandRefreshClasspath">
218 </command>
219 </extension>
220 <extension
221 point="org.eclipse.ui.commandImages">
222 <image
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000223 commandId="org.apache.felix.sigil.ui.convertproject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000224 icon="etc/images/newton.png">
225 </image>
226 <image
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000227 commandId="org.apache.felix.sigil.ui.refreshclasspath"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000228 icon="etc/images/newton.png">
229 </image>
230 </extension>
231
232 <extension
233 point="org.eclipse.ui.handlers">
234 <handler
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +0000235 class="org.apache.felix.sigil.ui.eclipse.handlers.project.ConvertProjectHandler"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000236 commandId="org.apache.felix.sigil.ui.convertproject">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000237 <activeWhen>
238 <with
239 variable="selection">
240 <iterate
241 ifEmpty="false"
242 operator="and">
243 <instanceof
244 value="org.eclipse.core.resources.IProject">
245 </instanceof>
246 <test
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000247 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000248 value="false">
249 </test>
250 </iterate>
251 </with>
252 </activeWhen>
253 </handler>
254 <handler
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +0000255 class="org.apache.felix.sigil.ui.eclipse.handlers.project.RefreshSigilClasspathHandler"
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000256 commandId="org.apache.felix.sigil.ui.refreshclasspath">
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000257 <activeWhen>
258 <with
259 variable="selection">
260 <iterate
261 ifEmpty="false"
262 operator="and">
263 <instanceof
264 value="org.eclipse.core.resources.IProject">
265 </instanceof>
266 <test
David Morgan Spenser Savagee6f18512009-07-20 07:53:24 +0000267 property="org.apache.felix.sigil.isSigilProject"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000268 value="true">
269 </test>
270 </iterate>
271 </with>
272 </activeWhen>
273 </handler>
274 </extension>
275</plugin>