- <command
- commandId="org.argeo.jcr.ui.explorer.deleteNodes"
- icon="icons/remove.gif"
- style="push">
- <visibleWhen>
- <iterate>
- <or>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
- </instanceof>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
- </instanceof>
- </or>
- </iterate>
- </visibleWhen>
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.importFileSystem"
- icon="icons/import_fs.png"
- style="push"
- tooltip="Import files from the files sytem to the repository">
- <visibleWhen>
- <iterate>
- <and>
- <or>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
- </instanceof>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
- </instanceof>
- </or>
- <with
- variable="activeMenuSelection">
- <count
- value="1">
- </count>
- </with>
- </and>
- </iterate>
- </visibleWhen>
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.addRemoteRepository"
- icon="icons/addRepo.gif"
- style="push">
- <visibleWhen>
- <iterate>
- <or>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.RepositoriesNode">
- </instanceof>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.RepositoryNode">
- </instanceof>
- </or>
- </iterate>
- </visibleWhen>
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.removeRemoteRepository"
- icon="icons/remove.gif"
- style="push">
- <visibleWhen>
- <iterate>
- <or>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.RemoteRepositoryNode">
- </instanceof>
- </or>
- </iterate>
- </visibleWhen>
- </command>
- <command
- commandId="org.argeo.jcr.ui.explorer.getNodeSize"
- icon="icons/getSize.gif"
- style="push">
- <visibleWhen>
- <iterate>
- <or>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.SingleJcrNode">
- </instanceof>
- <instanceof
- value="org.argeo.jcr.ui.explorer.model.WorkspaceNode">
- </instanceof>
- </or>
- </iterate>
- </visibleWhen>
- </command>
- </menuContribution>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.addPrivileges"
+ icon="icons/addPrivileges.png"
+ label="Add Privileges"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <and>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem">
+ </instanceof>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem">
+ </instanceof>
+ </or>
+ <with variable="activeMenuSelection"><count value="1"/></with>
+ </and>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.createWorkspace"
+ icon="icons/addWorkspace.png"
+ label="Create Workspace"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <and>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.RepositoryElem">
+ </instanceof>
+ </or>
+ <with variable="activeMenuSelection"><count value="1"/></with>
+ </and>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.deleteNodes"
+ icon="icons/remove.gif"
+ label="Delete Nodes"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem" />
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem" />
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.importFileSystem"
+ icon="icons/import_fs.png"
+ style="push"
+ tooltip="Import files from the files sytem">
+ <visibleWhen>
+ <iterate>
+ <and>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem" />
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem" />
+ </or>
+ <with variable="activeMenuSelection"><count value="1"/></with>
+ </and>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.addRemoteRepository"
+ icon="icons/addRepo.gif"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.RepositoriesElem" />
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.RepositoryElem" />
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.removeRemoteRepository"
+ icon="icons/remove.gif"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.RemoteRepositoryElem" />
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.getNodeSize"
+ icon="icons/getSize.gif"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <or>
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem" />
+ <instanceof
+ value="org.argeo.jcr.ui.explorer.model.WorkspaceElem" />
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.dumpNode"
+ icon="icons/dumpNode.gif"
+ label="Dump Node"
+ style="push">
+ <visibleWhen>
+ <iterate>
+ <and>
+ <instanceof value="org.argeo.jcr.ui.explorer.model.SingleJcrNodeElem"></instanceof>
+ <with variable="activeMenuSelection"><count value="1"/></with>
+ </and>
+ </iterate>
+ </visibleWhen>
+ </command>
+
+ </menuContribution>