]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.rcp/plugin.xml
+ refactor to separate runtime and module project under eclipse plugin.
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / plugin.xml
index 9caec033e27f313cdb76b17451b38ab0580cafc7..36f23ee95faeef2f28b294edeaf968185b07db60 100644 (file)
    <extension
          point="org.eclipse.ui.perspectives">
       <perspective
-            name="Perspective"
-            class="org.argeo.slc.client.rcp.Perspective"
-            id="org.argeo.slc.client.rcp.perspective">
+            name="Slc Execution"
+            class="org.argeo.slc.client.ui.perspectives.SlcExecution"
+            id="org.argeo.slc.client.ui.perspectives.slcExecution"
+            icon="icons/slc_execution_perspective.gif">
       </perspective>
    </extension>
    <extension
-         id="org.argeo.slc.client.rcp.product"
+         point="org.eclipse.ui.menus">
+      <menuContribution
+            locationURI="menu:org.eclipse.ui.main.menu">
+         <menu
+               id="fileMenu"
+               label="File">
+            <command
+                  commandId="org.argeo.slc.client.rcp.commands.Exit"
+                  label="Exit"
+                  style="push"
+                  tooltip="Exits the application">
+            </command>
+         </menu>
+      </menuContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.commands">
+      <command
+            defaultHandler="org.argeo.slc.client.rcp.commands.ExitHandler"
+            id="org.argeo.slc.client.rcp.commands.Exit"
+            name="Exit">
+      </command>
+   </extension>
+   <extension
+         id="product"
          point="org.eclipse.core.runtime.products">
       <product
             application="org.argeo.slc.client.rcp.application"
                name="appName"
                value="SLC">
          </property>
+         <property
+               name="preferenceCustomization"
+               value="plugin_customization.ini">
+         </property>
       </product>
    </extension>
-   <extension
+   <!-- <extension
          id="product"
          point="org.eclipse.core.runtime.products">
       <product
@@ -50,6 +79,6 @@
                value="SLC">
          </property>
       </product>
-   </extension>
+   </extension> -->
 
 </plugin>