<!-- 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/distribution_perspective.gif">
- </perspective>
+ </perspective>
+ <perspective
+ name="SLC Distribution"
+ class="org.argeo.slc.client.ui.dist.AnonymousDistributionPerspective"
+ id="org.argeo.slc.client.ui.dist.anonymousDistributionPerspective"
+ icon="icons/repo.gif">
+ </perspective>
</extension>
<!-- Views -->
<extension
point="org.eclipse.ui.views">
+ <view
+ class="org.argeo.eclipse.spring.SpringExtensionFactory"
+ id="org.argeo.slc.client.ui.dist.distributionsView"
+ icon="icons/search.gif"
+ name="Distributions">
+ </view>
+ <view
+ class="org.argeo.eclipse.spring.SpringExtensionFactory"
+ id="org.argeo.slc.client.ui.dist.anonymousDistributionsView"
+ icon="icons/search.gif"
+ name="Public Repository">
+ </view>
+ <view
+ class="org.argeo.slc.client.ui.dist.views.HelpView"
+ id="org.argeo.slc.client.ui.dist.helpView"
+ icon="icons/help.gif"
+ name="Infos">
+ </view>
<view
class="org.argeo.eclipse.spring.SpringExtensionFactory"
id="org.argeo.slc.client.ui.dist.artifactsBrowser"
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>
+ <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>
<command
defaultHandler="org.argeo.slc.client.ui.dist.commands.ShowSizeColumn"
id="org.argeo.slc.client.ui.dist.showSizeColumn"
</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>
<command
- id="org.argeo.slc.client.ui.dist.addRepository"
+ id="org.argeo.slc.client.ui.dist.registerRepository"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
name="Add Repository">
</command>
+
+ <command
+ id="org.argeo.slc.client.ui.dist.fetch"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Fetch repository">
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo uri">
+ </commandParameter>
+ </command>
<!-- TO MANIPULATE WORKSPACES -->
+ <!-- Workspaces CRUD -->
<command
id="org.argeo.slc.client.ui.dist.createWorkspace"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
name="Create Workspace">
+ <commandParameter
+ id="workspacePrefix"
+ name="Workspace prefix">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
+ </commandParameter>
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.deleteWorkspace"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Delete chosen Workspace">
+ <commandParameter
+ id="workspaceName"
+ name="Workspace name">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
+ </commandParameter>
</command>
<command
- id="org.argeo.slc.client.ui.dist.deleteWorkspace"
+ id="org.argeo.slc.client.ui.dist.publishWorkspace"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Publish selected workspace">
+ <commandParameter
+ id="workspaceName"
+ name="Workspace name">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
+ </commandParameter>
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.normalizeDistribution"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Normalize Distribution">
+ <commandParameter
+ id="workspaceName"
+ name="Workspace name">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
+ </commandParameter>
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.copyWorkspace"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Delete chosen Workspace">
+ name="Copy chosen Workspace">
<commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
+ id="srcWkspName"
+ name="Source Workspace Name">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
</commandParameter>
</command>
<command
- id="org.argeo.slc.client.ui.dist.copyWorkspace"
+ id="org.argeo.slc.client.ui.dist.mergeWorkspaces"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
name="Copy chosen Workspace">
<commandParameter
- id="org.argeo.slc.client.ui.dist.workspaceName"
- name="Workspace Name">
+ id="srcWkspName"
+ name="Source Workspace Name">
+ </commandParameter>
+ <commandParameter
+ id="srcRepoPath"
+ name="Source Repo Node path ">
+ </commandParameter>
+ <commandParameter
+ id="targetWkspName"
+ name="Target Workspace Name">
+ </commandParameter>
+ <commandParameter
+ id="targetRepoPath"
+ name="Target repo node path">
</commandParameter>
</command>
<command
<menuContribution
locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
<command
- commandId="org.argeo.slc.client.ui.dist.addRepository"
- icon="icons/addItem.gif"
- label="Add repository"
- tooltip="Add a repository">
+ 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"
</command>
-->
</menuContribution>
+ <menuContribution
+ locationURI="toolbar:org.argeo.slc.client.ui.dist.anonymousDistributionsView">
+ <command
+ commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
+ icon="icons/refresh.png"
+ label="Refresh"
+ tooltip="Refresh distributions view">
+ </command>
+ </menuContribution>
<!-- Queries -->
<!-- <menuContribution
allPopups="false"