| <?xml version="1.0" encoding="UTF-8"?> |
| <bind:Section xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bind="http://www.eclipse.org/gmf/2008/Binding" xmlns:ctx="http://www.eclipse.org/gmf/2008/Context" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:widget="http://www.eclipse.org/gmf/2008/Widget" xsi:schemaLocation="http://www.eclipse.org/gmf/2008/Binding ../../org.eclipse.gmf.formtk/model/binding.ecore http://www.eclipse.org/gmf/2008/Context ../../org.eclipse.gmf.formtk/model/context.ecore http://www.eclipse.org/gmf/2008/Widget ../../org.eclipse.gmf.formtk/model/widget.ecore" className="SizeSection"> |
| <children xsi:type="widget:Group" name="LocationGroup" layoutData="//@layout/@data.0" label="Location"> |
| <children xsi:type="widget:CheckBox" name="setLocation" layoutData="//@children.0/@layout/@data.0" label="Define"/> |
| <children xsi:type="widget:Spin" name="locationX" label="X" maximum="2147483647"/> |
| <children xsi:type="widget:Spin" name="locationY" label="Y" maximum="2147483647"/> |
| <layout xsi:type="widget:GridLayout" columns="2"> |
| <data widget="//@children.0/@children.0" hSpan="2"/> |
| </layout> |
| </children> |
| <children xsi:type="widget:Group" name="PreferredSizeGroup" layoutData="//@layout/@data.1" label="Preferred Size"> |
| <children xsi:type="widget:CheckBox" name="setPreferredSize" layoutData="//@children.1/@layout/@data.0" label="Define"/> |
| <children xsi:type="widget:Spin" name="preferredSizeX" label="Width" maximum="2147483647"/> |
| <children xsi:type="widget:Spin" name="preferredSizeY" label="Height" maximum="2147483647"/> |
| <layout xsi:type="widget:GridLayout" columns="2"> |
| <data widget="//@children.1/@children.0" hSpan="2"/> |
| </layout> |
| </children> |
| <children xsi:type="widget:Group" name="MaximumSizeGroup" layoutData="//@layout/@data.2" label="Maximum Size"> |
| <children xsi:type="widget:CheckBox" name="setMaximumSize" layoutData="//@children.2/@layout/@data.0" label="Define"/> |
| <children xsi:type="widget:Spin" name="maximumSizeX" label="Width" maximum="2147483647"/> |
| <children xsi:type="widget:Spin" name="maximumSizeY" label="Height" maximum="2147483647"/> |
| <layout xsi:type="widget:GridLayout" columns="2"> |
| <data widget="//@children.2/@children.0" hSpan="2"/> |
| </layout> |
| </children> |
| <children xsi:type="widget:Group" name="MinimumSizeGroup" layoutData="//@layout/@data.3" label="Minimum Size"> |
| <children xsi:type="widget:CheckBox" name="setMinimumSize" layoutData="//@children.3/@layout/@data.0" label="Define"/> |
| <children xsi:type="widget:Spin" name="minimumSizeX" label="Width" maximum="2147483647"/> |
| <children xsi:type="widget:Spin" name="minimumSizeY" label="Height" maximum="2147483647"/> |
| <layout xsi:type="widget:GridLayout" columns="2"> |
| <data widget="//@children.3/@children.0" hSpan="2"/> |
| </layout> |
| </children> |
| <layout xsi:type="widget:FormLayout"> |
| <data widget="//@children.0"> |
| <left offset="10"/> |
| </data> |
| <data widget="//@children.1"> |
| <left control="//@children.0" offset="20" align="RIGHT"/> |
| </data> |
| <data widget="//@children.2"> |
| <left control="//@children.1" offset="20" align="RIGHT"/> |
| </data> |
| <data widget="//@children.3"> |
| <left control="//@children.2" offset="20" align="RIGHT"/> |
| </data> |
| </layout> |
| <bindings selector="//@input.0" commitCondition="//@conditions.0" widget="//@children.0/@children.0" refreshCondition="//@conditions.0"/> |
| <bindings selector="//@input.0/@children.0" commitCondition="//@conditions.0" widget="//@children.0/@children.1" refreshCondition="//@conditions.0"/> |
| <bindings selector="//@input.0/@children.1" commitCondition="//@conditions.0" widget="//@children.0/@children.2" refreshCondition="//@conditions.0"/> |
| <bindings selector="//@input.1" commitCondition="//@conditions.2" widget="//@children.1/@children.0" refreshCondition="//@conditions.2"/> |
| <bindings selector="//@input.1/@children.0" commitCondition="//@conditions.2" widget="//@children.1/@children.1" refreshCondition="//@conditions.2"/> |
| <bindings selector="//@input.1/@children.1" commitCondition="//@conditions.2" widget="//@children.1/@children.2" refreshCondition="//@conditions.2"/> |
| <bindings selector="//@input.2" commitCondition="//@conditions.4" widget="//@children.2/@children.0" refreshCondition="//@conditions.4"/> |
| <bindings selector="//@input.2/@children.0" commitCondition="//@conditions.4" widget="//@children.2/@children.1" refreshCondition="//@conditions.4"/> |
| <bindings selector="//@input.2/@children.1" commitCondition="//@conditions.4" widget="//@children.2/@children.2" refreshCondition="//@conditions.4"/> |
| <bindings selector="//@input.3" commitCondition="//@conditions.6" widget="//@children.3/@children.0" refreshCondition="//@conditions.6"/> |
| <bindings selector="//@input.3/@children.0" commitCondition="//@conditions.6" widget="//@children.3/@children.1" refreshCondition="//@conditions.6"/> |
| <bindings selector="//@input.3/@children.1" commitCondition="//@conditions.6" widget="//@children.3/@children.2" refreshCondition="//@conditions.6"/> |
| <input xsi:type="ctx:FeatureContext"> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Point/x"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Point/y"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/location"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dx"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dy"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/preferredSize"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dx"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dy"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/maximumSize"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dx"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension/dy"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/minimumSize"/> |
| </input> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.0"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Point"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="null"/> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.1"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.1" value="null"/> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.2"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.2" value="null"/> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.3"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Dimension"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.3" value="null"/> |
| <actions kind="ENABLE" widgets="//@children.0/@children.1 //@children.0/@children.2" trigger="//@conditions.0"/> |
| <actions kind="DISABLE" widgets="//@children.0/@children.1 //@children.0/@children.2" trigger="//@conditions.1"/> |
| <actions kind="ENABLE" widgets="//@children.1/@children.1 //@children.1/@children.2" trigger="//@conditions.2"/> |
| <actions kind="DISABLE" widgets="//@children.1/@children.1 //@children.1/@children.2" trigger="//@conditions.3"/> |
| <actions kind="ENABLE" widgets="//@children.2/@children.1 //@children.2/@children.2" trigger="//@conditions.4"/> |
| <actions kind="DISABLE" widgets="//@children.2/@children.1 //@children.2/@children.2" trigger="//@conditions.5"/> |
| <actions kind="ENABLE" widgets="//@children.3/@children.1 //@children.3/@children.2" trigger="//@conditions.6"/> |
| <actions kind="DISABLE" widgets="//@children.3/@children.1 //@children.3/@children.2" trigger="//@conditions.7"/> |
| </bind:Section> |