| <?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="FigureSection"> |
| <children xsi:type="widget:Group" name="styleRadios" layoutData="//@layout/@data.0" label="Line Style"> |
| <children xsi:type="widget:RadioButton" name="r1" label="Solid"/> |
| <children xsi:type="widget:RadioButton" name="r2" label="- - -"/> |
| <children xsi:type="widget:RadioButton" name="r3" label=". . ."/> |
| <children xsi:type="widget:RadioButton" name="r4" label="- . - ."/> |
| <children xsi:type="widget:RadioButton" name="r5" label="- . . - . ."/> |
| <children xsi:type="widget:RadioButton" name="r6" label="Custom"/> |
| <layout xsi:type="widget:FillLayout" vertical="true"/> |
| </children> |
| <children xsi:type="widget:Group" name="commonStyle" layoutData="//@layout/@data.1" label="Draw"> |
| <children xsi:type="widget:Spin" name="lineWidth" label="Line width"/> |
| <children xsi:type="widget:CheckBox" name="fill" label="Fill"/> |
| <children xsi:type="widget:CheckBox" name="outline" label="Outline"/> |
| <children xsi:type="widget:CheckBox" name="fillXor" label="XOR Fill"/> |
| <children xsi:type="widget:CheckBox" name="outlineXor" label="XOR Outline"/> |
| <layout xsi:type="widget:GridLayout" columns="2" equalColumns="true"/> |
| </children> |
| <children xsi:type="widget:Group" name="roundedRectStyle" layoutData="//@layout/@data.2" label="Corners"> |
| <children xsi:type="widget:Spin" name="cornerWidth" label="Width:"/> |
| <children xsi:type="widget:Spin" name="cornerHeight" label="Height:"/> |
| <layout xsi:type="widget:GridLayout" columns="2" equalColumns="true"/> |
| </children> |
| <children xsi:type="widget:Group" name="foregroundColor" layoutData="//@layout/@data.3" label="Foreground Color"> |
| <children xsi:type="widget:RadioButton" name="foregroundRgbRadio" layoutData="//@children.3/@layout/@data.0" label="RGB"/> |
| <children xsi:type="widget:RadioButton" name="foregroundPredeinedRadio" layoutData="//@children.3/@layout/@data.1" label="Predefined"/> |
| <children xsi:type="widget:RadioButton" name="foregroundNoValueRadio" layoutData="//@children.3/@layout/@data.2" label="None"/> |
| <children xsi:type="widget:Group" name="foregroundRGBValues" layoutData="//@children.3/@layout/@data.3" label="RGB Values"> |
| <children xsi:type="widget:Spin" name="foregroundRed" label="Red" maximum="255"/> |
| <children xsi:type="widget:Spin" name="foregroundGreen" label="Green" maximum="255"/> |
| <children xsi:type="widget:Spin" name="foregroundBlue" label="Blue" maximum="255"/> |
| <layout xsi:type="widget:GridLayout" columns="2"/> |
| </children> |
| <children xsi:type="widget:Group" name="foregroundPredefinedValue" layoutData="//@children.3/@layout/@data.4" label="Predefined Colors"> |
| <children xsi:type="widget:Combo" name="foregroundPredefinedColor"/> |
| <layout xsi:type="widget:GridLayout"/> |
| </children> |
| <layout xsi:type="widget:FormLayout"> |
| <data widget="//@children.3/@children.0"/> |
| <data widget="//@children.3/@children.1"> |
| <top control="//@children.3/@children.0" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.3/@children.2"> |
| <top control="//@children.3/@children.1" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.3/@children.3"> |
| <left control="//@children.3/@children.1" offset="10" align="RIGHT"/> |
| </data> |
| <data widget="//@children.3/@children.4"> |
| <left control="//@children.3/@children.1" offset="10" align="RIGHT"/> |
| </data> |
| </layout> |
| </children> |
| <children xsi:type="widget:Group" name="backgroundColor" layoutData="//@layout/@data.4" label="Background Color"> |
| <children xsi:type="widget:RadioButton" name="backgroundRgbRadio" layoutData="//@children.4/@layout/@data.0" label="RGB"/> |
| <children xsi:type="widget:RadioButton" name="backgroundPredeinedRadio" layoutData="//@children.4/@layout/@data.1" label="Predefined"/> |
| <children xsi:type="widget:RadioButton" name="backgroundNoRadio" layoutData="//@children.4/@layout/@data.2" label="None"/> |
| <children xsi:type="widget:Group" name="backgroundRGBValues" layoutData="//@children.4/@layout/@data.3" label="RGB Values"> |
| <children xsi:type="widget:Spin" name="backgroundRed" label="Red" maximum="255"/> |
| <children xsi:type="widget:Spin" name="backgroundGreen" label="Green" maximum="255"/> |
| <children xsi:type="widget:Spin" name="backgroundBlue" label="Blue" maximum="255"/> |
| <layout xsi:type="widget:GridLayout" columns="2"/> |
| </children> |
| <children xsi:type="widget:Group" name="backgroundPredefinedValue" layoutData="//@children.4/@layout/@data.4" label="Predefined Colors"> |
| <children xsi:type="widget:Combo" name="backgroundPredefinedColor"/> |
| <layout xsi:type="widget:GridLayout"/> |
| </children> |
| <layout xsi:type="widget:FormLayout"> |
| <data widget="//@children.4/@children.0"/> |
| <data widget="//@children.4/@children.1"> |
| <top control="//@children.4/@children.0" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.4/@children.2"> |
| <top control="//@children.4/@children.1" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.4/@children.3"> |
| <left control="//@children.4/@children.1" offset="10" align="RIGHT"/> |
| </data> |
| <data widget="//@children.4/@children.4"> |
| <left control="//@children.4/@children.1" offset="10" align="RIGHT"/> |
| </data> |
| </layout> |
| </children> |
| <children xsi:type="widget:Group" name="font" layoutData="//@layout/@data.5" label="Font"> |
| <children xsi:type="widget:CheckBox" name="fontSetFont" layoutData="//@children.5/@layout/@data.0" label="Set Font"/> |
| <children xsi:type="widget:TextEntry" name="fontFaceName" layoutData="//@children.5/@layout/@data.1" label="Face Name"/> |
| <children xsi:type="widget:Spin" name="fontHeight" layoutData="//@children.5/@layout/@data.2" label="Height" maximum="2147483647"/> |
| <children xsi:type="widget:Combo" name="fontStyle" layoutData="//@children.5/@layout/@data.3" label="Style"/> |
| <layout xsi:type="widget:GridLayout" columns="2"> |
| <data widget="//@children.5/@children.0" hSpan="2"/> |
| <data widget="//@children.5/@children.1" hGrab="true" hAlign="FILL"/> |
| <data widget="//@children.5/@children.2" hGrab="true" hAlign="FILL"/> |
| <data widget="//@children.5/@children.3" hGrab="true" hAlign="FILL"/> |
| </layout> |
| </children> |
| <layout xsi:type="widget:FormLayout"> |
| <data widget="//@children.0"> |
| <left offset="10"/> |
| </data> |
| <data widget="//@children.1"> |
| <left control="//@children.0" offset="10" align="RIGHT"/> |
| </data> |
| <data widget="//@children.2"> |
| <left control="//@children.0" offset="10" align="RIGHT"/> |
| <top control="//@children.1" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.3"> |
| <left control="//@children.1" offset="10" align="RIGHT"/> |
| </data> |
| <data widget="//@children.4"> |
| <left control="//@children.1" offset="10" align="RIGHT"/> |
| <top control="//@children.3" offset="5" align="BOTTOM"/> |
| </data> |
| <data widget="//@children.5"> |
| <left control="//@children.3" offset="10" align="RIGHT"/> |
| </data> |
| </layout> |
| <bindings selector="//@input.0" commitCondition="//@conditions.0" widget="//@children.0/@children.0" refreshCondition="//@conditions.0"/> |
| <bindings selector="//@input.0" commitCondition="//@conditions.1" widget="//@children.0/@children.1" refreshCondition="//@conditions.1"/> |
| <bindings selector="//@input.0" commitCondition="//@conditions.2" widget="//@children.0/@children.2" refreshCondition="//@conditions.2"/> |
| <bindings selector="//@input.0" commitCondition="//@conditions.3" widget="//@children.0/@children.3" refreshCondition="//@conditions.3"/> |
| <bindings selector="//@input.0" commitCondition="//@conditions.4" widget="//@children.0/@children.4" refreshCondition="//@conditions.4"/> |
| <bindings selector="//@input.0" commitCondition="//@conditions.5" widget="//@children.0/@children.5" refreshCondition="//@conditions.5"/> |
| <bindings selector="//@input.1" widget="//@children.1/@children.0"/> |
| <bindings selector="//@input.2" widget="//@children.1/@children.1"/> |
| <bindings selector="//@input.3" widget="//@children.1/@children.2"/> |
| <bindings selector="//@input.4" widget="//@children.1/@children.3"/> |
| <bindings selector="//@input.5" widget="//@children.1/@children.4"/> |
| <bindings selector="//@input.6" commitCondition="//@conditions.6" widget="//@children.2/@children.0" refreshCondition="//@conditions.6"/> |
| <bindings selector="//@input.7" commitCondition="//@conditions.6" widget="//@children.2/@children.1" refreshCondition="//@conditions.6"/> |
| <bindings selector="//@input.8" commitCondition="//@conditions.7" widget="//@children.3/@children.0" refreshCondition="//@conditions.7"/> |
| <bindings selector="//@input.8" commitCondition="//@conditions.8" widget="//@children.3/@children.1" refreshCondition="//@conditions.8"/> |
| <bindings selector="//@input.8" commitCondition="//@conditions.9" widget="//@children.3/@children.2" refreshCondition="//@conditions.9"/> |
| <bindings selector="//@input.8/@children.0" commitCondition="//@conditions.7" widget="//@children.3/@children.3/@children.0" refreshCondition="//@conditions.7"/> |
| <bindings selector="//@input.8/@children.1" commitCondition="//@conditions.7" widget="//@children.3/@children.3/@children.1" refreshCondition="//@conditions.7"/> |
| <bindings selector="//@input.8/@children.2" commitCondition="//@conditions.7" widget="//@children.3/@children.3/@children.2" refreshCondition="//@conditions.7"/> |
| <bindings selector="//@input.8/@children.3" commitCondition="//@conditions.8" widget="//@children.3/@children.4/@children.0" refreshCondition="//@conditions.8"/> |
| <bindings selector="//@input.9" commitCondition="//@conditions.10" widget="//@children.4/@children.0" refreshCondition="//@conditions.10"/> |
| <bindings selector="//@input.9" commitCondition="//@conditions.11" widget="//@children.4/@children.1" refreshCondition="//@conditions.11"/> |
| <bindings selector="//@input.9" commitCondition="//@conditions.12" widget="//@children.4/@children.2" refreshCondition="//@conditions.12"/> |
| <bindings selector="//@input.9/@children.0" commitCondition="//@conditions.10" widget="//@children.4/@children.3/@children.0" refreshCondition="//@conditions.10"/> |
| <bindings selector="//@input.9/@children.1" commitCondition="//@conditions.10" widget="//@children.4/@children.3/@children.1" refreshCondition="//@conditions.10"/> |
| <bindings selector="//@input.9/@children.2" commitCondition="//@conditions.10" widget="//@children.4/@children.3/@children.2" refreshCondition="//@conditions.10"/> |
| <bindings selector="//@input.9/@children.3" commitCondition="//@conditions.11" widget="//@children.4/@children.4/@children.0" refreshCondition="//@conditions.11"/> |
| <bindings selector="//@input.10" commitCondition="//@conditions.13" widget="//@children.5/@children.0" refreshCondition="//@conditions.13"/> |
| <bindings selector="//@input.10/@children.0" commitCondition="//@conditions.13" widget="//@children.5/@children.1" refreshCondition="//@conditions.13"/> |
| <bindings selector="//@input.10/@children.1" commitCondition="//@conditions.13" widget="//@children.5/@children.2" refreshCondition="//@conditions.13"/> |
| <bindings selector="//@input.10/@children.2" commitCondition="//@conditions.13" widget="//@children.5/@children.3" refreshCondition="//@conditions.13"/> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/lineKind"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/lineWidth"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/fill"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/outline"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/xorFill"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Shape/xorOutline"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RoundedRectangle/cornerWidth"/> |
| </input> |
| <input xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RoundedRectangle/cornerHeight"/> |
| </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#//RGBColor/red"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor/green"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor/blue"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//ConstantColor/value"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/foregroundColor"/> |
| </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#//RGBColor/red"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor/green"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor/blue"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//ConstantColor/value"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/backgroundColor"/> |
| </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#//BasicFont/faceName"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//BasicFont/height"/> |
| </children> |
| <children xsi:type="ctx:FeatureContext"> |
| <selector xsi:type="ecore:EAttribute" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//BasicFont/style"/> |
| </children> |
| <selector xsi:type="ecore:EReference" href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//Figure/font"/> |
| </input> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_SOLID_LITERAL"/> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_DASH_LITERAL"/> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_DOT_LITERAL"/> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_DASHDOT_LITERAL"/> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_DASHDOTDOT_LITERAL"/> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.0" value="LineKind.LINE_CUSTOM_LITERAL"/> |
| <conditions xsi:type="ctx:InstanceCondition"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RoundedRectangle"/> |
| </conditions> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.8"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor"/> |
| </conditions> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.8"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//ConstantColor"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.8" value="null"/> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.9"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//RGBColor"/> |
| </conditions> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.9"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//ConstantColor"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.9" value="null"/> |
| <conditions xsi:type="ctx:InstanceCondition" accessor="//@input.10"> |
| <type href="../../../plugin/org.eclipse.gmf.graphdef/models/gmfgraph.ecore#//BasicFont"/> |
| </conditions> |
| <conditions xsi:type="ctx:EqualsCondition" accessor="//@input.10" value="null"/> |
| <actions widgets="//@children.2" trigger="//@conditions.6"/> |
| <actions widgets="//@children.3/@children.3" trigger="//@conditions.7"/> |
| <actions widgets="//@children.3/@children.4" trigger="//@conditions.8"/> |
| <actions widgets="//@children.4/@children.3" trigger="//@conditions.10"/> |
| <actions widgets="//@children.4/@children.4" trigger="//@conditions.11"/> |
| <actions kind="ENABLE" widgets="//@children.5/@children.1 //@children.5/@children.2 //@children.5/@children.3" trigger="//@conditions.13"/> |
| <actions kind="DISABLE" widgets="//@children.5/@children.1 //@children.5/@children.2 //@children.5/@children.3" trigger="//@conditions.14"/> |
| </bind:Section> |