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" |
David Morgan Spencer Savage | 3c8a8c2 | 2009-10-27 14:42:10 +0000 | [diff] [blame] | 36 | icon="icons/logo16x16.gif" |
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" |
David Morgan Spencer Savage | fccb247 | 2009-10-26 21:35:00 +0000 | [diff] [blame] | 84 | icon="icons/logo16x16.gif" |
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" |
David Morgan Spencer Savage | fccb247 | 2009-10-26 21:35:00 +0000 | [diff] [blame] | 104 | icon="icons/logo16x16.gif" |
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" |
David Morgan Spencer Savage | 9c12257 | 2009-10-26 21:07:06 +0000 | [diff] [blame] | 122 | icon="icons/bundle-graph.gif" |
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" |
David Morgan Spencer Savage | 9c12257 | 2009-10-26 21:07:06 +0000 | [diff] [blame] | 131 | icon="icons/repository.gif" |
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 |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 156 | point="org.eclipse.ui.propertyPages"> |
| 157 | <page |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 158 | 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] | 159 | id="org.apache.felix.sigil.ui.projectpage" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 160 | name="Repositories"> |
| 161 | <filter |
| 162 | name="projectNature" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 163 | value="org.apache.felix.sigil.sigilnature"/> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 164 | <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 Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 179 | commandId="org.apache.felix.sigil.ui.convertproject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 180 | label="Convert Project" |
| 181 | style="push"> |
| 182 | <visibleWhen |
| 183 | checkEnabled="true"> |
| 184 | </visibleWhen> |
| 185 | </command> |
| 186 | </menu> |
| 187 | <separator |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 188 | name="org.apache.felix.sigil.ui.separator" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 189 | visible="true"> |
| 190 | </separator> |
| 191 | <command |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 192 | commandId="org.apache.felix.sigil.ui.refreshclasspath" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 193 | 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 Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 205 | id="org.apache.felix.sigil.ui.convertproject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 206 | name="%commandConvertProject"> |
| 207 | </command> |
| 208 | <command |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 209 | id="org.apache.felix.sigil.ui.refreshclasspath" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 210 | name="%commandRefreshClasspath"> |
| 211 | </command> |
| 212 | </extension> |
| 213 | <extension |
| 214 | point="org.eclipse.ui.commandImages"> |
| 215 | <image |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 216 | commandId="org.apache.felix.sigil.ui.convertproject" |
David Morgan Spencer Savage | fccb247 | 2009-10-26 21:35:00 +0000 | [diff] [blame] | 217 | icon="icons/logo16x16.gif"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 218 | </image> |
| 219 | <image |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 220 | commandId="org.apache.felix.sigil.ui.refreshclasspath" |
David Morgan Spencer Savage | fccb247 | 2009-10-26 21:35:00 +0000 | [diff] [blame] | 221 | icon="icons/repository.gif"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 222 | </image> |
| 223 | </extension> |
| 224 | |
| 225 | <extension |
| 226 | point="org.eclipse.ui.handlers"> |
| 227 | <handler |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 228 | class="org.apache.felix.sigil.ui.eclipse.handlers.project.ConvertProjectHandler" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 229 | commandId="org.apache.felix.sigil.ui.convertproject"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 230 | <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 Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 240 | property="org.apache.felix.sigil.isSigilProject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 241 | value="false"> |
| 242 | </test> |
| 243 | </iterate> |
| 244 | </with> |
| 245 | </activeWhen> |
| 246 | </handler> |
| 247 | <handler |
David Morgan Spencer Savage | 3ba3a4f | 2009-07-14 09:23:15 +0000 | [diff] [blame] | 248 | class="org.apache.felix.sigil.ui.eclipse.handlers.project.RefreshSigilClasspathHandler" |
David Morgan Spencer Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 249 | commandId="org.apache.felix.sigil.ui.refreshclasspath"> |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 250 | <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 Savage | 02676c3 | 2009-07-20 07:53:24 +0000 | [diff] [blame] | 260 | property="org.apache.felix.sigil.isSigilProject" |
Richard S. Hall | 85bafab | 2009-07-13 13:25:46 +0000 | [diff] [blame] | 261 | value="true"> |
| 262 | </test> |
| 263 | </iterate> |
| 264 | </with> |
| 265 | </activeWhen> |
| 266 | </handler> |
| 267 | </extension> |
| 268 | </plugin> |