]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/plugin.xml
refactor and clean of the distribution view model.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / plugin.xml
index dfad06fe23b8c2d34c6e4d8f9f16960ea493e432..4762d583db00bb12579ed80681a92895df50f997 100644 (file)
@@ -4,12 +4,18 @@
        <!-- 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
             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"
                        </state>
        </command>
 
+
+
                <!-- Command with Spring dependency injection -->
                <command
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        name="Remote Repo path">
                        </commandParameter>
        </command>
-               
                <command
             id="org.argeo.slc.client.ui.dist.runInOSGi"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        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>
                <command
             id="org.argeo.slc.client.ui.dist.registerRepository"
        </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"