= 2) {\n console.log(this.getPosition());\n console.log(sketchPad.getPosition());\n var from = this.points[0].subPt(sketchPad.getPosition()).subPt(this.getPosition());\n var to = this.points[1].subPt(sketchPad.getPosition()).subPt(this.getPosition());\n console.log(\"Line between \" + from.x + \",\" + from.y + \" and \" + to.x + \",\" + to.y);\n var m = new lively.morphic.Path([from, to]);\n this.addMorph(m);\n this.points[0] = this.points.pop();\n }\n } else {\n this.points = new Array(evt.mousePoint);\n }\n console.log(\"MouseDown \" + evt.mousePoint);\n console.log(this.points);\n console.log(this);\n}","funcProperties":{"__isSmartRef__":true,"id":665},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"664":{"this":{"__isSmartRef__":true,"id":553}},"665":{"timestamp":{"__isSmartRef__":true,"id":666},"user":"daniel.hoffmann","tags":[]},"666":{"isSerializedDate":true,"string":"Sat Dec 01 2012 21:09:37 GMT+0100 (Mitteleuropäische Zeit)"},"667":{"varMapping":{"__isSmartRef__":true,"id":668},"source":"function mouseDown(element, evt) {\n console.log(element.name);\n console.log(evt);\n if(element.name != \"SketchPadCanvas\") {\n this.owner.select(element.name, this.partOfRectangle(element, evt));\n }\n}","funcProperties":{"__isSmartRef__":true,"id":669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"668":{"this":{"__isSmartRef__":true,"id":553}},"669":{"timestamp":{"__isSmartRef__":true,"id":670},"user":"daniel.hoffmann","tags":[]},"670":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:49:03 GMT+0100 (Mitteleuropäische Zeit)"},"671":{"varMapping":{"__isSmartRef__":true,"id":672},"source":"function partOfRectangle(element, evt) {\n var pointClicked = lively.pt(evt.layerX, evt. layerY);\n var elementExtent = element.getExtent();\n if (pointClicked.x < elementExtent.x * 0.2) {\n if (pointClicked.y < elementExtent.y * 0.2) {\n return \"TL\";\n } else if (pointClicked.y > elementExtent.y * 0.8) {\n return \"BL\";\n } else {\n return \"L\";\n }\n } else if (pointClicked.x > elementExtent.x * 0.8) {\n if (pointClicked.y < elementExtent.y * 0.2) {\n return \"TR\";\n } else if (pointClicked.y > elementExtent.y * 0.8) {\n return \"BR\";\n } else {\n return \"R\";\n }\n } else {\n if (pointClicked.y < elementExtent.y * 0.2) {\n return \"T\";\n } else if (pointClicked.y > elementExtent.y * 0.8) {\n return \"B\";\n } else {\n return \"M\";\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"672":{"this":{"__isSmartRef__":true,"id":553}},"673":{"timestamp":{"__isSmartRef__":true,"id":674},"user":"daniel.hoffmann","tags":[]},"674":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:45:10 GMT+0100 (Mitteleuropäische Zeit)"},"675":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":676},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":677}],"eventHandler":{"__isSmartRef__":true,"id":679},"_ClipMode":"auto","derivationIds":["62424A55-8C49-4D20-85E3-32CFE0B094E6","692AAEB2-E3B2-429A-BD43-059D6BC7D53F","9F9E0E79-D469-449A-9A09-2AE06EE610E6","69D47636-83EF-46E0-A6A2-FD4DA6261F5D","94D102B5-9583-4038-AA05-311A5D1CD26E","95FF6204-C38E-49E7-835E-5B83D8435EFA","D37043D1-30B3-47EB-A8D1-BC1FF3CC8323"],"id":"9CA57677-3FD9-4D34-87F7-83826949C287","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":680},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":681}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"accessibleInInactiveWindow":true,"parseErrors":null,"_lastSyntaxHighlightTime":3,"showsHalos":false,"isBeingDragged":false,"name":"SelectedText","text":"name","charsReplaced":"blueRect","lastFindLoc":16,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_TextColor","_Position"],"textString":"greenRect","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(9.0,149.0)"},"676":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(104.0,31.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)"},"677":{"style":{"__isSmartRef__":true,"id":678},"chunkOwner":{"__isSmartRef__":true,"id":675},"_id":"_8","storedString":"greenRect","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"678":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"679":{"morph":{"__isSmartRef__":true,"id":675},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"680":{"resizeWidth":true,"resizeHeight":true},"681":{"sourceObj":{"__isSmartRef__":true,"id":675},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":675},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":682},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"682":{"source":{"__isSmartRef__":true,"id":675},"target":{"__isSmartRef__":true,"id":675}},"683":{"submorphs":[{"__isSmartRef__":true,"id":684}],"scripts":[],"id":"DD4D84C6-0498-400C-A689-EF7786996824","shape":{"__isSmartRef__":true,"id":689},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":695},"lighterFill":{"__isSmartRef__":true,"id":700},"label":{"__isSmartRef__":true,"id":684},"name":"SketchAreaButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":705},"attributeConnections":[{"__isSmartRef__":true,"id":717}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":718},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","53250D98-1D56-45FC-AD4E-6816B90B0F9E","B0DC93F7-180A-4B95-A539-BFC8F1329718","70042416-60D9-43F5-AE39-6FF42B8EA5A2","9A040E3E-616F-4A08-AEC4-E35727C169CA"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":719},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(8.0,620.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"684":{"submorphs":[],"scripts":[],"id":"6E7A48FA-0EA9-4B37-B9B7-892120FB554D","shape":{"__isSmartRef__":true,"id":685},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":683},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":686}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":688},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","9DF72664-2B4F-4B28-986F-49B3401426E5","31475D00-8C5F-4CF3-8738-D2874FDE47BA","8A54B665-A7FA-4168-8476-FAE7EC691954","FE0BBCBD-3B8E-48E2-9236-5A733F89AF5C"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"685":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(125.0,55.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"686":{"style":{"__isSmartRef__":true,"id":687},"chunkOwner":{"__isSmartRef__":true,"id":684},"_id":"_5885","storedString":"Setup SketchArea (in case mouse events don't work)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"687":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"688":{"morph":{"__isSmartRef__":true,"id":684},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"689":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":690},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(125.0,55.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"690":{"stops":[{"__isSmartRef__":true,"id":691},{"__isSmartRef__":true,"id":692},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":694}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"691":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"692":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"693":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"694":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"695":{"stops":[{"__isSmartRef__":true,"id":696},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":698},{"__isSmartRef__":true,"id":699}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"696":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"697":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"698":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"699":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"700":{"stops":[{"__isSmartRef__":true,"id":701},{"__isSmartRef__":true,"id":702},{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":704}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"701":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"702":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"703":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"704":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"705":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":712},{"__isSmartRef__":true,"id":714}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":716},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"706":{"date":{"__isSmartRef__":true,"id":707},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"707":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"708":{"date":{"__isSmartRef__":true,"id":709},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"709":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"710":{"date":{"__isSmartRef__":true,"id":711},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"711":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"712":{"date":{"__isSmartRef__":true,"id":713},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"713":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"714":{"date":{"__isSmartRef__":true,"id":715},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"715":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"716":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"717":{"sourceObj":{"__isSmartRef__":true,"id":683},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":683},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"718":{"morph":{"__isSmartRef__":true,"id":683},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"719":{"doAction":{"__isSmartRef__":true,"id":720}},"720":{"varMapping":{"__isSmartRef__":true,"id":721},"source":"function doAction() {\n //in case mouse events are not working\n cop.create('SketchArea').refineClass(lively.morphic.Morph, {\n onMouseDown: function(evt) {\n this.get('SketchPadCanvas').mouseDown(this, evt);\n return cop.proceed(evt);\n }\n })\n this.get('SketchPadCanvas').setWithLayers([SketchArea])\n}","funcProperties":{"__isSmartRef__":true,"id":722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"721":{"this":{"__isSmartRef__":true,"id":683}},"722":{"timestamp":{"__isSmartRef__":true,"id":723},"user":"daniel.hoffmann","tags":[]},"723":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:52:42 GMT+0100 (Mitteleuropäische Zeit)"},"724":{"submorphs":[],"scripts":[],"id":"6EB15A1C-4F40-4442-B7B8-C89E32BB7969","shape":{"__isSmartRef__":true,"id":725},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":726},"textChunks":[{"__isSmartRef__":true,"id":738}],"charsReplaced":"Variablen","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":740},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","E3FA5A91-BF01-47C9-A727-751EA109270B","DC9ABF3E-7FF2-4651-8873-41ABA53C275F","6513CAFB-4D1C-4CBC-8F67-178A6CCFE302","BB1AE711-3F4C-48CC-8D6D-5EA3290535C4","4C6BFB68-F960-4E56-9B33-E997C8615D18","22109C55-E692-4A7F-B454-7B25795B02F7","F0D7DF05-7D09-4643-A949-7EBE2887185F","9F5B5210-26DD-413E-AE62-7D0E5282C8AA"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1},"priorSelectionRange":[0,9],"previousSelection":[1,1],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(953.0,4.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"725":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(128.7,27.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"726":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":729},{"__isSmartRef__":true,"id":731},{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":735}],"lastModifiedDate":{"__isSmartRef__":true,"id":737},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"727":{"date":{"__isSmartRef__":true,"id":728},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"728":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"729":{"date":{"__isSmartRef__":true,"id":730},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"730":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (Mitteleuropäische Zeit)"},"731":{"date":{"__isSmartRef__":true,"id":732},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"732":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"733":{"date":{"__isSmartRef__":true,"id":734},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"734":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"735":{"date":{"__isSmartRef__":true,"id":736},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"736":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"737":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"738":{"style":{"__isSmartRef__":true,"id":739},"morph":{"__isSmartRef__":true,"id":724},"chunkOwner":{"__isSmartRef__":true,"id":724},"storedString":"Tableau","_id":"_2157","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"739":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"740":{"morph":{"__isSmartRef__":true,"id":724},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"741":{"submorphs":[{"__isSmartRef__":true,"id":742}],"scripts":[],"id":"A2475486-D122-4968-97F8-307C609A7E48","shape":{"__isSmartRef__":true,"id":747},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":753},"lighterFill":{"__isSmartRef__":true,"id":758},"label":{"__isSmartRef__":true,"id":742},"name":"stepButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":763},"attributeConnections":[{"__isSmartRef__":true,"id":775}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":777},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","468167DF-C2A9-4D14-B344-4D183695DBF9","5DC89142-1E9D-4F9D-8CC7-4ACAD3FDB32D","16626E66-A841-4E0A-9692-2F2534B1F06F","96DBF6DD-3596-4554-98F4-BD1782C95ACB","8C059799-B938-4458-A054-0BF2C93DF1EC","57CDCC7B-37A6-4E9E-ACB9-192B3D578DA0"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":778},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(7.0,111.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"742":{"submorphs":[],"scripts":[],"id":"4A2EF52C-9722-462C-BDFF-8CDED286D21F","shape":{"__isSmartRef__":true,"id":743},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":741},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":744}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":746},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","CA0DC720-D350-40B1-B491-56053DD3ACEC","DFC25BA5-C55B-4BAD-A16C-ABAD9E6744DB","89EED327-F1A9-41E9-B5EE-C5D60824ECE0","84EE39A7-3564-46BE-9222-2D58CB507AA3","F21E1DD4-4613-461E-B90E-A804C251F8DD","A1F18994-7984-40E5-9655-187BA5721D53"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"743":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"744":{"style":{"__isSmartRef__":true,"id":745},"chunkOwner":{"__isSmartRef__":true,"id":742},"_id":"_1246","storedString":"Schritt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"745":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"746":{"morph":{"__isSmartRef__":true,"id":742},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"747":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":748},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"748":{"stops":[{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"749":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"750":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"751":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"752":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"753":{"stops":[{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":757}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"754":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"755":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"756":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"757":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"758":{"stops":[{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"759":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"760":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"761":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"762":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"763":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":766},{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":772}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":774},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"764":{"date":{"__isSmartRef__":true,"id":765},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"765":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"766":{"date":{"__isSmartRef__":true,"id":767},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"767":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"768":{"date":{"__isSmartRef__":true,"id":769},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"769":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"770":{"date":{"__isSmartRef__":true,"id":771},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"771":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"772":{"date":{"__isSmartRef__":true,"id":773},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"773":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"774":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"775":{"sourceObj":{"__isSmartRef__":true,"id":741},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"simplexStep","varMapping":{"__isSmartRef__":true,"id":776},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"776":{"source":{"__isSmartRef__":true,"id":741},"target":{"__isSmartRef__":true,"id":1}},"777":{"morph":{"__isSmartRef__":true,"id":741},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"778":{"doAction":{"__isSmartRef__":true,"id":779}},"779":{"varMapping":{"__isSmartRef__":true,"id":780},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":781},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"780":{"this":{"__isSmartRef__":true,"id":741}},"781":{"timestamp":{"__isSmartRef__":true,"id":782},"user":"robertkrahn","tags":[]},"782":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"783":{"submorphs":[{"__isSmartRef__":true,"id":784}],"scripts":[],"id":"C1E1C431-73A9-4B45-AA79-F33D7C716811","shape":{"__isSmartRef__":true,"id":789},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":795},"lighterFill":{"__isSmartRef__":true,"id":800},"label":{"__isSmartRef__":true,"id":784},"name":"stopButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":805},"attributeConnections":[{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":871}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":873},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","8B7A69E1-2842-4086-AAF1-C435517C4DA7","C2A72BC2-1B3C-4CB5-970E-F0D28763C62D","707149E7-9837-4996-BB84-9423A4404556","C479A54B-32C8-4A5E-A1FB-B5C5A35B70C7","8A891806-DFA1-4D9B-88D6-BBD4587F3D7B","BA252EA5-5572-411C-8BFC-41265BBA4CE8"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":874},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(5.0,81.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"784":{"submorphs":[],"scripts":[],"id":"35E05786-926D-42CB-88EF-CE38E8F2C86E","shape":{"__isSmartRef__":true,"id":785},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":783},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":786}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":788},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","E24E16C9-A02D-4DC4-89F3-9535E54A9BAE","6FD03EBD-9331-4021-99B7-298ADDFC8C33","53BAF5AF-5CBA-425B-A0BB-5E51D31867FA","BC8209BF-4E53-419D-9D86-49C971E6F754","464553B0-0A18-418A-8665-C128463D0EAD","D0F9E5D5-1EEB-4490-A36B-12CB104F01A9"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"785":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"786":{"style":{"__isSmartRef__":true,"id":787},"chunkOwner":{"__isSmartRef__":true,"id":784},"_id":"_33507","storedString":"Stop","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"787":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"788":{"morph":{"__isSmartRef__":true,"id":784},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"789":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":790},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"790":{"stops":[{"__isSmartRef__":true,"id":791},{"__isSmartRef__":true,"id":792},{"__isSmartRef__":true,"id":793},{"__isSmartRef__":true,"id":794}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"791":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"792":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"793":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"794":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"795":{"stops":[{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":797},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":799}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"796":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"797":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"798":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"799":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"800":{"stops":[{"__isSmartRef__":true,"id":801},{"__isSmartRef__":true,"id":802},{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":804}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"801":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"802":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"803":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"804":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"805":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":806},{"__isSmartRef__":true,"id":808},{"__isSmartRef__":true,"id":810},{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":814}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"806":{"date":{"__isSmartRef__":true,"id":807},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"807":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"808":{"date":{"__isSmartRef__":true,"id":809},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"809":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"810":{"date":{"__isSmartRef__":true,"id":811},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"811":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"812":{"date":{"__isSmartRef__":true,"id":813},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"813":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"814":{"date":{"__isSmartRef__":true,"id":815},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"815":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"816":{"sourceObj":{"__isSmartRef__":true,"id":783},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":783},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"817":{"sourceObj":{"__isSmartRef__":true,"id":783},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":818},"targetMethodName":"stop","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"818":{"submorphs":[],"scripts":[],"id":"DFA99784-9469-437E-9259-5FE6DB274314","shape":{"__isSmartRef__":true,"id":819},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":820},"eventHandler":{"__isSmartRef__":true,"id":835},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C"],"partTests":{"__isSmartRef__":true,"id":836},"_ClipMode":"visible","moved":true,"owner":null,"algorithm":{"__isSmartRef__":true,"id":841},"result":false,"#startLetters":"init","isBeingDragged":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":842},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(2259.0,1431.0)"},"819":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(250.0,252.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,143,0)","_Padding":"lively.rect(0,0,0,0)"},"820":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":821},{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":831},{"__isSmartRef__":true,"id":833}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"821":{"date":{"__isSmartRef__":true,"id":822},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"822":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"823":{"date":{"__isSmartRef__":true,"id":824},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"824":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"825":{"date":{"__isSmartRef__":true,"id":826},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"826":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"827":{"date":{"__isSmartRef__":true,"id":828},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"828":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"829":{"date":{"__isSmartRef__":true,"id":830},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"830":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"831":{"date":{"__isSmartRef__":true,"id":832},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"832":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"833":{"date":{"__isSmartRef__":true,"id":834},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"834":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"835":{"morph":{"__isSmartRef__":true,"id":818},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"836":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":837}},"837":{"test01IsMorph":{"__isSmartRef__":true,"id":838}},"838":{"varMapping":{"__isSmartRef__":true,"id":839},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"839":{"this":{"__isSmartRef__":true,"id":836}},"840":{},"841":{"__LivelyClassName__":"SimplexAlgorithmClass","__SourceModuleName__":"Global.projects.SketchPad.SimplexAlgorithm"},"842":{"solveConstraints":{"__isSmartRef__":true,"id":843},"start":{"__isSmartRef__":true,"id":847},"stop":{"__isSmartRef__":true,"id":851},"testFunc":{"__isSmartRef__":true,"id":855},"initSimplex":{"__isSmartRef__":true,"id":859},"simplexStep":{"__isSmartRef__":true,"id":863},"initializeTableau":{"__isSmartRef__":true,"id":867}},"843":{"varMapping":{"__isSmartRef__":true,"id":844},"source":"function solveConstraints() {\n // changed at Tue Oct 30 2012 17:26:19 GMT+0100 (Mitteleuropäische Zeit) by lisa.pfisterer \n module('apps.dwarfcassowary.js.DwarfCassowary').load();\n module('projects.SketchPad.testModule').load();\n \n var solver = new ClSimplexSolver();\n var height1 = new ClVariable(5);\n var height2 = new ClVariable(10);\n \n var width1 = new ClVariable(5);\n var width2 = new ClVariable(10);\n \n solver.addConstraint(new ClLinearEquation((new ClLinearExpression(height1)).times(2), height2 ));\n \n solver.addConstraint(new ClLinearEquation((new ClLinearExpression(width1)).times(2), width2 ));\n \n solver. addStay(height2). addEditVar(height1). beginEdit();\n solver. addStay(width2). addEditVar(width1). beginEdit();\n \n solver. suggestValue(height1, this.get('Rectangle2').getExtent().y). resolve();\n solver. suggestValue(width1, this.get('Rectangle2').getExtent().x). resolve();\n \n solver.endEdit();\n \n var extent = this.get(\"Rectangle1\").getExtent();\n extent.y = height2.value();\n extent.x = width2.value();\n\n this.get(\"Rectangle1\").setExtent(extent);\n \n var ext1 = this.get(\"Rectangle1\").getExtent();\n var ext2 = this.get(\"Rectangle2\").getExtent();\n \n \n this.get(\"textfield\").setTextString(\"Extent 1: X: \" + ext1.x + \", Y: \" + ext1.y);\n this.get(\"textfield2\").setTextString(\"Extent 2: X: \" + ext2.x + \", Y: \" + ext2.y);\n this.get(\"ratio\").setTextString(\"Ratio: X: \" + (ext1.x/ext2.x) + \", Y: \" +(ext1.y/ext2.y) );\n}","funcProperties":{"__isSmartRef__":true,"id":845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"844":{"this":{"__isSmartRef__":true,"id":818}},"845":{"timestamp":{"__isSmartRef__":true,"id":846},"user":"lisa.pfisterer","tags":[]},"846":{"isSerializedDate":true,"string":"Wed Nov 07 2012 18:48:40 GMT+0100 (Mitteleuropäische Zeit)"},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"source":"function start() {\n this.initSimplex();\n this.startStepping(1000, \"simplexStep\")\n}","funcProperties":{"__isSmartRef__":true,"id":849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"848":{"this":{"__isSmartRef__":true,"id":818}},"849":{"timestamp":{"__isSmartRef__":true,"id":850},"user":"lisa.pfisterer","tags":[]},"850":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:49:43 GMT+0100 (Mitteleuropäische Zeit)"},"851":{"varMapping":{"__isSmartRef__":true,"id":852},"source":"function stop() {\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"852":{"this":{"__isSmartRef__":true,"id":818}},"853":{"timestamp":{"__isSmartRef__":true,"id":854},"user":"lisa.pfisterer","tags":[]},"854":{"isSerializedDate":true,"string":"Mon Nov 05 2012 09:16:36 GMT+0100 (Mitteleuropäische Zeit)"},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"source":"function testFunc() {\n module('projects.SketchPad.SimplexAlgorithm').load();\n var object = new SimplexAlgorithmClass();\n object.main();\n //var x = height1.init();\n //this.get(\"textfield\").setTextString(\"Value for X: \" + x);\n //var solver = new testObject();\n //solver.testFunction();\n}","funcProperties":{"__isSmartRef__":true,"id":857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"856":{"this":{"__isSmartRef__":true,"id":818}},"857":{"timestamp":{"__isSmartRef__":true,"id":858},"user":"lisa.pfisterer","tags":[]},"858":{"isSerializedDate":true,"string":"Tue Nov 13 2012 18:13:02 GMT+0100 (Mitteleuropäische Zeit)"},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function initSimplex() {\n module('projects.SketchPad.SimplexAlgorithm').load();\n JSLoader.loadJs('http://lively-kernel.org/repository/webwerkstatt/projects/SketchPad/SimplexAlgorithm.js');\n \n this.algorithm = new SimplexAlgorithmClass();\n this.get(\"solutionString\").setTextString(\"\");\n \n all = new Array(\"x1\", \"x2\", \"x3\", \"x4\", \"x5\", \"x6\", \"x7\", \"x8\");\n schlupf = new Array(\"x5\", \"x6\", \"x7\", \"x8\", \"F\");\n needed = new Array(\"x1\", \"x2\", \"x3\", \"x4\");\n \n this.initializeTableau();\n\n this.algorithm.initSimplex(all, schlupf, needed);\n \n \n\n var extent = this.get(\"optangle\").getExtent();\n extent.x = 0;\n extent.y = 0;\n this.get(\"optangle\").setExtent(extent);\n \n var extent2 = this.get(\"optangle2\").getExtent();\n extent2.x = 0;\n extent2.y = 0;\n this.get(\"optangle2\").setExtent(extent2);\n \n this.result = false;\n}","funcProperties":{"__isSmartRef__":true,"id":861},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"860":{"this":{"__isSmartRef__":true,"id":818}},"861":{"timestamp":{"__isSmartRef__":true,"id":862},"user":"lisa.pfisterer","tags":[]},"862":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:22:46 GMT+0100 (Mitteleuropäische Zeit)"},"863":{"varMapping":{"__isSmartRef__":true,"id":864},"source":"function simplexStep() {\n if(!this.algorithm.result) {\n this.algorithm.simplexIteration();\n console.log(\"Result: \" + this.algorithm.resultString);\n console.log(\"Array x1: \" + this.algorithm.resultArray[0]);\n console.log(\"Array x2: \" + this.algorithm.resultArray[1]);\n console.log(\"Array x3: \" + this.algorithm.resultArray[2]);\n console.log(\"Array x4: \" + this.algorithm.resultArray[3]);\n \n this.get(\"solutionString\").setTextString(this.algorithm.needed[0] + \": \" + this.algorithm.resultArray[0] + \" \" + this.algorithm.needed[1] + \": \" + this.algorithm.resultArray[1] + \" \" + this.algorithm.needed[2] + \": \" + this.algorithm.resultArray[2] + \" \" + this.algorithm.needed[3] + \": \" + this.algorithm.resultArray[3]);\n \n\tvar extent = this.get(\"optangle\").getExtent();\n\textent[\"x\"] = this.algorithm.resultArray[0] * 1;\n\textent[\"y\"] = this.algorithm.resultArray[1] * 1;\n\tthis.get(\"optangle\").setExtent(extent);\n\t\n\tvar extent2 = this.get(\"optangle2\").getExtent();\n\textent2.x = this.algorithm.resultArray[2] * 1;\n\textent2.y = this.algorithm.resultArray[3] * 1;\n\tthis.get(\"optangle2\").setExtent(extent2);\n } else {\n this.stop();\n console.log(\"ALGORITHM FINISHED.\");\n }\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"864":{"this":{"__isSmartRef__":true,"id":818}},"865":{"timestamp":{"__isSmartRef__":true,"id":866},"user":"lisa.pfisterer","tags":[]},"866":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:50:17 GMT+0100 (Mitteleuropäische Zeit)"},"867":{"varMapping":{"__isSmartRef__":true,"id":868},"source":"function initializeTableau() {\n var tableau = new Array(8);\n\n tableau[0] = new Array( 1, 0, 0, 0, 1, 0, 0, 0, 500 );\n \n tableau[1] = new Array( 0, 1, 0, 0, 0, 1, 0, 0, 500 );\n \n tableau[2] = new Array( 0, 0, 1, 0, 0, 0, 1, 0, 500 );\n\n tableau[3] = new Array( 0, 0, 0, 1, 0, 0, 0, 1, 500 );\n \n tableau[4] = new Array( 1, - 2, 0, 0, 0, 0, 0, 0, 0 );\n \n tableau[5] = new Array( 0, 0, 1, -3, 0, 0, 0, 0, 0 );\n \n tableau[6] = new Array( 1, 0, -3, 0, 0, 0, 0, 0, 0 );\n \n tableau[7] = new Array( -1, -1, -1, -1, 0, 0, 0, 0, 0 );\n\t\t\t\n this.algorithm.tableau = tableau;\t\n}","funcProperties":{"__isSmartRef__":true,"id":869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"868":{"this":{"__isSmartRef__":true,"id":818}},"869":{"timestamp":{"__isSmartRef__":true,"id":870},"user":"lisa.pfisterer","tags":[]},"870":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:24:52 GMT+0100 (Mitteleuropäische Zeit)"},"871":{"sourceObj":{"__isSmartRef__":true,"id":783},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"stop","varMapping":{"__isSmartRef__":true,"id":872},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"872":{"source":{"__isSmartRef__":true,"id":783},"target":{"__isSmartRef__":true,"id":1}},"873":{"morph":{"__isSmartRef__":true,"id":783},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"874":{"doAction":{"__isSmartRef__":true,"id":875}},"875":{"varMapping":{"__isSmartRef__":true,"id":876},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":877},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"876":{"this":{"__isSmartRef__":true,"id":783}},"877":{"timestamp":{"__isSmartRef__":true,"id":878},"user":"robertkrahn","tags":[]},"878":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"879":{"submorphs":[{"__isSmartRef__":true,"id":880}],"scripts":[],"id":"DDC9CFD1-04BD-45AD-A355-E9619E645903","shape":{"__isSmartRef__":true,"id":885},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":891},"lighterFill":{"__isSmartRef__":true,"id":896},"label":{"__isSmartRef__":true,"id":880},"name":"startButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":805},"attributeConnections":[{"__isSmartRef__":true,"id":901}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":903},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","55E09D28-A9CA-4965-825E-F64F08933541","52575A31-EA4C-4E6E-B44F-37DE54D09554","09D0A760-52C4-4A3D-874C-137EBF1EC476","5EBC15A1-E19A-4FBD-8DBD-A2314C23B003","3B9E867B-0475-4602-BACF-0E82334A96D5","C0402D4B-0FBE-4555-8D28-FD88F7380060"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(7.0,53.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"880":{"submorphs":[],"scripts":[],"id":"1F94C037-3802-4323-B400-ECC60F8AAD7E","shape":{"__isSmartRef__":true,"id":881},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":879},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":882}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":884},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","FA375CFB-4C21-4DC8-8F83-823F12C471E2","765CA998-A11D-4244-9112-E02C3E6D6E08","73AA2975-57A2-4F12-A71A-171D2BDC5ECA","A017DA43-1B33-4E3C-8DB3-97FE48F0C491","67CE02E1-7A8E-4984-998C-BCF6A77C546C","8FEAD123-5CF2-46BB-A565-CB274595BC73"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"881":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"882":{"style":{"__isSmartRef__":true,"id":883},"chunkOwner":{"__isSmartRef__":true,"id":880},"_id":"_33410","storedString":"Start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"883":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"884":{"morph":{"__isSmartRef__":true,"id":880},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"885":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":886},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"886":{"stops":[{"__isSmartRef__":true,"id":887},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889},{"__isSmartRef__":true,"id":890}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"887":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"888":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"889":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"890":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"891":{"stops":[{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":895}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"892":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"893":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"894":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"895":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"896":{"stops":[{"__isSmartRef__":true,"id":897},{"__isSmartRef__":true,"id":898},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":900}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"897":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"898":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"899":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"900":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"901":{"sourceObj":{"__isSmartRef__":true,"id":879},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"start","varMapping":{"__isSmartRef__":true,"id":902},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"902":{"source":{"__isSmartRef__":true,"id":879},"target":{"__isSmartRef__":true,"id":1}},"903":{"morph":{"__isSmartRef__":true,"id":879},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"904":{"submorphs":[{"__isSmartRef__":true,"id":905}],"scripts":[],"id":"A3AFCD3D-15BC-4425-B5F2-EAD7B426D22F","shape":{"__isSmartRef__":true,"id":910},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":916},"lighterFill":{"__isSmartRef__":true,"id":921},"label":{"__isSmartRef__":true,"id":905},"name":"initButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":926},"eventHandler":{"__isSmartRef__":true,"id":937},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","55E09D28-A9CA-4965-825E-F64F08933541","52575A31-EA4C-4E6E-B44F-37DE54D09554","09D0A760-52C4-4A3D-874C-137EBF1EC476","5EBC15A1-E19A-4FBD-8DBD-A2314C23B003","3B9E867B-0475-4602-BACF-0E82334A96D5","C0402D4B-0FBE-4555-8D28-FD88F7380060","2929A139-A361-4843-91ED-C8C25247D03B"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":938}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(4.0,18.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"905":{"submorphs":[],"scripts":[],"id":"BEE45CC0-D0B8-4749-A965-A1EBC53E76B2","shape":{"__isSmartRef__":true,"id":906},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":904},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":907}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":909},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","FA375CFB-4C21-4DC8-8F83-823F12C471E2","765CA998-A11D-4244-9112-E02C3E6D6E08","73AA2975-57A2-4F12-A71A-171D2BDC5ECA","A017DA43-1B33-4E3C-8DB3-97FE48F0C491","67CE02E1-7A8E-4984-998C-BCF6A77C546C","8FEAD123-5CF2-46BB-A565-CB274595BC73","12C45DC5-CE8C-449A-8A20-1CC7DD2423FC"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"906":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"907":{"style":{"__isSmartRef__":true,"id":908},"chunkOwner":{"__isSmartRef__":true,"id":905},"_id":"_1120","storedString":"Initialisieren","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"908":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"909":{"morph":{"__isSmartRef__":true,"id":905},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"910":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":911},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"911":{"stops":[{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":914},{"__isSmartRef__":true,"id":915}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"912":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"913":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"914":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"915":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"916":{"stops":[{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":918},{"__isSmartRef__":true,"id":919},{"__isSmartRef__":true,"id":920}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"917":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"918":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"919":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"920":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"921":{"stops":[{"__isSmartRef__":true,"id":922},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"922":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"923":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"924":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"925":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"926":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":935}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"927":{"date":{"__isSmartRef__":true,"id":928},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"928":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"929":{"date":{"__isSmartRef__":true,"id":930},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"930":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"931":{"date":{"__isSmartRef__":true,"id":932},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"932":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"933":{"date":{"__isSmartRef__":true,"id":934},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"934":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"935":{"date":{"__isSmartRef__":true,"id":936},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"936":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"937":{"morph":{"__isSmartRef__":true,"id":904},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"938":{"sourceObj":{"__isSmartRef__":true,"id":904},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"initSimplex","varMapping":{"__isSmartRef__":true,"id":939},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"939":{"source":{"__isSmartRef__":true,"id":904},"target":{"__isSmartRef__":true,"id":1}},"940":{"submorphs":[{"__isSmartRef__":true,"id":941}],"scripts":[],"id":"E6D1D7AC-9308-4911-AFA7-EAD5A99AC31F","shape":{"__isSmartRef__":true,"id":946},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":952},"lighterFill":{"__isSmartRef__":true,"id":957},"label":{"__isSmartRef__":true,"id":941},"name":"parseConstraintsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":962},"attributeConnections":[{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":975}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":977},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","7D4A1972-76E5-4369-9964-2F6ACB87C81F","468167DF-C2A9-4D14-B344-4D183695DBF9","A507628C-314F-4CA3-90BE-D9B88F8447E9","D1AF90C8-F667-4D9B-B3A4-6FA707BF0583","A9ABAF28-AE0D-42E5-B1EC-27B990856CBA","F60C6C80-53D4-4D5C-9ED3-95605C4D56DC","95F3A13F-AAEB-4908-91C0-B87713A5E6E3","9176FC8B-F37B-4188-9B2E-E718C3D9B12A","8239B60C-680A-4E8E-8F48-398028228535","A99A9AB5-FDC1-43E4-85F0-D69BD20223F9","3A28F1F7-C0A5-4346-AA70-54B5FECACF9A"],"_ClipMode":"visible","isPressed":false,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":978},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1627.0,662.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"941":{"submorphs":[],"scripts":[],"id":"022F059B-EAD1-46A6-98D7-1518240E6E80","shape":{"__isSmartRef__":true,"id":942},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":100,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":940},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":943}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":945},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","7939AA82-2A96-4559-9090-DD58B7C8868A","CA0DC720-D350-40B1-B491-56053DD3ACEC","0D350F67-43D3-4011-A7FE-BB6073758DFE","F3992590-AD3D-47A5-8663-6C72C72B45C4","B722D102-4490-4B08-96D9-95A987C54713","A3C83808-0F33-4DE8-B768-9D3D321F6DCF","84D29350-B39A-4D78-8D8C-0C782E69F01E","A8E991FE-CE35-42D0-899D-84A971A8EA24","8584DD1A-DDE5-4456-9B8F-92C3D5D16FD1","A012064E-9881-45AC-873B-9FCEB952B7DD","9360CF78-F02C-4B5B-B0B9-E0DBF495EF21"],"_MinTextWidth":100,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"942":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"943":{"style":{"__isSmartRef__":true,"id":944},"chunkOwner":{"__isSmartRef__":true,"id":941},"_id":"_2456","storedString":"Einlesen","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"944":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"945":{"morph":{"__isSmartRef__":true,"id":941},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"946":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":947},"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"947":{"stops":[{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":949},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":951}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"948":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"949":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"950":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"951":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"952":{"stops":[{"__isSmartRef__":true,"id":953},{"__isSmartRef__":true,"id":954},{"__isSmartRef__":true,"id":955},{"__isSmartRef__":true,"id":956}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"953":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"954":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"955":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"956":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"957":{"stops":[{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":959},{"__isSmartRef__":true,"id":960},{"__isSmartRef__":true,"id":961}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"958":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"959":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"960":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"961":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"962":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":963},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":971}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":973},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"963":{"date":{"__isSmartRef__":true,"id":964},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"964":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"965":{"date":{"__isSmartRef__":true,"id":966},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"966":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"967":{"date":{"__isSmartRef__":true,"id":968},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"968":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"969":{"date":{"__isSmartRef__":true,"id":970},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"970":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"971":{"date":{"__isSmartRef__":true,"id":972},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"972":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"973":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"974":{"sourceObj":{"__isSmartRef__":true,"id":940},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":940},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"975":{"sourceObj":{"__isSmartRef__":true,"id":940},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"parseConstraints","varMapping":{"__isSmartRef__":true,"id":976},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"976":{"source":{"__isSmartRef__":true,"id":940},"target":{"__isSmartRef__":true,"id":1}},"977":{"morph":{"__isSmartRef__":true,"id":940},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"978":{"doAction":{"__isSmartRef__":true,"id":979}},"979":{"varMapping":{"__isSmartRef__":true,"id":980},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":981},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"980":{"this":{"__isSmartRef__":true,"id":940}},"981":{"timestamp":{"__isSmartRef__":true,"id":982},"user":"robertkrahn","tags":[]},"982":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"983":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1774.0,712.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"984":{"partsSpaceName":"PartsBin/sd1213/","comment":"Constraint-based layouting with the Simplex algorithm. Still under construction!","migrationLevel":4,"partName":"SketchPad","changes":[{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":987},{"__isSmartRef__":true,"id":989},{"__isSmartRef__":true,"id":991},{"__isSmartRef__":true,"id":993},{"__isSmartRef__":true,"id":995},{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":999},{"__isSmartRef__":true,"id":1001},{"__isSmartRef__":true,"id":1003},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1013},{"__isSmartRef__":true,"id":1015},{"__isSmartRef__":true,"id":1017},{"__isSmartRef__":true,"id":1019}],"lastModifiedDate":{"__isSmartRef__":true,"id":1021},"revisionOnLoad":185855,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"985":{"date":{"__isSmartRef__":true,"id":986},"author":"lisa.pfisterer","message":"Umsetzen der height-Constraints ins Tableau jetzt möglich. auch die zu maximierende F-Funktion. Außerdem Anzeige der aktuellen Werte","id":"0E43FD81-95AA-4810-BF4D-5132C4CB5430"},"986":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:09:22 GMT+0100 (Mitteleuropäische Zeit)"},"987":{"date":{"__isSmartRef__":true,"id":988},"author":"lisa.pfisterer","message":"Änderungen von Lisa. Array Util, Tableau-Anzeige, erste Schritte für Setter.","id":"5E3055D8-ECFA-4BEE-A27D-35F84A422A00"},"988":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:28:16 GMT+0100 (Mitteleuropäische Zeit)"},"989":{"date":{"__isSmartRef__":true,"id":990},"author":"daniel.hoffmann","message":"Added support for adding constraints manually","id":"09ABA022-2B1A-4B91-8B3B-31A5752DD828"},"990":{"isSerializedDate":true,"string":"Sun Dec 02 2012 12:38:16 GMT+0100 (Mitteleuropäische Zeit)"},"991":{"date":{"__isSmartRef__":true,"id":992},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"992":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"993":{"date":{"__isSmartRef__":true,"id":994},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"994":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"995":{"date":{"__isSmartRef__":true,"id":996},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"996":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"997":{"date":{"__isSmartRef__":true,"id":998},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"998":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"999":{"date":{"__isSmartRef__":true,"id":1000},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1000":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"1001":{"date":{"__isSmartRef__":true,"id":1002},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1002":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1003":{"date":{"__isSmartRef__":true,"id":1004},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"1004":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1005":{"date":{"__isSmartRef__":true,"id":1006},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"1006":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (Mitteleuropäische Zeit)"},"1007":{"date":{"__isSmartRef__":true,"id":1008},"author":"lisa.pfisterer","message":"first draft. Still under construction!","id":"2B13E2A0-6DC9-4EDF-82E7-F541EB7D78BF"},"1008":{"isSerializedDate":true,"string":"Sat Dec 01 2012 21:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"1009":{"date":{"__isSmartRef__":true,"id":1010},"author":"lisa.pfisterer","message":"Zwischenstand. Util-Funktionen für das Arbeiten mit Arrays (Zeile und Spalte hinzufügen für neue Constraints im Tableau)","id":"09B63D24-0A8C-46E0-9DB0-CEDE9AF8690B"},"1010":{"isSerializedDate":true,"string":"Sat Dec 01 2012 22:57:06 GMT+0100 (Mitteleuropäische Zeit)"},"1011":{"date":{"__isSmartRef__":true,"id":1012},"author":"daniel.hoffmann","message":"Fixed bug to get current value of constraint type (width, height) \nAdded button to set up sketch area","id":"97C976C9-4DA1-40D1-8108-57DD86CA3BA2"},"1012":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:00:42 GMT+0100 (Mitteleuropäische Zeit)"},"1013":{"date":{"__isSmartRef__":true,"id":1014},"author":"daniel.hoffmann","message":"ratio button works as well","id":"855AF291-AD64-458B-9689-798C7B7C95B5"},"1014":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:06:02 GMT+0100 (Mitteleuropäische Zeit)"},"1015":{"date":{"__isSmartRef__":true,"id":1016},"author":"daniel.hoffmann","message":"get side of rectangle","id":"0E2DB143-F8A6-4DEA-A29B-8B814B27984E"},"1016":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:49:43 GMT+0100 (Mitteleuropäische Zeit)"},"1017":{"date":{"__isSmartRef__":true,"id":1018},"author":"daniel.hoffmann","message":"read value of ratio","id":"1534C786-A4CB-4E28-8341-71AEBC1C796B"},"1018":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:15:07 GMT+0100 (Mitteleuropäische Zeit)"},"1019":{"date":{"__isSmartRef__":true,"id":1020},"author":"lisa.pfisterer","message":"Ratio implementiert (richtig herum??)","id":"37F523CF-DD2D-4A29-96F1-E50E32CD8D94"},"1020":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:26:16 GMT+0100 (Mitteleuropäische Zeit)"},"1021":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:23:12 GMT+0100 (Mitteleuropäische Zeit)"},"1022":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1023":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1024}},"1024":{"test01IsMorph":{"__isSmartRef__":true,"id":1025}},"1025":{"varMapping":{"__isSmartRef__":true,"id":1026},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1026":{"this":{"__isSmartRef__":true,"id":1023}},"1027":{},"1028":{"tableau":[[1,1,0,0,0,0,0,0,0,0,150],[0,0,0,4,0,0,0,0,1,0,200],[0,1.3333333333333333,0,0,0,0,1,0,0,0,200],[0,0.6666666666666666,0,0,1,0,0,0,0,0,100],[0,0,1,1,0,0,0,0,0,0,50],[0,3,0,5,0,0,0,0,0,0,700]],"all":["x0","x0","x4","x1","x3","x2","x2","x3","x1","x4"],"schlupf":["green.h","red.w","red.h","blue.h","green.w"],"needed":["green.h","green.w","blue.h","red.h","red.w"],"resultArray":[150,50,100,200,200],"result":true,"resultString":" green.h: 150 green.w: 50 blue.h: 100 red.h: 200 red.w: 200 F: 700","__LivelyClassName__":"SimplexAlgorithmClass","__SourceModuleName__":"Global.projects.SketchPad.SimplexAlgorithm"},"1029":{"initializeTableau":{"__isSmartRef__":true,"id":1030},"initSimplex":{"__isSmartRef__":true,"id":1034},"simplexStep":{"__isSmartRef__":true,"id":1038},"start":{"__isSmartRef__":true,"id":1042},"stop":{"__isSmartRef__":true,"id":1046},"parseConstraints":{"__isSmartRef__":true,"id":1050},"testTableau":{"__isSmartRef__":true,"id":1054},"addConstraintArray":{"__isSmartRef__":true,"id":1058},"extendArrayWithZeros":{"__isSmartRef__":true,"id":1062},"height":{"__isSmartRef__":true,"id":1066},"addConstraint":{"__isSmartRef__":true,"id":1070},"getValueForConstraintType":{"__isSmartRef__":true,"id":1074},"select":{"__isSmartRef__":true,"id":1078},"setCurrentConstraintType":{"__isSmartRef__":true,"id":1082},"roundTableau":{"__isSmartRef__":true,"id":1086},"setValue":{"__isSmartRef__":true,"id":1090},"stepping":{"__isSmartRef__":true,"id":1094},"testStuff":{"__isSmartRef__":true,"id":1098},"getRatioSide":{"__isSmartRef__":true,"id":1102},"addRatioConstraint":{"__isSmartRef__":true,"id":1106},"length":{"__isSmartRef__":true,"id":1110},"printTableau":{"__isSmartRef__":true,"id":1114},"showVariableValues":{"__isSmartRef__":true,"id":1118},"getValue":{"__isSmartRef__":true,"id":1122},"width":{"__isSmartRef__":true,"id":1126},"ratio":{"__isSmartRef__":true,"id":1130}},"1030":{"varMapping":{"__isSmartRef__":true,"id":1031},"source":"function initializeTableau() {\n var tableau = new Array();\n tableau[0] = new Array();\n\t\t\t\n this.algorithm.tableau = tableau;\t\n}","funcProperties":{"__isSmartRef__":true,"id":1032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1031":{"this":{"__isSmartRef__":true,"id":1}},"1032":{"timestamp":{"__isSmartRef__":true,"id":1033},"user":"lisa.pfisterer","tags":[]},"1033":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:59:12 GMT+0100 (Mitteleuropäische Zeit)"},"1034":{"varMapping":{"__isSmartRef__":true,"id":1035},"source":"function initSimplex() {\n module('projects.SketchPad.SimplexAlgorithm').load();\n JSLoader.loadJs('http://lively-kernel.org/repository/webwerkstatt/projects/SketchPad/SimplexAlgorithm.js');\n \n this.algorithm = new SimplexAlgorithmClass();\n \n all = new Array();\n schlupf = new Array();\n needed = new Array();\n \n this.initializeTableau();\n\n this.algorithm.initSimplex(all, schlupf, needed);\n \n this.result = false;\n this.parseConstraints();\n \n this.printTableau();\n \n this.startStepping(100, \"showVariableValues\");\n}","funcProperties":{"__isSmartRef__":true,"id":1036},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1035":{"this":{"__isSmartRef__":true,"id":1}},"1036":{"timestamp":{"__isSmartRef__":true,"id":1037},"user":"lisa.pfisterer","tags":[]},"1037":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:59:23 GMT+0100 (Mitteleuropäische Zeit)"},"1038":{"varMapping":{"__isSmartRef__":true,"id":1039},"source":"function simplexStep() {\n if(!this.algorithm.result) {\n this.algorithm.simplexIteration();\n \n console.log(\"Result: \" + this.algorithm.resultString);\n console.log(\"Array x1: \" + this.algorithm.resultArray[0]);\n console.log(\"Array x2: \" + this.algorithm.resultArray[1]);\n console.log(\"Array x3: \" + this.algorithm.resultArray[2]);\n console.log(\"Array x4: \" + this.algorithm.resultArray[3]);\n \n for (var i = 0; i < this.algorithm.needed.length; i++) {\n this.setValue(this.algorithm.needed[i], this.algorithm.resultArray[i]);\n }\n \n this.printTableau();\n\n } else {\n console.log(\"ALGORITHM FINISHED.\");\n\n this.printTableau(); \n this.stop();\n }\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":1040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1039":{"this":{"__isSmartRef__":true,"id":1}},"1040":{"timestamp":{"__isSmartRef__":true,"id":1041},"user":"lisa.pfisterer","tags":[]},"1041":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:00:55 GMT+0100 (Mitteleuropäische Zeit)"},"1042":{"varMapping":{"__isSmartRef__":true,"id":1043},"source":"function start() {\n this.initSimplex();\n this.startStepping(1000, \"simplexStep\")\n}","funcProperties":{"__isSmartRef__":true,"id":1044},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1043":{"this":{"__isSmartRef__":true,"id":1}},"1044":{"timestamp":{"__isSmartRef__":true,"id":1045},"user":"lisa.pfisterer","tags":[]},"1045":{"isSerializedDate":true,"string":"Sat Dec 01 2012 18:56:37 GMT+0100 (Mitteleuropäische Zeit)"},"1046":{"varMapping":{"__isSmartRef__":true,"id":1047},"source":"function stop() {\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":1048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1047":{"this":{"__isSmartRef__":true,"id":1}},"1048":{"timestamp":{"__isSmartRef__":true,"id":1049},"user":"lisa.pfisterer","tags":[]},"1049":{"isSerializedDate":true,"string":"Sat Dec 01 2012 18:56:37 GMT+0100 (Mitteleuropäische Zeit)"},"1050":{"varMapping":{"__isSmartRef__":true,"id":1051},"source":"function parseConstraints() {\n console.log(\"function: parseConstraints\");\n var constraintString = this.get(\"constraintsTextField\").getTextString();\n var constraints = constraintString.split(\"\\n\");\n this.get(\"variablesTextField\").setTextString(\"\");\n \n for (var i = 0; i < constraints.length; i++) {\n if (constraints[i].trim() != \"\") {\n var prior = this.get(\"variablesTextField\").getTextString();\n\n var base = constraints[i].split(\")\")[0];\n var parts = base.split(\"(\");\n var methodName = parts[0];\n console.log(\"methodName: \" + methodName);\n var variables = parts[1].split(\",\"); \n \n for (var j = 0; j < variables.length; j++) {\n variables[j] = variables[j].trim();\n }\n \n switch (methodName) {\n case \"height\":\n this.height(variables);\n break;\n case \"width\":\n this.width(variables);\n break;\n case \"ratio\":\n this.ratio(variables);\n break;\n default:\n break;\n }\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1051":{"this":{"__isSmartRef__":true,"id":1}},"1052":{"timestamp":{"__isSmartRef__":true,"id":1053},"user":"lisa.pfisterer","tags":[]},"1053":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:03:02 GMT+0100 (Mitteleuropäische Zeit)"},"1054":{"varMapping":{"__isSmartRef__":true,"id":1055},"source":"function testTableau() {\n var array = new Array();\n \n array[0] = new Array(0, 4, 4, 1, 1, 1);\n array[1] = new Array(0, 3, 1, 6, 5, 0);\n array[2] = new Array(\"x\", \"y\", \"x\", \"x\", \"x\", \"x\");\n //var test = new Array();\n //test[0] = new Array(4, 2, 3, 0);\n //array = array.concat(test);\n //array = this.extendArray(array);\n var xxx = new Array(9, 9);\n array = this.addConstraintArray(xxx, array);\n \n this.get(\"tableauTextField\").setTextString(array.join(\"\\n\"));\n}","funcProperties":{"__isSmartRef__":true,"id":1056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1055":{"this":{"__isSmartRef__":true,"id":1}},"1056":{"timestamp":{"__isSmartRef__":true,"id":1057},"user":"lisa.pfisterer","tags":[]},"1057":{"isSerializedDate":true,"string":"Sat Dec 01 2012 22:53:18 GMT+0100 (Mitteleuropäische Zeit)"},"1058":{"varMapping":{"__isSmartRef__":true,"id":1059},"source":"function addConstraintArray(variables, sum) {\n \n var length = this.algorithm.tableau[0].length;\n console.log(\"function: addConstraintArray\");\n \n var helper = new Array();\n for (var i = 0; i < length; i++) {\n helper[i] = 0;\n }\n\n var maxFunct = this.algorithm.tableau.pop();\n \n for (var i = 0; i < variables.length; i++) {\n console.log(\"variable: \" + variables[i][0]);\n var index = this.algorithm.all.indexOf(variables[i][0]);\n helper[index] = variables[i][1];\n if (variables[i][0].indexOf(\"x\") < 0) { // Schlupfvariable\n maxFunct[index] = -1;\n }\n }\n\n helper[length - 1] = sum;\n this.algorithm.tableau.push(helper);\n this.algorithm.tableau.push(maxFunct);\n console.log(\"tableau: \" + this.algorithm.tableau);\n}","funcProperties":{"__isSmartRef__":true,"id":1060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1059":{"this":{"__isSmartRef__":true,"id":1}},"1060":{"timestamp":{"__isSmartRef__":true,"id":1061},"user":"lisa.pfisterer","tags":[]},"1061":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:14:07 GMT+0100 (Mitteleuropäische Zeit)"},"1062":{"varMapping":{"__isSmartRef__":true,"id":1063},"source":"function extendArrayWithZeros(array) {\n for (var i = 0; i < array.length; i++) {\n var subarray = array[i];\n var last = subarray.pop();\n subarray.push(0);\n if (last == undefined) {\n subarray.push(0);\n } else {\n subarray.push(last);\n }\n }\n return array;\n}","funcProperties":{"__isSmartRef__":true,"id":1064},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1063":{"this":{"__isSmartRef__":true,"id":1}},"1064":{"timestamp":{"__isSmartRef__":true,"id":1065},"user":"lisa.pfisterer","tags":[]},"1065":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:58:45 GMT+0100 (Mitteleuropäische Zeit)"},"1066":{"varMapping":{"__isSmartRef__":true,"id":1067},"source":"function height(variables) {\n console.log(\"function: \" + height);\n var variable = variables[0] + \".h\";\n var value = variables[1];\n console.log(\"Objectreference: \" + variable);\n console.log(\"Value: \" + value);\n \n if (this.algorithm.all.indexOf(variable) < 0) {\n this.algorithm.all.push(variable);\n this.algorithm.needed.push(variable);\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n }\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n var schlupfVar = \"x\" + this.algorithm.schlupf.length;\n this.algorithm.all.push(schlupfVar);\n this.algorithm.schlupf.push(schlupfVar);\n \n this.addConstraintArray(new Array(new Array(variable, 1), new Array(schlupfVar, 1)), value);\n}","funcProperties":{"__isSmartRef__":true,"id":1068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1067":{"this":{"__isSmartRef__":true,"id":1}},"1068":{"timestamp":{"__isSmartRef__":true,"id":1069},"user":"lisa.pfisterer","tags":[]},"1069":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:06:26 GMT+0100 (Mitteleuropäische Zeit)"},"1070":{"varMapping":{"__isSmartRef__":true,"id":1071},"source":"function addConstraint(type, element, value) {\n this.get(\"constraintsTextField\").setTextString(\n this.get(\"constraintsTextField\").textString + \"\\n\" +\n type + \"(\" + element + \", \" + value + \");\");\n this.currentConstraintType = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1071":{"this":{"__isSmartRef__":true,"id":1}},"1072":{"timestamp":{"__isSmartRef__":true,"id":1073},"user":"daniel.hoffmann","tags":[]},"1073":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:03:07 GMT+0100 (Mitteleuropäische Zeit)"},"1074":{"varMapping":{"__isSmartRef__":true,"id":1075},"source":"function getValueForConstraintType(type, name1, name2) {\n debugger;\n if (type == \"width\"){\n return this.get(name1).getExtent().x;\n } else if (type == \"height\"){\n return this.get(name1).getExtent().y;\n } else if (type == \"ratio\"){\n return this.getValueForConstraintType(name1.split(\".\")[1],name1.split(\".\")[0]) / this.getValueForConstraintType(name2.split(\".\")[1],name2.split(\".\")[0]);\n } else {\n return \"?\"\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1075":{"this":{"__isSmartRef__":true,"id":1}},"1076":{"timestamp":{"__isSmartRef__":true,"id":1077},"user":"daniel.hoffmann","tags":[]},"1077":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:13:56 GMT+0100 (Mitteleuropäische Zeit)"},"1078":{"varMapping":{"__isSmartRef__":true,"id":1079},"source":"function select(name, part) {\n console.log(\"selected \" + name + \" \" + part);\n this.get(\"SelectedText\").setTextString(name);\n if(this.currentConstraintType != null){\n if(this.currentConstraintType != \"ratio\"){\n var value = this.getValueForConstraintType(this.currentConstraintType, name);\n this.addConstraint(this.currentConstraintType, name, value);\n } else {\n if (this.firstRatioSide == null) {\n this.firstRatioSide = this.getRatioSide(name, part);\n } else {\n debugger;\n this.addRatioConstraint(this.currentConstraintType, \n this.firstRatioSide, this.getRatioSide(name, part), 1);\n }\n } \n }\n}","funcProperties":{"__isSmartRef__":true,"id":1080},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1079":{"this":{"__isSmartRef__":true,"id":1}},"1080":{"timestamp":{"__isSmartRef__":true,"id":1081},"user":"daniel.hoffmann","tags":[]},"1081":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:08:48 GMT+0100 (Mitteleuropäische Zeit)"},"1082":{"varMapping":{"__isSmartRef__":true,"id":1083},"source":"function setCurrentConstraintType(type) {\n this.currentConstraintType = type;\n if(type == \"ratio\") {\n this.firstRatioSide = null;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1083":{"this":{"__isSmartRef__":true,"id":1}},"1084":{"timestamp":{"__isSmartRef__":true,"id":1085},"user":"daniel.hoffmann","tags":[]},"1085":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1086":{"varMapping":{"__isSmartRef__":true,"id":1087},"source":"function roundTableau(array) {\n var roundedArray = new Array();\n for (var i = 0; i < array.length; i++) {\n roundedArray[i] = new Array();\n for (var j = 0; j < array[0].length; j++) {\n \n roundedArray[i][j] = Math.round(array[i][j] * 100) / 100;\n }\n }\n return roundedArray;\n}","funcProperties":{"__isSmartRef__":true,"id":1088},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1087":{"this":{"__isSmartRef__":true,"id":1}},"1088":{"timestamp":{"__isSmartRef__":true,"id":1089},"user":"lisa.pfisterer","tags":[]},"1089":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:25:12 GMT+0100 (Mitteleuropäische Zeit)"},"1090":{"varMapping":{"__isSmartRef__":true,"id":1091},"source":"function setValue(attribute, value) {\n var parts = attribute.split(\".\"); // bspw. rect1.x\n var objectName = parts[0]; // bspw. rect1\n var attributeName = parts[1] // bspw. x\n var object = this.get(objectName);\n \n switch (attributeName) {\n case \"h\":\n var extent = object.getExtent();\n extent.y = value;\n object.setExtent(extent);\n break;\n case \"w\":\n var extent = object.getExtent();\n extent.x = value;\n object.setExtent(extent);\n break;\n default:\n break;\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":1092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1091":{"this":{"__isSmartRef__":true,"id":1}},"1092":{"timestamp":{"__isSmartRef__":true,"id":1093},"user":"lisa.pfisterer","tags":[]},"1093":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:00:30 GMT+0100 (Mitteleuropäische Zeit)"},"1094":{"varMapping":{"__isSmartRef__":true,"id":1095},"source":"function stepping() {\n this.startStepping(100, \"testStuff\")\n}","funcProperties":{"__isSmartRef__":true,"id":1096},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1095":{"this":{"__isSmartRef__":true,"id":1}},"1096":{"timestamp":{"__isSmartRef__":true,"id":1097},"user":"lisa.pfisterer","tags":[]},"1097":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:26:27 GMT+0100 (Mitteleuropäische Zeit)"},"1098":{"varMapping":{"__isSmartRef__":true,"id":1099},"source":"function testStuff() {\n this.setValue(\"greenRect.height\", 300);\n this.setValue(\"greenRect.width\", 150);\n \n}","funcProperties":{"__isSmartRef__":true,"id":1100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1099":{"this":{"__isSmartRef__":true,"id":1}},"1100":{"timestamp":{"__isSmartRef__":true,"id":1101},"user":"lisa.pfisterer","tags":[]},"1101":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:26:51 GMT+0100 (Mitteleuropäische Zeit)"},"1102":{"varMapping":{"__isSmartRef__":true,"id":1103},"source":"function getRatioSide(name, part) {\n debugger;\n if (part == \"T\" || part == \"B\") {\n return name + \".width\";\n } else if (part == \"L\" || part == \"R\") {\n return name + \".height\";\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1103":{"this":{"__isSmartRef__":true,"id":1}},"1104":{"timestamp":{"__isSmartRef__":true,"id":1105},"user":"daniel.hoffmann","tags":[]},"1105":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:10:50 GMT+0100 (Mitteleuropäische Zeit)"},"1106":{"varMapping":{"__isSmartRef__":true,"id":1107},"source":"function addRatioConstraint(type, side1, side2) {\n var value = this.getValueForConstraintType(type, side1, side2);\n this.get(\"constraintsTextField\").setTextString(\n this.get(\"constraintsTextField\").textString + \"\\n\" +\n type + \"(\" + side1 + \", \" + side2 + \", \" + value + \");\");\n this.currentConstraintType = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1107":{"this":{"__isSmartRef__":true,"id":1}},"1108":{"timestamp":{"__isSmartRef__":true,"id":1109},"user":"daniel.hoffmann","tags":[]},"1109":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:07:42 GMT+0100 (Mitteleuropäische Zeit)"},"1110":{"varMapping":{"__isSmartRef__":true,"id":1111},"source":"function length(word) {\n var corrected = \"\";\n \n for (var i = 0; i <= 7 - word.length; i++) {\n corrected += \" \";\n }\n corrected += word;\n return corrected;\n}","funcProperties":{"__isSmartRef__":true,"id":1112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1111":{"this":{"__isSmartRef__":true,"id":1}},"1112":{"timestamp":{"__isSmartRef__":true,"id":1113},"user":"lisa.pfisterer","tags":[]},"1113":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:59:34 GMT+0100 (Mitteleuropäische Zeit)"},"1114":{"varMapping":{"__isSmartRef__":true,"id":1115},"source":"function printTableau() {\n console.log(\"function: printTableau\");\n this.get(\"tableauTextField\").setTextString(\"\");\n var textString = \"Variablen: \" + this.algorithm.all + \"\\n\";\n textString += \"Gesucht: \" + this.algorithm.needed + \"\\n\";\n textString += \"Schlupfvariablen: \" + this.algorithm.schlupf + \"\\n\\n\";\n \n var title = this.length(\"\");\n for (var i = 0; i < this.algorithm.all.length; i++) {\n title += this.length(this.algorithm.all[i]);\n }\n textString += title + \"\\n\";\n \n for (var i = 0; i < this.algorithm.tableau.length; i++) {\n var line = \"\";\n if (i < this.algorithm.schlupf.length) {\n line = this.length(this.algorithm.schlupf[i]);\n } else {\n line = this.length(\"F\");\n }\n \n for (var j = 0; j < this.algorithm.tableau[0].length; j++) {\n line += this.length(\"\" + (Math.round(this.algorithm.tableau[i][j] * 100) / 100));\n }\n textString += line + \"\\n\";\n }\n \n this.get(\"tableauTextField\").setTextString(textString);\n}","funcProperties":{"__isSmartRef__":true,"id":1116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1115":{"this":{"__isSmartRef__":true,"id":1}},"1116":{"timestamp":{"__isSmartRef__":true,"id":1117},"user":"lisa.pfisterer","tags":[]},"1117":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:17:30 GMT+0100 (Mitteleuropäische Zeit)"},"1118":{"varMapping":{"__isSmartRef__":true,"id":1119},"source":"function showVariableValues() {\n console.log(\"showVariableValues\");\n var textString = \"\";\n for (var i = 0; i < this.algorithm.needed.length; i++) {\n textString += this.algorithm.needed[i] + \" \" + this.getValue(this.algorithm.needed[i] + \".height\") + \"\\n\";\n }\n this.get(\"variablesTextField\").setTextString(textString);\n \n}","funcProperties":{"__isSmartRef__":true,"id":1120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1119":{"this":{"__isSmartRef__":true,"id":1}},"1120":{"timestamp":{"__isSmartRef__":true,"id":1121},"user":"lisa.pfisterer","tags":[]},"1121":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:00:43 GMT+0100 (Mitteleuropäische Zeit)"},"1122":{"varMapping":{"__isSmartRef__":true,"id":1123},"source":"function getValue(attribute) {\n var parts = attribute.split(\".\"); // bspw. rect1.x\n var objectName = parts[0]; // bspw. rect1\n var attributeName = parts[1] // bspw. x\n var object = this.get(objectName);\n \n switch (attributeName) {\n case \"h\":\n return object.getExtent().y;\n break;\n case \"w\":\n return object.getExtent().x;\n break;\n default:\n break;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1124},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1123":{"this":{"__isSmartRef__":true,"id":1}},"1124":{"timestamp":{"__isSmartRef__":true,"id":1125},"user":"lisa.pfisterer","tags":[]},"1125":{"isSerializedDate":true,"string":"Mon Dec 03 2012 22:42:08 GMT+0100 (Mitteleuropäische Zeit)"},"1126":{"varMapping":{"__isSmartRef__":true,"id":1127},"source":"function width(variables) {\n var variable = variables[0] + \".w\";\n var value = variables[1];\n console.log(\"Objectreference: \" + variable);\n console.log(\"Value: \" + value);\n \n if (this.algorithm.all.indexOf(variable) < 0) {\n this.algorithm.all.push(variable);\n this.algorithm.needed.push(variable);\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n }\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n var schlupfVar = \"x\" + this.algorithm.schlupf.length;\n this.algorithm.all.push(schlupfVar);\n this.algorithm.schlupf.push(schlupfVar);\n \n this.addConstraintArray(new Array(new Array(variable, 1), new Array(schlupfVar, 1)), value);\n}","funcProperties":{"__isSmartRef__":true,"id":1128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1127":{"this":{"__isSmartRef__":true,"id":1}},"1128":{"timestamp":{"__isSmartRef__":true,"id":1129},"user":"lisa.pfisterer","tags":[]},"1129":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:05:55 GMT+0100 (Mitteleuropäische Zeit)"},"1130":{"varMapping":{"__isSmartRef__":true,"id":1131},"source":"function ratio(variables) {\n var variable1 = variables[0];\n var variable2 = variables[1];\n var value = variables[2];\n console.log(\"Objectreference: \" + variable1 + \", \" + variable2);\n console.log(\"Value: \" + value);\n \n if (this.algorithm.all.indexOf(variable1) < 0) {\n this.algorithm.all.push(variable1);\n this.algorithm.needed.push(variable1);\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n }\n if (this.algorithm.all.indexOf(variable2) < 0) {\n this.algorithm.all.push(variable2);\n this.algorithm.needed.push(variable2);\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n }\n\n this.extendArrayWithZeros(this.algorithm.tableau);\n var schlupfVar = \"x\" + this.algorithm.schlupf.length;\n this.algorithm.all.push(schlupfVar);\n this.algorithm.schlupf.push(schlupfVar);\n \n this.addConstraintArray(new Array(new Array(variable1, value), new Array(variable2, -1)), 0);\n}","funcProperties":{"__isSmartRef__":true,"id":1132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1131":{"this":{"__isSmartRef__":true,"id":1}},"1132":{"timestamp":{"__isSmartRef__":true,"id":1133},"user":"lisa.pfisterer","tags":[]},"1133":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:05:47 GMT+0100 (Mitteleuropäische Zeit)"},"1134":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1135},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"eventHandler":{"__isSmartRef__":true,"id":1136},"_Rotation":0,"lastScrollTime":1354573606363,"_ClipMode":"visible","prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(806.0,952.0)"},"1135":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2.0,2.0)","_Fill":"Color.rgb(204,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1136":{"morph":{"__isSmartRef__":true,"id":1134},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1137":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2800.0,2900.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"1138":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1139":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1140":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","varMapping":{"__isSmartRef__":true,"id":1141},"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) { $upd(v); }\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1141":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1142":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lisa.pfisterer/simplex12.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1143":{"submorphs":[{"__isSmartRef__":true,"id":1144}],"scripts":[],"id":"3F2FCEB3-0F12-4E8B-AD69-BCA08D3758F7","shape":{"__isSmartRef__":true,"id":1155},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":1156},"eventHandler":{"__isSmartRef__":true,"id":1254},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1255},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1256},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(171.0,-13.0)"},"1144":{"submorphs":[{"__isSmartRef__":true,"id":1145}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1151},"id":"2FE0972B-99EA-4C45-A77B-2383EB54E7C6","eventHandler":{"__isSmartRef__":true,"id":1152},"droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"name":"ProgressIndicator","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1153},"derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1143},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1154},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(113.5,81.0)","distanceToDragEvent":"lively.pt(39.0,-11.0)"},"1145":{"submorphs":[],"scripts":[],"id":"A68DB822-6659-4538-814D-E8686ADD96F3","shape":{"__isSmartRef__":true,"id":1146},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_MaxTextWidth":257,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":1147},"textChunks":[{"__isSmartRef__":true,"id":1148}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1150},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":1144},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-109.0,38.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(179.0,-11.0)"},"1146":{"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(257.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1147":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1148":{"style":{"__isSmartRef__":true,"id":1149},"chunkOwner":{"__isSmartRef__":true,"id":1145},"storedString":"loading part","_id":"_9","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1149":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1150":{"morph":{"__isSmartRef__":true,"id":1145},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1151":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"_ClipMode":"visible","_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(31.0,31.0)","_Padding":"lively.rect(0,0,0,0)"},"1152":{"morph":{"__isSmartRef__":true,"id":1144},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1153":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1154":{"centeredHorizontal":true,"centeredVertical":true},"1155":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(266.0,223.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1156":{"partsSpaceName":"PartsBin/iPadWidgets","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1163},{"__isSmartRef__":true,"id":1165},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1173},{"__isSmartRef__":true,"id":1175},{"__isSmartRef__":true,"id":1177},{"__isSmartRef__":true,"id":1179},{"__isSmartRef__":true,"id":1181},{"__isSmartRef__":true,"id":1183},{"__isSmartRef__":true,"id":1185},{"__isSmartRef__":true,"id":1187},{"__isSmartRef__":true,"id":1189},{"__isSmartRef__":true,"id":1191},{"__isSmartRef__":true,"id":1193},{"__isSmartRef__":true,"id":1195},{"__isSmartRef__":true,"id":1197},{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209},{"__isSmartRef__":true,"id":1211},{"__isSmartRef__":true,"id":1213},{"__isSmartRef__":true,"id":1215},{"__isSmartRef__":true,"id":1217},{"__isSmartRef__":true,"id":1219},{"__isSmartRef__":true,"id":1221},{"__isSmartRef__":true,"id":1223},{"__isSmartRef__":true,"id":1225},{"__isSmartRef__":true,"id":1227},{"__isSmartRef__":true,"id":1229},{"__isSmartRef__":true,"id":1231},{"__isSmartRef__":true,"id":1233},{"__isSmartRef__":true,"id":1235},{"__isSmartRef__":true,"id":1237},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1245},{"__isSmartRef__":true,"id":1247},{"__isSmartRef__":true,"id":1249},{"__isSmartRef__":true,"id":1251}],"revisionOnLoad":151069,"lastModifiedDate":{"__isSmartRef__":true,"id":1253},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1157":{"date":{"__isSmartRef__":true,"id":1158},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"1158":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (Mitteleuropäische Zeit)"},"1159":{"date":{"__isSmartRef__":true,"id":1160},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"1160":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"1161":{"date":{"__isSmartRef__":true,"id":1162},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"1162":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (Mitteleuropäische Zeit)"},"1163":{"date":{"__isSmartRef__":true,"id":1164},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"1164":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (Mitteleuropäische Zeit)"},"1165":{"date":{"__isSmartRef__":true,"id":1166},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"1166":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (Mitteleuropäische Zeit)"},"1167":{"date":{"__isSmartRef__":true,"id":1168},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"1168":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (Mitteleuropäische Zeit)"},"1169":{"date":{"__isSmartRef__":true,"id":1170},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"1170":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (Mitteleuropäische Zeit)"},"1171":{"date":{"__isSmartRef__":true,"id":1172},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"1172":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (Mitteleuropäische Zeit)"},"1173":{"date":{"__isSmartRef__":true,"id":1174},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"1174":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (Mitteleuropäische Zeit)"},"1175":{"date":{"__isSmartRef__":true,"id":1176},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"1176":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (Mitteleuropäische Zeit)"},"1177":{"date":{"__isSmartRef__":true,"id":1178},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"1178":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (Mitteleuropäische Zeit)"},"1179":{"date":{"__isSmartRef__":true,"id":1180},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"1180":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (Mitteleuropäische Zeit)"},"1181":{"date":{"__isSmartRef__":true,"id":1182},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"1182":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (Mitteleuropäische Zeit)"},"1183":{"date":{"__isSmartRef__":true,"id":1184},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"1184":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (Mitteleuropäische Zeit)"},"1185":{"date":{"__isSmartRef__":true,"id":1186},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"1186":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (Mitteleuropäische Zeit)"},"1187":{"date":{"__isSmartRef__":true,"id":1188},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"1188":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (Mitteleuropäische Zeit)"},"1189":{"date":{"__isSmartRef__":true,"id":1190},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"1190":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (Mitteleuropäische Zeit)"},"1191":{"date":{"__isSmartRef__":true,"id":1192},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"1192":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (Mitteleuropäische Zeit)"},"1193":{"date":{"__isSmartRef__":true,"id":1194},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"1194":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (Mitteleuropäische Zeit)"},"1195":{"date":{"__isSmartRef__":true,"id":1196},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"1196":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (Mitteleuropäische Zeit)"},"1197":{"date":{"__isSmartRef__":true,"id":1198},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"1198":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (Mitteleuropäische Zeit)"},"1199":{"date":{"__isSmartRef__":true,"id":1200},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"1200":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (Mitteleuropäische Zeit)"},"1201":{"date":{"__isSmartRef__":true,"id":1202},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"1202":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (Mitteleuropäische Zeit)"},"1203":{"date":{"__isSmartRef__":true,"id":1204},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"1204":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (Mitteleuropäische Zeit)"},"1205":{"date":{"__isSmartRef__":true,"id":1206},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"1206":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (Mitteleuropäische Zeit)"},"1207":{"date":{"__isSmartRef__":true,"id":1208},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"1208":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (Mitteleuropäische Zeit)"},"1209":{"date":{"__isSmartRef__":true,"id":1210},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"1210":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (Mitteleuropäische Zeit)"},"1211":{"date":{"__isSmartRef__":true,"id":1212},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"1212":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (Mitteleuropäische Zeit)"},"1213":{"date":{"__isSmartRef__":true,"id":1214},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"1214":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (Mitteleuropäische Zeit)"},"1215":{"date":{"__isSmartRef__":true,"id":1216},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"1216":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (Mitteleuropäische Zeit)"},"1217":{"date":{"__isSmartRef__":true,"id":1218},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"1218":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (Mitteleuropäische Zeit)"},"1219":{"date":{"__isSmartRef__":true,"id":1220},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"1220":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (Mitteleuropäische Zeit)"},"1221":{"date":{"__isSmartRef__":true,"id":1222},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"1222":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (Mitteleuropäische Zeit)"},"1223":{"date":{"__isSmartRef__":true,"id":1224},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"1224":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (Mitteleuropäische Zeit)"},"1225":{"date":{"__isSmartRef__":true,"id":1226},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"1226":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (Mitteleuropäische Zeit)"},"1227":{"date":{"__isSmartRef__":true,"id":1228},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"1228":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (Mitteleuropäische Zeit)"},"1229":{"date":{"__isSmartRef__":true,"id":1230},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"1230":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (Mitteleuropäische Zeit)"},"1231":{"date":{"__isSmartRef__":true,"id":1232},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"1232":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (Mitteleuropäische Zeit)"},"1233":{"date":{"__isSmartRef__":true,"id":1234},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"1234":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (Mitteleuropäische Zeit)"},"1235":{"date":{"__isSmartRef__":true,"id":1236},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"1236":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (Mitteleuropäische Zeit)"},"1237":{"date":{"__isSmartRef__":true,"id":1238},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"1238":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (Mitteleuropäische Zeit)"},"1239":{"date":{"__isSmartRef__":true,"id":1240},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"1240":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (Mitteleuropäische Zeit)"},"1241":{"date":{"__isSmartRef__":true,"id":1242},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"1242":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (Mitteleuropäische Zeit)"},"1243":{"date":{"__isSmartRef__":true,"id":1244},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"1244":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (Mitteleuropäische Zeit)"},"1245":{"date":{"__isSmartRef__":true,"id":1246},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"1246":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (Mitteleuropäische Zeit)"},"1247":{"date":{"__isSmartRef__":true,"id":1248},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"1248":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (Mitteleuropäische Zeit)"},"1249":{"date":{"__isSmartRef__":true,"id":1250},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"1250":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (Mitteleuropäische Zeit)"},"1251":{"date":{"__isSmartRef__":true,"id":1252},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"1252":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (Mitteleuropäische Zeit)"},"1253":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1254":{"morph":{"__isSmartRef__":true,"id":1143},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1255":{"adjustForNewBounds":true},"1256":{"loadPart":{"__isSmartRef__":true,"id":1257},"loadFinished":{"__isSmartRef__":true,"id":1261},"loadPartByName":{"__isSmartRef__":true,"id":1265}},"1257":{"varMapping":{"__isSmartRef__":true,"id":1258},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":1259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1258":{"this":{"__isSmartRef__":true,"id":1143}},"1259":{"timestamp":{"__isSmartRef__":true,"id":1260},"user":"sstamm","tags":[]},"1260":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (Mitteleuropäische Zeit)"},"1261":{"varMapping":{"__isSmartRef__":true,"id":1262},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1262":{"this":{"__isSmartRef__":true,"id":1143}},"1263":{"timestamp":{"__isSmartRef__":true,"id":1264},"user":"sstamm","tags":[]},"1264":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (Mitteleuropäische Zeit)"},"1265":{"varMapping":{"__isSmartRef__":true,"id":1266},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":1267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1266":{"this":{"__isSmartRef__":true,"id":1143}},"1267":{"timestamp":{"__isSmartRef__":true,"id":1268},"user":"sstamm","tags":[]},"1268":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (Mitteleuropäische Zeit)"},"1269":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:23:53 GMT+0100 (Mitteleuropäische Zeit)"},"isSimplifiedRegistry":true}}]]>