id="org.argeo.jcr.ui.explorer.openFile"
name="Open current file">
</command>
+ <command
+ defaultHandler="org.argeo.jcr.ui.explorer.commands.SortChildNodes"
+ id="org.argeo.jcr.ui.explorer.sortChildNodes"
+ name="Sort node tree">
+ <state
+ id="org.argeo.jcr.ui.explorer.sortChildNodes.toggleState">
+ <class class="org.eclipse.jface.commands.ToggleState">
+ <parameter
+ name="default"
+ value="true" />
+ </class>
+ </state>
+ </command>
</extension>
<!-- Menus -->
<extension point="org.eclipse.ui.menus">
+ <!-- Browser view specific menu -->
<menuContribution
locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
<command
commandId="org.argeo.jcr.ui.explorer.addRemoteRepository"
icon="icons/addRepo.gif"
style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.sortChildNodes"
+ icon="icons/sort.gif"
+ style="toggle"
+ label="Sort child nodes"
+ tooltip="Warning: stopping to sort children nodes might enhance overall performances">
</command>
</menuContribution>
+ <!-- Browser view popup context menu -->
<menuContribution
locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
<command