{ "_type": "Project", "_id": "AAAAAAFF+h6SjaM2Hec=", "name": "Untitled", "ownedElements": [ { "_type": "UMLModel", "_id": "AAAAAAFF+qBWK6M3Z8Y=", "_parent": { "$ref": "AAAAAAFF+h6SjaM2Hec=" }, "name": "Model", "ownedElements": [ { "_type": "UMLClassDiagram", "_id": "AAAAAAFF+qBtyKM79qY=", "_parent": { "$ref": "AAAAAAFF+qBWK6M3Z8Y=" }, "name": "Main", "defaultDiagram": true } ] }, { "_type": "UMLCollaboration", "_id": "AAAAAAGFMIpfVUIT4UE=", "_parent": { "$ref": "AAAAAAFF+h6SjaM2Hec=" }, "name": "Collaboration1", "ownedElements": [ { "_type": "UMLInteraction", "_id": "AAAAAAGFMIpfV0IUW7I=", "_parent": { "$ref": "AAAAAAGFMIpfVUIT4UE=" }, "name": "Interaction1", "ownedElements": [ { "_type": "UMLSequenceDiagram", "_id": "AAAAAAGFMIpfWUIVNZ8=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "OnDragStart", "ownedViews": [ { "_type": "UMLFrameView", "_id": "AAAAAAGFMIpfWUIW62E=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMIpfWkIXSac=", "_parent": { "$ref": "AAAAAAGFMIpfWUIW62E=" }, "font": "Arial;13;0", "left": 32.72998046875, "top": 13, "width": 73.97265625, "height": 13, "text": "OnDragStart" }, { "_type": "LabelView", "_id": "AAAAAAGFMIpfWkIYtAU=", "_parent": { "$ref": "AAAAAAGFMIpfWUIW62E=" }, "font": "Arial;13;1", "left": 13, "top": 13, "width": 14.72998046875, "height": 13, "text": "sd" } ], "font": "Arial;13;0", "left": 8, "top": 8, "width": 737, "height": 592, "nameLabel": { "$ref": "AAAAAAGFMIpfWkIXSac=" }, "frameTypeLabel": { "$ref": "AAAAAAGFMIpfWkIYtAU=" } }, { "_type": "UMLSeqLifelineView", "_id": "AAAAAAGFMIpyNkIkxa4=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMIpyNkIjW48=" }, "subViews": [ { "_type": "UMLNameCompartmentView", "_id": "AAAAAAGFMIpyNkIlDhY=", "_parent": { "$ref": "AAAAAAGFMIpyNkIkxa4=" }, "model": { "$ref": "AAAAAAGFMIpyNkIjW48=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMIpyNkImhoo=", "_parent": { "$ref": "AAAAAAGFMIpyNkIlDhY=" }, "visible": false, "font": "Arial;13;0", "left": 80, "height": 13 }, { "_type": "LabelView", "_id": "AAAAAAGFMIpyNkInG3Q=", "_parent": { "$ref": "AAAAAAGFMIpyNkIlDhY=" }, "font": "Arial;13;1", "left": 165, "top": 47, "width": 62.736328125, "height": 13, "text": "User" }, { "_type": "LabelView", "_id": "AAAAAAGFMIpyNkIoZBs=", "_parent": { "$ref": "AAAAAAGFMIpyNkIlDhY=" }, "visible": false, "font": "Arial;13;0", "left": 80, "width": 106.20263671875, "height": 13, "text": "(from Interaction1)" }, { "_type": "LabelView", "_id": "AAAAAAGFMIpyN0IpRZE=", "_parent": { "$ref": "AAAAAAGFMIpyNkIlDhY=" }, "visible": false, "font": "Arial;13;0", "left": 80, "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 160, "top": 40, "width": 72.736328125, "height": 40, "stereotypeLabel": { "$ref": "AAAAAAGFMIpyNkImhoo=" }, "nameLabel": { "$ref": "AAAAAAGFMIpyNkInG3Q=" }, "namespaceLabel": { "$ref": "AAAAAAGFMIpyNkIoZBs=" }, "propertyLabel": { "$ref": "AAAAAAGFMIpyN0IpRZE=" } }, { "_type": "UMLLinePartView", "_id": "AAAAAAGFMIpyN0Iqs4A=", "_parent": { "$ref": "AAAAAAGFMIpyNkIkxa4=" }, "model": { "$ref": "AAAAAAGFMIpyNkIjW48=" }, "font": "Arial;13;0", "left": 196, "top": 80, "width": 1, "height": 489 } ], "font": "Arial;13;0", "left": 160, "top": 40, "width": 72.736328125, "height": 529, "nameCompartment": { "$ref": "AAAAAAGFMIpyNkIlDhY=" }, "linePart": { "$ref": "AAAAAAGFMIpyN0Iqs4A=" } }, { "_type": "UMLSeqLifelineView", "_id": "AAAAAAGFMIuBTUJHyAc=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "subViews": [ { "_type": "UMLNameCompartmentView", "_id": "AAAAAAGFMIuBTUJIdDA=", "_parent": { "$ref": "AAAAAAGFMIuBTUJHyAc=" }, "model": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMIuBTkJJaX8=", "_parent": { "$ref": "AAAAAAGFMIuBTUJIdDA=" }, "visible": false, "font": "Arial;13;0", "height": 13 }, { "_type": "LabelView", "_id": "AAAAAAGFMIuBTkJKZNU=", "_parent": { "$ref": "AAAAAAGFMIuBTUJIdDA=" }, "font": "Arial;13;1", "left": 405, "top": 47, "width": 105.341796875, "height": 13, "text": "InventoryComp" }, { "_type": "LabelView", "_id": "AAAAAAGFMIuBTkJLRO4=", "_parent": { "$ref": "AAAAAAGFMIuBTUJIdDA=" }, "visible": false, "font": "Arial;13;0", "width": 106.20263671875, "height": 13, "text": "(from Interaction1)" }, { "_type": "LabelView", "_id": "AAAAAAGFMIuBTkJM/QU=", "_parent": { "$ref": "AAAAAAGFMIuBTUJIdDA=" }, "visible": false, "font": "Arial;13;0", "height": 13, "horizontalAlignment": 1 } ], "font": "Arial;13;0", "left": 400, "top": 40, "width": 115.341796875, "height": 40, "stereotypeLabel": { "$ref": "AAAAAAGFMIuBTkJJaX8=" }, "nameLabel": { "$ref": "AAAAAAGFMIuBTkJKZNU=" }, "namespaceLabel": { "$ref": "AAAAAAGFMIuBTkJLRO4=" }, "propertyLabel": { "$ref": "AAAAAAGFMIuBTkJM/QU=" } }, { "_type": "UMLLinePartView", "_id": "AAAAAAGFMIuBTkJNPcM=", "_parent": { "$ref": "AAAAAAGFMIuBTUJHyAc=" }, "model": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "font": "Arial;13;0", "left": 458, "top": 80, "width": 1, "height": 489 } ], "font": "Arial;13;0", "left": 400, "top": 40, "width": 115.341796875, "height": 529, "nameCompartment": { "$ref": "AAAAAAGFMIuBTUJIdDA=" }, "linePart": { "$ref": "AAAAAAGFMIuBTkJNPcM=" } }, { "_type": "UMLSeqMessageView", "_id": "AAAAAAGFMIvZh0JntI4=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMIvZhEJmC/I=" }, "subViews": [ { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIvZiEJormM=", "_parent": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "model": { "$ref": "AAAAAAGFMIvZhEJmC/I=" }, "font": "Arial;13;0", "left": 275, "top": 110, "width": 92.4853515625, "height": 13, "alpha": -4.532536360592353, "distance": 11.180339887498949, "hostEdge": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "edgePosition": 1, "text": "1 : Drag an item" }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIvZiEJp/3A=", "_parent": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "model": { "$ref": "AAAAAAGFMIvZhEJmC/I=" }, "visible": false, "font": "Arial;13;0", "left": 323, "top": 97, "height": 13, "alpha": 1.5707963267948966, "distance": 25, "hostEdge": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "edgePosition": 1 }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIvZiEJqr/s=", "_parent": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "model": { "$ref": "AAAAAAGFMIvZhEJmC/I=" }, "visible": false, "font": "Arial;13;0", "left": 323, "top": 132, "height": 13, "alpha": -1.5707963267948966, "distance": 10, "hostEdge": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "edgePosition": 1 }, { "_type": "UMLActivationView", "_id": "AAAAAAGFMIvZiEJrc6o=", "_parent": { "$ref": "AAAAAAGFMIvZh0JntI4=" }, "model": { "$ref": "AAAAAAGFMIvZhEJmC/I=" }, "font": "Arial;13;0", "left": 451, "top": 128, "width": 14, "height": 29 } ], "font": "Arial;13;0", "head": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "tail": { "$ref": "AAAAAAGFMIpyN0Iqs4A=" }, "points": "196:128;451:128", "nameLabel": { "$ref": "AAAAAAGFMIvZiEJormM=" }, "stereotypeLabel": { "$ref": "AAAAAAGFMIvZiEJp/3A=" }, "propertyLabel": { "$ref": "AAAAAAGFMIvZiEJqr/s=" }, "activation": { "$ref": "AAAAAAGFMIvZiEJrc6o=" } }, { "_type": "UMLSeqMessageView", "_id": "AAAAAAGFMIwMYEJ9a30=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMIwMXkJ8FHY=" }, "subViews": [ { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIwMYUJ+zrM=", "_parent": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "model": { "$ref": "AAAAAAGFMIwMXkJ8FHY=" }, "font": "Arial;13;0", "left": 495, "top": 149, "width": 233, "height": 13, "alpha": 1.562320954110059, "distance": 118.00423721205946, "hostEdge": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "edgePosition": 1, "text": "2 : Store the dragged item in a variable", "wordWrap": true }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIwMYUJ/TGE=", "_parent": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "model": { "$ref": "AAAAAAGFMIwMXkJ8FHY=" }, "visible": false, "font": "Arial;13;0", "left": 518, "top": 147, "height": 13, "alpha": 1.5707963267948966, "distance": 25, "hostEdge": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "edgePosition": 1 }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMIwMYUKAX5Y=", "_parent": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "model": { "$ref": "AAAAAAGFMIwMXkJ8FHY=" }, "visible": false, "font": "Arial;13;0", "left": 484, "top": 148, "height": 13, "alpha": -1.5707963267948966, "distance": 10, "hostEdge": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "edgePosition": 1 }, { "_type": "UMLActivationView", "_id": "AAAAAAGFMIwMYUKBM1o=", "_parent": { "$ref": "AAAAAAGFMIwMYEJ9a30=" }, "model": { "$ref": "AAAAAAGFMIwMXkJ8FHY=" }, "font": "Arial;13;0", "left": 451, "top": 164, "width": 14, "height": 77 } ], "font": "Arial;13;0", "head": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "tail": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "points": "464:144;494:144;494:164;464:164", "nameLabel": { "$ref": "AAAAAAGFMIwMYUJ+zrM=" }, "stereotypeLabel": { "$ref": "AAAAAAGFMIwMYUJ/TGE=" }, "propertyLabel": { "$ref": "AAAAAAGFMIwMYUKAX5Y=" }, "activation": { "$ref": "AAAAAAGFMIwMYUKBM1o=" } }, { "_type": "UMLCombinedFragmentView", "_id": "AAAAAAGFMJCtAkLHmw4=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMJCtAULF6VM=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJCtA0LI3pQ=", "_parent": { "$ref": "AAAAAAGFMJCtAkLHmw4=" }, "font": "Arial;13;0", "left": 40.72998046875, "top": 165, "width": 7.5, "height": 13, "text": "if" }, { "_type": "LabelView", "_id": "AAAAAAGFMJCtA0LJSA0=", "_parent": { "$ref": "AAAAAAGFMJCtAkLHmw4=" }, "font": "Arial;13;1", "left": 21, "top": 165, "width": 14.72998046875, "height": 13, "text": "alt" }, { "_type": "UMLInteractionOperandCompartmentView", "_id": "AAAAAAGFMJCtA0LKjSI=", "_parent": { "$ref": "AAAAAAGFMJCtAkLHmw4=" }, "model": { "$ref": "AAAAAAGFMJCtAULF6VM=" }, "subViews": [ { "_type": "UMLInteractionOperandView", "_id": "AAAAAAGFMJCtPULWTTk=", "_parent": { "$ref": "AAAAAAGFMJCtA0LKjSI=" }, "model": { "$ref": "AAAAAAGFMJCtAkLGAWw=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJCtPkLXWwo=", "_parent": { "$ref": "AAAAAAGFMJCtPULWTTk=" }, "font": "Arial;13;0", "left": 36, "top": 198, "width": 178.45166015625, "height": 13, "text": "[The item is from the inventory]" } ], "font": "Arial;13;0", "left": 16, "top": 183, "width": 801, "height": 234, "guardLabel": { "$ref": "AAAAAAGFMJCtPkLXWwo=" } }, { "_type": "UMLInteractionOperandView", "_id": "AAAAAAGFMJDhR0LhmYc=", "_parent": { "$ref": "AAAAAAGFMJCtA0LKjSI=" }, "model": { "$ref": "AAAAAAGFMJDhFELebvE=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJDhR0Li7ac=", "_parent": { "$ref": "AAAAAAGFMJDhR0LhmYc=" }, "font": "Arial;13;0", "left": 36, "top": 432, "width": 175.5634765625, "height": 13, "text": "[The item is from the dataGrid]" } ], "font": "Arial;13;0", "left": 16, "top": 417, "width": 801, "height": 57, "guardLabel": { "$ref": "AAAAAAGFMJDhR0Li7ac=" } } ], "font": "Arial;13;0", "left": 16, "top": 183, "width": 801, "height": 291 } ], "font": "Arial;13;0", "left": 16, "top": 160, "width": 801, "height": 369, "nameLabel": { "$ref": "AAAAAAGFMJCtA0LI3pQ=" }, "frameTypeLabel": { "$ref": "AAAAAAGFMJCtA0LJSA0=" }, "operandCompartment": { "$ref": "AAAAAAGFMJCtA0LKjSI=" } }, { "_type": "UMLCombinedFragmentView", "_id": "AAAAAAGFMJYCmUM7OuA=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMJYClkM5WaY=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJYCmkM86BA=", "_parent": { "$ref": "AAAAAAGFMJYCmUM7OuA=" }, "font": "Arial;13;0", "left": 120.72998046875, "top": 221, "width": 7.5, "height": 13, "text": "if" }, { "_type": "LabelView", "_id": "AAAAAAGFMJYCmkM94kY=", "_parent": { "$ref": "AAAAAAGFMJYCmUM7OuA=" }, "font": "Arial;13;1", "left": 101, "top": 221, "width": 14.72998046875, "height": 13, "text": "alt" }, { "_type": "UMLInteractionOperandCompartmentView", "_id": "AAAAAAGFMJYCmkM+mv4=", "_parent": { "$ref": "AAAAAAGFMJYCmUM7OuA=" }, "model": { "$ref": "AAAAAAGFMJYClkM5WaY=" }, "subViews": [ { "_type": "UMLInteractionOperandView", "_id": "AAAAAAGFMJYC4UNKC3o=", "_parent": { "$ref": "AAAAAAGFMJYCmkM+mv4=" }, "model": { "$ref": "AAAAAAGFMJYCmEM6spc=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJYC4UNLqg4=", "_parent": { "$ref": "AAAAAAGFMJYC4UNKC3o=" }, "font": "Arial;13;0", "left": 116, "top": 254, "width": 57.79541015625, "height": 13, "text": "[Left click]" } ], "font": "Arial;13;0", "left": 96, "top": 239, "width": 633, "height": 43, "guardLabel": { "$ref": "AAAAAAGFMJYC4UNLqg4=" } }, { "_type": "UMLInteractionOperandView", "_id": "AAAAAAGFMJdt/UNkhbA=", "_parent": { "$ref": "AAAAAAGFMJYCmkM+mv4=" }, "model": { "$ref": "AAAAAAGFMJdtxUNh1gc=" }, "subViews": [ { "_type": "LabelView", "_id": "AAAAAAGFMJdt/UNlXSc=", "_parent": { "$ref": "AAAAAAGFMJdt/UNkhbA=" }, "font": "Arial;13;0", "left": 116, "top": 297, "width": 66.4599609375, "height": 13, "text": "[Right click]" } ], "font": "Arial;13;0", "left": 96, "top": 282, "width": 633, "height": 48, "guardLabel": { "$ref": "AAAAAAGFMJdt/UNlXSc=" } } ], "font": "Arial;13;0", "left": 96, "top": 239, "width": 633, "height": 91 } ], "font": "Arial;13;0", "left": 96, "top": 216, "width": 633, "height": 145, "nameLabel": { "$ref": "AAAAAAGFMJYCmkM86BA=" }, "frameTypeLabel": { "$ref": "AAAAAAGFMJYCmkM94kY=" }, "operandCompartment": { "$ref": "AAAAAAGFMJYCmkM+mv4=" } }, { "_type": "UMLSeqMessageView", "_id": "AAAAAAGFMJtRjkPjWao=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMJtRjUPioYE=" }, "subViews": [ { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJtRj0PkXhY=", "_parent": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "model": { "$ref": "AAAAAAGFMJtRjUPioYE=" }, "font": "Arial;13;0", "left": 495, "top": 224, "width": 229, "height": 39, "alpha": 1.4933642464878982, "distance": 116.3486140871476, "hostEdge": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "edgePosition": 1, "text": "3 : Set the item in the inventory to null and the number of items to -1(so that the inventory space is empty)", "wordWrap": true }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJtRj0PlTEA=", "_parent": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "model": { "$ref": "AAAAAAGFMJtRjUPioYE=" }, "visible": false, "font": "Arial;13;0", "left": 518, "top": 227, "height": 13, "alpha": 1.5707963267948966, "distance": 25, "hostEdge": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "edgePosition": 1 }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJtRj0PmmO8=", "_parent": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "model": { "$ref": "AAAAAAGFMJtRjUPioYE=" }, "visible": false, "font": "Arial;13;0", "left": 484, "top": 228, "height": 13, "alpha": -1.5707963267948966, "distance": 10, "hostEdge": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "edgePosition": 1 }, { "_type": "UMLActivationView", "_id": "AAAAAAGFMJtRj0PnKaw=", "_parent": { "$ref": "AAAAAAGFMJtRjkPjWao=" }, "model": { "$ref": "AAAAAAGFMJtRjUPioYE=" }, "font": "Arial;13;0", "left": 451, "top": 244, "width": 14, "height": 29 } ], "font": "Arial;13;0", "head": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "tail": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "points": "464:224;494:224;494:244;464:244", "nameLabel": { "$ref": "AAAAAAGFMJtRj0PkXhY=" }, "stereotypeLabel": { "$ref": "AAAAAAGFMJtRj0PlTEA=" }, "propertyLabel": { "$ref": "AAAAAAGFMJtRj0PmmO8=" }, "activation": { "$ref": "AAAAAAGFMJtRj0PnKaw=" } }, { "_type": "UMLSeqMessageView", "_id": "AAAAAAGFMJwfR0Qiiqk=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMJwfRUQhABM=" }, "subViews": [ { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJwfR0QjKHA=", "_parent": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "model": { "$ref": "AAAAAAGFMJwfRUQhABM=" }, "font": "Arial;13;0", "left": 492, "top": 296, "width": 220, "height": 39, "alpha": 1.4926936558387767, "distance": 115.35163631262454, "hostEdge": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "edgePosition": 1, "text": "4 : Divide the nb of item by in the current index and put the same number of item to the dragged item", "wordWrap": true }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJwfSEQkA/A=", "_parent": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "model": { "$ref": "AAAAAAGFMJwfRUQhABM=" }, "visible": false, "font": "Arial;13;0", "left": 512, "top": 299, "height": 13, "alpha": 1.5707963267948966, "distance": 25, "hostEdge": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "edgePosition": 1 }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJwfSEQls9M=", "_parent": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "model": { "$ref": "AAAAAAGFMJwfRUQhABM=" }, "visible": false, "font": "Arial;13;0", "left": 478, "top": 300, "height": 13, "alpha": -1.5707963267948966, "distance": 10, "hostEdge": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "edgePosition": 1 }, { "_type": "UMLActivationView", "_id": "AAAAAAGFMJwfSEQmcVU=", "_parent": { "$ref": "AAAAAAGFMJwfR0Qiiqk=" }, "model": { "$ref": "AAAAAAGFMJwfRUQhABM=" }, "font": "Arial;13;0", "left": 451, "top": 316, "width": 14, "height": 29 } ], "font": "Arial;13;0", "head": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "tail": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "points": "458:296;488:296;488:316;464:316", "nameLabel": { "$ref": "AAAAAAGFMJwfR0QjKHA=" }, "stereotypeLabel": { "$ref": "AAAAAAGFMJwfSEQkA/A=" }, "propertyLabel": { "$ref": "AAAAAAGFMJwfSEQls9M=" }, "activation": { "$ref": "AAAAAAGFMJwfSEQmcVU=" } }, { "_type": "UMLSeqMessageView", "_id": "AAAAAAGFMJmKA0OoZzA=", "_parent": { "$ref": "AAAAAAGFMIpfWUIVNZ8=" }, "model": { "$ref": "AAAAAAGFMJmKAkOnJD4=" }, "subViews": [ { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJmKA0OpX4Y=", "_parent": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "model": { "$ref": "AAAAAAGFMJmKAkOnJD4=" }, "font": "Arial;13;0", "left": 496, "top": 455, "width": 227, "height": 52, "alpha": 1.4484585029072574, "distance": 122.9186723000212, "hostEdge": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "edgePosition": 1, "text": "5 : Set the number dragged number of items to 1 and the current drag index to -1 to signify that the item is from the datagrid", "wordWrap": true }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJmKA0OqPxQ=", "_parent": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "model": { "$ref": "AAAAAAGFMJmKAkOnJD4=" }, "visible": false, "font": "Arial;13;0", "left": 512, "top": 459, "height": 13, "alpha": 1.5707963267948966, "distance": 25, "hostEdge": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "edgePosition": 1 }, { "_type": "EdgeLabelView", "_id": "AAAAAAGFMJmKA0OrFyI=", "_parent": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "model": { "$ref": "AAAAAAGFMJmKAkOnJD4=" }, "visible": false, "font": "Arial;13;0", "left": 478, "top": 460, "height": 13, "alpha": -1.5707963267948966, "distance": 10, "hostEdge": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "edgePosition": 1 }, { "_type": "UMLActivationView", "_id": "AAAAAAGFMJmKA0OsmaE=", "_parent": { "$ref": "AAAAAAGFMJmKA0OoZzA=" }, "model": { "$ref": "AAAAAAGFMJmKAkOnJD4=" }, "font": "Arial;13;0", "left": 451, "top": 476, "width": 14, "height": 29 } ], "font": "Arial;13;0", "head": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "tail": { "$ref": "AAAAAAGFMIuBTkJNPcM=" }, "points": "458:456;488:456;488:476;464:476", "nameLabel": { "$ref": "AAAAAAGFMJmKA0OpX4Y=" }, "stereotypeLabel": { "$ref": "AAAAAAGFMJmKA0OqPxQ=" }, "propertyLabel": { "$ref": "AAAAAAGFMJmKA0OrFyI=" }, "activation": { "$ref": "AAAAAAGFMJmKA0OsmaE=" } } ] } ], "messages": [ { "_type": "UMLMessage", "_id": "AAAAAAGFMIvZhEJmC/I=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "Drag an item", "source": { "$ref": "AAAAAAGFMIpyNkIjW48=" }, "target": { "$ref": "AAAAAAGFMIuBTUJGDIY=" } }, { "_type": "UMLMessage", "_id": "AAAAAAGFMIwMXkJ8FHY=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "Store the dragged item in a variable", "source": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "target": { "$ref": "AAAAAAGFMIuBTUJGDIY=" } }, { "_type": "UMLMessage", "_id": "AAAAAAGFMJtRjUPioYE=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "Set the item in the inventory to null and the number of items to -1", "source": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "target": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "arguments": "so that the inventory space is empty" }, { "_type": "UMLMessage", "_id": "AAAAAAGFMJwfRUQhABM=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "Divide the nb of item by in the current index and put the same number of item to the dragged item", "source": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "target": { "$ref": "AAAAAAGFMIuBTUJGDIY=" } }, { "_type": "UMLMessage", "_id": "AAAAAAGFMJmKAkOnJD4=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "Set the number dragged number of items to 1 and the current drag index to -1 to signify that the item is from the datagrid", "source": { "$ref": "AAAAAAGFMIuBTUJGDIY=" }, "target": { "$ref": "AAAAAAGFMIuBTUJGDIY=" } } ], "participants": [ { "_type": "UMLLifeline", "_id": "AAAAAAGFMIpyNkIjW48=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "User", "represent": { "$ref": "AAAAAAGFMIpyNUIi85U=" }, "isMultiInstance": false }, { "_type": "UMLLifeline", "_id": "AAAAAAGFMIuBTUJGDIY=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "InventoryComp", "represent": { "$ref": "AAAAAAGFMIuBS0JFP/s=" }, "isMultiInstance": false } ], "fragments": [ { "_type": "UMLCombinedFragment", "_id": "AAAAAAGFMJCtAULF6VM=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "if", "interactionOperator": "alt", "operands": [ { "_type": "UMLInteractionOperand", "_id": "AAAAAAGFMJCtAkLGAWw=", "_parent": { "$ref": "AAAAAAGFMJCtAULF6VM=" }, "name": "Operand1", "guard": "The item is from the inventory" }, { "_type": "UMLInteractionOperand", "_id": "AAAAAAGFMJDhFELebvE=", "_parent": { "$ref": "AAAAAAGFMJCtAULF6VM=" }, "name": "InteractionOperand1", "guard": "The item is from the dataGrid" } ] }, { "_type": "UMLCombinedFragment", "_id": "AAAAAAGFMJYClkM5WaY=", "_parent": { "$ref": "AAAAAAGFMIpfV0IUW7I=" }, "name": "if", "interactionOperator": "alt", "operands": [ { "_type": "UMLInteractionOperand", "_id": "AAAAAAGFMJYCmEM6spc=", "_parent": { "$ref": "AAAAAAGFMJYClkM5WaY=" }, "name": "Operand1", "guard": "Left click" }, { "_type": "UMLInteractionOperand", "_id": "AAAAAAGFMJdtxUNh1gc=", "_parent": { "$ref": "AAAAAAGFMJYClkM5WaY=" }, "name": "InteractionOperand1", "guard": "Right click" } ] } ] } ], "attributes": [ { "_type": "UMLAttribute", "_id": "AAAAAAGFMIpyNUIi85U=", "_parent": { "$ref": "AAAAAAGFMIpfVUIT4UE=" }, "name": "Role1" }, { "_type": "UMLAttribute", "_id": "AAAAAAGFMIuBS0JFP/s=", "_parent": { "$ref": "AAAAAAGFMIpfVUIT4UE=" }, "name": "Role2" } ] } ] }