blob: 2c1d73052eb9fc7b297e3c2a093bbe3d213d5a41 [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>
22 <extension-point id="org.cauldron.sigil.ui.repositorywizard" name="Repository Wizard" schema="schema/org.cauldron.sigil.ui.repositorywizard.exsd"/>
23 <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
30 id="org.cauldron.sigil.newWizardCategory"
31 name="Sigil"/>
32 <wizard
33 category="org.cauldron.sigil.newWizardCategory"
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +000034 class="org.apache.felix.sigil.ui.eclipse.ui.wizard.project.SigilProjectWizard"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000035 finalPerspective="org.cauldron.sigil.ui.perspective"
36 icon="etc/images/newton.png"
37 id="org.cauldron.sigil.editors.newProjectWizard"
38 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000045 id="org.cauldron.sigil.ui.preferences.SigilPreferencePage"
46 name="Sigil"/>
47 <!--page
48 category="org.cauldron.sigil.ui.preferences.SigilPreferencePage"
49 class="org.cauldron.sigil.ui.preferences.LibraryPreferencePage"
50 id="org.cauldron.sigil.ui.libraryPreferences"
51 name="%librariesPrefsPage" >
52 </page-->
53 <page
54 category="org.cauldron.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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000056 id="org.cauldron.sigil.ui.preferences.repositoriesPreferencePage"
57 name="%repositoriesPrefPage">
58 </page>
59 <page
60 category="org.cauldron.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +000061 class="org.apache.felix.sigil.ui.eclipse.ui.preferences.ExcludedResourcesPrefsPage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000062 id="org.cauldron.sigil.ui.preferences.excludedResources"
63 name="Excluded Resources">
64 </page>
65 <page
66 category="org.cauldron.sigil.ui.preferences.SigilPreferencePage"
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +000067 class="org.apache.felix.sigil.ui.eclipse.ui.preferences.VersionsPreferencePage"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000068 id="org.cauldron.sigil.ui.preferences.VersionsPreferencePage"
69 name="Version Handling">
70 </page>
71 <page
72 category="org.cauldron.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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000074 id="org.cauldron.sigil.ui.preferences.newtonInstalls"
75 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"
85 id="org.cauldron.sigil.editors.SigilProjectEditor"
86 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +000092 id="org.cauldron.sigil.core.classpathContainer"/>
93 </extension>
94 <extension
95 point="org.eclipse.jdt.ui.classpathContainerPage">
96 <classpathContainerPage
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +000097 class="org.apache.felix.sigil.ui.eclipse.classpath.SigilLibraryPage" id="org.cauldron.sigil.core.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"
105 id="org.cauldron.sigil.ui.perspective"
106 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000113 id="org.cauldron.sigil.ui.quickFixProcessor1">
114 </quickFixProcessor>
115 </extension>
116 <extension
117 point="org.eclipse.ui.views">
118 <view
119 allowMultiple="false"
120 category="org.cauldron.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"
123 id="org.cauldron.sigil.ui.bundleDependencyView"
124 name="Bundle Dependency View"
125 restorable="true">
126 </view>
127 <view
128 allowMultiple="false"
129 category="org.cauldron.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"
132 id="org.cauldron.sigil.ui.repositoryBrowser"
133 name="Repository Browser"
134 restorable="true">
135 </view>
136 <category
137 id="org.cauldron.sigil.ui.views"
138 name="Sigil">
139 </category>
140 </extension>
141 <extension
142 point="org.cauldron.sigil.ui.repositorywizard">
143 <wizard
David Morgan Spenser Savage2c305ba2009-07-14 09:23:15 +0000144 class="org.apache.felix.sigil.ui.eclipse.ui.internal.repository.FileSystemRepositoryWizard"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000145 repository="org.cauldron.sigil.core.file">
146 </wizard>
147 </extension>
148 <extension
149 point="org.eclipse.ui.commands">
150 <command
151 id="org.cauldron.sigil.ui.commands.renameComposite"
152 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000159 id="org.cauldron.sigil.ui.rename.composite">
160 </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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000166 id="org.cauldron.sigil.ui.projectpage"
167 name="Repositories">
168 <filter
169 name="projectNature"
170 value="org.cauldron.sigil.core.newtonnature"/>
171 <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
186 commandId="org.cauldron.sigil.ui.convertproject"
187 label="Convert Project"
188 style="push">
189 <visibleWhen
190 checkEnabled="true">
191 </visibleWhen>
192 </command>
193 </menu>
194 <separator
195 name="org.cauldron.sigil.ui.separator"
196 visible="true">
197 </separator>
198 <command
199 commandId="org.cauldron.sigil.ui.refreshclasspath"
200 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
212 id="org.cauldron.sigil.ui.convertproject"
213 name="%commandConvertProject">
214 </command>
215 <command
216 id="org.cauldron.sigil.ui.refreshclasspath"
217 name="%commandRefreshClasspath">
218 </command>
219 </extension>
220 <extension
221 point="org.eclipse.ui.commandImages">
222 <image
223 commandId="org.cauldron.sigil.ui.convertproject"
224 icon="etc/images/newton.png">
225 </image>
226 <image
227 commandId="org.cauldron.sigil.ui.refreshclasspath"
228 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000236 commandId="org.cauldron.sigil.ui.convertproject">
237 <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
247 property="org.cauldron.sigil.isSigilProject"
248 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"
Richard S. Hall6fe36b42009-07-13 13:25:46 +0000256 commandId="org.cauldron.sigil.ui.refreshclasspath">
257 <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
267 property="org.cauldron.sigil.isSigilProject"
268 value="true">
269 </test>
270 </iterate>
271 </with>
272 </activeWhen>
273 </handler>
274 </extension>
275</plugin>