+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <!-- Perspectives -->
- <extension
- point="org.eclipse.ui.perspectives">
- <perspective
- name="SLC Distribution"
- class="org.argeo.slc.client.ui.dist.DistributionPerspective"
- id="org.argeo.slc.client.ui.dist.distributionPerspective"
- icon="icons/distribution_perspective.gif">
- </perspective>
- </extension>
- <!-- Views -->
- <extension
- point="org.eclipse.ui.views">
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.slc.client.ui.dist.artifactsBrowser"
- icon="icons/packageBrowser.gif"
- name="Artifacts browser">
- </view>
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.slc.client.ui.dist.queryArtifactsForm"
- icon="icons/searchForm.gif"
- name="Artifacts Form">
- </view>
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.slc.client.ui.dist.queryBundlesForm"
- icon="icons/searchForm.gif"
- name="Bundles Form">
- </view>
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.slc.client.ui.dist.queryArtifactsText"
- icon="icons/search.gif"
- name="Query builder">
- </view>
- <view
- class="org.argeo.eclipse.spring.SpringExtensionFactory"
- id="org.argeo.slc.client.ui.dist.distributionsView"
- icon="icons/search.gif"
- name="Distributions">
- </view>
- </extension>
- <!-- Editors -->
- <extension
- point="org.eclipse.ui.editors">
- <editor
- class="org.argeo.slc.client.ui.dist.editors.GenericArtifactEditor"
- id="org.argeo.slc.client.ui.dist.genericArtifactEditor"
- name="Artifact editor"
- icon="icons/artifactVersionBase.gif"
- default="false">
- </editor>
- <editor
- class="org.argeo.slc.client.ui.dist.editors.DistributionEditor"
- id="org.argeo.slc.client.ui.dist.distributionEditor"
- name="Distribution editor"
- icon="icons/distribution_perspective.gif"
- default="false">
- </editor>
- </extension>
- <!-- Commands -->
- <extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
- id="org.argeo.slc.client.ui.dist.showSizeColumn"
- name="Show size column">
- <state
- id="org.argeo.slc.client.ui.dist.showSizeColumn.toggleState">
- <class class="org.eclipse.jface.commands.ToggleState">
- <parameter
- name="default"
- value="true" />
- </class>
- </state>
- </command>
- <command
- defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
- id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
- name="Refresh Artifact Browser">
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.runInOSGi"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Run in OSGi">
- <commandParameter
- id="workspace"
- name="Workspace Name">
- </commandParameter>
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.normalizeDistribution"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Normalize Distribution">
- <commandParameter
- id="workspace"
- name="Workspace Name">
- </commandParameter>
- </command>
-
- <!-- TO MANIPULATE WORKSPACES -->
- <command
- id="org.argeo.slc.client.ui.dist.createWorkspace"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Create Workspace">
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.deleteWorkspace"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Delete chosen Workspace">
- <commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
- </commandParameter>
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.copyWorkspace"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Copy chosen Workspace">
- <commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
- </commandParameter>
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Manage workspace authorizations">
- <commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
- </commandParameter>
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Refresh Distributions View">
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Refresh distribution overview page">
- </command>
- <command
- id="org.argeo.slc.client.ui.dist.deleteArtifacts"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Remove selected artifacts">
- </command>
- </extension>
- <extension
- id="menu:org.eclipse.ui.main.menu"
- point="org.eclipse.ui.menus">
-
- <!-- View Specific Menus -->
- <menuContribution
- locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
- <command
- commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
- icon="icons/showSize.gif"
- style="toggle"
- label="Show sizes"
- tooltip="Warning: showing size column might reduce overall browser reactivity">
- </command>
- <command
- commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
- icon="icons/refresh.png"
- label="Refresh"
- tooltip="Refresh the whole browser">
- </command>
- </menuContribution>
- <!--
- <menuContribution
- locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
- <command
- commandId="org.argeo.slc.client.ui.dist.runInOSGi"
- icon="icons/showSize.gif"
- label="Run in OSGi"
- tooltip="Run in a spearate OSGi runtime">
- </command>
- </menuContribution>
- -->
- <!-- Queries -->
- <!-- <menuContribution
- allPopups="false"
- locationURI="menu:org.eclipse.ui.main.menu?after=edit">
- <menu label="Queries"
- mnemonic="Queries"
- id="org.argeo.slc.client.ui.dist.queryMenu">
- <command
- commandId="org.argeo.slc.client.ui.dist.openGenericJcrQueryEditor"
- disabledIcon="icons/saveDisabled.gif"
- icon="icons/results.gif"
- label="JCR Query"
- style="push"
- tooltip="Open JCR query editor">
- </command>
- </menu>
- </menuContribution> -->
- </extension>
- <extension
- point="org.eclipse.ui.activities">
- <!-- TODO: find a way to exclude evrything -->
- <activityPatternBinding
- activityId="org.argeo.slc.client.ui.slcActivity"
- isEqualityPattern="true"
- pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
- </activityPatternBinding>
- <activityPatternBinding
- activityId="org.argeo.security.ui.adminActivity"
- isEqualityPattern="true"
- pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
- </activityPatternBinding>
- </extension>
-</plugin>