]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.rcp/plugin.xml
tests for solving the hibernate transaction problem
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / plugin.xml
index e112468cdf80eef1784b6dbd43c77699ea401b4e..2df055019699324297dc4c23fc36d5a87055193a 100644 (file)
@@ -3,7 +3,7 @@
 <plugin>
 
    <extension
-         id="application"
+         id="org.argeo.slc.client.rcp.application"
          point="org.eclipse.core.runtime.applications">
       <application>
          <run
@@ -20,7 +20,7 @@
       </perspective>
    </extension>
    <extension
-         id="product"
+         id="org.argeo.slc.client.rcp.product"
          point="org.eclipse.core.runtime.products">
       <product
             application="org.argeo.slc.client.rcp.application"
                name="windowImages"
                value="icons/argeo-icon-256.png">
          </property>
+         <property
+               name="appName"
+               value="SLC">
+         </property>
       </product>
    </extension>
+   <extension
+         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="SLC">
+         <property
+               name="windowImages"
+               value="icons/argeo-icon-256.png">
+         </property>
+         <property
+               name="appName"
+               value="SLC">
+         </property>
+      </product>
+   </extension> -->
 
 </plugin>