+ register a default command in both RAP and RCP security base apps to provide generi...
[lgpl/argeo-commons.git] / server / plugins / org.argeo.jcr.ui.explorer / plugin.xml
index a3436071732e892bc0988c2b1ca84ad56ab33b34..ef6be346035edb8685fd9b32cd6960e6fc47368b 100644 (file)
                id="org.argeo.jcr.ui.explorer.importFileSystem"
                name="Import files...">
          </command>
-         <command
+        <!-- <command
                defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
                id="org.argeo.jcr.ui.explorer.openFile"
                name="Open current file">
          </command>
+         -->
+         <command
+               defaultHandler="org.argeo.jcr.ui.explorer.commands.DumpNode"
+               id="org.argeo.jcr.ui.explorer.dumpNode"
+               name="Import files...">
+         </command>
          <command
             defaultHandler="org.argeo.jcr.ui.explorer.commands.SortChildNodes"
             id="org.argeo.jcr.ui.explorer.sortChildNodes"
                                        </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>
        </extension>