defaultHandler="org.argeo.jcr.ui.explorer.commands.SortChildNodes"
id="org.argeo.jcr.ui.explorer.sortChildNodes"
name="Sort node tree">
+ <!-- FIXME: default value does not work -->
<state
- id="org.argeo.jcr.ui.explorer.sortChildNodes.toggleState">
- <class class="org.eclipse.jface.commands.ToggleState">
+ id="org.argeo.jcr.ui.explorer.sortChildNodes.toggleState"
+ class="org.eclipse.ui.handlers.RegistryToggleState:true" >
+ <!-- <class class="org.eclipse.jface.commands.ToggleState">
<parameter
name="default"
value="true" />
- </class>
+ </class> -->
</state>
</command>
</extension>
<!-- Browser view specific menu -->
<menuContribution
locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
- <command
+ <!-- See bug 149 -->
+ <!-- <command
commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
icon="icons/query.png"
style="push">
- </command>
+ </command> -->
<command
commandId="org.argeo.jcr.ui.explorer.addRemoteRepository"
icon="icons/addRepo.gif"
<command
commandId="org.argeo.jcr.ui.explorer.sortChildNodes"
icon="icons/sort.gif"
- style="toggle"
+ style="toggle"
label="Sort child nodes"
tooltip="Warning: stopping to sort children nodes might enhance overall performances">
</command>
<and>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
</instanceof>
</or>
<with variable="activeMenuSelection"><count value="1"/></with>
<and>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
</instanceof>
</or>
<with variable="activeMenuSelection"><count value="1"/></with>
<and>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.RepositoryNode">
+ value="org.argeo.jcr.ui.explorer.model.RepositoryElem">
</instanceof>
</or>
<with variable="activeMenuSelection"><count value="1"/></with>
<iterate>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
</instanceof>
</or>
</iterate>
<and>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
</instanceof>
</or>
<with variable="activeMenuSelection"><count value="1"/></with>
<iterate>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.RepositoriesNode">
+ value="org.argeo.jcr.ui.explorer.model.RepositoriesElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.RepositoryNode">
+ value="org.argeo.jcr.ui.explorer.model.RepositoryElem">
</instanceof>
</or>
</iterate>
<iterate>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.RemoteRepositoryNode">
+ value="org.argeo.jcr.ui.explorer.model.RemoteRepositoryElem">
</instanceof>
</or>
</iterate>
<iterate>
<or>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
</instanceof>
<instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
</instanceof>
</or>
</iterate>