📄 simulator-a.ucd
字号:
<children xsi:type="editmodel:AssociationEndEditModel" name="bank" location="42,0" id="simulator/Bank@bank+simulator/Simulator@|simulator/Bank#bank" multiplicityLabel="//@children.4/@sourceConnections.0/@children.2/@children.1" roleLabel="//@children.4/@sourceConnections.0/@children.2/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ bank" location="146,312" size="36,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
<children xsi:type="editmodel:LabelEditModel" name="1" location="125,312" size="7,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
</children>
</sourceConnections>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/Supermarket@supermarket+simulator/Simulator@" source="//@children.4" target="//@children.6" targetEnd="//@children.4/@sourceConnections.1/@children.2" label="//@children.4/@sourceConnections.1/@children.0" sourceEnd="//@children.4/@sourceConnections.1/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" location="133,47" id="simulator/Supermarket@supermarket+simulator/Simulator@|simulator/Simulator#" attachSource="true"/>
<children xsi:type="editmodel:AssociationEndEditModel" name="supermarket" location="0,74" id="simulator/Supermarket@supermarket+simulator/Simulator@|simulator/Supermarket#supermarket" multiplicityLabel="//@children.4/@sourceConnections.1/@children.2/@children.1" roleLabel="//@children.4/@sourceConnections.1/@children.2/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ supermarket" location="229,103" size="73,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
<children xsi:type="editmodel:LabelEditModel" name="1" location="295,131" size="7,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
</children>
</sourceConnections>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.7/@sourceConnections.0" name="Queue" location="356,306" size="137,103" id="simulator/Queue" runTimeClassModel="requestCustomer(),getSize(),insert(Lsimulator.Customer;)">
<children xsi:type="editmodel:CompartmentEditModel"/>
<children xsi:type="editmodel:CompartmentEditModel" size="114,54">
<children xsi:type="editmodel:MethodEditModel" name="getSize" id="simulator/Queue#getSize()"/>
<children xsi:type="editmodel:MethodEditModel" name="insert" id="simulator/Queue#insert(Lsimulator.Customer;)"/>
<children xsi:type="editmodel:MethodEditModel" name="requestCustomer" id="simulator/Queue#requestCustomer()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/List@customers+simulator/Queue@" source="//@children.5" target="//@children.3" targetEnd="//@children.5/@sourceConnections.0/@children.2" label="//@children.5/@sourceConnections.0/@children.0" sourceEnd="//@children.5/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" location="117,103" id="simulator/List@customers+simulator/Queue@|simulator/Queue#" attachSource="true" roleLabel="//@children.5/@sourceConnections.0/@children.1/@children.0">
<children xsi:type="editmodel:LabelEditModel" location="465,416" size="1,14" fontInfo="Arial-8-0" anchorKind="FirstPart"/>
</children>
<children xsi:type="editmodel:AssociationEndEditModel" name="customers" location="0,20" id="simulator/List@customers+simulator/Queue@|simulator/List#customers" multiplicityLabel="//@children.5/@sourceConnections.0/@children.2/@children.1" roleLabel="//@children.5/@sourceConnections.0/@children.2/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ customers" location="484,482" size="64,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
<children xsi:type="editmodel:LabelEditModel" name="1" location="541,454" size="7,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
</children>
</sourceConnections>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/Queue@queue+simulator/Supermarket@" source="//@children.5" target="//@children.6" targetEnd="//@children.5/@sourceConnections.1/@children.2" label="//@children.5/@sourceConnections.1/@children.0" sourceEnd="//@children.5/@sourceConnections.1/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" name="queue" location="52,0" id="simulator/Queue@queue+simulator/Supermarket@|simulator/Queue#queue" attachSource="true" multiplicityLabel="//@children.5/@sourceConnections.1/@children.1/@children.1" roleLabel="//@children.5/@sourceConnections.1/@children.1/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ queue" location="415,285" size="43,14" fontInfo="Arial-8-0" anchorKind="FirstPart"/>
<children xsi:type="editmodel:LabelEditModel" name="0..*" location="384,285" size="17,14" fontInfo="Arial-8-0" anchorKind="FirstPart"/>
</children>
<children xsi:type="editmodel:AssociationEndEditModel" location="99,121" id="simulator/Queue@queue+simulator/Supermarket@|simulator/Supermarket#"/>
</sourceConnections>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.4/@sourceConnections.1 //@children.5/@sourceConnections.1" name="Supermarket" location="309,50" size="153,121" id="simulator/Supermarket" runTimeClassModel="requestCustomerFor(I),generateCustomer(),updateDisplay(),Supermarket()">
<children xsi:type="editmodel:CompartmentEditModel"/>
<children xsi:type="editmodel:CompartmentEditModel" size="130,72">
<children xsi:type="editmodel:MethodEditModel" name="Supermarket" id="simulator/Supermarket#Supermarket()"/>
<children xsi:type="editmodel:MethodEditModel" name="generateCustomer" id="simulator/Supermarket#generateCustomer()"/>
<children xsi:type="editmodel:MethodEditModel" name="requestCustomerFor" id="simulator/Supermarket#requestCustomerFor(I)"/>
<children xsi:type="editmodel:MethodEditModel" name="updateDisplay" id="simulator/Supermarket#updateDisplay()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.4/@sourceConnections.0" name="Bank" location="97,333" size="153,121" id="simulator/Bank" runTimeClassModel="Bank(),requestCustomerFor(I),generateCustomer(),updateDisplay()">
<children xsi:type="editmodel:CompartmentEditModel"/>
<children xsi:type="editmodel:CompartmentEditModel" size="130,72">
<children xsi:type="editmodel:MethodEditModel" name="Bank" id="simulator/Bank#Bank()"/>
<children xsi:type="editmodel:MethodEditModel" name="generateCustomer" id="simulator/Bank#generateCustomer()"/>
<children xsi:type="editmodel:MethodEditModel" name="requestCustomerFor" id="simulator/Bank#requestCustomerFor(I)"/>
<children xsi:type="editmodel:MethodEditModel" name="updateDisplay" id="simulator/Bank#updateDisplay()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/Queue@queue+simulator/Bank@" source="//@children.7" target="//@children.5" targetEnd="//@children.7/@sourceConnections.0/@children.2" label="//@children.7/@sourceConnections.0/@children.0" sourceEnd="//@children.7/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" location="153,38" id="simulator/Queue@queue+simulator/Bank@|simulator/Bank#" attachSource="true"/>
<children xsi:type="editmodel:AssociationEndEditModel" name="queue" location="0,65" id="simulator/Queue@queue+simulator/Bank@|simulator/Queue#queue" multiplicityLabel="//@children.7/@sourceConnections.0/@children.2/@children.1" roleLabel="//@children.7/@sourceConnections.0/@children.2/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ queue" location="306,350" size="43,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
<children xsi:type="editmodel:LabelEditModel" name="1" location="342,378" size="7,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
</children>
</sourceConnections>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<diagramOptions xsi:type="options:ClassDiagramOptions" interactive="false" level="-1" showScope="InPackage" properties="wireOptions=2"/>
<boardSetting snapToGeometry="true" gridEnabled="true" gridSpacing="10,10" gridOrigin="0,0" rulerUnit="pixel">
<leftRuler/>
<topRuler/>
</boardSetting>
<classDiagramPreferences xsi:type="editmodel:UMLClassDiagramPreference" attributeSorter="Natural" methodSorter="Natural" showClassStereotype="true" showPackageStereotype="true" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showInterfaceStereotype="true" showAttributeProperty="true"/>
</editmodel:ClassDiagramEditModel>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -