<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>