<!-- Perspectives -->
<extension
point="org.eclipse.ui.perspectives">
- <perspective
- name="SLC Distribution"
+ <perspective
+ name="SLC Repo"
class="org.argeo.slc.client.ui.dist.DistributionPerspective"
id="org.argeo.slc.client.ui.dist.distributionPerspective"
+ icon="icons/repo.gif">
+ </perspective>
+ <perspective
+ name="SLC Distribution"
+ class="org.argeo.slc.client.ui.dist.AnonymousDistributionPerspective"
+ id="org.argeo.slc.client.ui.dist.anonymousDistributionPerspective"
icon="icons/distribution_perspective.gif">
- </perspective>
+ </perspective>
</extension>
<!-- Views -->
<extension
icon="icons/search.gif"
name="Distributions">
</view>
+ <view
+ name="Progress View"
+ icon="icons/pview.gif"
+ category="org.eclipse.ui"
+ class="org.eclipse.ui.ExtensionFactory:progressView"
+ id="org.eclipse.ui.views.ProgressView">
+ </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"
+ class="org.argeo.slc.client.ui.dist.editors.GenericBundleEditor"
+ id="org.argeo.slc.client.ui.dist.genericBundleEditor"
+ name="Bundle editor"
icon="icons/artifactVersionBase.gif"
default="false">
</editor>
<!-- Commands -->
<extension
point="org.eclipse.ui.commands">
+ <!-- Command which do not need dependency injection -->
<command
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
+ id="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
+ name="Refresh Artifact Browser">
+ </command>
+ <command
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.DisplayRepoInformation"
+ id="org.argeo.slc.client.ui.dist.displayRepoInformation"
+ name="Display repo info">
+ </command>
+ <!-- Workspaces CRUD -->
+ <command
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.PublishWorkspace"
+ id="org.argeo.slc.client.ui.dist.publishWorkspace"
+ name="Publish selected workspace">
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.createWorkspace"
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.CreateWorkspace"
+ name="Create Workspace">
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.deleteWorkspace"
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.DeleteWorkspace"
+ name="Delete chosen Workspace">
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.normalizeDistribution"
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.NormalizeDistribution"
+ name="Normalize Distribution">
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.copyWorkspace"
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.CopyWorkspace"
+ name="Copy chosen Workspace">
+ </command>
+
+ <command
defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
id="org.argeo.slc.client.ui.dist.showSizeColumn"
name="Show size column">
</class>
</state>
</command>
+
+
+
+ <!-- Command with Spring dependency injection -->
<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">
+ id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo"
+ name="Unregister remote repository">
<commandParameter
- id="workspace"
- name="Workspace Name">
+ id="org.argeo.slc.client.ui.dist.repoNodePath"
+ name="Remote Repo path">
</commandParameter>
</command>
<command
- id="org.argeo.slc.client.ui.dist.normalizeDistribution"
+ id="org.argeo.slc.client.ui.dist.runInOSGi"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Normalize Distribution">
+ name="Run in OSGi">
<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"
+ id="org.argeo.slc.client.ui.dist.registerRepository"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Delete chosen Workspace">
- <commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
- </commandParameter>
+ name="Add Repository">
</command>
+
<command
- id="org.argeo.slc.client.ui.dist.copyWorkspace"
+ id="org.argeo.slc.client.ui.dist.fetch"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Copy chosen Workspace">
+ name="Fetch repository">
<commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
+ id="targetRepoPath"
+ name="Target repo path">
</commandParameter>
</command>
+
+ <!-- TO MANIPULATE WORKSPACES -->
<command
id="org.argeo.slc.client.ui.dist.manageWorkspaceAuth"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
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.registerRepository"
+ icon="icons/addRepo.gif"
+ label="Register repository"
+ tooltip="Register a remote repository">
+ </command>
+ <command
+ commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
+ icon="icons/refresh.png"
+ label="Refresh"
+ tooltip="Refresh distributions view">
+ </command>
+ <!--
<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"
<activityPatternBinding
activityId="org.argeo.security.ui.adminActivity"
isEqualityPattern="true"
- pattern="org.argeo.slc.client.ui/org.argeo.slc.client.ui.slcExecutionPerspective">
+ pattern="org.argeo.slc.client.ui.dist/org.argeo.slc.client.ui.dist.distributionPerspective">
</activityPatternBinding>
</extension>
</plugin>