| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Defines the extensions for this plugin. |
| |
| Copyright (c) 2011 Attensity Europe GmbH |
| --> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension |
| id="Product" |
| point="org.eclipse.core.runtime.products"> |
| <product |
| application="org.eclipse.ui.ide.workbench" |
| name="SMILA Designer"> |
| <property |
| name="windowImages" |
| value="icons/smila16x16.png,icons/smila32x32.png,icons/smila48x48.png,icons/smila64x64.png,icons/smila128x128.png"> |
| </property> |
| <property |
| name="startupForegroundColor" |
| value="5F6061"> |
| </property> |
| <property |
| name="startupProgressRect" |
| value="6,349,440,15"> |
| </property> |
| <property |
| name="startupMessageRect" |
| value="10,332,435,17"> |
| </property> |
| <property |
| name="preferenceCustomization" |
| value="plugin_customization.ini"> |
| </property> |
| <property |
| name="appName" |
| value="SMILA Designer"> |
| </property> |
| <property |
| name="aboutImage" |
| value="icons/about.png"> |
| </property> |
| <property |
| name="aboutText" |
| value="%aboutText"> |
| </property> |
| </product> |
| </extension> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <command |
| defaultHandler="org.eclipse.smila.designer.product.pipelets.DownloadDefinitionsAction" |
| id="org.eclipse.smila.designer.command.DownloadDefinitions" |
| name="%Command.DownloadDefinitions"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| allPopups="false" |
| locationURI="toolbar:org.eclipse.ui.main.toolbar"> |
| <toolbar |
| id="org.eclipse.smila.designer.product.toolbar" |
| label="%Toolbar.Label"> |
| <command |
| commandId="org.eclipse.smila.designer.command.DownloadDefinitions" |
| icon="icons/downloadPipelets.png" |
| style="push" |
| tooltip="%Command.DownloadDefinitions.Tooltip"> |
| <visibleWhen |
| checkEnabled="false"> |
| <or> |
| <with variable="activeWorkbenchWindow.activePerspective"> |
| <equals value="org.eclipse.bpel.ui.perspective"/> |
| </with> |
| <with variable="activeEditorInput"> |
| <reference |
| definitionId="org.eclipse.smila.designer.expression.bpelfile" /> |
| </with> |
| </or> |
| </visibleWhen> |
| </command> |
| </toolbar> |
| </menuContribution> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?before=group.port"> |
| <separator |
| name="org.eclipse.smila.designer.bpelfile.group" |
| visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.smila.designer.command.DownloadDefinitions" |
| style="push" |
| tooltip="%Command.DownloadDefinitions.Tooltip"> |
| <visibleWhen |
| checkEnabled="false"> |
| <with variable="selection"> |
| <reference |
| definitionId="org.eclipse.smila.designer.expression.bpelfile" /> |
| </with> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| <extension |
| point="org.eclipse.core.expressions.definitions"> |
| <definition |
| id="org.eclipse.smila.designer.expression.bpelfile"> |
| <or> |
| <adapt type="org.eclipse.core.resources.IFile"> |
| <test |
| property="org.eclipse.core.resources.contentTypeId" |
| value="org.eclipse.bpel.contenttype"> |
| </test> |
| </adapt> |
| <and> |
| <instanceof |
| value="java.util.Collection"> |
| </instanceof> |
| <iterate |
| ifEmpty="false" |
| operator="or"> |
| <adapt |
| type="org.eclipse.core.resources.IFile"> |
| <test |
| property="org.eclipse.core.resources.contentTypeId" |
| value="org.eclipse.bpel.contenttype"> |
| </test> |
| </adapt> |
| </iterate> |
| </and> |
| <adapt |
| type="org.eclipse.core.expressions.IIterable"> |
| <iterate |
| ifEmpty="false" |
| operator="or"> |
| <adapt |
| type="org.eclipse.core.resources.IFile"> |
| <test |
| property="org.eclipse.core.resources.contentTypeId" |
| value="org.eclipse.bpel.contenttype"> |
| </test> |
| </adapt> |
| </iterate> |
| </adapt> |
| </or> |
| </definition> |
| </extension> |
| <extension |
| point="org.eclipse.smila.designer.pipelets.handler"> |
| <PipeletHandler |
| class="org.eclipse.smila.designer.product.pipelets.SMILAPipeletHandler"> |
| </PipeletHandler> |
| </extension> |
| </plugin> |