]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - eclipse/plugins/org.argeo.jcr.ui.explorer/plugin.xml
Move to security
[lgpl/argeo-commons.git] / eclipse / plugins / org.argeo.jcr.ui.explorer / plugin.xml
index 8b3957cf8a0b175ab52ce6195398b0f677b1af14..ffe7aaffa159291b52000285637cd798e81a8800 100644 (file)
@@ -1,41 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?eclipse version="3.4"?>
 <plugin>
-   <extension
-         point="org.eclipse.ui.perspectiveExtensions">
-      <perspectiveExtension
-            targetID="jcrExplorerPerspective">
-         <view
-               relative="upperLeft"
-               relationship="stack"
-               id="browserView">
-         </view>
-      </perspectiveExtension>
-   </extension>
    <extension
          point="org.eclipse.ui.perspectives">
       <perspective
             class="org.argeo.eclipse.ui.jcr.explorer.JcrExplorerPerspective"
             icon="icons/nodes.gif"
-            id="jcrExplorerPerspective"
+            id="org.argeo.jcr.ui.explorer.perspective"
             name="JCR Explorer">
       </perspective>
    </extension>
    <extension
          point="org.eclipse.ui.views">
           <view
-                class="org.argeo.eclipse.spring.SpringExtensionFactory"
-                id="browserView"
-                name="Browser">
+          class="org.argeo.eclipse.spring.SpringExtensionFactory"
+          icon="icons/browser.gif"
+          id="org.argeo.jcr.ui.explorer.browserView"
+          name="JCR Browser">
           </view>
    </extension>
    <extension
            point="org.eclipse.ui.editors">
             <editor
                  class="org.argeo.eclipse.spring.SpringExtensionFactory"
-              id="genericJcrQueryEditor"
+              id="org.argeo.jcr.ui.explorer.genericJcrQueryEditor"
               name="JCR Query"
-              icon="icons/nodes.gif"
+              icon="icons/query.png"
               default="false">
         </editor>
      </extension>
          point="org.eclipse.ui.commands">
                <command
             defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
-            id="openGenericJcrQueryEditor"
-            name="OpenGenericJcrQueryEditor ">
+            id="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+            name="New generic JCR query">
        </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.addFileFolder"
+        name="Add file folder...">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.initUserHome"
+        name="Initialize user home">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.refresh"
+        name="Refresh">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.deleteNode"
+        name="Delete node">
+  </command>
+  <command
+        defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+        id="org.argeo.jcr.ui.explorer.importFileSystem"
+        name="Import files...">
+  </command>
     </extension>
-       <extension
-         id="menu:org.eclipse.ui.main.menu"
-         point="org.eclipse.ui.menus">
-        <!-- Queries --> 
+       <extension point="org.eclipse.ui.menus">
                <menuContribution
                 allPopups="false"
-                locationURI="menu:org.eclipse.ui.main.menu?after=edit">
-               <menu label="Queries"
-              mnemonic="Queries"
-              id="queryMenu">
+                locationURI="menu:org.argeo.jcr.ui.explorer.browserView">
                 <command
-                      commandId="openGenericJcrQueryEditor"
-                      disabledIcon="icons/saveDisabled.gif"
-                      icon="icons/results.gif"
-                      label="JCR Query"
-                      style="push"
-                      tooltip="Open JCR query editor">
+                      commandId="org.argeo.jcr.ui.explorer.openGenericJcrQueryEditor"
+                      icon="icons/query.png"
+                      style="push">
                 </command>
-             </menu>
+                            <command
+                                  commandId="org.argeo.jcr.ui.explorer.initUserHome"
+                                  style="push"
+                                  tooltip="Initializes the user specific area within this node">
+                            </command>
           </menuContribution>
+  <menuContribution
+        allPopups="false"
+        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.addFileFolder"
+           icon="icons/add.gif"
+           style="push">
+     </command>
+     <command
+           commandId="org.argeo.jcr.ui.explorer.deleteNode"
+           icon="icons/remove.gif"
+           style="push">
+     </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">
+     </command>
+  </menuContribution>
        </extension>
 </plugin>