- locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
- <command
- commandId="org.argeo.jcr.ui.explorer.addRemoteRepository"
- icon="icons/add.gif"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
+ locationURI="popup:org.argeo.jcr.ui.explorer.browserView">
+ <command
+ commandId="org.argeo.jcr.ui.explorer.refresh"
+ icon="icons/refresh.png"
+ style="push">
+ </command>
+ <command
+ commandId="org.argeo.jcr.ui.explorer.addFolderNode"
+ icon="icons/addFolder.gif"
+ label="Add Folder"
+ 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.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>