</commandParameter>
</command>
+ <!-- Advanced commands -->
+ <command
+ id="org.argeo.slc.client.ui.dist.doNothing"
+ defaultHandler="org.argeo.slc.client.ui.dist.commands.DoNothing"
+ name="Advanced">
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.runInOSGi"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Run in OSGi">
+ <commandParameter
+ id="workspace"
+ name="Workspace Name">
+ </commandParameter>
+ </command>
+ <command
+ id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
+ defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+ name="Refresh Distributions View">
+ </command>
+
<!-- Legacy -->
<command
defaultHandler="org.argeo.slc.client.ui.dist.commands.RefreshArtifactBrowser"
</class>
</state>
</command>
-
- <command
- id="org.argeo.slc.client.ui.dist.runInOSGi"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Run in OSGi">
- <commandParameter
- id="workspace"
- name="Workspace Name">
- </commandParameter>
- </command>
-
- <command
- id="org.argeo.slc.client.ui.dist.refreshDistributionsView"
- defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
- name="Refresh Distributions View">
- </command>
-
<command
id="org.argeo.slc.client.ui.dist.refreshDistributionOverviewPage"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
name="Refresh distribution overview page">
</command>
-
<command
id="org.argeo.slc.client.ui.dist.deleteArtifacts"
defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
name="Remove selected artifacts">
</command>
</extension>
+
+ <!-- MENU CONTRIBUTIONS -->
<extension
id="menu:org.eclipse.ui.main.menu"
point="org.eclipse.ui.menus">
-
- <!-- View Specific Menus -->
- <menuContribution
- locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
- <command
- commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
- icon="icons/showSize.gif"
- style="toggle"
- label="Show sizes"
- tooltip="Warning: showing size column might reduce overall browser reactivity">
- </command>
- <command
- commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
- icon="icons/refresh.png"
- label="Refresh"
- tooltip="Refresh the whole browser">
- </command>
- </menuContribution>
+ <!-- Distributions view tool bar -->
<menuContribution
locationURI="toolbar:org.argeo.slc.client.ui.dist.distributionsView">
<command
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.doNothing"
+ id="org.argeo.slc.client.ui.dist.advancedMenu"
+ icon="icons/more.gif"
+ tooltip="Access to advanced commands"
+ style="pulldown">
+ </command>
+ </menuContribution>
+ <menuContribution locationURI="menu:org.argeo.slc.client.ui.dist.advancedMenu">
+ <command
+ commandId="org.argeo.slc.client.ui.dist.refreshDistributionsView"
+ icon="icons/refresh.png"
+ label="Refresh"
+ tooltip="Force the full refresh of the distribution tree (close all open connections)">
+ </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>
+ </menuContribution>
+ <!-- Anonymous distribution view toolbar -->
<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">
+ tooltip="Force the full refresh of the distribution tree (close all open connections)">
+ </command>
+ </menuContribution>
+ <!-- Artifact Browser Tool bar -->
+ <menuContribution
+ locationURI="toolbar:org.argeo.slc.client.ui.dist.artifactsBrowser">
+ <command
+ commandId="org.argeo.slc.client.ui.dist.showSizeColumn"
+ icon="icons/showSize.gif"
+ style="toggle"
+ label="Show sizes"
+ tooltip="Warning: showing size column might reduce overall browser reactivity">
+ </command>
+ <command
+ commandId="org.argeo.slc.client.ui.dist.refreshArtifactBrowser"
+ icon="icons/refresh.png"
+ label="Refresh"
+ tooltip="Refresh the whole browser">
</command>
</menuContribution>
<!-- Queries -->
</menu>
</menuContribution> -->
</extension>
- <extension
+ <extension
point="org.eclipse.ui.activities">
<!-- TODO: find a way to exclude evrything -->
<activityPatternBinding