]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.ui.gis/plugin.xml
New icons
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ui.gis / plugin.xml
index b482a4d7375856b8416baaeda8a16170344ab72c..3c7d85961fc6a12e131d6a6c33e6fd8362d5fffa 100644 (file)
@@ -4,36 +4,70 @@
 
    <extension
          point="org.eclipse.ui.views">
-      <category
-            name="GIS"
-            id="org.argeo.slc.client.gis">
-      </category>
       <view
-            name="Map"
+            name="Layers"
             icon="icons/sample.gif"
-            category="org.argeo.slc.client.gis"
             class="org.argeo.eclipse.spring.SpringExtensionFactory"
-            id="org.argeo.slc.client.gis.mapView">
+            id="org.argeo.slc.ui.gis.layersView">
+      </view>
+      <view
+            name="GPS"
+            icon="icons/gis.gif"
+            class="org.argeo.eclipse.spring.SpringExtensionFactory"
+            id="org.argeo.slc.ui.gis.gpsBrowserView">
       </view>
    </extension>
-   <extension
-         point="org.eclipse.ui.perspectiveExtensions">
-      <perspectiveExtension
-            targetID="org.argeo.slc.client.gis.perspective">
-         <view
-               ratio="0.5"
-               relative="org.eclipse.ui.editorss"
-               relationship="right"
-               id="org.argeo.slc.client.gis.mapView">
-         </view>
-      </perspectiveExtension>
-   </extension>
+       <extension
+         point="org.eclipse.ui.commands">
+               <command
+            defaultHandler="org.argeo.eclipse.spring.SpringCommandHandler"
+            id="org.argeo.slc.ui.gis.importGpx"
+            name="ImportGPX ">
+       </command>
+    </extension>
+       <extension
+         point="org.eclipse.ui.menus">
+        <!-- Queries --> 
+  <menuContribution
+        locationURI="popup:org.argeo.slc.ui.gis.gpsBrowserView">
+     <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>
+             <command
+                  commandId="org.argeo.slc.ui.gis.importGpx"
+                  disabledIcon="icons/gis_add_data.gif"
+                  icon="icons/gis_add_data.gif"
+                  label="Import GPX"
+                  style="push"
+                  tooltip="Import GPX">
+            </command>
+  </menuContribution>
+       </extension>
    <extension
          point="org.eclipse.ui.perspectives">
       <perspective
-            class="org.argeo.slc.client.gis.GisPerspectiveFactory"
-            id="org.argeo.slc.client.gis.perspective"
-            name="GIS">
+            class="org.argeo.slc.ui.gis.GpsPerspective"
+            icon="icons/gis.gif"
+            id="org.argeo.slc.client.gis.gpsPerspective"
+            name="SLC GPS">
       </perspective>
    </extension>