<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>
class="org.simantics.diagram.handler.ConnectionRoutingMenuContribution"
id="connectionRouting">
</dynamic>
+ <dynamic
+ class="org.simantics.modeling.ui.actions.SwitchComponentTypeContribution"
+ id="org.simantics.modeling.ui.switchComponentType">
+ </dynamic>
</menuContribution>
<menuContribution
locationURI="toolbar:org.simantics.browsing.ui.graph.propertyView">