| <?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="taipan"> |
| <figures |
| name="nodes"> |
| <descriptors |
| name="ShipFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="ShipFigure"> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="ShipNameFigure" |
| text="<...>"/> |
| </actualFigure> |
| <accessors |
| figure="//@figures.0/@descriptors.0/@actualFigure/@children.0"/> |
| </descriptors> |
| <descriptors |
| name="LargeItemFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="LargeItemFigure"> |
| <layout |
| xsi:type="gmfgraph:CustomLayout" |
| qualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.ConstrainedToolbarLayout"/> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="LargeItemArticleFigure" |
| text="<...>"/> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="LargeItemWeightFigure" |
| text="<...>"/> |
| </actualFigure> |
| <accessors |
| figure="//@figures.0/@descriptors.1/@actualFigure/@children.0"/> |
| <accessors |
| figure="//@figures.0/@descriptors.1/@actualFigure/@children.1"/> |
| </descriptors> |
| <descriptors |
| name="SmallCargoFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="SmallCargoFigure"/> |
| </descriptors> |
| <descriptors |
| name="LargeCargoFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Rectangle" |
| name="LargeCargoFigure"/> |
| </descriptors> |
| <descriptors |
| name="SmallItemsFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Label" |
| name="SmallItemsFigure" |
| text="<...>"/> |
| </descriptors> |
| <descriptors |
| name="PortFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:CustomFigure" |
| name="PortFigure" |
| qualifiedClassName="org.eclipse.draw2d.Layer"> |
| <layout |
| xsi:type="gmfgraph:XYLayout"/> |
| <maximumSize |
| dx="60" |
| dy="50"/> |
| <minimumSize |
| dx="60" |
| dy="50"/> |
| <preferredSize |
| dx="60" |
| dy="50"/> |
| <size |
| x="60" |
| y="50"/> |
| <children |
| xsi:type="gmfgraph:Rectangle" |
| name="Walls"> |
| <layoutData |
| xsi:type="gmfgraph:XYLayoutData"> |
| <topLeft |
| x="10" |
| y="40"/> |
| <size |
| dx="40" |
| dy="10"/> |
| </layoutData> |
| <foregroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="black"/> |
| <backgroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="darkGray"/> |
| </children> |
| <children |
| xsi:type="gmfgraph:Polygon" |
| name="MainRoof"> |
| <foregroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="orange"/> |
| <backgroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="orange"/> |
| <template |
| x="30" |
| y="10"/> |
| <template |
| x="60" |
| y="40"/> |
| <template |
| y="40"/> |
| </children> |
| <children |
| xsi:type="gmfgraph:Polygon" |
| name="TopRoof"> |
| <foregroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="orange"/> |
| <backgroundColor |
| xsi:type="gmfgraph:ConstantColor" |
| value="orange"/> |
| <template |
| x="30"/> |
| <template |
| x="50" |
| y="20"/> |
| <template |
| x="10" |
| y="20"/> |
| </children> |
| </actualFigure> |
| </descriptors> |
| <descriptors |
| name="PortLocationFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:Label" |
| name="PortLocationFigure" |
| text="<...>"/> |
| </descriptors> |
| </figures> |
| <figures |
| name="images" |
| implementationBundle="org.eclipse.gmf.runtime.draw2d.ui.render"> |
| <descriptors |
| name="EmptyBoxFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:CustomFigure" |
| name="EmptyBoxFigure" |
| qualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableImageFigure"/> |
| </descriptors> |
| </figures> |
| <figures |
| name="links"> |
| <descriptors |
| name="ReliableRouteFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:PolylineConnection" |
| name="ReliableRouteFigure"> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="ReliableRouteDescriptionFigure" |
| text="<...>"/> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="ReliableRouteReliabilityFigure" |
| text="<...>"/> |
| </actualFigure> |
| <accessors |
| figure="//@figures.2/@descriptors.0/@actualFigure/@children.0"/> |
| <accessors |
| figure="//@figures.2/@descriptors.0/@actualFigure/@children.1"/> |
| </descriptors> |
| <descriptors |
| name="UnreliableRouteFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:PolylineConnection" |
| name="UnreliableRouteFigure" |
| lineKind="LINE_DASH"> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="UnreliableRouteDescriptionFigure" |
| text="<...>"/> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="UnreliableRouteReliabilityFigure" |
| text="<...>"/> |
| </actualFigure> |
| <accessors |
| figure="//@figures.2/@descriptors.1/@actualFigure/@children.0"/> |
| <accessors |
| figure="//@figures.2/@descriptors.1/@actualFigure/@children.1"/> |
| </descriptors> |
| <descriptors |
| name="ShipDestinationFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:PolylineConnection" |
| name="ShipDestinationFigure" |
| targetDecoration="//@figures.2/@descriptors.2/@actualFigure/@children.0"> |
| <children |
| xsi:type="gmfgraph:PolylineDecoration" |
| name="ShipDestinationTargetFigure"/> |
| <children |
| xsi:type="gmfgraph:Label" |
| name="ShipDestinationMarkerFigure" |
| text="destination"/> |
| </actualFigure> |
| <accessors |
| figure="//@figures.2/@descriptors.2/@actualFigure/@children.1"/> |
| </descriptors> |
| <descriptors |
| name="EscortShipsOrderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:PolylineConnection" |
| name="EscortShipsOrderFigure" |
| lineWidth="3" |
| targetDecoration="//@figures.2/@descriptors.3/@actualFigure/@children.0"> |
| <children |
| xsi:type="gmfgraph:PolylineDecoration" |
| name="EscortShipsOrderDecoration" |
| lineWidth="3"/> |
| </actualFigure> |
| </descriptors> |
| <descriptors |
| name="BesiegePortOrderFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:CustomFigure" |
| name="BesiegePortOrderFigure" |
| qualifiedClassName="org.eclipse.gmf.examples.taipan.figures.ArrowConnection"/> |
| </descriptors> |
| <descriptors |
| name="RegistrationFigure"> |
| <actualFigure |
| xsi:type="gmfgraph:PolylineConnection" |
| name="RegistrationFigure" |
| lineKind="LINE_DASH"/> |
| </descriptors> |
| </figures> |
| <nodes |
| name="Port" |
| figure="PortFigure" |
| resizeConstraint="NONE"/> |
| <nodes |
| name="Ship" |
| figure="ShipFigure"/> |
| <nodes |
| name="LargeItem" |
| figure="LargeItemFigure"/> |
| <nodes |
| name="EmptyBox" |
| figure="EmptyBoxFigure"/> |
| <connections |
| name="ShipDestination" |
| figure="ShipDestinationFigure"/> |
| <connections |
| name="ReliableRoute" |
| figure="ReliableRouteFigure"/> |
| <connections |
| name="UnreliableRoute" |
| figure="UnreliableRouteFigure"/> |
| <connections |
| name="EscortShipsOrder" |
| figure="EscortShipsOrderFigure"/> |
| <connections |
| name="BesiegePortOrder" |
| figure="BesiegePortOrderFigure"/> |
| <connections |
| name="Registration" |
| figure="RegistrationFigure"/> |
| <compartments |
| name="SmallCargo" |
| figure="SmallCargoFigure" |
| collapsible="true" |
| needsTitle="true"/> |
| <compartments |
| name="LargeCargo" |
| figure="LargeCargoFigure"/> |
| <labels |
| name="PortLocation" |
| figure="PortLocationFigure" |
| elementIcon="false"/> |
| <labels |
| name="ShipName" |
| figure="ShipFigure" |
| accessor="//@figures.0/@descriptors.0/@accessors.0"/> |
| <labels |
| name="SmallItems" |
| figure="SmallItemsFigure" |
| elementIcon="false"/> |
| <labels |
| name="LargeItemArticle" |
| figure="LargeItemFigure" |
| accessor="//@figures.0/@descriptors.1/@accessors.0"/> |
| <labels |
| name="LargeItemWeight" |
| figure="LargeItemFigure" |
| elementIcon="false" |
| accessor="//@figures.0/@descriptors.1/@accessors.1"/> |
| <labels |
| name="ReliableRouteDescription" |
| figure="ReliableRouteFigure" |
| accessor="//@figures.2/@descriptors.0/@accessors.0"/> |
| <labels |
| name="ReliableRouteReliability" |
| figure="ReliableRouteFigure" |
| elementIcon="false" |
| accessor="//@figures.2/@descriptors.0/@accessors.1"/> |
| <labels |
| name="ShipDestinationMarker" |
| figure="ShipDestinationFigure" |
| elementIcon="false" |
| accessor="//@figures.2/@descriptors.2/@accessors.0"/> |
| <labels |
| name="UnreliableRouteDescription" |
| figure="UnreliableRouteFigure" |
| accessor="//@figures.2/@descriptors.1/@accessors.0"/> |
| <labels |
| name="UnreliableRouteReliability" |
| figure="UnreliableRouteFigure" |
| elementIcon="false" |
| accessor="//@figures.2/@descriptors.1/@accessors.1"/> |
| </gmfgraph:Canvas> |