]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/plugin.xml
Improve About view
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / plugin.xml
index eede0bcbbe9cbb76d8296a4845ea88b9d16e0bd5..02abdf274330156ed3d43858720bcff45085143f 100644 (file)
@@ -4,16 +4,40 @@
        <!-- 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="About">
+      </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
+       <view
                 name="Progress View"
                 icon="icons/pview.gif"
                 category="org.eclipse.ui"
@@ -56,9 +74,9 @@
    <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>
             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"
                        name="Remote Repo path">
                        </commandParameter>
        </command>
-               
                <command
             id="org.argeo.slc.client.ui.dist.runInOSGi"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        </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>
-               <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.repoSyncCommand"
+            id="org.argeo.slc.client.ui.dist.fetch"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
             name="Fetch repository">
             <commandParameter
                        id="targetRepoPath"
-                       name="Target repo path">
+                       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="Delete chosen Workspace">
+            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="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"
             </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"