]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Create valve for context menu
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 4 Mar 2010 18:04:44 +0000 (18:04 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Thu, 4 Mar 2010 18:04:44 +0000 (18:04 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@14587 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn.ui/plugin.xml

index f96abd5fb126cccc4e62a952c93c2e1d39af8ad5..f4d8d2395976695ea29b41e13dd9655aec2cd216 100644 (file)
@@ -58,6 +58,7 @@
             restorable="true">\r
       </view>\r
       <view\r
+            category="org.simantics.sysdyn.ui.category"\r
             class="org.simantics.sysdyn.ui.configuration.ConfigurationView"\r
             id="org.simantics.sysdyn.ui.configurationView"\r
             name="Configuration View"\r
                   label="Stock"\r
                   style="push">\r
             </command>\r
+            <command\r
+                  commandId="org.simantics.sysdyn.ui.createValve"\r
+                  label="Valve"\r
+                  style="push">\r
+            </command>\r
             <command\r
                   commandId="org.simantics.sysdyn.ui.createCloud"\r
                   label="Cloud"\r
             id="org.simantics.sysdyn.ui.createStock"\r
             name="Create Stock">\r
       </command>\r
+      <command\r
+            defaultHandler="org.simantics.sysdyn.ui.handlers.CreateValveHandler"\r
+            id="org.simantics.sysdyn.ui.createValve"\r
+            name="Create Valve">\r
+      </command>\r
       <command\r
             defaultHandler="org.simantics.sysdyn.ui.handlers.RenameHandler"\r
             id="org.simantics.sysdyn.ui.rename"\r