]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/plugin.xml
Option for exporting tg and pgraph with sharedlibrary
[simantics/platform.git] / bundles / org.simantics.modeling.ui / plugin.xml
index 363cb9894e7ccebd2ab0b19e15ef04e58fda17c9..578c752ba37504fe7e6b46024d17081cdeb3829a 100644 (file)
          <activeWhen>
             <with
                   variable="activeContexts">
+            <and>
                <test
                      property="org.simantics.ui.tester.canUndo">
                </test>
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
+                  <not>
+                     <equals
+                           value="org.simantics.modeling.ui.diagramming.inlineEdit">
+                     </equals>
+                  </not>
+               </iterate>
+            </and>
             </with>
          </activeWhen>
       </handler>
          <activeWhen>
             <with
                   variable="activeContexts">
+            <and>
                <test
                      property="org.simantics.ui.tester.canRedo">
                </test>
+               <iterate
+                     ifEmpty="false"
+                     operator="and">
+                  <not>
+                     <equals
+                           value="org.simantics.modeling.ui.diagramming.inlineEdit">
+                     </equals>
+                  </not>
+               </iterate>
+            </and>
             </with>
          </activeWhen>
       </handler>