Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 1 | <?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 Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 22 | <extension-point id="org.apache.felix.sigil.ui.repositorywizard" name="Repository Wizard" schema="schema/org.apache.felix.sigil.ui.repositorywizard.exsd"/> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 23 | <extension |
| 24 | point="org.eclipse.ui.startup"> |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 25 | <startup class="org.apache.felix.sigil.ui.eclipse.startup.SigilStartup"/> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 26 | </extension> |
| 27 | <extension |
| 28 | point="org.eclipse.ui.newWizards"> |
| 29 | <category |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 30 | id="org.apache.felix.sigil.newWizardCategory" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 31 | name="Sigil"/> |
| 32 | <wizard |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 33 | category="org.apache.felix.sigil.newWizardCategory" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 34 | class="org.apache.felix.sigil.ui.eclipse.ui.wizard.project.SigilProjectWizard" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 35 | finalPerspective="org.apache.felix.sigil.ui.perspective" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 36 | icon="etc/images/newton.png" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 37 | id="org.apache.felix.sigil.editors.newProjectWizard" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 38 | name="Sigil Project" |
| 39 | project="true"/> |
| 40 | </extension> |
| 41 | <extension |
| 42 | point="org.eclipse.ui.preferencePages"> |
| 43 | <page |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 44 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.SigilPreferencePage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 45 | id="org.apache.felix.sigil.ui.preferences.SigilPreferencePage" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 46 | name="Sigil"/> |
| 47 | <!--page |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 48 | 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. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 51 | name="%librariesPrefsPage" > |
| 52 | </page--> |
| 53 | <page |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 54 | category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 55 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.repository.RepositoriesPreferencePage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 56 | id="org.apache.felix.sigil.ui.preferences.repositoriesPreferencePage" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 57 | name="%repositoriesPrefPage"> |
| 58 | </page> |
| 59 | <page |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 60 | category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 61 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.ExcludedResourcesPrefsPage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 62 | id="org.apache.felix.sigil.ui.preferences.excludedResources" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 63 | name="Excluded Resources"> |
| 64 | </page> |
| 65 | <page |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 66 | category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 67 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.VersionsPreferencePage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 68 | id="org.apache.felix.sigil.ui.preferences.VersionsPreferencePage" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 69 | name="Version Handling"> |
| 70 | </page> |
| 71 | <page |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 72 | category="org.apache.felix.sigil.ui.preferences.SigilPreferencePage" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 73 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.installs.OSGiInstallsPreferencePage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 74 | id="org.apache.felix.sigil.ui.preferences.osgiInstalls" |
David Morgan Spencer Savage | 733e1b1 | 2009-07-28 18:49:00 +0000 | [diff] [blame] | 75 | name="OSGi Installs"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 76 | </page> |
| 77 | </extension> |
| 78 | <extension |
| 79 | point="org.eclipse.ui.editors"> |
| 80 | <editor |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 81 | class="org.apache.felix.sigil.ui.eclipse.ui.editors.project.SigilProjectEditorPart" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 82 | default="true" |
| 83 | filenames="sigil.properties" |
| 84 | icon="etc/images/newton.png" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 85 | id="org.apache.felix.sigil.editors.SigilProjectEditor" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 86 | name="Sigil Project Editor"/> |
| 87 | </extension> |
| 88 | <extension |
| 89 | point="org.eclipse.jdt.core.classpathContainerInitializer"> |
| 90 | <classpathContainerInitializer |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 91 | class="org.apache.felix.sigil.ui.eclipse.classpath.SigilClasspathContainerInitializer" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 92 | id="org.apache.felix.sigil.classpathContainer"/> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 93 | </extension> |
| 94 | <extension |
| 95 | point="org.eclipse.jdt.ui.classpathContainerPage"> |
| 96 | <classpathContainerPage |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 97 | class="org.apache.felix.sigil.ui.eclipse.classpath.SigilLibraryPage" id="org.apache.felix.sigil.classpathContainer" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 98 | name="Sigil Library"/> |
| 99 | </extension> |
| 100 | <extension |
| 101 | point="org.eclipse.ui.perspectives"> |
| 102 | <perspective |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 103 | class="org.apache.felix.sigil.ui.eclipse.ui.perspective.SigilPerspectiveFactory" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 104 | icon="etc/images/newton.png" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 105 | id="org.apache.felix.sigil.ui.perspective" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 106 | name="Sigil"> |
| 107 | </perspective> |
| 108 | </extension> |
| 109 | <extension |
| 110 | point="org.eclipse.jdt.ui.quickFixProcessors"> |
| 111 | <quickFixProcessor |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 112 | class="org.apache.felix.sigil.ui.eclipse.ui.quickfix.ImportQuickFixProcessor" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 113 | id="org.apache.felix.sigil.ui.importQuickFixProcessor"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 114 | </quickFixProcessor> |
| 115 | </extension> |
| 116 | <extension |
| 117 | point="org.eclipse.ui.views"> |
| 118 | <view |
| 119 | allowMultiple="false" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 120 | category="org.apache.felix.sigil.ui.views" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 121 | class="org.apache.felix.sigil.ui.eclipse.ui.views.resolution.BundleResolverView" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 122 | icon="icons/jar_web_obj.png" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 123 | id="org.apache.felix.sigil.ui.bundleDependencyView" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 124 | name="Bundle Dependency View" |
| 125 | restorable="true"> |
| 126 | </view> |
| 127 | <view |
| 128 | allowMultiple="false" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 129 | category="org.apache.felix.sigil.ui.views" |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 130 | class="org.apache.felix.sigil.ui.eclipse.ui.views.RepositoryViewPart" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 131 | icon="icons/jars_obj.png" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 132 | id="org.apache.felix.sigil.ui.repositoryBrowser" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 133 | name="Repository Browser" |
| 134 | restorable="true"> |
| 135 | </view> |
| 136 | <category |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 137 | id="org.apache.felix.sigil.ui.views" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 138 | name="Sigil"> |
| 139 | </category> |
| 140 | </extension> |
| 141 | <extension |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 142 | point="org.apache.felix.sigil.ui.repositorywizard"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 143 | <wizard |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 144 | class="org.apache.felix.sigil.ui.eclipse.ui.internal.repository.FileSystemRepositoryWizard" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 145 | repository="org.apache.felix.sigil.core.file"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 146 | </wizard> |
| 147 | </extension> |
| 148 | <extension |
| 149 | point="org.eclipse.ui.commands"> |
| 150 | <command |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 151 | id="org.apache.felix.sigil.ui.commands.renameComposite" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 152 | name="Rename Composite"> |
| 153 | </command> |
| 154 | </extension> |
| 155 | <extension |
| 156 | point="org.eclipse.ltk.core.refactoring.refactoringContributions"> |
| 157 | <contribution |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 158 | class="org.apache.felix.sigil.ui.eclipse.ui.refactor.RenameCompositeRefactoring" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 159 | id="org.apache.felix.sigil.ui.rename.composite"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 160 | </contribution> |
| 161 | </extension> |
| 162 | <extension |
| 163 | point="org.eclipse.ui.propertyPages"> |
| 164 | <page |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 165 | class="org.apache.felix.sigil.ui.eclipse.ui.preferences.project.ProjectPropertyPage" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 166 | id="org.apache.felix.sigil.ui.projectpage" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 167 | name="Repositories"> |
| 168 | <filter |
| 169 | name="projectNature" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 170 | value="org.apache.felix.sigil.sigilnature"/> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 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 |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 186 | commandId="org.apache.felix.sigil.ui.convertproject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 187 | label="Convert Project" |
| 188 | style="push"> |
| 189 | <visibleWhen |
| 190 | checkEnabled="true"> |
| 191 | </visibleWhen> |
| 192 | </command> |
| 193 | </menu> |
| 194 | <separator |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 195 | name="org.apache.felix.sigil.ui.separator" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 196 | visible="true"> |
| 197 | </separator> |
| 198 | <command |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 199 | commandId="org.apache.felix.sigil.ui.refreshclasspath" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 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 |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 212 | id="org.apache.felix.sigil.ui.convertproject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 213 | name="%commandConvertProject"> |
| 214 | </command> |
| 215 | <command |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 216 | id="org.apache.felix.sigil.ui.refreshclasspath" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 217 | name="%commandRefreshClasspath"> |
| 218 | </command> |
| 219 | </extension> |
| 220 | <extension |
| 221 | point="org.eclipse.ui.commandImages"> |
| 222 | <image |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 223 | commandId="org.apache.felix.sigil.ui.convertproject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 224 | icon="etc/images/newton.png"> |
| 225 | </image> |
| 226 | <image |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 227 | commandId="org.apache.felix.sigil.ui.refreshclasspath" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 228 | icon="etc/images/newton.png"> |
| 229 | </image> |
| 230 | </extension> |
| 231 | |
| 232 | <extension |
| 233 | point="org.eclipse.ui.handlers"> |
| 234 | <handler |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 235 | class="org.apache.felix.sigil.ui.eclipse.handlers.project.ConvertProjectHandler" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 236 | commandId="org.apache.felix.sigil.ui.convertproject"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 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 |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 247 | property="org.apache.felix.sigil.isSigilProject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 248 | value="false"> |
| 249 | </test> |
| 250 | </iterate> |
| 251 | </with> |
| 252 | </activeWhen> |
| 253 | </handler> |
| 254 | <handler |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 255 | class="org.apache.felix.sigil.ui.eclipse.handlers.project.RefreshSigilClasspathHandler" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 256 | commandId="org.apache.felix.sigil.ui.refreshclasspath"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 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 |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 267 | property="org.apache.felix.sigil.isSigilProject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 268 | value="true"> |
| 269 | </test> |
| 270 | </iterate> |
| 271 | </with> |
| 272 | </activeWhen> |
| 273 | </handler> |
| 274 | </extension> |
| 275 | </plugin> |