| <?xml version="1.0" encoding="UTF-8"?> |
| <gmfgraph:Canvas |
| xmi:version="2.0" |
| xmlns:xmi="http://www.omg.org/XMI" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:gmfgraph="http://www.eclipse.org/gmf/2006/GraphicalDefinition" |
| name="borders"> |
| <figures |
| name="Default"> |
| <descriptors |
| name="LineBorderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="LineBorderFigure"> |
| <layout |
| xsi:type="gmfgraph:StackLayout"/> |
| <insets |
| top="10" |
| left="10" |
| bottom="10" |
| right="10"/> |
| <border |
| xsi:type="gmfgraph:LineBorder" |
| width="5"> |
| <color |
| xsi:type="gmfgraph:ConstantColor" |
| value="green"/> |
| </border> |
| <children |
| xsi:type="gmfgraph:RoundedRectangle" |
| cornerWidth="12" |
| cornerHeight="12"> |
| <backgroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="blue"/> |
| </children> |
| </actualFigure> |
| </descriptors> |
| <descriptors |
| name="MarginBorderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="MarginBorderFigure"> |
| <layout |
| xsi:type="gmfgraph:StackLayout"/> |
| <insets |
| top="10" |
| left="10" |
| bottom="10" |
| right="10"/> |
| <border |
| xsi:type="gmfgraph:MarginBorder"> |
| <insets |
| top="5" |
| left="5" |
| bottom="5" |
| right="5"/> |
| </border> |
| <children |
| xsi:type="gmfgraph:RoundedRectangle"> |
| <backgroundColor |
| xsi:type="gmfgraph:RGBColor" |
| red="150" |
| green="100" |
| blue="13"/> |
| </children> |
| </actualFigure> |
| </descriptors> |
| <descriptors |
| name="CompoundBorderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="CompoundBorderFigure"> |
| <layout |
| xsi:type="gmfgraph:StackLayout"/> |
| <border |
| xsi:type="gmfgraph:CompoundBorder"> |
| <outer |
| xsi:type="gmfgraph:LineBorder" |
| width="10"> |
| <color |
| xsi:type="gmfgraph:ConstantColor" |
| value="cyan"/> |
| </outer> |
| <inner |
| xsi:type="gmfgraph:CompoundBorder"> |
| <outer |
| xsi:type="gmfgraph:LineBorder" |
| width="10"> |
| <color |
| xsi:type="gmfgraph:ConstantColor" |
| value="green"/> |
| </outer> |
| <inner |
| xsi:type="gmfgraph:CompoundBorder"> |
| <outer |
| xsi:type="gmfgraph:LineBorder" |
| width="10"> |
| <color |
| xsi:type="gmfgraph:ConstantColor"/> |
| </outer> |
| <inner |
| xsi:type="gmfgraph:LineBorder" |
| width="10"> |
| <color |
| xsi:type="gmfgraph:ConstantColor" |
| value="red"/> |
| </inner> |
| </inner> |
| </inner> |
| </border> |
| <children |
| xsi:type="gmfgraph:RoundedRectangle" |
| cornerWidth="15" |
| cornerHeight="15"> |
| <foregroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="darkBlue"/> |
| <backgroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="orange"/> |
| </children> |
| </actualFigure> |
| </descriptors> |
| <descriptors |
| name="CustomBorderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="CustomFigure"> |
| <border |
| xsi:type="gmfgraph:CustomBorder" |
| qualifiedClassName="borders.diagram.custom.CustomBorder"/> |
| </actualFigure> |
| </descriptors> |
| </figures> |
| <nodes |
| name="LineBorder" |
| figure="LineBorderFigure"/> |
| <nodes |
| name="MarginBorder" |
| figure="MarginBorderFigure"/> |
| <nodes |
| name="CompoundBorder" |
| figure="CompoundBorderFigure"/> |
| <nodes |
| name="CustomBorder" |
| figure="CustomBorderFigure"/> |
| </gmfgraph:Canvas> |