]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/plugin.xml
work on modular distribution. Work in progress.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / plugin.xml
index 7600f25a4f4fae9dca3ea68ad1b2f13122a45c57..59bda30afef995fadb3b83f46200894cdee083d4 100644 (file)
@@ -5,7 +5,7 @@
        <extension
                point="org.eclipse.ui.perspectives">
                <perspective
-            name="SLC Repo"
+            name="SLC Factory"
             class="org.argeo.slc.client.ui.dist.DistributionPerspective"
             id="org.argeo.slc.client.ui.dist.distributionPerspective"
             icon="icons/distribution_perspective.gif">
                        default="false">
                </editor>
                <editor
-                       class="org.argeo.slc.client.ui.dist.editors.DistributionEditor"
-                       id="org.argeo.slc.client.ui.dist.distributionEditor"
-                       name="Distribution editor"
-                       icon="icons/distribution_perspective.gif"
+                       class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                       id="org.argeo.slc.client.ui.dist.artifactVersionEditor"
+                       name="Artifact Version Editor"
+                       icon="icons/artifactVersionBase.gif"
+                       default="false">
+               </editor>
+               <editor
+                       class="org.argeo.eclipse.spring.SpringExtensionFactory"
+                       id="org.argeo.slc.client.ui.dist.modularDistVersionEditor"
+                       name="Modular Distribution Version Editor"
+                       icon="icons/modularDistributionVersion.gif"
                        default="false">
                </editor>
                <editor
                        class="org.argeo.eclipse.spring.SpringExtensionFactory"
-                       id="org.argeo.slc.client.ui.dist.distributionWorkspaceEditor"
+                       id="org.argeo.slc.client.ui.dist.distWorkspaceEditor"
                        name="Distribution workspace editor"
                        icon="icons/distribution_perspective.gif"
                        default="false">
                        </commandParameter>
        </command>
        
+       <command
+            id="org.argeo.slc.client.ui.dist.openModuleEditor"
+            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+            name="Open Workspace Editor">
+                       <commandParameter
+                               id="param.repoNodePath"
+                               name="Repo node path">
+                       </commandParameter>
+                       <commandParameter
+                               id="param.repoUri"
+                               name="Repo URI">
+                       </commandParameter>
+                       <commandParameter
+                               id="param.workspaceName"
+                               name="Workspace name">
+                       </commandParameter>
+                       <commandParameter
+                               id="param.modulePath"
+                               name="Module path name">
+                       </commandParameter>
+       </command>
+       
        <!-- Repository Management --> 
        <command
             id="org.argeo.slc.client.ui.dist.registerRepository"
                        name="Target repo uri">
                        </commandParameter>
        </command>
+       
+       <command
+            defaultHandler="org.argeo.slc.client.ui.dist.commands.MarkAsRelevantCategory"
+            id="org.argeo.slc.client.ui.dist.markAsRelevantCategory"
+            name="Mark as relevant category">
+       </command>
+       
        <command
             id="org.argeo.slc.client.ui.dist.normalizeWorkspace"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
             name="Advanced">
        </command>
                <command
-            id="org.argeo.slc.client.ui.dist.runInOSGi"
+            id="org.argeo.slc.client.ui.dist.runInOsgi"
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
             name="Run in OSGi">
             <commandParameter
-                       id="workspace"
+                       id="workspaceName"
                        name="Workspace Name">
                        </commandParameter>
        </command>
             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"
                                label="Refresh"
                                tooltip="Force the full refresh of the distribution tree (close all open connections)">
                        </command>
-            <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>
                <!-- Anonymous distribution view toolbar -->             
         <menuContribution