= 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":641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"640":{"this":{"__isSmartRef__":true,"id":529}},"641":{"timestamp":{"__isSmartRef__":true,"id":642},"user":"daniel.hoffmann","tags":[]},"642":{"isSerializedDate":true,"string":"Sat Dec 01 2012 21:09:37 GMT+0100 (Mitteleuropäische Zeit)"},"643":{"varMapping":{"__isSmartRef__":true,"id":644},"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":645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"644":{"this":{"__isSmartRef__":true,"id":529}},"645":{"timestamp":{"__isSmartRef__":true,"id":646},"user":"daniel.hoffmann","tags":[]},"646":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:49:03 GMT+0100 (Mitteleuropäische Zeit)"},"647":{"varMapping":{"__isSmartRef__":true,"id":648},"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":649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"648":{"this":{"__isSmartRef__":true,"id":529}},"649":{"timestamp":{"__isSmartRef__":true,"id":650},"user":"daniel.hoffmann","tags":[]},"650":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:45:10 GMT+0100 (Mitteleuropäische Zeit)"},"651":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":652},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":653}],"eventHandler":{"__isSmartRef__":true,"id":655},"_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":656},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":657}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"accessibleInInactiveWindow":true,"parseErrors":null,"_lastSyntaxHighlightTime":2,"showsHalos":false,"isBeingDragged":false,"name":"SelectedText","text":"name","charsReplaced":"blueRect","lastFindLoc":16,"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__serializedExpressions__":["_TextColor","_Position"],"textString":"red","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(9.0,149.0)"},"652":{"_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)"},"653":{"style":{"__isSmartRef__":true,"id":654},"chunkOwner":{"__isSmartRef__":true,"id":651},"_id":"_8","storedString":"red","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"654":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"655":{"morph":{"__isSmartRef__":true,"id":651},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"656":{"resizeWidth":true,"resizeHeight":true},"657":{"sourceObj":{"__isSmartRef__":true,"id":651},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":651},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":658},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"658":{"source":{"__isSmartRef__":true,"id":651},"target":{"__isSmartRef__":true,"id":651}},"659":{"submorphs":[{"__isSmartRef__":true,"id":660}],"scripts":[],"id":"DD4D84C6-0498-400C-A689-EF7786996824","shape":{"__isSmartRef__":true,"id":665},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":671},"lighterFill":{"__isSmartRef__":true,"id":676},"label":{"__isSmartRef__":true,"id":660},"name":"SketchAreaButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":681},"attributeConnections":[{"__isSmartRef__":true,"id":693}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":694},"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":695},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(8.0,620.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"660":{"submorphs":[],"scripts":[],"id":"6E7A48FA-0EA9-4B37-B9B7-892120FB554D","shape":{"__isSmartRef__":true,"id":661},"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":659},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":662}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":664},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"661":{"_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)"},"662":{"style":{"__isSmartRef__":true,"id":663},"chunkOwner":{"__isSmartRef__":true,"id":660},"_id":"_5885","storedString":"Setup SketchArea (in case mouse events don't work)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"663":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"664":{"morph":{"__isSmartRef__":true,"id":660},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"665":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":666},"_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)"},"666":{"stops":[{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":668},{"__isSmartRef__":true,"id":669},{"__isSmartRef__":true,"id":670}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"667":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"668":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"669":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"670":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"671":{"stops":[{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":673},{"__isSmartRef__":true,"id":674},{"__isSmartRef__":true,"id":675}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"672":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"673":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"674":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"675":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"676":{"stops":[{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":678},{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":680}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"677":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"678":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"679":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"680":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"681":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":682},{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":686},{"__isSmartRef__":true,"id":688},{"__isSmartRef__":true,"id":690}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":692},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"682":{"date":{"__isSmartRef__":true,"id":683},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"683":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"684":{"date":{"__isSmartRef__":true,"id":685},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"685":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"686":{"date":{"__isSmartRef__":true,"id":687},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"687":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"688":{"date":{"__isSmartRef__":true,"id":689},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"689":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"690":{"date":{"__isSmartRef__":true,"id":691},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"691":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"692":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"693":{"sourceObj":{"__isSmartRef__":true,"id":659},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":659},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"694":{"morph":{"__isSmartRef__":true,"id":659},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"695":{"doAction":{"__isSmartRef__":true,"id":696}},"696":{"varMapping":{"__isSmartRef__":true,"id":697},"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":698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"697":{"this":{"__isSmartRef__":true,"id":659}},"698":{"timestamp":{"__isSmartRef__":true,"id":699},"user":"daniel.hoffmann","tags":[]},"699":{"isSerializedDate":true,"string":"Sun Dec 02 2012 13:52:42 GMT+0100 (Mitteleuropäische Zeit)"},"700":{"submorphs":[],"scripts":[],"id":"6EB15A1C-4F40-4442-B7B8-C89E32BB7969","shape":{"__isSmartRef__":true,"id":701},"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":702},"textChunks":[{"__isSmartRef__":true,"id":714}],"charsReplaced":"Variablen","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":716},"_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,"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"701":{"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)"},"702":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":703},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":709},{"__isSmartRef__":true,"id":711}],"lastModifiedDate":{"__isSmartRef__":true,"id":713},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"703":{"date":{"__isSmartRef__":true,"id":704},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"704":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"705":{"date":{"__isSmartRef__":true,"id":706},"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"},"706":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (Mitteleuropäische Zeit)"},"707":{"date":{"__isSmartRef__":true,"id":708},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"708":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"709":{"date":{"__isSmartRef__":true,"id":710},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"710":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"711":{"date":{"__isSmartRef__":true,"id":712},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"712":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"713":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"714":{"style":{"__isSmartRef__":true,"id":715},"morph":{"__isSmartRef__":true,"id":700},"chunkOwner":{"__isSmartRef__":true,"id":700},"storedString":"Tableau","_id":"_2157","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"715":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"716":{"morph":{"__isSmartRef__":true,"id":700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"717":{"submorphs":[{"__isSmartRef__":true,"id":718}],"scripts":[],"id":"A2475486-D122-4968-97F8-307C609A7E48","shape":{"__isSmartRef__":true,"id":723},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":729},"lighterFill":{"__isSmartRef__":true,"id":734},"label":{"__isSmartRef__":true,"id":718},"name":"stepButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":739},"attributeConnections":[{"__isSmartRef__":true,"id":751}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":753},"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":754},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(7.0,111.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"718":{"submorphs":[],"scripts":[],"id":"4A2EF52C-9722-462C-BDFF-8CDED286D21F","shape":{"__isSmartRef__":true,"id":719},"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":717},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":720}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":722},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"719":{"_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)"},"720":{"style":{"__isSmartRef__":true,"id":721},"chunkOwner":{"__isSmartRef__":true,"id":718},"_id":"_1246","storedString":"Schritt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"721":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"722":{"morph":{"__isSmartRef__":true,"id":718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"723":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":724},"_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)"},"724":{"stops":[{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":728}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"725":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"726":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"727":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"728":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"729":{"stops":[{"__isSmartRef__":true,"id":730},{"__isSmartRef__":true,"id":731},{"__isSmartRef__":true,"id":732},{"__isSmartRef__":true,"id":733}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"730":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"731":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"732":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"733":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"734":{"stops":[{"__isSmartRef__":true,"id":735},{"__isSmartRef__":true,"id":736},{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":738}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"735":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"736":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"737":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"738":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"739":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":740},{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":748}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":750},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"740":{"date":{"__isSmartRef__":true,"id":741},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"741":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"742":{"date":{"__isSmartRef__":true,"id":743},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"743":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"744":{"date":{"__isSmartRef__":true,"id":745},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"745":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"746":{"date":{"__isSmartRef__":true,"id":747},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"747":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"748":{"date":{"__isSmartRef__":true,"id":749},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"749":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"750":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"751":{"sourceObj":{"__isSmartRef__":true,"id":717},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"simplexStep","varMapping":{"__isSmartRef__":true,"id":752},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"752":{"source":{"__isSmartRef__":true,"id":717},"target":{"__isSmartRef__":true,"id":1}},"753":{"morph":{"__isSmartRef__":true,"id":717},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"754":{"doAction":{"__isSmartRef__":true,"id":755}},"755":{"varMapping":{"__isSmartRef__":true,"id":756},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"756":{"this":{"__isSmartRef__":true,"id":717}},"757":{"timestamp":{"__isSmartRef__":true,"id":758},"user":"robertkrahn","tags":[]},"758":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"759":{"submorphs":[{"__isSmartRef__":true,"id":760}],"scripts":[],"id":"C1E1C431-73A9-4B45-AA79-F33D7C716811","shape":{"__isSmartRef__":true,"id":765},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":771},"lighterFill":{"__isSmartRef__":true,"id":776},"label":{"__isSmartRef__":true,"id":760},"name":"stopButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":781},"attributeConnections":[{"__isSmartRef__":true,"id":792},{"__isSmartRef__":true,"id":793},{"__isSmartRef__":true,"id":847}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":849},"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":850},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(5.0,81.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"760":{"submorphs":[],"scripts":[],"id":"35E05786-926D-42CB-88EF-CE38E8F2C86E","shape":{"__isSmartRef__":true,"id":761},"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":759},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":762}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":764},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"761":{"_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)"},"762":{"style":{"__isSmartRef__":true,"id":763},"chunkOwner":{"__isSmartRef__":true,"id":760},"_id":"_33507","storedString":"Stop","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"763":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"764":{"morph":{"__isSmartRef__":true,"id":760},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"765":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":766},"_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)"},"766":{"stops":[{"__isSmartRef__":true,"id":767},{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":770}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"767":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"768":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"769":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"770":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"771":{"stops":[{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":775}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"772":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"773":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"774":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"775":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"776":{"stops":[{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":778},{"__isSmartRef__":true,"id":779},{"__isSmartRef__":true,"id":780}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"777":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"778":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"779":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"780":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"781":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":786},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":790}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"782":{"date":{"__isSmartRef__":true,"id":783},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"783":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"784":{"date":{"__isSmartRef__":true,"id":785},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"785":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"786":{"date":{"__isSmartRef__":true,"id":787},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"787":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"788":{"date":{"__isSmartRef__":true,"id":789},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"789":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"790":{"date":{"__isSmartRef__":true,"id":791},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"791":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"792":{"sourceObj":{"__isSmartRef__":true,"id":759},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":759},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"793":{"sourceObj":{"__isSmartRef__":true,"id":759},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":794},"targetMethodName":"stop","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"794":{"submorphs":[],"scripts":[],"id":"DFA99784-9469-437E-9259-5FE6DB274314","shape":{"__isSmartRef__":true,"id":795},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Rectangle1","partsBinMetaInfo":{"__isSmartRef__":true,"id":796},"eventHandler":{"__isSmartRef__":true,"id":811},"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":812},"_ClipMode":"visible","moved":true,"owner":null,"algorithm":{"__isSmartRef__":true,"id":817},"result":false,"#startLetters":"init","isBeingDragged":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":818},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(2259.0,1431.0)"},"795":{"_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)"},"796":{"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":797},{"__isSmartRef__":true,"id":799},{"__isSmartRef__":true,"id":801},{"__isSmartRef__":true,"id":803},{"__isSmartRef__":true,"id":805},{"__isSmartRef__":true,"id":807},{"__isSmartRef__":true,"id":809}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"797":{"date":{"__isSmartRef__":true,"id":798},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"798":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"799":{"date":{"__isSmartRef__":true,"id":800},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"800":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"801":{"date":{"__isSmartRef__":true,"id":802},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"802":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"803":{"date":{"__isSmartRef__":true,"id":804},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"804":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"805":{"date":{"__isSmartRef__":true,"id":806},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"806":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"807":{"date":{"__isSmartRef__":true,"id":808},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"808":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"809":{"date":{"__isSmartRef__":true,"id":810},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"810":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"811":{"morph":{"__isSmartRef__":true,"id":794},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"812":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":813}},"813":{"test01IsMorph":{"__isSmartRef__":true,"id":814}},"814":{"varMapping":{"__isSmartRef__":true,"id":815},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"815":{"this":{"__isSmartRef__":true,"id":812}},"816":{},"817":{"__LivelyClassName__":"SimplexAlgorithmClass","__SourceModuleName__":"Global.projects.SketchPad.SimplexAlgorithm"},"818":{"solveConstraints":{"__isSmartRef__":true,"id":819},"start":{"__isSmartRef__":true,"id":823},"stop":{"__isSmartRef__":true,"id":827},"testFunc":{"__isSmartRef__":true,"id":831},"initSimplex":{"__isSmartRef__":true,"id":835},"simplexStep":{"__isSmartRef__":true,"id":839},"initializeTableau":{"__isSmartRef__":true,"id":843}},"819":{"varMapping":{"__isSmartRef__":true,"id":820},"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":821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"820":{"this":{"__isSmartRef__":true,"id":794}},"821":{"timestamp":{"__isSmartRef__":true,"id":822},"user":"lisa.pfisterer","tags":[]},"822":{"isSerializedDate":true,"string":"Wed Nov 07 2012 18:48:40 GMT+0100 (Mitteleuropäische Zeit)"},"823":{"varMapping":{"__isSmartRef__":true,"id":824},"source":"function start() {\n this.initSimplex();\n this.startStepping(1000, \"simplexStep\")\n}","funcProperties":{"__isSmartRef__":true,"id":825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"824":{"this":{"__isSmartRef__":true,"id":794}},"825":{"timestamp":{"__isSmartRef__":true,"id":826},"user":"lisa.pfisterer","tags":[]},"826":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:49:43 GMT+0100 (Mitteleuropäische Zeit)"},"827":{"varMapping":{"__isSmartRef__":true,"id":828},"source":"function stop() {\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"828":{"this":{"__isSmartRef__":true,"id":794}},"829":{"timestamp":{"__isSmartRef__":true,"id":830},"user":"lisa.pfisterer","tags":[]},"830":{"isSerializedDate":true,"string":"Mon Nov 05 2012 09:16:36 GMT+0100 (Mitteleuropäische Zeit)"},"831":{"varMapping":{"__isSmartRef__":true,"id":832},"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":833},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"832":{"this":{"__isSmartRef__":true,"id":794}},"833":{"timestamp":{"__isSmartRef__":true,"id":834},"user":"lisa.pfisterer","tags":[]},"834":{"isSerializedDate":true,"string":"Tue Nov 13 2012 18:13:02 GMT+0100 (Mitteleuropäische Zeit)"},"835":{"varMapping":{"__isSmartRef__":true,"id":836},"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":837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"836":{"this":{"__isSmartRef__":true,"id":794}},"837":{"timestamp":{"__isSmartRef__":true,"id":838},"user":"lisa.pfisterer","tags":[]},"838":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:22:46 GMT+0100 (Mitteleuropäische Zeit)"},"839":{"varMapping":{"__isSmartRef__":true,"id":840},"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":841},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"840":{"this":{"__isSmartRef__":true,"id":794}},"841":{"timestamp":{"__isSmartRef__":true,"id":842},"user":"lisa.pfisterer","tags":[]},"842":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:50:17 GMT+0100 (Mitteleuropäische Zeit)"},"843":{"varMapping":{"__isSmartRef__":true,"id":844},"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":845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"844":{"this":{"__isSmartRef__":true,"id":794}},"845":{"timestamp":{"__isSmartRef__":true,"id":846},"user":"lisa.pfisterer","tags":[]},"846":{"isSerializedDate":true,"string":"Mon Nov 19 2012 12:24:52 GMT+0100 (Mitteleuropäische Zeit)"},"847":{"sourceObj":{"__isSmartRef__":true,"id":759},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"stop","varMapping":{"__isSmartRef__":true,"id":848},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"848":{"source":{"__isSmartRef__":true,"id":759},"target":{"__isSmartRef__":true,"id":1}},"849":{"morph":{"__isSmartRef__":true,"id":759},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"850":{"doAction":{"__isSmartRef__":true,"id":851}},"851":{"varMapping":{"__isSmartRef__":true,"id":852},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"852":{"this":{"__isSmartRef__":true,"id":759}},"853":{"timestamp":{"__isSmartRef__":true,"id":854},"user":"robertkrahn","tags":[]},"854":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"855":{"submorphs":[{"__isSmartRef__":true,"id":856}],"scripts":[],"id":"DDC9CFD1-04BD-45AD-A355-E9619E645903","shape":{"__isSmartRef__":true,"id":861},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":867},"lighterFill":{"__isSmartRef__":true,"id":872},"label":{"__isSmartRef__":true,"id":856},"name":"startButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":781},"attributeConnections":[{"__isSmartRef__":true,"id":877}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":879},"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)"},"856":{"submorphs":[],"scripts":[],"id":"1F94C037-3802-4323-B400-ECC60F8AAD7E","shape":{"__isSmartRef__":true,"id":857},"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":855},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":858}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":860},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"857":{"_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)"},"858":{"style":{"__isSmartRef__":true,"id":859},"chunkOwner":{"__isSmartRef__":true,"id":856},"_id":"_33410","storedString":"Start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"859":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"860":{"morph":{"__isSmartRef__":true,"id":856},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"861":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":862},"_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)"},"862":{"stops":[{"__isSmartRef__":true,"id":863},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":865},{"__isSmartRef__":true,"id":866}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"863":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"864":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"865":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"866":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"867":{"stops":[{"__isSmartRef__":true,"id":868},{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":870},{"__isSmartRef__":true,"id":871}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"868":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"869":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"870":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"871":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"872":{"stops":[{"__isSmartRef__":true,"id":873},{"__isSmartRef__":true,"id":874},{"__isSmartRef__":true,"id":875},{"__isSmartRef__":true,"id":876}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"873":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"874":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"875":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"876":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"877":{"sourceObj":{"__isSmartRef__":true,"id":855},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"start","varMapping":{"__isSmartRef__":true,"id":878},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"878":{"source":{"__isSmartRef__":true,"id":855},"target":{"__isSmartRef__":true,"id":1}},"879":{"morph":{"__isSmartRef__":true,"id":855},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"880":{"submorphs":[{"__isSmartRef__":true,"id":881}],"scripts":[],"id":"A3AFCD3D-15BC-4425-B5F2-EAD7B426D22F","shape":{"__isSmartRef__":true,"id":886},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":892},"lighterFill":{"__isSmartRef__":true,"id":897},"label":{"__isSmartRef__":true,"id":881},"name":"initButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":902},"eventHandler":{"__isSmartRef__":true,"id":913},"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":914}],"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)"},"881":{"submorphs":[],"scripts":[],"id":"BEE45CC0-D0B8-4749-A965-A1EBC53E76B2","shape":{"__isSmartRef__":true,"id":882},"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":880},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":883}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":885},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"882":{"_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)"},"883":{"style":{"__isSmartRef__":true,"id":884},"chunkOwner":{"__isSmartRef__":true,"id":881},"_id":"_1120","storedString":"Initialisieren","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"884":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"885":{"morph":{"__isSmartRef__":true,"id":881},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"886":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":887},"_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)"},"887":{"stops":[{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889},{"__isSmartRef__":true,"id":890},{"__isSmartRef__":true,"id":891}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"888":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"889":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"890":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"891":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"892":{"stops":[{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":896}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"893":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"894":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"895":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"896":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"897":{"stops":[{"__isSmartRef__":true,"id":898},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":900},{"__isSmartRef__":true,"id":901}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"898":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"899":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"900":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"901":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"902":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":903},{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":909},{"__isSmartRef__":true,"id":911}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"903":{"date":{"__isSmartRef__":true,"id":904},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"904":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"905":{"date":{"__isSmartRef__":true,"id":906},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"906":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"907":{"date":{"__isSmartRef__":true,"id":908},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"908":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"909":{"date":{"__isSmartRef__":true,"id":910},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"910":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"911":{"date":{"__isSmartRef__":true,"id":912},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"912":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"913":{"morph":{"__isSmartRef__":true,"id":880},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"914":{"sourceObj":{"__isSmartRef__":true,"id":880},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"initSimplex","varMapping":{"__isSmartRef__":true,"id":915},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"915":{"source":{"__isSmartRef__":true,"id":880},"target":{"__isSmartRef__":true,"id":1}},"916":{"submorphs":[{"__isSmartRef__":true,"id":917}],"scripts":[],"id":"E6D1D7AC-9308-4911-AFA7-EAD5A99AC31F","shape":{"__isSmartRef__":true,"id":922},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":928},"lighterFill":{"__isSmartRef__":true,"id":933},"label":{"__isSmartRef__":true,"id":917},"name":"parseConstraintsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":938},"attributeConnections":[{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":951}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":953},"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":954},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1627.0,662.0)","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"917":{"submorphs":[],"scripts":[],"id":"022F059B-EAD1-46A6-98D7-1518240E6E80","shape":{"__isSmartRef__":true,"id":918},"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":916},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":919}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":921},"_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","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__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)"},"918":{"_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)"},"919":{"style":{"__isSmartRef__":true,"id":920},"chunkOwner":{"__isSmartRef__":true,"id":917},"_id":"_2456","storedString":"Einlesen","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"920":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"921":{"morph":{"__isSmartRef__":true,"id":917},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"922":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":923},"_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)"},"923":{"stops":[{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":926},{"__isSmartRef__":true,"id":927}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"924":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"925":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"926":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"927":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"928":{"stops":[{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":930},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":932}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"929":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"930":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"931":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"932":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"933":{"stops":[{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":937}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"934":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"935":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"936":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"937":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"938":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":939},{"__isSmartRef__":true,"id":941},{"__isSmartRef__":true,"id":943},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":947}],"revisionOnLoad":171940,"lastModifiedDate":{"__isSmartRef__":true,"id":949},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"939":{"date":{"__isSmartRef__":true,"id":940},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"940":{"isSerializedDate":true,"string":"Fri Apr 13 2012 21:04:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"941":{"date":{"__isSmartRef__":true,"id":942},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"942":{"isSerializedDate":true,"string":"Mon Apr 16 2012 10:36:21 GMT+0200 (Mitteleuropäische Sommerzeit)"},"943":{"date":{"__isSmartRef__":true,"id":944},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"944":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:08:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"945":{"date":{"__isSmartRef__":true,"id":946},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"946":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:03:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"947":{"date":{"__isSmartRef__":true,"id":948},"author":"bgnauk","message":"no comment","id":"FA43C1A3-19A9-4ED6-A014-82C74689A5C3"},"948":{"isSerializedDate":true,"string":"Tue Jun 19 2012 23:39:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"949":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"950":{"sourceObj":{"__isSmartRef__":true,"id":916},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":916},"targetMethodName":"doAction","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"951":{"sourceObj":{"__isSmartRef__":true,"id":916},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"parseConstraints","varMapping":{"__isSmartRef__":true,"id":952},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"952":{"source":{"__isSmartRef__":true,"id":916},"target":{"__isSmartRef__":true,"id":1}},"953":{"morph":{"__isSmartRef__":true,"id":916},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"954":{"doAction":{"__isSmartRef__":true,"id":955}},"955":{"varMapping":{"__isSmartRef__":true,"id":956},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"956":{"this":{"__isSmartRef__":true,"id":916}},"957":{"timestamp":{"__isSmartRef__":true,"id":958},"user":"robertkrahn","tags":[]},"958":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:02:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"959":{"_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)"},"960":{"partsSpaceName":"PartsBin/sd1213/","comment":"Constraint-based layouting with the Simplex algorithm. Still under construction!","migrationLevel":4,"partName":"SketchPad","changes":[{"__isSmartRef__":true,"id":961},{"__isSmartRef__":true,"id":963},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":979},{"__isSmartRef__":true,"id":981},{"__isSmartRef__":true,"id":983},{"__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}],"lastModifiedDate":{"__isSmartRef__":true,"id":999},"revisionOnLoad":186249,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"961":{"date":{"__isSmartRef__":true,"id":962},"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"},"962":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:09:22 GMT+0100 (Mitteleuropäische Zeit)"},"963":{"date":{"__isSmartRef__":true,"id":964},"author":"lisa.pfisterer","message":"Änderungen von Lisa. Array Util, Tableau-Anzeige, erste Schritte für Setter.","id":"5E3055D8-ECFA-4BEE-A27D-35F84A422A00"},"964":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:28:16 GMT+0100 (Mitteleuropäische Zeit)"},"965":{"date":{"__isSmartRef__":true,"id":966},"author":"daniel.hoffmann","message":"Added support for adding constraints manually","id":"09ABA022-2B1A-4B91-8B3B-31A5752DD828"},"966":{"isSerializedDate":true,"string":"Sun Dec 02 2012 12:38:16 GMT+0100 (Mitteleuropäische Zeit)"},"967":{"date":{"__isSmartRef__":true,"id":968},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"968":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"969":{"date":{"__isSmartRef__":true,"id":970},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"970":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"971":{"date":{"__isSmartRef__":true,"id":972},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"972":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"973":{"date":{"__isSmartRef__":true,"id":974},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"974":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"975":{"date":{"__isSmartRef__":true,"id":976},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"976":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"977":{"date":{"__isSmartRef__":true,"id":978},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"978":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"979":{"date":{"__isSmartRef__":true,"id":980},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"980":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"981":{"date":{"__isSmartRef__":true,"id":982},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"982":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (Mitteleuropäische Zeit)"},"983":{"date":{"__isSmartRef__":true,"id":984},"author":"lisa.pfisterer","message":"first draft. Still under construction!","id":"2B13E2A0-6DC9-4EDF-82E7-F541EB7D78BF"},"984":{"isSerializedDate":true,"string":"Sat Dec 01 2012 21:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"985":{"date":{"__isSmartRef__":true,"id":986},"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"},"986":{"isSerializedDate":true,"string":"Sat Dec 01 2012 22:57:06 GMT+0100 (Mitteleuropäische Zeit)"},"987":{"date":{"__isSmartRef__":true,"id":988},"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"},"988":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:00:42 GMT+0100 (Mitteleuropäische Zeit)"},"989":{"date":{"__isSmartRef__":true,"id":990},"author":"daniel.hoffmann","message":"ratio button works as well","id":"855AF291-AD64-458B-9689-798C7B7C95B5"},"990":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:06:02 GMT+0100 (Mitteleuropäische Zeit)"},"991":{"date":{"__isSmartRef__":true,"id":992},"author":"daniel.hoffmann","message":"get side of rectangle","id":"0E2DB143-F8A6-4DEA-A29B-8B814B27984E"},"992":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:49:43 GMT+0100 (Mitteleuropäische Zeit)"},"993":{"date":{"__isSmartRef__":true,"id":994},"author":"daniel.hoffmann","message":"read value of ratio","id":"1534C786-A4CB-4E28-8341-71AEBC1C796B"},"994":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:15:07 GMT+0100 (Mitteleuropäische Zeit)"},"995":{"date":{"__isSmartRef__":true,"id":996},"author":"lisa.pfisterer","message":"Ratio implementiert (richtig herum??)","id":"37F523CF-DD2D-4A29-96F1-E50E32CD8D94"},"996":{"isSerializedDate":true,"string":"Mon Dec 03 2012 23:26:16 GMT+0100 (Mitteleuropäische Zeit)"},"997":{"date":{"__isSmartRef__":true,"id":998},"author":"lisa.pfisterer","message":"Positionen möglich! :) Sowie Constraints-Array angelegt","id":"4052D55D-CD65-4555-A26D-59AFBCC32962"},"998":{"isSerializedDate":true,"string":"Thu Dec 06 2012 18:23:18 GMT+0100 (Mitteleuropäische Zeit)"},"999":{"isSerializedDate":true,"string":"Thu Dec 06 2012 18:23:14 GMT+0100 (Mitteleuropäische Zeit)"},"1000":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1001":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1002}},"1002":{"test01IsMorph":{"__isSmartRef__":true,"id":1003}},"1003":{"varMapping":{"__isSmartRef__":true,"id":1004},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1004":{"this":{"__isSmartRef__":true,"id":1001}},"1005":{},"1006":{"tableau":[[0,1,0,0,0,0,0,0,0,100],[0,0,1,1,0,0,0,0,0,100],[1,0,0,0,0,0,0,0,0,0],[0,0,0,0,1,0,0,0,0,0],[0,0,0,0,0,0,0,1,1,200],[0,0,0,1,0,0,0,0,1,300]],"all":["x2","x0","x1","x1","x3","x2","x3","x4","x4"],"schlupf":["x0","green.y","green.x","blue.x","green.w"],"needed":["green.x","green.y","blue.x","green.w"],"resultArray":[0,100,0,200],"result":true,"resultString":" green.x: 0 green.y: 100 blue.x: 0 green.w: 200 F: 300","__LivelyClassName__":"SimplexAlgorithmClass","__SourceModuleName__":"Global.projects.SketchPad.SimplexAlgorithm"},"1007":{"initializeTableau":{"__isSmartRef__":true,"id":1008},"initSimplex":{"__isSmartRef__":true,"id":1012},"simplexStep":{"__isSmartRef__":true,"id":1016},"start":{"__isSmartRef__":true,"id":1020},"stop":{"__isSmartRef__":true,"id":1024},"parseConstraints":{"__isSmartRef__":true,"id":1028},"testTableau":{"__isSmartRef__":true,"id":1032},"addConstraintArray":{"__isSmartRef__":true,"id":1036},"extendArrayWithZeros":{"__isSmartRef__":true,"id":1040},"height":{"__isSmartRef__":true,"id":1044},"addConstraint":{"__isSmartRef__":true,"id":1048},"getValueForConstraintType":{"__isSmartRef__":true,"id":1052},"select":{"__isSmartRef__":true,"id":1056},"setCurrentConstraintType":{"__isSmartRef__":true,"id":1060},"roundTableau":{"__isSmartRef__":true,"id":1064},"setValue":{"__isSmartRef__":true,"id":1068},"stepping":{"__isSmartRef__":true,"id":1072},"testStuff":{"__isSmartRef__":true,"id":1076},"getRatioSide":{"__isSmartRef__":true,"id":1080},"addRatioConstraint":{"__isSmartRef__":true,"id":1084},"length":{"__isSmartRef__":true,"id":1088},"printTableau":{"__isSmartRef__":true,"id":1092},"showVariableValues":{"__isSmartRef__":true,"id":1096},"getValue":{"__isSmartRef__":true,"id":1100},"width":{"__isSmartRef__":true,"id":1104},"ratio":{"__isSmartRef__":true,"id":1108},"position":{"__isSmartRef__":true,"id":1112}},"1008":{"varMapping":{"__isSmartRef__":true,"id":1009},"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":1010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1009":{"this":{"__isSmartRef__":true,"id":1}},"1010":{"timestamp":{"__isSmartRef__":true,"id":1011},"user":"lisa.pfisterer","tags":[]},"1011":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:59:12 GMT+0100 (Mitteleuropäische Zeit)"},"1012":{"varMapping":{"__isSmartRef__":true,"id":1013},"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":1014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1013":{"this":{"__isSmartRef__":true,"id":1}},"1014":{"timestamp":{"__isSmartRef__":true,"id":1015},"user":"lisa.pfisterer","tags":[]},"1015":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1016":{"varMapping":{"__isSmartRef__":true,"id":1017},"source":"function simplexStep() {\n if(!this.algorithm.result) {\n \n for (var i = 0; i < this.algorithm.needed.length; i++) {\n var index = this.algorithm.schlupf.indexOf(this.algorithm.needed[i]);\n if (index >= 0) {\n var val = this.algorithm.resultArray[i];\n //this.algorithm.tableau[index][this.algorithm.tableau[0].length] = this.getValue(this.algorithm.needed[i]);\n console.log(\"Current Value: \" + this.algorithm.schlupf[index] + \" \" + val + \" GET VALUE: \" + this.getValue(this.algorithm.needed[i]));\n }\n \n }\n \n // SIMPLEX ITERATION STEP\n this.algorithm.simplexIteration();\n // ----------------------\n \n for (var i = 0; i < this.algorithm.resultArray.length; i++) {\n console.log(\"Result \" + this.algorithm.needed[i] + \": \" + this.algorithm.resultArray[i]);\n }\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 this.showVariableValues();\n\n } else {\n console.log(\"ALGORITHM FINISHED.\");\n\n this.printTableau(); \n this.stop();\n }\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":1018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1017":{"this":{"__isSmartRef__":true,"id":1}},"1018":{"timestamp":{"__isSmartRef__":true,"id":1019},"user":"lisa.pfisterer","tags":[]},"1019":{"isSerializedDate":true,"string":"Thu Dec 06 2012 18:02:55 GMT+0100 (Mitteleuropäische Zeit)"},"1020":{"varMapping":{"__isSmartRef__":true,"id":1021},"source":"function start() {\n this.initSimplex();\n this.startStepping(1000, \"simplexStep\")\n}","funcProperties":{"__isSmartRef__":true,"id":1022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1021":{"this":{"__isSmartRef__":true,"id":1}},"1022":{"timestamp":{"__isSmartRef__":true,"id":1023},"user":"lisa.pfisterer","tags":[]},"1023":{"isSerializedDate":true,"string":"Sat Dec 01 2012 18:56:37 GMT+0100 (Mitteleuropäische Zeit)"},"1024":{"varMapping":{"__isSmartRef__":true,"id":1025},"source":"function stop() {\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":1026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1025":{"this":{"__isSmartRef__":true,"id":1}},"1026":{"timestamp":{"__isSmartRef__":true,"id":1027},"user":"lisa.pfisterer","tags":[]},"1027":{"isSerializedDate":true,"string":"Sat Dec 01 2012 18:56:37 GMT+0100 (Mitteleuropäische Zeit)"},"1028":{"varMapping":{"__isSmartRef__":true,"id":1029},"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 this.constraintsArray = new Array();\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 this.constraintsArray[i] = new Array(methodName, variables);\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 case \"position\":\n this.position(variables);\n break;\n default:\n break;\n }\n }\n }\n // console.log(\"Constraints Array: \" + this.constraintsArray);\n // this.get(\"variablesTextField\").setTextString(\"Arr: \" + this.constraintsArray);\n}","funcProperties":{"__isSmartRef__":true,"id":1030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1029":{"this":{"__isSmartRef__":true,"id":1}},"1030":{"timestamp":{"__isSmartRef__":true,"id":1031},"user":"lisa.pfisterer","tags":[]},"1031":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:59:33 GMT+0100 (Mitteleuropäische Zeit)"},"1032":{"varMapping":{"__isSmartRef__":true,"id":1033},"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":1034},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1033":{"this":{"__isSmartRef__":true,"id":1}},"1034":{"timestamp":{"__isSmartRef__":true,"id":1035},"user":"lisa.pfisterer","tags":[]},"1035":{"isSerializedDate":true,"string":"Sat Dec 01 2012 22:53:18 GMT+0100 (Mitteleuropäische Zeit)"},"1036":{"varMapping":{"__isSmartRef__":true,"id":1037},"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].startsWith(\"x\")) { // 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":1038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1037":{"this":{"__isSmartRef__":true,"id":1}},"1038":{"timestamp":{"__isSmartRef__":true,"id":1039},"user":"lisa.pfisterer","tags":[]},"1039":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:49:25 GMT+0100 (Mitteleuropäische Zeit)"},"1040":{"varMapping":{"__isSmartRef__":true,"id":1041},"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":1042},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1041":{"this":{"__isSmartRef__":true,"id":1}},"1042":{"timestamp":{"__isSmartRef__":true,"id":1043},"user":"lisa.pfisterer","tags":[]},"1043":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:58:45 GMT+0100 (Mitteleuropäische Zeit)"},"1044":{"varMapping":{"__isSmartRef__":true,"id":1045},"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":1046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1045":{"this":{"__isSmartRef__":true,"id":1}},"1046":{"timestamp":{"__isSmartRef__":true,"id":1047},"user":"lisa.pfisterer","tags":[]},"1047":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1048":{"varMapping":{"__isSmartRef__":true,"id":1049},"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":1050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1049":{"this":{"__isSmartRef__":true,"id":1}},"1050":{"timestamp":{"__isSmartRef__":true,"id":1051},"user":"daniel.hoffmann","tags":[]},"1051":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:03:07 GMT+0100 (Mitteleuropäische Zeit)"},"1052":{"varMapping":{"__isSmartRef__":true,"id":1053},"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":1054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1053":{"this":{"__isSmartRef__":true,"id":1}},"1054":{"timestamp":{"__isSmartRef__":true,"id":1055},"user":"daniel.hoffmann","tags":[]},"1055":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:13:56 GMT+0100 (Mitteleuropäische Zeit)"},"1056":{"varMapping":{"__isSmartRef__":true,"id":1057},"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":1058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1057":{"this":{"__isSmartRef__":true,"id":1}},"1058":{"timestamp":{"__isSmartRef__":true,"id":1059},"user":"daniel.hoffmann","tags":[]},"1059":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:08:48 GMT+0100 (Mitteleuropäische Zeit)"},"1060":{"varMapping":{"__isSmartRef__":true,"id":1061},"source":"function setCurrentConstraintType(type) {\n this.currentConstraintType = type;\n if(type == \"ratio\") {\n this.firstRatioSide = null;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1061":{"this":{"__isSmartRef__":true,"id":1}},"1062":{"timestamp":{"__isSmartRef__":true,"id":1063},"user":"daniel.hoffmann","tags":[]},"1063":{"isSerializedDate":true,"string":"Sun Dec 02 2012 17:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"1064":{"varMapping":{"__isSmartRef__":true,"id":1065},"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":1066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1065":{"this":{"__isSmartRef__":true,"id":1}},"1066":{"timestamp":{"__isSmartRef__":true,"id":1067},"user":"lisa.pfisterer","tags":[]},"1067":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:25:12 GMT+0100 (Mitteleuropäische Zeit)"},"1068":{"varMapping":{"__isSmartRef__":true,"id":1069},"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 case \"x\":\n var position = object.getPosition();\n position.x = value;\n object.setPosition(position);\n break;\n case \"y\":\n var position= object.getPosition();\n position.y = value;\n object.setPosition(position);\n break;\n default:\n break;\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":1070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1069":{"this":{"__isSmartRef__":true,"id":1}},"1070":{"timestamp":{"__isSmartRef__":true,"id":1071},"user":"lisa.pfisterer","tags":[]},"1071":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1072":{"varMapping":{"__isSmartRef__":true,"id":1073},"source":"function stepping() {\n this.startStepping(100, \"testStuff\")\n}","funcProperties":{"__isSmartRef__":true,"id":1074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1073":{"this":{"__isSmartRef__":true,"id":1}},"1074":{"timestamp":{"__isSmartRef__":true,"id":1075},"user":"lisa.pfisterer","tags":[]},"1075":{"isSerializedDate":true,"string":"Sun Dec 02 2012 14:26:27 GMT+0100 (Mitteleuropäische Zeit)"},"1076":{"varMapping":{"__isSmartRef__":true,"id":1077},"source":"function testStuff() {\n //this.setValue(\"greenRect.height\", 300);\n //this.setValue(\"greenRect.width\", 150);\n var position = this.get(\"green\").getPosition();\n position.x = 300;\n this.get(\"green\").setPosition(position);\n \n}","funcProperties":{"__isSmartRef__":true,"id":1078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1077":{"this":{"__isSmartRef__":true,"id":1}},"1078":{"timestamp":{"__isSmartRef__":true,"id":1079},"user":"lisa.pfisterer","tags":[]},"1079":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1080":{"varMapping":{"__isSmartRef__":true,"id":1081},"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":1082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1081":{"this":{"__isSmartRef__":true,"id":1}},"1082":{"timestamp":{"__isSmartRef__":true,"id":1083},"user":"daniel.hoffmann","tags":[]},"1083":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:10:50 GMT+0100 (Mitteleuropäische Zeit)"},"1084":{"varMapping":{"__isSmartRef__":true,"id":1085},"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":1086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1085":{"this":{"__isSmartRef__":true,"id":1}},"1086":{"timestamp":{"__isSmartRef__":true,"id":1087},"user":"daniel.hoffmann","tags":[]},"1087":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:07:42 GMT+0100 (Mitteleuropäische Zeit)"},"1088":{"varMapping":{"__isSmartRef__":true,"id":1089},"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":1090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1089":{"this":{"__isSmartRef__":true,"id":1}},"1090":{"timestamp":{"__isSmartRef__":true,"id":1091},"user":"lisa.pfisterer","tags":[]},"1091":{"isSerializedDate":true,"string":"Sun Dec 02 2012 18:59:34 GMT+0100 (Mitteleuropäische Zeit)"},"1092":{"varMapping":{"__isSmartRef__":true,"id":1093},"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 textString += \"Results: \" + this.algorithm.resultArray + \"\\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":1094},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1093":{"this":{"__isSmartRef__":true,"id":1}},"1094":{"timestamp":{"__isSmartRef__":true,"id":1095},"user":"lisa.pfisterer","tags":[]},"1095":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1096":{"varMapping":{"__isSmartRef__":true,"id":1097},"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":1098},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1097":{"this":{"__isSmartRef__":true,"id":1}},"1098":{"timestamp":{"__isSmartRef__":true,"id":1099},"user":"lisa.pfisterer","tags":[]},"1099":{"isSerializedDate":true,"string":"Sun Dec 02 2012 19:00:43 GMT+0100 (Mitteleuropäische Zeit)"},"1100":{"varMapping":{"__isSmartRef__":true,"id":1101},"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 case \"x\":\n return object.getPosition().x;\n break;\n case \"y\":\n return object.getPosition().y;\n break;\n default:\n break;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1101":{"this":{"__isSmartRef__":true,"id":1}},"1102":{"timestamp":{"__isSmartRef__":true,"id":1103},"user":"lisa.pfisterer","tags":[]},"1103":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:59:33 GMT+0100 (Mitteleuropäische Zeit)"},"1104":{"varMapping":{"__isSmartRef__":true,"id":1105},"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":1106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1105":{"this":{"__isSmartRef__":true,"id":1}},"1106":{"timestamp":{"__isSmartRef__":true,"id":1107},"user":"lisa.pfisterer","tags":[]},"1107":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1108":{"varMapping":{"__isSmartRef__":true,"id":1109},"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":1110},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1109":{"this":{"__isSmartRef__":true,"id":1}},"1110":{"timestamp":{"__isSmartRef__":true,"id":1111},"user":"lisa.pfisterer","tags":[]},"1111":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1112":{"varMapping":{"__isSmartRef__":true,"id":1113},"source":"function position(variables) {\n console.log(\"function: position\");\n var variableX = variables[0] + \".x\";\n var variableY = variables[0] + \".y\";\n var valueX = variables[1];\n var valueY = variables[2];\n // console.log(\"Objectreference: \" + variable);\n // console.log(\"Value: \" + value);\n \n if (this.algorithm.all.indexOf(variableX) < 0) {\n this.algorithm.all.push(variableX);\n this.algorithm.needed.push(variableX);\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(variableX, 1), new Array(schlupfVar, 1)), valueX);\n \n \n if (this.algorithm.all.indexOf(variableY) < 0) {\n this.algorithm.all.push(variableY);\n this.algorithm.needed.push(variableY);\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(variableY, 1), new Array(schlupfVar, 1)), valueY);\n}","funcProperties":{"__isSmartRef__":true,"id":1114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1113":{"this":{"__isSmartRef__":true,"id":1}},"1114":{"timestamp":{"__isSmartRef__":true,"id":1115},"user":"lisa.pfisterer","tags":[]},"1115":{"isSerializedDate":true,"string":"Thu Dec 06 2012 17:39:19 GMT+0100 (Mitteleuropäische Zeit)"},"1116":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":1117},"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":1118},"_Rotation":0,"lastScrollTime":1354814431775,"_ClipMode":"visible","prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(952.0,257.0)"},"1117":{"_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)"},"1118":{"morph":{"__isSmartRef__":true,"id":1116},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1119":{"_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)"},"1120":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1121":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1122":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","varMapping":{"__isSmartRef__":true,"id":1123},"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) { $upd(v); }\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1123":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"1124":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lisa.pfisterer/simplex17.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1125":{"submorphs":[{"__isSmartRef__":true,"id":1126}],"scripts":[],"id":"C68238CF-9516-4B46-8C47-30F136D36BD1","shape":{"__isSmartRef__":true,"id":1137},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":1138},"eventHandler":{"__isSmartRef__":true,"id":1236},"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":1237},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1238},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(171.0,-13.0)"},"1126":{"submorphs":[{"__isSmartRef__":true,"id":1127}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1133},"id":"C0E18DFE-9D1E-4D18-8867-28FE17CBC7E5","eventHandler":{"__isSmartRef__":true,"id":1134},"droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"name":"ProgressIndicator","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1135},"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":1125},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":1136},"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)"},"1127":{"submorphs":[],"scripts":[],"id":"15B33435-1C9C-4DBF-BAED-3DB7D5F5F870","shape":{"__isSmartRef__":true,"id":1128},"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":1129},"textChunks":[{"__isSmartRef__":true,"id":1130}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1132},"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":1126},"_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)"},"1128":{"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)"},"1129":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1130":{"style":{"__isSmartRef__":true,"id":1131},"chunkOwner":{"__isSmartRef__":true,"id":1127},"storedString":"loading part","_id":"_9","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1131":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1132":{"morph":{"__isSmartRef__":true,"id":1127},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1133":{"__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)"},"1134":{"morph":{"__isSmartRef__":true,"id":1126},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1135":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1136":{"centeredHorizontal":true,"centeredVertical":true},"1137":{"__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)"},"1138":{"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":1139},{"__isSmartRef__":true,"id":1141},{"__isSmartRef__":true,"id":1143},{"__isSmartRef__":true,"id":1145},{"__isSmartRef__":true,"id":1147},{"__isSmartRef__":true,"id":1149},{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1153},{"__isSmartRef__":true,"id":1155},{"__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}],"revisionOnLoad":151069,"lastModifiedDate":{"__isSmartRef__":true,"id":1235},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1139":{"date":{"__isSmartRef__":true,"id":1140},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"1140":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (Mitteleuropäische Zeit)"},"1141":{"date":{"__isSmartRef__":true,"id":1142},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"1142":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (Mitteleuropäische Zeit)"},"1143":{"date":{"__isSmartRef__":true,"id":1144},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"1144":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (Mitteleuropäische Zeit)"},"1145":{"date":{"__isSmartRef__":true,"id":1146},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"1146":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (Mitteleuropäische Zeit)"},"1147":{"date":{"__isSmartRef__":true,"id":1148},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"1148":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (Mitteleuropäische Zeit)"},"1149":{"date":{"__isSmartRef__":true,"id":1150},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"1150":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (Mitteleuropäische Zeit)"},"1151":{"date":{"__isSmartRef__":true,"id":1152},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"1152":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (Mitteleuropäische Zeit)"},"1153":{"date":{"__isSmartRef__":true,"id":1154},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"1154":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (Mitteleuropäische Zeit)"},"1155":{"date":{"__isSmartRef__":true,"id":1156},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"1156":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (Mitteleuropäische Zeit)"},"1157":{"date":{"__isSmartRef__":true,"id":1158},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"1158":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (Mitteleuropäische Zeit)"},"1159":{"date":{"__isSmartRef__":true,"id":1160},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"1160":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (Mitteleuropäische Zeit)"},"1161":{"date":{"__isSmartRef__":true,"id":1162},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"1162":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (Mitteleuropäische Zeit)"},"1163":{"date":{"__isSmartRef__":true,"id":1164},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"1164":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (Mitteleuropäische Zeit)"},"1165":{"date":{"__isSmartRef__":true,"id":1166},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"1166":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (Mitteleuropäische Zeit)"},"1167":{"date":{"__isSmartRef__":true,"id":1168},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"1168":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (Mitteleuropäische Zeit)"},"1169":{"date":{"__isSmartRef__":true,"id":1170},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"1170":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (Mitteleuropäische Zeit)"},"1171":{"date":{"__isSmartRef__":true,"id":1172},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"1172":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (Mitteleuropäische Zeit)"},"1173":{"date":{"__isSmartRef__":true,"id":1174},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"1174":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (Mitteleuropäische Zeit)"},"1175":{"date":{"__isSmartRef__":true,"id":1176},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"1176":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (Mitteleuropäische Zeit)"},"1177":{"date":{"__isSmartRef__":true,"id":1178},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"1178":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (Mitteleuropäische Zeit)"},"1179":{"date":{"__isSmartRef__":true,"id":1180},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"1180":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (Mitteleuropäische Zeit)"},"1181":{"date":{"__isSmartRef__":true,"id":1182},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"1182":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (Mitteleuropäische Zeit)"},"1183":{"date":{"__isSmartRef__":true,"id":1184},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"1184":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (Mitteleuropäische Zeit)"},"1185":{"date":{"__isSmartRef__":true,"id":1186},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"1186":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (Mitteleuropäische Zeit)"},"1187":{"date":{"__isSmartRef__":true,"id":1188},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"1188":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (Mitteleuropäische Zeit)"},"1189":{"date":{"__isSmartRef__":true,"id":1190},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"1190":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (Mitteleuropäische Zeit)"},"1191":{"date":{"__isSmartRef__":true,"id":1192},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"1192":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (Mitteleuropäische Zeit)"},"1193":{"date":{"__isSmartRef__":true,"id":1194},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"1194":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (Mitteleuropäische Zeit)"},"1195":{"date":{"__isSmartRef__":true,"id":1196},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"1196":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (Mitteleuropäische Zeit)"},"1197":{"date":{"__isSmartRef__":true,"id":1198},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"1198":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (Mitteleuropäische Zeit)"},"1199":{"date":{"__isSmartRef__":true,"id":1200},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"1200":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (Mitteleuropäische Zeit)"},"1201":{"date":{"__isSmartRef__":true,"id":1202},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"1202":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (Mitteleuropäische Zeit)"},"1203":{"date":{"__isSmartRef__":true,"id":1204},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"1204":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (Mitteleuropäische Zeit)"},"1205":{"date":{"__isSmartRef__":true,"id":1206},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"1206":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (Mitteleuropäische Zeit)"},"1207":{"date":{"__isSmartRef__":true,"id":1208},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"1208":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (Mitteleuropäische Zeit)"},"1209":{"date":{"__isSmartRef__":true,"id":1210},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"1210":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (Mitteleuropäische Zeit)"},"1211":{"date":{"__isSmartRef__":true,"id":1212},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"1212":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (Mitteleuropäische Zeit)"},"1213":{"date":{"__isSmartRef__":true,"id":1214},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"1214":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (Mitteleuropäische Zeit)"},"1215":{"date":{"__isSmartRef__":true,"id":1216},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"1216":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (Mitteleuropäische Zeit)"},"1217":{"date":{"__isSmartRef__":true,"id":1218},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"1218":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (Mitteleuropäische Zeit)"},"1219":{"date":{"__isSmartRef__":true,"id":1220},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"1220":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (Mitteleuropäische Zeit)"},"1221":{"date":{"__isSmartRef__":true,"id":1222},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"1222":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (Mitteleuropäische Zeit)"},"1223":{"date":{"__isSmartRef__":true,"id":1224},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"1224":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (Mitteleuropäische Zeit)"},"1225":{"date":{"__isSmartRef__":true,"id":1226},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"1226":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (Mitteleuropäische Zeit)"},"1227":{"date":{"__isSmartRef__":true,"id":1228},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"1228":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (Mitteleuropäische Zeit)"},"1229":{"date":{"__isSmartRef__":true,"id":1230},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"1230":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (Mitteleuropäische Zeit)"},"1231":{"date":{"__isSmartRef__":true,"id":1232},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"1232":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (Mitteleuropäische Zeit)"},"1233":{"date":{"__isSmartRef__":true,"id":1234},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"1234":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (Mitteleuropäische Zeit)"},"1235":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1236":{"morph":{"__isSmartRef__":true,"id":1125},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1237":{"adjustForNewBounds":true},"1238":{"loadPart":{"__isSmartRef__":true,"id":1239},"loadFinished":{"__isSmartRef__":true,"id":1243},"loadPartByName":{"__isSmartRef__":true,"id":1247}},"1239":{"varMapping":{"__isSmartRef__":true,"id":1240},"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":1241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1240":{"this":{"__isSmartRef__":true,"id":1125}},"1241":{"timestamp":{"__isSmartRef__":true,"id":1242},"user":"sstamm","tags":[]},"1242":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (Mitteleuropäische Zeit)"},"1243":{"varMapping":{"__isSmartRef__":true,"id":1244},"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":1245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1244":{"this":{"__isSmartRef__":true,"id":1125}},"1245":{"timestamp":{"__isSmartRef__":true,"id":1246},"user":"sstamm","tags":[]},"1246":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (Mitteleuropäische Zeit)"},"1247":{"varMapping":{"__isSmartRef__":true,"id":1248},"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":1249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1248":{"this":{"__isSmartRef__":true,"id":1125}},"1249":{"timestamp":{"__isSmartRef__":true,"id":1250},"user":"sstamm","tags":[]},"1250":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (Mitteleuropäische Zeit)"},"1251":{"isSerializedDate":true,"string":"Thu Dec 06 2012 18:21:45 GMT+0100 (Mitteleuropäische Zeit)"},"isSimplifiedRegistry":true}}]]>