]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/plugin.xml
+ Add repo informations
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / plugin.xml
index 0edb2f87a82da6eb6adbdc909d7c6a38f0974bcd..8521a2271b1414fb251e7346c5b5d43f900d0da2 100644 (file)
             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
             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">
+            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+            id="org.argeo.slc.client.ui.dist.unregisterRemoteRepo"
+            name="Unregister remote repository">
+            <commandParameter
+                       id="org.argeo.slc.client.ui.dist.repoNodePath"
+                       name="Remote Repo path">
+                       </commandParameter>
        </command>
+               
                <command
             id="org.argeo.slc.client.ui.dist.runInOSGi"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                        name="Workspace Name">
                        </commandParameter>
        </command>
-       
-               <!-- TO MANIPULATE WORKSPACES -->
                <command
-            id="org.argeo.slc.client.ui.dist.createWorkspace"
+            id="org.argeo.slc.client.ui.dist.registerRepository"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            name="Create Workspace">
+            name="Add Repository">
        </command>
+       
        <command
-            id="org.argeo.slc.client.ui.dist.deleteWorkspace"
+            id="org.argeo.slc.client.ui.dist.fetch"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            name="Delete 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>
-       <command
+       
+               <!-- TO MANIPULATE WORKSPACES -->
+               <command
             id="org.argeo.slc.client.ui.dist.copyWorkspace"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
             name="Copy chosen Workspace">
                 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"