]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/plugin.xml
Add icons for repositories
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / plugin.xml
index cc4b39c239087a492e625d5ab6eac39155f6ff13..eede0bcbbe9cbb76d8296a4845ea88b9d16e0bd5 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
     <!-- 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.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">
+            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"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
             name="Add Repository">
        </command>
+       
+       <command
+            id="org.argeo.slc.client.ui.dist.repoSyncCommand"
+            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+            name="Fetch repository">
+            <commandParameter
+                       id="targetRepoPath"
+                       name="Target repo path">
+                       </commandParameter>
+       </command>
        
                <!-- TO MANIPULATE WORKSPACES -->
                <command
                 label="Add repository"
                 tooltip="Add a 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"