(eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:27896:60))\n at Box. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:27896:55)\n at Text. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:27897:32)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:14166:29)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:14166:29)\n at withLayers (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:17763:20)\n at bound (http://lively-kernel.org/repository/webwerkstatt/core/lively/bootstrap.js:853:37)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:17842:24\n at wrapped (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:9927:32)\n at Text.boundEval (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?5cd9e8a0e92424b99084d73a023d7080:14166:29))","prevScroll":[0,0],"showsHalos":false,"loadingMorph":{"__isSmartRef__":true,"id":7039},"attributeConnections":[{"__isSmartRef__":true,"id":7192}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"savedWorldAsURL":{"__isSmartRef__":true,"id":7197},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"derivationIds":[null,"99868D5B-4AFB-4D0F-B333-75FDADC8EBAA","1724C6E9-0FFC-430F-8EA9-0CB466CF3B46","83CF2C89-334F-431A-8847-02801E94371E","34736A61-791C-43D0-9345-1E2521E4C46A","3A771B5D-2319-4029-A862-815739B6EE6B","4A0DD28F-5FCE-40B0-A59A-6DCA89A5A7B5","B71915CA-E1EC-4ABE-96F3-4E8AF6539A92","A5C4F301-17D8-4BDA-ACC0-8AB3CF4FEC0C","CC1F6A87-E06A-4255-BEA2-A7A8D8BEB508","9C2A2A0C-3378-4AC9-A0D0-05FCFCBFF763","4D69FCAB-B001-403A-ACD3-466B1B3C982E","514CC6E3-F8F5-4433-BCEC-F60859C5CCA4"],"id":"5E013072-BB61-4539-904F-DB0B7AE64D3A","renderContextTable":{"__isSmartRef__":true,"id":8},"eventHandler":{"__isSmartRef__":true,"id":9},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":10},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":11},"name":"WhiteBoard","prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Core","fillStyle":"rgb(0, 0, 200)","isDrawing":false,"grabbingEnabled":false,"pointQueue":[[96,48],[96,49],[97,49],[99,50],[103,51],[108,53],[115,56],[126,59],[132,60],[143,60],[153,60],[156,60],[163,60],[166,60],[170,60],[173,60],[180,58],[185,57],[185,56],[188,54],[193,53],[197,52],[200,49],[204,45],[205,43],[205,42],[205,39],[205,36],[205,35],[203,32],[200,30],[195,28],[188,25],[179,25],[173,25],[164,25],[154,25],[145,25],[141,25],[134,25],[126,26],[122,26],[115,26],[108,27],[103,29],[96,30],[92,33],[87,36],[84,38],[80,40],[75,43],[73,45],[70,47],[67,49],[64,52],[61,53],[57,56],[55,57],[48,60],[46,60],[45,61],[43,61],[41,61],[40,61],[38,61],[35,61],[32,61],[29,61],[28,61],[27,61],[26,61],[23,58],[22,55],[21,53],[18,51],[18,48],[17,47],[17,45],[17,43],[17,41],[17,40],[17,38],[17,37],[19,34],[21,32],[23,32],[26,31],[27,31],[32,31],[33,31],[34,31],[36,31],[38,31],[42,32],[43,33],[45,36],[48,37],[50,38],[54,42],[55,43],[56,45],[58,47],[60,50],[63,52],[65,55],[69,59],[71,62],[74,68],[77,70],[81,74],[90,79],[94,80],[102,82],[106,83],[115,85],[119,85],[128,86],[133,86],[141,86],[148,86],[153,86],[158,86],[163,86],[166,86],[173,86],[177,86],[188,86],[196,86],[199,86],[204,85],[207,83],[213,80],[215,78],[216,77],[219,75],[220,73],[221,71],[222,69],[222,66],[222,63],[222,59],[222,57],[221,54],[219,52],[217,49],[214,48],[211,47],[205,45],[203,45],[196,45],[193,44],[186,45],[181,46],[172,51],[165,55],[162,57],[155,61],[149,65],[144,68],[139,71],[136,74],[130,77],[126,79],[124,81],[118,84],[114,85],[106,86],[98,86],[95,88],[88,89],[85,89],[76,91],[71,91],[68,91],[64,91],[61,90],[58,88],[57,88],[56,87],[55,86],[54,82],[54,80],[54,76],[54,73],[54,71],[57,68],[58,66],[61,63],[67,57],[70,54],[77,50],[80,47],[89,45],[100,44],[104,44],[109,44],[113,44],[114,45],[120,49],[123,51],[132,57],[141,61],[145,63],[156,66],[167,67],[173,69],[190,69],[196,69],[208,69],[221,69],[227,69],[239,67],[252,62],[259,60],[268,56],[273,54],[276,51],[279,47],[282,45],[284,44],[285,40],[285,34],[286,33],[286,29],[285,27],[281,23],[278,22],[271,20],[264,19],[253,19],[244,19],[234,19],[230,19],[221,21],[216,23],[207,24],[195,27],[190,29],[184,34],[180,38],[171,42],[168,45],[158,53],[154,56],[140,66],[133,70],[121,80],[115,81],[106,86],[103,87],[96,89],[89,89],[86,90],[77,90],[64,88],[58,86],[45,80],[40,78],[34,72],[33,69],[27,61],[27,58],[27,55],[27,54],[27,51],[27,49],[29,47],[33,45],[35,44],[43,39],[45,39],[58,38],[64,38],[75,38],[81,38],[96,40],[102,42],[113,46],[118,49],[125,54],[128,55],[139,60],[144,61],[156,63],[162,63],[176,63],[185,63],[199,62],[206,61],[216,58],[219,55],[223,51],[223,48],[223,46],[223,43],[219,38],[213,33],[207,32],[194,29],[187,25],[170,23],[158,21],[141,21],[137,21],[125,23],[122,26],[119,32],[115,36],[105,44],[101,49],[89,59],[84,62],[77,68],[72,70],[70,71],[69,71],[63,71],[62,69],[55,63],[50,58],[48,54],[44,46],[41,39],[41,36],[41,31],[41,30],[44,26],[45,25],[50,24],[54,24],[61,24],[66,24],[76,24],[83,28],[94,32],[98,35],[114,46],[123,50],[130,50],[144,51],[158,53],[162,53],[169,53],[170,53],[174,49],[175,47],[176,43],[176,39],[176,37],[176,34],[174,32],[166,26],[160,24],[143,22],[134,22],[117,22],[108,23],[101,28],[95,29],[87,37],[82,40],[76,49],[73,51],[69,55],[67,56],[66,56],[66,53],[66,49],[66,42],[66,38],[66,29],[66,26],[66,24],[67,24],[69,24],[77,26],[83,27],[101,33],[115,35],[141,39],[152,41],[174,41],[181,41],[184,42],[186,42],[186,41],[187,40],[187,39],[189,39]],"active":false,"dbName":"","moved":true,"priorExtent":{"__isSmartRef__":true,"id":19},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":20},"__LivelyClassName__":"lively.morphic.Morph"},"2":{"renderContextTable":{"__isSmartRef__":true,"id":3},"_ClipMode":"visible","_BorderWidth":1,"_Padding":{"__isSmartRef__":true,"id":4},"_BorderColor":{"__isSmartRef__":true,"id":5},"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":6},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.Shapes.External"},"3":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"4":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6":{"x":378,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7":{"x":900,"y":450,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"9":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"10":{"x":86,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"11":{"partName":"WhiteBoard","requiredModules":[],"partsSpaceName":"PartsBin/BP2012/","comment":"A morph that has a canvas as its shape.","changes":[{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":14},{"__isSmartRef__":true,"id":16}],"migrationLevel":4,"revisionOnLoad":152984,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"12":{"date":{"__isSmartRef__":true,"id":13},"author":"conradcalmez","message":"now with broken sync features","id":"2E3F8836-6EE4-4977-A531-59319E60E001"},"13":{"isSerializedDate":true,"string":"Tue Apr 17 2012 12:04:08 GMT+0200 (Mitteleuropäische Sommerzeit)"},"14":{"date":{"__isSmartRef__":true,"id":15},"author":"conradcalmez","message":"now with broken sync features","id":"102D4E0F-9485-446E-97C2-C5424D0B5E3A"},"15":{"isSerializedDate":true,"string":"Tue Apr 17 2012 12:02:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"16":{"date":{"__isSmartRef__":true,"id":17},"author":"conradcalmez","message":"initial commit","id":"D262F8FB-F5EB-498A-A5DF-31BC7F58613B"},"17":{"isSerializedDate":true,"string":"Thu Apr 12 2012 19:59:04 GMT+0200 (Mitteleuropäische Sommerzeit)"},"18":{"x":247,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"19":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"20":{"onrestore":{"__isSmartRef__":true,"id":21},"reset":{"__isSmartRef__":true,"id":29},"deactivate":{"__isSmartRef__":true,"id":33},"getDB":{"__isSmartRef__":true,"id":37},"getDBName":{"__isSmartRef__":true,"id":41},"defaultDBName":{"__isSmartRef__":true,"id":45},"setDBName":{"__isSmartRef__":true,"id":49},"clear":{"__isSmartRef__":true,"id":53},"getCanvasShape":{"__isSmartRef__":true,"id":57},"setExtent":{"__isSmartRef__":true,"id":61},"activate":{"__isSmartRef__":true,"id":69},"initialSync":{"__isSmartRef__":true,"id":73},"getDrawingContext":{"__isSmartRef__":true,"id":77},"onTouchStart":{"__isSmartRef__":true,"id":81},"onTouchMove":{"__isSmartRef__":true,"id":89},"onTouchEnd":{"__isSmartRef__":true,"id":93},"onMouseUp":{"__isSmartRef__":true,"id":101},"transformPoint":{"__isSmartRef__":true,"id":109},"onMouseDown":{"__isSmartRef__":true,"id":113},"onMouseMove":{"__isSmartRef__":true,"id":121},"moveTo":{"__isSmartRef__":true,"id":129},"lineTo":{"__isSmartRef__":true,"id":133},"onMouseOut":{"__isSmartRef__":true,"id":137},"startDrawing":{"__isSmartRef__":true,"id":145},"stopDrawing":{"__isSmartRef__":true,"id":149},"remove":{"__isSmartRef__":true,"id":153},"resetPointQueue":{"__isSmartRef__":true,"id":161},"getPointQueue":{"__isSmartRef__":true,"id":165},"setPointQueue":{"__isSmartRef__":true,"id":169},"syncPointQueueToDatabase":{"__isSmartRef__":true,"id":173},"morphMenuItems":{"__isSmartRef__":true,"id":177},"clearDatabase":{"__isSmartRef__":true,"id":185},"toggleActivation":{"__isSmartRef__":true,"id":189},"getDrawerID":{"__isSmartRef__":true,"id":193},"drawLineFrom":{"__isSmartRef__":true,"id":197}},"21":{"varMapping":{"__isSmartRef__":true,"id":22},"source":"function onrestore() {\n this.reset();\n // XXX start longpolling ???\n}","funcProperties":{"__isSmartRef__":true,"id":27},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"22":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":23}},"23":{"$super":{"__isSmartRef__":true,"id":24}},"24":{"varMapping":{"__isSmartRef__":true,"id":25},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":26},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"25":{"obj":{"__isSmartRef__":true,"id":1},"name":"onrestore"},"26":{},"27":{"timestamp":{"__isSmartRef__":true,"id":28},"user":"conradcalmez","tags":["initialization"]},"28":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:37:06 GMT+0200 (Mitteleuropäische Sommerzeit)"},"29":{"varMapping":{"__isSmartRef__":true,"id":30},"source":"function reset() {\n this.deactivate();\n this.disableGrabbing();\n this.db = undefined;\n this.setDBName(\"\");\n this.isDrawing = false;\n this.clear();\n this.setExtent(pt(900,450))\n}","funcProperties":{"__isSmartRef__":true,"id":31},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"30":{"this":{"__isSmartRef__":true,"id":1}},"31":{"timestamp":{"__isSmartRef__":true,"id":32},"user":"conradcalmez","tags":["initialization"]},"32":{"isSerializedDate":true,"string":"Wed Apr 18 2012 00:51:23 GMT+0200 (Mitteleuropäische Sommerzeit)"},"33":{"varMapping":{"__isSmartRef__":true,"id":34},"source":"function deactivate() {\n this.active = false;\n this.applyStyle({borderColor: Color.black});\n this.getDB().stopPollingChanges();\n}","funcProperties":{"__isSmartRef__":true,"id":35},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"34":{"this":{"__isSmartRef__":true,"id":1}},"35":{"timestamp":{"__isSmartRef__":true,"id":36},"user":"conradcalmez","tags":["synchonization"]},"36":{"isSerializedDate":true,"string":"Tue Apr 17 2012 11:42:53 GMT+0200 (Mitteleuropäische Sommerzeit)"},"37":{"varMapping":{"__isSmartRef__":true,"id":38},"source":"function getDB() {\n module('apps.CouchDB').load(true);\n if(!this.db){\n this.db = new CouchDB(this.getDBName());\n }\n return this.db;\n}","funcProperties":{"__isSmartRef__":true,"id":39},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"38":{"this":{"__isSmartRef__":true,"id":1}},"39":{"timestamp":{"__isSmartRef__":true,"id":40},"user":"conradcalmez","tags":[]},"40":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:29:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"41":{"varMapping":{"__isSmartRef__":true,"id":42},"source":"function getDBName() {\n return this.dbName || this.defaultDBName()\n}","funcProperties":{"__isSmartRef__":true,"id":43},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"42":{"this":{"__isSmartRef__":true,"id":1}},"43":{"timestamp":{"__isSmartRef__":true,"id":44},"user":"conradcalmez","tags":[]},"44":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:27:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"45":{"varMapping":{"__isSmartRef__":true,"id":46},"source":"function defaultDBName() {\n return \"whiteboard\"\n}","funcProperties":{"__isSmartRef__":true,"id":47},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"46":{"this":{"__isSmartRef__":true,"id":1}},"47":{"timestamp":{"__isSmartRef__":true,"id":48},"user":"conradcalmez","tags":[]},"48":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:27:22 GMT+0200 (Mitteleuropäische Sommerzeit)"},"49":{"varMapping":{"__isSmartRef__":true,"id":50},"source":"function setDBName(name) {\n this.dbName = name\n}","funcProperties":{"__isSmartRef__":true,"id":51},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"50":{"this":{"__isSmartRef__":true,"id":1}},"51":{"timestamp":{"__isSmartRef__":true,"id":52},"user":"conradcalmez","tags":[]},"52":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:38:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"53":{"varMapping":{"__isSmartRef__":true,"id":54},"source":"function clear(leaveOutSync) {\n var canvas = this.getCanvasShape();\n if (typeof(canvas) === 'undefined')\n return;\n var ctx = this.getDrawingContext();\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n if (!leaveOutSync) {\n this.clearDatabase();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":55},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"54":{"this":{"__isSmartRef__":true,"id":1}},"55":{"timestamp":{"__isSmartRef__":true,"id":56},"user":"undefined","tags":["drawing"]},"56":{"isSerializedDate":true,"string":"Tue Apr 17 2012 17:49:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"57":{"varMapping":{"__isSmartRef__":true,"id":58},"source":"function getCanvasShape() {\n if (!this._renderContext) \n return undefined;\n return this._renderContext.shapeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":59},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"58":{"this":{"__isSmartRef__":true,"id":1}},"59":{"timestamp":{"__isSmartRef__":true,"id":60},"user":"undefined","tags":["accessing"]},"60":{"isSerializedDate":true,"string":"Tue Apr 17 2012 17:49:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"61":{"varMapping":{"__isSmartRef__":true,"id":62},"source":"function setExtent(value) {\n $super(value);\n var canvas = this.getCanvasShape();\n if (canvas) {\n this.getCanvasShape().width = value.x\n this.getCanvasShape().height = value.y\n this.getCanvasShape().normalize()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":67},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"62":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":63}},"63":{"$super":{"__isSmartRef__":true,"id":64}},"64":{"varMapping":{"__isSmartRef__":true,"id":65},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":66},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"65":{"obj":{"__isSmartRef__":true,"id":1},"name":"setExtent"},"66":{},"67":{"timestamp":{"__isSmartRef__":true,"id":68},"user":"undefined","tags":[]},"68":{"isSerializedDate":true,"string":"Wed Apr 18 2012 09:24:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"69":{"varMapping":{"__isSmartRef__":true,"id":70},"source":"function activate() {\n this.active = true;\n this.applyStyle({borderColor: Color.green});\n this.initialSync();\n var that = this;\n this.getDB().startPollingChanges(function (change) {\n if(typeof change === \"object\"){\n if (change.deleted) {\n // only whole deletion of whiteboard possible right now\n that.clear(true);\n } else {\n // XXX no support for multiple parallel boards\n var document = that.getDB().open(change.id);\n if (document.drawer != that.getDrawerID()) {\n that.drawLineFrom(document);\n }\n }\n } else {\n alert(\"change is no object\");\n }\n },\n function(e){\n alert(e);\n throw(e);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":71},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"70":{"this":{"__isSmartRef__":true,"id":1}},"71":{"timestamp":{"__isSmartRef__":true,"id":72},"user":"conradcalmez","tags":["synchonization"]},"72":{"isSerializedDate":true,"string":"Tue Apr 17 2012 15:03:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"73":{"varMapping":{"__isSmartRef__":true,"id":74},"source":"function initialSync() {\n // XXX TODO implement\n var that = this;\n var docs = this.getDB().allDocs();\n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n that.drawLineFrom(doc);\n });\n // following code can be at beginning\n // tradeoff: (1) data reduction because one gets everything that not has been drawn offline\n // (2) updates to other clients will come a little later (after update of this client)\n this.syncPointQueueToDatabase();\n}","funcProperties":{"__isSmartRef__":true,"id":75},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"74":{"this":{"__isSmartRef__":true,"id":1}},"75":{"timestamp":{"__isSmartRef__":true,"id":76},"user":"conradcalmez","tags":["synchonization"]},"76":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:35:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"77":{"varMapping":{"__isSmartRef__":true,"id":78},"source":"function getDrawingContext() {\n var canvas = this.getCanvasShape();\n if (typeof(canvas) === 'undefined')\n return;\n return canvas.getContext(\"2d\");\n}","funcProperties":{"__isSmartRef__":true,"id":79},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"78":{"this":{"__isSmartRef__":true,"id":1}},"79":{"timestamp":{"__isSmartRef__":true,"id":80},"user":"undefined","tags":["accessing"]},"80":{"isSerializedDate":true,"string":"Tue Apr 17 2012 17:49:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"81":{"varMapping":{"__isSmartRef__":true,"id":82},"source":"function onTouchStart(evt) {\n this.startDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":87},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"82":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":83}},"83":{"$super":{"__isSmartRef__":true,"id":84}},"84":{"varMapping":{"__isSmartRef__":true,"id":85},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":86},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"85":{"obj":{"__isSmartRef__":true,"id":1},"name":"onTouchStart"},"86":{},"87":{"timestamp":{"__isSmartRef__":true,"id":88},"user":"conradcalmez","tags":["touch actions"]},"88":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:27:35 GMT+0200 (Mitteleuropäische Sommerzeit)"},"89":{"varMapping":{"__isSmartRef__":true,"id":90},"source":"function onTouchMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":91},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"90":{"this":{"__isSmartRef__":true,"id":1}},"91":{"timestamp":{"__isSmartRef__":true,"id":92},"user":"conradcalmez","tags":["touch actions"]},"92":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:58:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"93":{"varMapping":{"__isSmartRef__":true,"id":94},"source":"function onTouchEnd(evt) {\n this.stopDrawing(evt, true);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":99},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"94":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":95}},"95":{"$super":{"__isSmartRef__":true,"id":96}},"96":{"varMapping":{"__isSmartRef__":true,"id":97},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":98},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"97":{"obj":{"__isSmartRef__":true,"id":1},"name":"onTouchEnd"},"98":{},"99":{"timestamp":{"__isSmartRef__":true,"id":100},"user":"conradcalmez","tags":["touch actions"]},"100":{"isSerializedDate":true,"string":"Fri Apr 13 2012 13:17:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"101":{"varMapping":{"__isSmartRef__":true,"id":102},"source":"function onMouseUp(evt) {\n this.stopDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":107},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"102":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":103}},"103":{"$super":{"__isSmartRef__":true,"id":104}},"104":{"varMapping":{"__isSmartRef__":true,"id":105},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":106},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"105":{"obj":{"__isSmartRef__":true,"id":1},"name":"onMouseUp"},"106":{},"107":{"timestamp":{"__isSmartRef__":true,"id":108},"user":"conradcalmez","tags":["mouse actions"]},"108":{"isSerializedDate":true,"string":"Fri Apr 13 2012 13:20:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"109":{"varMapping":{"__isSmartRef__":true,"id":110},"source":"function transformPoint(pagePoint) {\n var canvasPosition = this.getPosition();\n return pagePoint.subPt(canvasPosition);\n}","funcProperties":{"__isSmartRef__":true,"id":111},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"110":{"this":{"__isSmartRef__":true,"id":1}},"111":{"timestamp":{"__isSmartRef__":true,"id":112},"user":"conradcalmez","tags":["drawing"]},"112":{"isSerializedDate":true,"string":"Fri Apr 13 2012 10:58:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"113":{"varMapping":{"__isSmartRef__":true,"id":114},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown()) {\n this.startDrawing(evt);\n evt.stop();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":119},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"114":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":115}},"115":{"$super":{"__isSmartRef__":true,"id":116}},"116":{"varMapping":{"__isSmartRef__":true,"id":117},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"117":{"obj":{"__isSmartRef__":true,"id":1},"name":"onMouseDown"},"118":{},"119":{"timestamp":{"__isSmartRef__":true,"id":120},"user":"conradcalmez","tags":["mouse actions"]},"120":{"isSerializedDate":true,"string":"Tue Apr 17 2012 15:11:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"121":{"varMapping":{"__isSmartRef__":true,"id":122},"source":"function onMouseMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":127},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"122":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":123}},"123":{"$super":{"__isSmartRef__":true,"id":124}},"124":{"varMapping":{"__isSmartRef__":true,"id":125},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":126},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"125":{"obj":{"__isSmartRef__":true,"id":1},"name":"onMouseMove"},"126":{},"127":{"timestamp":{"__isSmartRef__":true,"id":128},"user":"conradcalmez","tags":["mouse actions"]},"128":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:58:06 GMT+0200 (Mitteleuropäische Sommerzeit)"},"129":{"varMapping":{"__isSmartRef__":true,"id":130},"source":"function moveTo(point, sync, optTransform) {\n var pos = point;\n if (optTransform) {\n pos = this.transformPoint(pos);\n }\n if (sync) {\n if (this.getPointQueue().length > 0) {\n this.getPointQueue().push([-1, -1]);\n }\n this.getPointQueue().push([pos.x, pos.y]);\n }\n var ctx = this.getDrawingContext();\n ctx.beginPath();\n ctx.moveTo(pos.x, pos.y);\n}","funcProperties":{"__isSmartRef__":true,"id":131},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"130":{"this":{"__isSmartRef__":true,"id":1}},"131":{"timestamp":{"__isSmartRef__":true,"id":132},"user":"conradcalmez","tags":["drawing"]},"132":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:57:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"133":{"varMapping":{"__isSmartRef__":true,"id":134},"source":"function lineTo(point, sync, optTransform, color) {\n var pos = point;\n if (optTransform) {\n pos = this.transformPoint(pos);\n }\n if (sync) {\n this.getPointQueue().push([pos.x, pos.y]);\n }\n var ctx = this.getDrawingContext();\n if (color) {\n ctx.strokeStyle = color.toString();\n } else {\n ctx.strokeStyle = \"rgb(0,0,0)\";\n }\n ctx.lineTo(pos.x, pos.y);\n ctx.stroke();\n}","funcProperties":{"__isSmartRef__":true,"id":135},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"134":{"this":{"__isSmartRef__":true,"id":1}},"135":{"timestamp":{"__isSmartRef__":true,"id":136},"user":"conradcalmez","tags":["drawing"]},"136":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:56:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"137":{"varMapping":{"__isSmartRef__":true,"id":138},"source":"function onMouseOut(evt) {\n // XXX cancelation better than strange drawing behavior?\n this.onMouseUp(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":143},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"138":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":139}},"139":{"$super":{"__isSmartRef__":true,"id":140}},"140":{"varMapping":{"__isSmartRef__":true,"id":141},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"141":{"obj":{"__isSmartRef__":true,"id":1},"name":"onMouseOut"},"142":{},"143":{"timestamp":{"__isSmartRef__":true,"id":144},"user":"conradcalmez","tags":["mouse actions"]},"144":{"isSerializedDate":true,"string":"Mon Apr 16 2012 14:52:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"145":{"varMapping":{"__isSmartRef__":true,"id":146},"source":"function startDrawing(evt) {\n this.resetPointQueue();\n this.moveTo(pt(evt.pageX, evt.pageY), true, true);\n this.isDrawing = true;\n}","funcProperties":{"__isSmartRef__":true,"id":147},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"146":{"this":{"__isSmartRef__":true,"id":1}},"147":{"timestamp":{"__isSmartRef__":true,"id":148},"user":"conradcalmez","tags":["drawing"]},"148":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:58:42 GMT+0200 (Mitteleuropäische Sommerzeit)"},"149":{"varMapping":{"__isSmartRef__":true,"id":150},"source":"function stopDrawing(evt, touch) {\n //var ctx = this.getDrawingContext();\n //ctx.closePath();\n if (this.isDrawing) {\n if (!touch) {\n this.onMouseMove(evt);\n } else {\n this.onTouchMove(evt);\n }\n this.isDrawing = false;\n this.syncPointQueueToDatabase();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":151},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"150":{"this":{"__isSmartRef__":true,"id":1}},"151":{"timestamp":{"__isSmartRef__":true,"id":152},"user":"conradcalmez","tags":["drawing"]},"152":{"isSerializedDate":true,"string":"Mon Apr 16 2012 16:33:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"153":{"varMapping":{"__isSmartRef__":true,"id":154},"source":"function remove() {\n // XXX stop longpolling\n this.suspendSteppingAll();\n if (this.showsHalos) this.removeHalos();\n this.renderContextDispatch('remove');\n}","funcProperties":{"__isSmartRef__":true,"id":159},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"154":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":155}},"155":{"$super":{"__isSmartRef__":true,"id":156}},"156":{"varMapping":{"__isSmartRef__":true,"id":157},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":158},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"157":{"obj":{"__isSmartRef__":true,"id":1},"name":"remove"},"158":{},"159":{"timestamp":{"__isSmartRef__":true,"id":160},"user":"conradcalmez","tags":["initialization"]},"160":{"isSerializedDate":true,"string":"Fri Apr 13 2012 13:47:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"161":{"varMapping":{"__isSmartRef__":true,"id":162},"source":"function resetPointQueue() {\n this.setPointQueue([]);\n}","funcProperties":{"__isSmartRef__":true,"id":163},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"162":{"this":{"__isSmartRef__":true,"id":1}},"163":{"timestamp":{"__isSmartRef__":true,"id":164},"user":"conradcalmez","tags":["synchonization"]},"164":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:41:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"165":{"varMapping":{"__isSmartRef__":true,"id":166},"source":"function getPointQueue() {\n return this.pointQueue || [];\n}","funcProperties":{"__isSmartRef__":true,"id":167},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"166":{"this":{"__isSmartRef__":true,"id":1}},"167":{"timestamp":{"__isSmartRef__":true,"id":168},"user":"conradcalmez","tags":["synchonization"]},"168":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:40:50 GMT+0200 (Mitteleuropäische Sommerzeit)"},"169":{"varMapping":{"__isSmartRef__":true,"id":170},"source":"function setPointQueue(queue) {\n this.pointQueue = queue;\n}","funcProperties":{"__isSmartRef__":true,"id":171},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"170":{"this":{"__isSmartRef__":true,"id":1}},"171":{"timestamp":{"__isSmartRef__":true,"id":172},"user":"conradcalmez","tags":["synchonization"]},"172":{"isSerializedDate":true,"string":"Mon Apr 16 2012 13:41:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"173":{"varMapping":{"__isSmartRef__":true,"id":174},"source":"function syncPointQueueToDatabase() {\n if (this.active) {\n var queue = this.getPointQueue();\n for (var i=0; i < queue.length-1; i++) {\n var start = queue[i],\n end = queue[i+1];\n if (end == [-1, -1]) {\n continue;\n }\n var document = {\n board: \"example\",\n time: Date.now(),\n drawer: this.getDrawerID(),\n startPoint: start,\n endPoint: end\n };\n var result = this.getDB().save(document);\n if (result.error == \"conflict\") {\n console.log(\"an error occured while synching the whiteboard\");\n }\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":175},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"174":{"this":{"__isSmartRef__":true,"id":1}},"175":{"timestamp":{"__isSmartRef__":true,"id":176},"user":"conradcalmez","tags":["synchonization"]},"176":{"isSerializedDate":true,"string":"Tue Apr 17 2012 11:11:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"177":{"varMapping":{"__isSmartRef__":true,"id":178},"source":"function morphMenuItems() {\n items = $super();\n var itemString = \"activate sync\";\n if (this.active) itemString = \"de\" + itemString;\n items.push([itemString, (function () {this.toggleActivation()}).bind(this)]);\n items.push([\"clear whiteboard\", (function () {this.clear()}).bind(this)])\n return items;\n}","funcProperties":{"__isSmartRef__":true,"id":183},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"178":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":179}},"179":{"$super":{"__isSmartRef__":true,"id":180}},"180":{"varMapping":{"__isSmartRef__":true,"id":181},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":182},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"181":{"obj":{"__isSmartRef__":true,"id":1},"name":"morphMenuItems"},"182":{},"183":{"timestamp":{"__isSmartRef__":true,"id":184},"user":"conradcalmez","tags":[]},"184":{"isSerializedDate":true,"string":"Mon Apr 16 2012 15:06:24 GMT+0200 (Mitteleuropäische Sommerzeit)"},"185":{"varMapping":{"__isSmartRef__":true,"id":186},"source":"function clearDatabase() {\n if (this.active) {\n var docs = this.getDB().allDocs();\n var that = this;\n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n that.getDB().deleteDoc(doc);\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":187},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"186":{"this":{"__isSmartRef__":true,"id":1}},"187":{"timestamp":{"__isSmartRef__":true,"id":188},"user":"conradcalmez","tags":["synchonization"]},"188":{"isSerializedDate":true,"string":"Mon Apr 16 2012 14:33:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"189":{"varMapping":{"__isSmartRef__":true,"id":190},"source":"function toggleActivation() {\n if (!this.active) {\n this.activate();\n } else {\n this.deactivate();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":191},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"190":{"this":{"__isSmartRef__":true,"id":1}},"191":{"timestamp":{"__isSmartRef__":true,"id":192},"user":"conradcalmez","tags":[]},"192":{"isSerializedDate":true,"string":"Mon Apr 16 2012 15:03:54 GMT+0200 (Mitteleuropäische Sommerzeit)"},"193":{"varMapping":{"__isSmartRef__":true,"id":194},"source":"function getDrawerID() {\n return $world.getUserName() + \"_ON_\" + this.id;\n}","funcProperties":{"__isSmartRef__":true,"id":195},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"194":{"this":{"__isSmartRef__":true,"id":1}},"195":{"timestamp":{"__isSmartRef__":true,"id":196},"user":"conradcalmez","tags":[]},"196":{"isSerializedDate":true,"string":"Tue Apr 17 2012 11:09:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"197":{"varMapping":{"__isSmartRef__":true,"id":198},"source":"function drawLineFrom(document) {\n var startPoint = pt(document.startPoint[0], document.startPoint[1]);\n var endPoint = pt(document.endPoint[0], document.endPoint[1]);\n this.moveTo(startPoint);\n this.lineTo(endPoint);\n}","funcProperties":{"__isSmartRef__":true,"id":199},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"198":{"this":{"__isSmartRef__":true,"id":1}},"199":{"timestamp":{"__isSmartRef__":true,"id":200},"user":"conradcalmez","tags":[]},"200":{"isSerializedDate":true,"string":"Tue Apr 17 2012 14:28:05 GMT+0200 (Mitteleuropäische Sommerzeit)"},"201":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":202},"derivationIds":[null,"D29986B9-4756-4E1B-AD77-17B52F908876"],"id":"54A47EC6-7060-476D-B16D-DF49850CFDD0","renderContextTable":{"__isSmartRef__":true,"id":209},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":210}],"eventHandler":{"__isSmartRef__":true,"id":212},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":213},"_MaxTextWidth":484,"_MinTextWidth":484,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":214},"layout":{"__isSmartRef__":true,"id":215},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":216}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1334838533495,"accessibleInInactiveWindow":true,"isBeingDragged":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"previousSelection":[116,116],"priorSelectionRange":[114,118],"distanceToDragEvent":{"__isSmartRef__":true,"id":217},"charsReplaced":"","lastFindLoc":86,"textString":"canvas does funny stuff on the iPad - it renders differently and hides other morphs.\n\nTherefore, we will exchange canvas drawing through SVG drawing and see the effect.","__LivelyClassName__":"lively.morphic.Text"},"202":{"_Position":{"__isSmartRef__":true,"id":203},"renderContextTable":{"__isSmartRef__":true,"id":204},"_Extent":{"__isSmartRef__":true,"id":205},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":206},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":207},"_Fill":{"__isSmartRef__":true,"id":208},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"205":{"x":494,"y":101,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"206":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"207":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"208":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"209":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"210":{"style":{"__isSmartRef__":true,"id":211},"chunkOwner":{"__isSmartRef__":true,"id":201},"storedString":"canvas does funny stuff on the iPad - it renders differently and hides other morphs.\n\nTherefore, we will exchange canvas drawing through SVG drawing and see the effect.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"211":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"212":{"morph":{"__isSmartRef__":true,"id":201},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"213":{"x":494,"y":101,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"214":{"x":92,"y":246,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"215":{"resizeWidth":true,"resizeHeight":true},"216":{"sourceObj":{"__isSmartRef__":true,"id":201},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":201},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"217":{"x":331,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"218":{"submorphs":[],"scripts":[],"id":"6237CF20-1132-4E45-854A-233CB994F5BA","shape":{"__isSmartRef__":true,"id":219},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":226},"showsHalos":false,"name":"WhiteBoardSVG","partsBinMetaInfo":{"__isSmartRef__":true,"id":227},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":250},"eventHandler":{"__isSmartRef__":true,"id":251},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8"],"partTests":{"__isSmartRef__":true,"id":252},"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":257},"prevScroll":[0,0],"pointQueue":[[10,122],[10,123],[10,127],[10,131],[10,138],[12,157],[15,177],[19,186],[22,196],[23,197],[23,195],[24,192],[24,186],[24,180],[24,170],[24,148],[24,125],[24,119],[24,110],[23,109],[23,113],[23,118],[25,124],[25,132],[31,156],[31,162],[36,175],[37,178],[37,174],[37,170],[35,163],[35,155],[31,132],[26,120],[23,112],[23,111],[23,121],[23,137],[24,163],[26,185],[27,197],[27,198],[27,195],[27,187],[25,170],[23,145],[19,117],[15,101],[14,96],[14,97],[15,108],[20,129],[26,150],[29,165],[31,168],[32,169],[32,167],[32,157],[32,138],[32,113],[31,90],[31,80],[30,78],[30,77],[28,81],[28,98],[29,123],[31,148],[33,166],[33,168],[33,165],[33,157],[33,148],[30,120],[24,92],[20,69],[17,60],[15,62],[15,70],[15,81],[19,117],[21,136],[23,167],[28,185],[34,188],[37,184],[37,169],[37,161],[36,133],[33,107],[29,92],[29,89],[28,88],[28,95],[30,108],[34,117],[42,128],[50,134],[62,134],[71,128],[75,121],[75,110],[74,98],[70,92],[61,91],[52,96],[39,111],[37,117],[40,143],[50,155],[68,159],[90,159],[98,152],[99,139],[99,133],[90,122],[69,110],[48,106],[34,107],[25,115],[22,130],[25,139],[40,156],[72,173],[103,175],[118,173],[123,166],[121,155],[101,139],[74,125],[60,123],[38,123],[29,126],[27,134],[38,146],[63,158],[94,164],[122,164],[127,158],[125,150],[113,140],[94,133],[77,129],[62,129],[59,131],[57,143],[60,148],[77,161],[105,169],[136,171],[151,170],[154,164],[147,157],[124,149],[93,145],[63,145],[45,148],[40,155],[44,168],[61,179],[87,189],[115,191],[135,191],[145,184],[146,175],[138,168],[122,155],[99,149],[76,149],[63,151],[59,159],[63,168],[79,181],[111,189],[144,192],[171,187],[173,180],[167,173],[151,164],[120,157],[90,155],[67,158],[61,163],[62,170],[78,181],[134,198],[173,200],[196,197],[200,190],[197,184],[178,175],[152,167],[113,161],[83,161],[70,161],[74,172],[99,188],[144,201],[188,208],[218,210],[226,206],[224,201],[194,186],[157,175],[118,166],[85,164],[74,169],[80,178],[104,190],[160,201],[193,201],[208,199],[209,194],[200,184],[165,172],[129,168],[99,168],[84,170],[79,177],[95,186],[126,194],[170,198],[206,198],[226,197],[224,186],[208,175],[174,169],[136,165],[102,165],[96,169],[100,175],[138,189],[177,195],[212,195],[231,188],[229,181],[214,174],[165,162],[132,160],[107,160],[100,160],[104,172],[134,183],[170,187],[198,187],[217,180],[215,175],[201,164],[175,154],[141,150],[100,150],[83,158],[80,165],[87,174],[131,193],[161,193],[189,192],[197,186],[194,172],[177,157],[128,138],[97,134],[75,134],[63,141],[67,153],[88,160],[121,165],[154,165],[175,160],[187,142],[180,130],[162,113],[135,101],[88,98],[68,101],[58,111],[69,136],[96,148],[127,152],[165,152],[172,144],[171,133],[149,117],[120,105],[89,100],[62,104],[57,112],[61,125],[79,134],[95,139],[140,138],[155,127],[154,108],[135,90],[105,78],[72,76],[35,79],[28,86],[28,97],[49,117],[78,127],[108,129],[134,120],[137,104],[130,86],[113,71],[80,57],[62,58],[50,67],[48,77],[59,93],[80,105],[122,107],[140,100],[146,85],[143,74],[131,62],[96,55],[79,57],[71,63],[68,79],[73,86],[84,92],[110,93],[122,85],[127,74],[123,61],[108,54],[93,52],[66,59],[49,72],[44,93],[50,106],[69,114],[110,113],[129,101],[133,80],[126,64],[107,58],[96,60],[84,70],[76,90],[76,98],[87,111],[112,111],[129,103],[136,89],[127,72],[111,63],[80,63],[64,69],[58,78],[59,91],[72,100],[114,102],[145,99],[159,88],[157,71],[140,58],[100,52],[74,55],[57,72],[56,83],[63,96],[98,118],[142,118],[163,112],[171,98],[164,86],[142,70],[92,62],[62,62],[38,77],[36,88],[48,113],[73,127],[115,133],[138,128],[151,110],[141,88],[106,64],[79,64],[51,65],[33,82],[32,95],[50,119],[82,134],[142,134],[168,129],[179,108],[168,92],[126,62],[76,54],[58,56],[47,87],[73,117],[103,132],[155,135],[179,127],[189,115],[179,90],[157,72],[113,58],[83,56],[52,72],[40,91],[51,124],[76,145],[145,158],[189,157],[219,140],[215,121],[177,92],[124,81],[91,81],[60,95],[58,106],[74,125],[104,140],[175,144],[211,146],[231,138],[227,127],[192,105],[161,94],[114,92],[90,99],[83,111],[100,135],[133,156],[202,165],[243,165],[265,153],[259,139],[215,114],[146,105],[108,105],[82,114],[86,130],[106,146],[162,158],[229,156],[237,138],[224,117],[200,105],[153,101],[124,105],[121,116],[143,138],[180,160],[236,169],[266,165],[267,158],[252,137],[227,118],[180,101],[150,99],[125,105],[122,118],[132,132],[167,156],[214,162],[248,148],[256,126],[241,104],[201,68],[159,54],[111,55],[84,74],[82,86],[109,109],[168,124],[216,124],[258,107],[250,87],[227,68],[176,56],[129,55],[105,63],[97,81],[113,104],[148,121],[230,128],[286,121],[296,109],[284,86],[229,60],[158,55],[113,64],[104,74],[109,94],[151,119],[217,128],[269,125],[276,115],[264,97],[185,75],[119,77],[87,91],[73,113],[90,141],[117,156],[177,160],[218,149],[225,130],[205,108],[179,98],[126,94],[86,100],[74,119],[79,141],[124,161],[173,164],[212,149],[216,138],[204,115],[160,96],[113,95],[87,103],[68,133],[88,153],[154,162],[227,158],[255,144],[256,129],[216,105],[143,100],[87,105],[74,116],[82,134],[142,154],[221,159],[268,157],[269,143],[236,126],[171,111],[111,111],[91,114],[100,122],[148,130],[221,132],[252,132],[256,131],[232,129],[180,129],[141,132],[133,141],[143,147],[202,153],[239,147],[246,136],[228,119],[185,107],[141,107],[118,111],[117,117],[130,124],[180,130],[224,130],[233,126],[218,120],[191,118],[136,118],[106,124],[103,133],[132,139],[187,142],[222,137],[228,125],[219,117],[165,108],[126,109],[109,120],[110,128],[137,135],[189,137],[222,126],[223,113],[193,104],[146,100],[102,113],[93,129],[100,138],[138,152],[188,157],[215,149],[214,139],[184,124],[139,116],[100,117],[88,123],[87,131],[108,141],[150,143],[184,137],[196,118],[191,99],[161,77],[124,71],[92,92],[93,114],[127,134],[180,138],[213,137],[227,124],[219,110],[182,92],[135,87],[100,94],[93,106],[105,119],[151,123],[198,120],[227,102],[228,89],[210,76],[166,74],[123,83],[101,99],[104,114],[143,130],[198,134],[242,122],[248,108],[225,79],[176,65],[132,65],[104,78],[99,100],[134,120],[186,122],[229,115],[241,100],[228,84],[190,70],[143,68],[97,84],[85,102],[106,128],[157,139],[207,134],[225,114],[222,82],[188,56],[132,47],[86,63],[70,91],[84,118],[139,142],[202,143],[240,120],[229,100],[190,78],[129,72],[84,78],[69,93],[71,110],[94,133],[141,137],[184,130],[200,113],[191,86],[159,57],[110,45],[73,51],[52,78],[52,92],[93,121],[154,124],[199,114],[209,96],[195,73],[155,46],[111,42],[85,56],[77,90],[102,115],[158,121],[208,116],[220,98],[191,66],[142,51],[95,52],[71,71],[69,86],[83,100],[101,109],[113,109],[113,107],[113,102],[113,101],[113,101]],"isBeingDragged":false,"_Rotation":0,"_Scale":1.002003004005006,"grabbingEnabled":false,"isDrawing":false,"active":false,"db":{"__isSmartRef__":true,"id":258},"dbName":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":279},"__LivelyClassName__":"lively.morphic.Box"},"219":{"position":{"__isSmartRef__":true,"id":220},"_Extent":{"__isSmartRef__":true,"id":221},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":222},"_Fill":{"__isSmartRef__":true,"id":223},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":224},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":225},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"220":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"221":{"x":900,"y":450,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"222":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"223":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"224":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"225":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"226":{"x":58,"y":404,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"227":{"partsSpaceName":"PartsBin/BP2012","__SourceModuleName__":"Global.lively.PartsBin","comment":"A whiteboard designed for syncing with other worlds, based on svg paintings","migrationLevel":4,"partName":"WhiteBoardSVG","changes":[{"__isSmartRef__":true,"id":228},{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":236},{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":240},{"__isSmartRef__":true,"id":242},{"__isSmartRef__":true,"id":244},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":248}],"revisionOnLoad":153094,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"228":{"date":{"__isSmartRef__":true,"id":229},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"229":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"230":{"date":{"__isSmartRef__":true,"id":231},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"231":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"232":{"date":{"__isSmartRef__":true,"id":233},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"233":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"234":{"date":{"__isSmartRef__":true,"id":235},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"235":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"236":{"date":{"__isSmartRef__":true,"id":237},"author":"undefined","message":"copied and adapted from WhiteBoard part","id":"9BB5FF37-8D16-40E8-AD37-E352A5BC7BC2"},"237":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:01:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"238":{"date":{"__isSmartRef__":true,"id":239},"author":"undefined","message":"no need to do resizing like in canvas anymore","id":"A5BF9072-8832-4AC0-A3C4-7B7D80C442BD"},"239":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:11:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"240":{"date":{"__isSmartRef__":true,"id":241},"author":"undefined","message":"now really","id":"55184ADA-A500-41E3-9233-AAAFB2FC845B"},"241":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:18:49 GMT+0200 (Mitteleuropäische Sommerzeit)"},"242":{"date":{"__isSmartRef__":true,"id":243},"author":"undefined","message":"reset the currentShape after sync from database","id":"C890FDB9-E199-4CE3-BAEA-F8F92378D687"},"243":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:22:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"244":{"date":{"__isSmartRef__":true,"id":245},"author":"undefined","message":"initial sych established","id":"D481CE0C-B427-4AD5-ABF3-ACCBD21C6BD1"},"245":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:43:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"246":{"date":{"__isSmartRef__":true,"id":247},"author":"undefined","message":"this and that binding foo","id":"FC970CDE-35D9-400A-99C3-E453BB5ED35F"},"247":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:46:15 GMT+0200 (Mitteleuropäische Sommerzeit)"},"248":{"date":{"__isSmartRef__":true,"id":249},"author":"undefined","message":"hopefully no more endless recursion when active","id":"77B85C4E-B4F6-41D9-A57A-7968C0E22EF2"},"249":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:53:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"250":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"251":{"morph":{"__isSmartRef__":true,"id":218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"252":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":253}},"253":{"test01IsMorph":{"__isSmartRef__":true,"id":254}},"254":{"varMapping":{"__isSmartRef__":true,"id":255},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":256},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"255":{"this":{"__isSmartRef__":true,"id":252}},"256":{},"257":{"x":900,"y":450,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"258":{"name":"svg_whiteboard","urlStart":"http://lively-kernel.org/couchdb/","uri":"http://lively-kernel.org/couchdb/svg_whiteboard/","last_req":{"__isSmartRef__":true,"id":259},"uuids_cache":["ba1bc5d46beb0e02a1c9b780d9888a52","ba1bc5d46beb0e02a1c9b780d9888f4c","ba1bc5d46beb0e02a1c9b780d98897a5","ba1bc5d46beb0e02a1c9b780d988a534","ba1bc5d46beb0e02a1c9b780d988b1fe","ba1bc5d46beb0e02a1c9b780d988c0d7","ba1bc5d46beb0e02a1c9b780d988c182","ba1bc5d46beb0e02a1c9b780d988cc2c","ba1bc5d46beb0e02a1c9b780d988d33f","ba1bc5d46beb0e02a1c9b780d988e02d","ba1bc5d46beb0e02a1c9b780d988e07c","ba1bc5d46beb0e02a1c9b780d988eb4a","ba1bc5d46beb0e02a1c9b780d988f084","ba1bc5d46beb0e02a1c9b780d988f16c","ba1bc5d46beb0e02a1c9b780d988f6bb","ba1bc5d46beb0e02a1c9b780d989015a","ba1bc5d46beb0e02a1c9b780d9890e84","ba1bc5d46beb0e02a1c9b780d9891513","ba1bc5d46beb0e02a1c9b780d9892124","ba1bc5d46beb0e02a1c9b780d9892175","ba1bc5d46beb0e02a1c9b780d9892a6f","ba1bc5d46beb0e02a1c9b780d9893792","ba1bc5d46beb0e02a1c9b780d9893d9e","ba1bc5d46beb0e02a1c9b780d98949a2","ba1bc5d46beb0e02a1c9b780d9895781","ba1bc5d46beb0e02a1c9b780d98964ea","ba1bc5d46beb0e02a1c9b780d9896c39","ba1bc5d46beb0e02a1c9b780d9897202","ba1bc5d46beb0e02a1c9b780d9897212","ba1bc5d46beb0e02a1c9b780d9897984","ba1bc5d46beb0e02a1c9b780d9898295","ba1bc5d46beb0e02a1c9b780d9898d40","ba1bc5d46beb0e02a1c9b780d9899243","ba1bc5d46beb0e02a1c9b780d9899ba2","ba1bc5d46beb0e02a1c9b780d989a9d0","ba1bc5d46beb0e02a1c9b780d989b6af","ba1bc5d46beb0e02a1c9b780d989c5fb","ba1bc5d46beb0e02a1c9b780d989cb15","ba1bc5d46beb0e02a1c9b780d989d9d6","ba1bc5d46beb0e02a1c9b780d989e883","ba1bc5d46beb0e02a1c9b780d989f38d","ba1bc5d46beb0e02a1c9b780d989f3fd","ba1bc5d46beb0e02a1c9b780d989f8f0","ba1bc5d46beb0e02a1c9b780d989fd31","ba1bc5d46beb0e02a1c9b780d98a064d","ba1bc5d46beb0e02a1c9b780d98a0f54","ba1bc5d46beb0e02a1c9b780d98a1a6a","ba1bc5d46beb0e02a1c9b780d98a1af7","ba1bc5d46beb0e02a1c9b780d98a250a","ba1bc5d46beb0e02a1c9b780d98a3199","ba1bc5d46beb0e02a1c9b780d98a33ed","ba1bc5d46beb0e02a1c9b780d98a3a33","ba1bc5d46beb0e02a1c9b780d98a4120","ba1bc5d46beb0e02a1c9b780d98a429e","ba1bc5d46beb0e02a1c9b780d98a502a","ba1bc5d46beb0e02a1c9b780d98a5e45","ba1bc5d46beb0e02a1c9b780d98a64cc","ba1bc5d46beb0e02a1c9b780d98a7064","ba1bc5d46beb0e02a1c9b780d98a73aa","ba1bc5d46beb0e02a1c9b780d98a823d","ba1bc5d46beb0e02a1c9b780d98a83a7","ba1bc5d46beb0e02a1c9b780d98a8ea9","ba1bc5d46beb0e02a1c9b780d98a97fa","ba1bc5d46beb0e02a1c9b780d98aa19c","ba1bc5d46beb0e02a1c9b780d98aabfb","ba1bc5d46beb0e02a1c9b780d98ab788","ba1bc5d46beb0e02a1c9b780d98ac729","ba1bc5d46beb0e02a1c9b780d98acfe5","ba1bc5d46beb0e02a1c9b780d98ad22c","ba1bc5d46beb0e02a1c9b780d98adfd8","ba1bc5d46beb0e02a1c9b780d98ae6e1","ba1bc5d46beb0e02a1c9b780d98af4b0","ba1bc5d46beb0e02a1c9b780d98afe46","ba1bc5d46beb0e02a1c9b780d98b0957","ba1bc5d46beb0e02a1c9b780d98b150a","ba1bc5d46beb0e02a1c9b780d98b1b97","ba1bc5d46beb0e02a1c9b780d98b1d92","ba1bc5d46beb0e02a1c9b780d98b2547","ba1bc5d46beb0e02a1c9b780d98b2cc0","ba1bc5d46beb0e02a1c9b780d98b3826","ba1bc5d46beb0e02a1c9b780d98b47c3"],"docQueue":[],"last_changes_req":{"__isSmartRef__":true,"id":266},"last_changes_seq":885,"pollingChanges":false,"__SourceModuleName__":"Global.apps.CouchDB","__LivelyClassName__":"CouchDB"},"259":{"_url":{"__isSmartRef__":true,"id":260},"_isSync":true,"_isBinary":false,"status":{"__isSmartRef__":true,"id":261},"content":"{\"ok\":true,\"id\":\"ba1bc5d46beb0e02a1c9b780d98baa11\",\"rev\":\"2-9d8e59570afdeab3d3cf803bc692b630\"}\n","contentDocument":"","isExisting":true,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":264},"responseHeaders":{"__isSmartRef__":true,"id":265},"readystate":4,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"WebResource"},"260":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/couchdb/svg_whiteboard/ba1bc5d46beb0e02a1c9b780d98baa11","search":"?rev=1-fb080356d843ab6780353e77f8a94d1d","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"261":{"method":"DELETE","url":{"__isSmartRef__":true,"id":260},"transport":{"__isSmartRef__":true,"id":262},"exception":null,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"NetRequestStatus"},"262":{"onabort":null,"onprogress":null,"status":200,"statusText":"OK","responseType":"","withCredentials":false,"responseText":"{\"ok\":true,\"id\":\"ba1bc5d46beb0e02a1c9b780d98baa11\",\"rev\":\"2-9d8e59570afdeab3d3cf803bc692b630\"}\n","onerror":null,"readyState":4,"onload":null,"onloadstart":null,"onloadend":null,"response":"{\"ok\":true,\"id\":\"ba1bc5d46beb0e02a1c9b780d98baa11\",\"rev\":\"2-9d8e59570afdeab3d3cf803bc692b630\"}\n","responseXML":null,"upload":{"__isSmartRef__":true,"id":263}},"263":{"onabort":null,"onprogress":null,"onerror":null,"onload":null,"onloadstart":null,"onloadend":null},"264":{"Depth":"infinity"},"265":{"Date":"Wed, 18 Apr 2012 12:47:20 GMT","date":"Wed, 18 Apr 2012 12:47:20 GMT","Content-Encoding":"gzip","content-encoding":"gzip","Connection":"Keep-Alive","connection":"Keep-Alive","Content-Length":"104","content-length":"104","Server":"CouchDB/0.11.0 (Erlang OTP/R14B)","server":"CouchDB/0.11.0 (Erlang OTP/R14B)","Etag":"\"2-9d8e59570afdeab3d3cf803bc692b630\"","etag":"\"2-9d8e59570afdeab3d3cf803bc692b630\"","Vary":"Accept-Encoding","vary":"Accept-Encoding","Content-Type":"text/plain;charset=utf-8","content-type":"text/plain;charset=utf-8","Cache-Control":"must-revalidate","cache-control":"must-revalidate","Keep-Alive":"timeout=15, max=60","keep-alive":"timeout=15, max=60"},"266":{"_url":{"__isSmartRef__":true,"id":267},"_isSync":false,"_isBinary":false,"status":{"__isSmartRef__":true,"id":268},"content":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":425,\"update_seq\":852,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":3616862,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","contentDocument":"","isExisting":true,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":271},"responseHeaders":{"__isSmartRef__":true,"id":272},"attributeConnections":[{"__isSmartRef__":true,"id":273}],"doNotSerialize":["$$readystate"],"doNotCopyProperties":["$$readystate"],"readystate":4,"streamContent":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":425,\"update_seq\":852,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":3616862,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"WebResource"},"267":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/couchdb/svg_whiteboard/","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"268":{"method":"GET","url":{"__isSmartRef__":true,"id":267},"transport":{"__isSmartRef__":true,"id":269},"exception":null,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"NetRequestStatus"},"269":{"onabort":null,"onprogress":null,"status":200,"statusText":"OK","responseType":"","withCredentials":false,"responseText":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":425,\"update_seq\":852,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":3616862,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","onerror":null,"readyState":4,"onload":null,"onloadstart":null,"onloadend":null,"response":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":425,\"update_seq\":852,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":3616862,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","responseXML":null,"upload":{"__isSmartRef__":true,"id":270}},"270":{"onabort":null,"onprogress":null,"onerror":null,"onload":null,"onloadstart":null,"onloadend":null},"271":{},"272":{"Date":"Wed, 18 Apr 2012 12:44:02 GMT","date":"Wed, 18 Apr 2012 12:44:02 GMT","Content-Encoding":"gzip","content-encoding":"gzip","Transfer-Encoding":"chunked","transfer-encoding":"chunked","Connection":"Keep-Alive","connection":"Keep-Alive","Server":"CouchDB/0.11.0 (Erlang OTP/R14B)","server":"CouchDB/0.11.0 (Erlang OTP/R14B)","Vary":"Accept-Encoding","vary":"Accept-Encoding","Content-Type":"text/plain;charset=utf-8","content-type":"text/plain;charset=utf-8","Cache-Control":"must-revalidate","cache-control":"must-revalidate","Keep-Alive":"timeout=15, max=91","keep-alive":"timeout=15, max=91"},"273":{"sourceObj":{"__isSmartRef__":true,"id":266},"sourceAttrName":"readystate","targetObj":{"__isSmartRef__":true,"id":274},"targetMethodName":"cb","converterString":"function () { return this.sourceObj; }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":275},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":276},"__LivelyClassName__":"AttributeConnection"},"274":{},"275":{"source":{"__isSmartRef__":true,"id":266},"target":{"__isSmartRef__":true,"id":274}},"276":{"converter":{"__isSmartRef__":true,"id":277}},"277":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":275},"source":"function () { return this.sourceObj; }","funcProperties":{"__isSmartRef__":true,"id":278},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"278":{},"279":{"onrestore":{"__isSmartRef__":true,"id":280},"activate":{"__isSmartRef__":true,"id":288},"clear":{"__isSmartRef__":true,"id":292},"clearDatabase":{"__isSmartRef__":true,"id":296},"deactivate":{"__isSmartRef__":true,"id":300},"defaultDBName":{"__isSmartRef__":true,"id":304},"drawLineFrom":{"__isSmartRef__":true,"id":308},"getDB":{"__isSmartRef__":true,"id":312},"getDBName":{"__isSmartRef__":true,"id":316},"getDrawerID":{"__isSmartRef__":true,"id":320},"getDrawingContext":{"__isSmartRef__":true,"id":324},"getPointQueue":{"__isSmartRef__":true,"id":328},"initialSync":{"__isSmartRef__":true,"id":332},"lineTo":{"__isSmartRef__":true,"id":336},"morphMenuItems":{"__isSmartRef__":true,"id":340},"moveTo":{"__isSmartRef__":true,"id":348},"onMouseDown":{"__isSmartRef__":true,"id":352},"onMouseMove":{"__isSmartRef__":true,"id":360},"onMouseOut":{"__isSmartRef__":true,"id":368},"onMouseUp":{"__isSmartRef__":true,"id":376},"onTouchEnd":{"__isSmartRef__":true,"id":384},"onTouchMove":{"__isSmartRef__":true,"id":392},"onTouchStart":{"__isSmartRef__":true,"id":396},"remove":{"__isSmartRef__":true,"id":404},"reset":{"__isSmartRef__":true,"id":412},"resetPointQueue":{"__isSmartRef__":true,"id":416},"setDBName":{"__isSmartRef__":true,"id":420},"setPointQueue":{"__isSmartRef__":true,"id":424},"startDrawing":{"__isSmartRef__":true,"id":428},"stopDrawing":{"__isSmartRef__":true,"id":432},"syncPointQueueToDatabase":{"__isSmartRef__":true,"id":436},"toggleActivation":{"__isSmartRef__":true,"id":440},"transformPoint":{"__isSmartRef__":true,"id":444},"finishLine":{"__isSmartRef__":true,"id":448}},"280":{"varMapping":{"__isSmartRef__":true,"id":281},"source":"function onrestore() {\n// this.reset();\n // XXX start longpolling ???\n}","funcProperties":{"__isSmartRef__":true,"id":286},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"281":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":282}},"282":{"$super":{"__isSmartRef__":true,"id":283}},"283":{"varMapping":{"__isSmartRef__":true,"id":284},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":285},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"284":{"obj":{"__isSmartRef__":true,"id":218},"name":"onrestore"},"285":{},"286":{"timestamp":{"__isSmartRef__":true,"id":287},"user":"undefined","tags":["initialization"]},"287":{"isSerializedDate":true,"string":"Wed Apr 18 2012 11:39:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"288":{"varMapping":{"__isSmartRef__":true,"id":289},"source":"function activate() {\n var that = this;\n this.active = true;\n this.setBorderColor(Color.green);\n this.initialSync();\n\n this.getDB().startPollingChanges(function (change) {\n if(typeof change === \"object\"){\n if (change.deleted) {\n // only whole deletion of whiteboard possible right now\n that.clear(true);\n } else {\n // XXX no support for multiple parallel boards\n var document = that.getDB().open(change.id);\n if (document.drawer != that.getDrawerID()) {\n that.drawLineFrom(document);\n }\n }\n } else {\n alert(\"change is no object\");\n }\n },\n function(e){\n alert(e);\n throw(e);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"289":{"this":{"__isSmartRef__":true,"id":218}},"290":{"timestamp":{"__isSmartRef__":true,"id":291},"user":"undefined","tags":["synchonization"]},"291":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:18:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"292":{"varMapping":{"__isSmartRef__":true,"id":293},"source":"function clear(leaveOutSync) {\n this.submorphs.invoke('remove')\n if (leaveOutSync) return\n this.clearDatabase();\n}","funcProperties":{"__isSmartRef__":true,"id":294},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"293":{"this":{"__isSmartRef__":true,"id":218}},"294":{"timestamp":{"__isSmartRef__":true,"id":295},"user":"undefined","tags":["drawing"]},"295":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:20:12 GMT+0200 (Mitteleuropäische Sommerzeit)"},"296":{"varMapping":{"__isSmartRef__":true,"id":297},"source":"function clearDatabase() {\n if (this.active) {\n var that = this,\n docs = this.getDB().allDocs();\n \n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n that.getDB().deleteDoc(doc);\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":298},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"297":{"this":{"__isSmartRef__":true,"id":218}},"298":{"timestamp":{"__isSmartRef__":true,"id":299},"user":"undefined","tags":["synchonization"]},"299":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:20:39 GMT+0200 (Mitteleuropäische Sommerzeit)"},"300":{"varMapping":{"__isSmartRef__":true,"id":301},"source":"function deactivate() {\n this.active = false;\n this.setBorderColor(Color.black);\n this.getDB().stopPollingChanges();\n}","funcProperties":{"__isSmartRef__":true,"id":302},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"301":{"this":{"__isSmartRef__":true,"id":218}},"302":{"timestamp":{"__isSmartRef__":true,"id":303},"user":"undefined","tags":["synchonization"]},"303":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:22:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"304":{"varMapping":{"__isSmartRef__":true,"id":305},"source":"function defaultDBName() {\n return \"svg_whiteboard\"\n}","funcProperties":{"__isSmartRef__":true,"id":306},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"305":{"this":{"__isSmartRef__":true,"id":218}},"306":{"timestamp":{"__isSmartRef__":true,"id":307},"user":"undefined","tags":[]},"307":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:35:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"308":{"varMapping":{"__isSmartRef__":true,"id":309},"source":"function drawLineFrom(document) {\n // uses the database representation of a line to re-draw the polygon\n var line = this.getDrawingContext(),\n vertices = document.vector.collect(function (ea) {\n return pt(ea.x, ea.y);\n })\n\n line.setVertices(vertices);\n\n this.finishLine(document.timestamp);\n // todo: make sure a morph is not added twice (use timestamp uuid)\n}","funcProperties":{"__isSmartRef__":true,"id":310},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"309":{"this":{"__isSmartRef__":true,"id":218}},"310":{"timestamp":{"__isSmartRef__":true,"id":311},"user":"undefined","tags":[]},"311":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:49:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"312":{"varMapping":{"__isSmartRef__":true,"id":313},"source":"function getDB() {\n module('apps.CouchDB').load(true);\n if(!this.db){\n this.db = new CouchDB(this.getDBName());\n }\n return this.db;\n}","funcProperties":{"__isSmartRef__":true,"id":314},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"313":{"this":{"__isSmartRef__":true,"id":218}},"314":{"timestamp":{"__isSmartRef__":true,"id":315},"user":"undefined","tags":[]},"315":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"316":{"varMapping":{"__isSmartRef__":true,"id":317},"source":"function getDBName() {\n return this.dbName || this.defaultDBName()\n}","funcProperties":{"__isSmartRef__":true,"id":318},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"317":{"this":{"__isSmartRef__":true,"id":218}},"318":{"timestamp":{"__isSmartRef__":true,"id":319},"user":"undefined","tags":[]},"319":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"320":{"varMapping":{"__isSmartRef__":true,"id":321},"source":"function getDrawerID() {\n return $world.getUserName() + \"_ON_\" + this.id;\n}","funcProperties":{"__isSmartRef__":true,"id":322},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"321":{"this":{"__isSmartRef__":true,"id":218}},"322":{"timestamp":{"__isSmartRef__":true,"id":323},"user":"undefined","tags":[]},"323":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"324":{"varMapping":{"__isSmartRef__":true,"id":325},"source":"function getDrawingContext() {\n if (typeof(this.currentShape) === 'undefined') {\n this.currentShape = Morph.makePolygon([]);\n this.addMorph(this.currentShape)\n this.currentShape.disableEvents()\n }\n return this.currentShape\n}","funcProperties":{"__isSmartRef__":true,"id":326},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"325":{"this":{"__isSmartRef__":true,"id":218}},"326":{"timestamp":{"__isSmartRef__":true,"id":327},"user":"undefined","tags":["accessing"]},"327":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:46:34 GMT+0200 (Mitteleuropäische Sommerzeit)"},"328":{"varMapping":{"__isSmartRef__":true,"id":329},"source":"function getPointQueue() {\n return this.pointQueue || [];\n}","funcProperties":{"__isSmartRef__":true,"id":330},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"329":{"this":{"__isSmartRef__":true,"id":218}},"330":{"timestamp":{"__isSmartRef__":true,"id":331},"user":"undefined","tags":["synchonization"]},"331":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"332":{"varMapping":{"__isSmartRef__":true,"id":333},"source":"function initialSync() {\n // XXX TODO implement\n var that = this,\n docs = this.getDB().allDocs();\n\n this.submorphs.each(function (ea) {\n that.syncPointQueueToDatabase(ea.shape.vertices(), ea.timestamp);\n });\n\n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n var match = that.submorphs.find(function (each) {\n return each.timestamp == ea.time\n })\n if (typeof(match) === 'undefined') \n that.drawLineFrom(doc);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":334},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"333":{"this":{"__isSmartRef__":true,"id":218}},"334":{"timestamp":{"__isSmartRef__":true,"id":335},"user":"undefined","tags":["synchonization"]},"335":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:45:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"336":{"varMapping":{"__isSmartRef__":true,"id":337},"source":"function lineTo(point, sync, optTransform, color) {\n if (optTransform)\n point = this.transformPoint(point);\n\n var line = this.getDrawingContext();\n\n line.setVertices(line.vertices().concat([point]))\n}","funcProperties":{"__isSmartRef__":true,"id":338},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"337":{"this":{"__isSmartRef__":true,"id":218}},"338":{"timestamp":{"__isSmartRef__":true,"id":339},"user":"undefined","tags":["drawing"]},"339":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:59:59 GMT+0200 (Mitteleuropäische Sommerzeit)"},"340":{"varMapping":{"__isSmartRef__":true,"id":341},"source":"function morphMenuItems() {\n items = $super();\n var itemString = \"activate sync\";\n if (this.active) itemString = \"de\" + itemString;\n items.push([itemString, (function () {this.toggleActivation()}).bind(this)]);\n items.push([\"clear whiteboard\", (function () {this.clear()}).bind(this)])\n return items;\n}","funcProperties":{"__isSmartRef__":true,"id":346},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"341":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":342}},"342":{"$super":{"__isSmartRef__":true,"id":343}},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":345},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"344":{"obj":{"__isSmartRef__":true,"id":218},"name":"morphMenuItems"},"345":{},"346":{"timestamp":{"__isSmartRef__":true,"id":347},"user":"undefined","tags":[]},"347":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"348":{"varMapping":{"__isSmartRef__":true,"id":349},"source":"function moveTo(point, sync, optTransform) {\n var pos = point;\n if (optTransform) {\n pos = this.transformPoint(pos);\n }\n if (sync) {\n if (this.getPointQueue().length > 0) {\n this.getPointQueue().push([-1, -1]);\n }\n this.getPointQueue().push([pos.x, pos.y]);\n }\n var ctx = this.getDrawingContext();\n}","funcProperties":{"__isSmartRef__":true,"id":350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"349":{"this":{"__isSmartRef__":true,"id":218}},"350":{"timestamp":{"__isSmartRef__":true,"id":351},"user":"undefined","tags":["drawing"]},"351":{"isSerializedDate":true,"string":"Wed Apr 18 2012 11:24:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"352":{"varMapping":{"__isSmartRef__":true,"id":353},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown()) {\n this.startDrawing(evt);\n evt.stop();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":358},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"353":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":354}},"354":{"$super":{"__isSmartRef__":true,"id":355}},"355":{"varMapping":{"__isSmartRef__":true,"id":356},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":357},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"356":{"obj":{"__isSmartRef__":true,"id":218},"name":"onMouseDown"},"357":{},"358":{"timestamp":{"__isSmartRef__":true,"id":359},"user":"undefined","tags":["mouse actions"]},"359":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"360":{"varMapping":{"__isSmartRef__":true,"id":361},"source":"function onMouseMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":366},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"361":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":362}},"362":{"$super":{"__isSmartRef__":true,"id":363}},"363":{"varMapping":{"__isSmartRef__":true,"id":364},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":365},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"364":{"obj":{"__isSmartRef__":true,"id":218},"name":"onMouseMove"},"365":{},"366":{"timestamp":{"__isSmartRef__":true,"id":367},"user":"undefined","tags":["mouse actions"]},"367":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"368":{"varMapping":{"__isSmartRef__":true,"id":369},"source":"function onMouseOut(evt) {\n // XXX cancelation better than strange drawing behavior?\n this.onMouseUp(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"369":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":370}},"370":{"$super":{"__isSmartRef__":true,"id":371}},"371":{"varMapping":{"__isSmartRef__":true,"id":372},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":373},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"372":{"obj":{"__isSmartRef__":true,"id":218},"name":"onMouseOut"},"373":{},"374":{"timestamp":{"__isSmartRef__":true,"id":375},"user":"undefined","tags":["mouse actions"]},"375":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"376":{"varMapping":{"__isSmartRef__":true,"id":377},"source":"function onMouseUp(evt) {\n this.stopDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":382},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"377":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":378}},"378":{"$super":{"__isSmartRef__":true,"id":379}},"379":{"varMapping":{"__isSmartRef__":true,"id":380},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":381},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"380":{"obj":{"__isSmartRef__":true,"id":218},"name":"onMouseUp"},"381":{},"382":{"timestamp":{"__isSmartRef__":true,"id":383},"user":"undefined","tags":["mouse actions"]},"383":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"384":{"varMapping":{"__isSmartRef__":true,"id":385},"source":"function onTouchEnd(evt) {\n this.stopDrawing(evt, true);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"385":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":386}},"386":{"$super":{"__isSmartRef__":true,"id":387}},"387":{"varMapping":{"__isSmartRef__":true,"id":388},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":389},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"388":{"obj":{"__isSmartRef__":true,"id":218},"name":"onTouchEnd"},"389":{},"390":{"timestamp":{"__isSmartRef__":true,"id":391},"user":"undefined","tags":["touch actions"]},"391":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"392":{"varMapping":{"__isSmartRef__":true,"id":393},"source":"function onTouchMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":394},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"393":{"this":{"__isSmartRef__":true,"id":218}},"394":{"timestamp":{"__isSmartRef__":true,"id":395},"user":"undefined","tags":["touch actions"]},"395":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"396":{"varMapping":{"__isSmartRef__":true,"id":397},"source":"function onTouchStart(evt) {\n this.startDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":402},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"397":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":398}},"398":{"$super":{"__isSmartRef__":true,"id":399}},"399":{"varMapping":{"__isSmartRef__":true,"id":400},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":401},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"400":{"obj":{"__isSmartRef__":true,"id":218},"name":"onTouchStart"},"401":{},"402":{"timestamp":{"__isSmartRef__":true,"id":403},"user":"undefined","tags":["touch actions"]},"403":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"404":{"varMapping":{"__isSmartRef__":true,"id":405},"source":"function remove() {\n // XXX stop longpolling\n this.suspendSteppingAll();\n if (this.showsHalos) this.removeHalos();\n this.renderContextDispatch('remove');\n}","funcProperties":{"__isSmartRef__":true,"id":410},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"405":{"this":{"__isSmartRef__":true,"id":218},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":406}},"406":{"$super":{"__isSmartRef__":true,"id":407}},"407":{"varMapping":{"__isSmartRef__":true,"id":408},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":409},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"408":{"obj":{"__isSmartRef__":true,"id":218},"name":"remove"},"409":{},"410":{"timestamp":{"__isSmartRef__":true,"id":411},"user":"undefined","tags":["initialization"]},"411":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"412":{"varMapping":{"__isSmartRef__":true,"id":413},"source":"function reset() {\n this.deactivate();\n this.disableGrabbing();\n this.db = undefined;\n this.setDBName(\"\");\n this.isDrawing = false;\n this.clear();\n this.setExtent(pt(900,450))\n}","funcProperties":{"__isSmartRef__":true,"id":414},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"413":{"this":{"__isSmartRef__":true,"id":218}},"414":{"timestamp":{"__isSmartRef__":true,"id":415},"user":"undefined","tags":["initialization"]},"415":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"416":{"varMapping":{"__isSmartRef__":true,"id":417},"source":"function resetPointQueue() {\n this.setPointQueue([]);\n}","funcProperties":{"__isSmartRef__":true,"id":418},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"417":{"this":{"__isSmartRef__":true,"id":218}},"418":{"timestamp":{"__isSmartRef__":true,"id":419},"user":"undefined","tags":["synchonization"]},"419":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"420":{"varMapping":{"__isSmartRef__":true,"id":421},"source":"function setDBName(name) {\n this.dbName = name\n}","funcProperties":{"__isSmartRef__":true,"id":422},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"421":{"this":{"__isSmartRef__":true,"id":218}},"422":{"timestamp":{"__isSmartRef__":true,"id":423},"user":"undefined","tags":[]},"423":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"source":"function setPointQueue(queue) {\n this.pointQueue = queue;\n}","funcProperties":{"__isSmartRef__":true,"id":426},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"425":{"this":{"__isSmartRef__":true,"id":218}},"426":{"timestamp":{"__isSmartRef__":true,"id":427},"user":"undefined","tags":["synchonization"]},"427":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"source":"function startDrawing(evt) {\n this.isDrawing = true;\n}","funcProperties":{"__isSmartRef__":true,"id":430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"429":{"this":{"__isSmartRef__":true,"id":218}},"430":{"timestamp":{"__isSmartRef__":true,"id":431},"user":"undefined","tags":["drawing"]},"431":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:51:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"432":{"varMapping":{"__isSmartRef__":true,"id":433},"source":"function stopDrawing(evt, touch) {\n //var ctx = this.getDrawingContext();\n //ctx.closePath();\n if (this.isDrawing) {\n this.isDrawing = false;\n this.finishLine();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"433":{"this":{"__isSmartRef__":true,"id":218}},"434":{"timestamp":{"__isSmartRef__":true,"id":435},"user":"undefined","tags":["drawing"]},"435":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:36:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"source":"function syncPointQueueToDatabase(vertices, time) {\n if (this.active) {\n var document = {\n board: \"example\",\n time: time,\n drawer: this.getDrawerID(),\n vector: vertices,\n };\n var result = this.getDB().save(document);\n if (result.error == \"conflict\") \n console.log(\"an error occured while syncing the whiteboard\");\n }\n}","funcProperties":{"__isSmartRef__":true,"id":438},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"437":{"this":{"__isSmartRef__":true,"id":218}},"438":{"timestamp":{"__isSmartRef__":true,"id":439},"user":"undefined","tags":["synchonization"]},"439":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:34:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"440":{"varMapping":{"__isSmartRef__":true,"id":441},"source":"function toggleActivation() {\n if (!this.active) {\n this.activate();\n } else {\n this.deactivate();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":442},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"441":{"this":{"__isSmartRef__":true,"id":218}},"442":{"timestamp":{"__isSmartRef__":true,"id":443},"user":"undefined","tags":[]},"443":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"444":{"varMapping":{"__isSmartRef__":true,"id":445},"source":"function transformPoint(pagePoint) {\n var shapePosition = this.getPosition();\n return pagePoint.subPt(shapePosition);\n}","funcProperties":{"__isSmartRef__":true,"id":446},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"445":{"this":{"__isSmartRef__":true,"id":218}},"446":{"timestamp":{"__isSmartRef__":true,"id":447},"user":"undefined","tags":["drawing"]},"447":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:53:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"source":"function finishLine(optTimestamp) {\n this.currentShape.timestamp = optTimestamp || Date.now();\n\n var vertices = this.currentShape ? this.currentShape.shape.vertices() : undefined;\n var timestamp = this.currentShape.timestamp;\n\n delete this.currentShape;\n\n optTimestamp || (vertices && timestamp && this.syncPointQueueToDatabase(vertices, timestamp));\n}","funcProperties":{"__isSmartRef__":true,"id":450},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"449":{"this":{"__isSmartRef__":true,"id":218}},"450":{"timestamp":{"__isSmartRef__":true,"id":451},"user":"undefined","tags":[]},"451":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:51:55 GMT+0200 (Mitteleuropäische Sommerzeit)"},"452":{"submorphs":[{"__isSmartRef__":true,"id":453},{"__isSmartRef__":true,"id":474}],"scripts":[],"shape":{"__isSmartRef__":true,"id":618},"derivationIds":[null],"id":"B65958AA-1697-473C-A01B-3252F4649B6F","renderContextTable":{"__isSmartRef__":true,"id":622},"eventHandler":{"__isSmartRef__":true,"id":623},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":624},"LK2":true,"_Position":{"__isSmartRef__":true,"id":625},"priorExtent":{"__isSmartRef__":true,"id":626},"targetMorph":{"__isSmartRef__":true,"id":453},"titleBar":{"__isSmartRef__":true,"id":474},"contentOffset":{"__isSmartRef__":true,"id":471},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"prevDragPos":{"__isSmartRef__":true,"id":627},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"453":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":454},"derivationIds":[null],"id":"7435E47C-1D8F-4DB4-910E-0A23A972C65D","renderContextTable":{"__isSmartRef__":true,"id":461},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":462},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":467}],"eventHandler":{"__isSmartRef__":true,"id":469},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":452},"priorExtent":{"__isSmartRef__":true,"id":470},"_MaxTextWidth":490,"_MinTextWidth":490,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":471},"layout":{"__isSmartRef__":true,"id":472},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":473}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1334838533503,"accessibleInInactiveWindow":true,"previousSelection":[148,148],"priorSelectionRange":[46,46],"charsReplaced":"","lastFindLoc":136,"savedTextString":"restructuring the database document structure:\n- timestamp (works like a uuid) of creation on the origin world\n- vertices array\n- color\n- creator (username)","__SourceModuleName__":"Global.lively.morphic.TextCore","textString":"restructuring the database document structure:\n- timestamp (works like a uuid) of creation on the origin world\n- vertices array\n- color\n- creator (username)","__LivelyClassName__":"lively.morphic.Text"},"454":{"_Position":{"__isSmartRef__":true,"id":455},"renderContextTable":{"__isSmartRef__":true,"id":456},"_Extent":{"__isSmartRef__":true,"id":457},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":458},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":459},"_Fill":{"__isSmartRef__":true,"id":460},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"455":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"457":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"458":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"459":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"460":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"461":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"462":{"style":{"__isSmartRef__":true,"id":463},"chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"restructuring the database document ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"463":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"464":{"style":{"__isSmartRef__":true,"id":465},"chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"structure:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"465":{"color":{"__isSmartRef__":true,"id":466},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"466":{"r":0.5450980392156862,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"467":{"style":{"__isSmartRef__":true,"id":468},"chunkOwner":{"__isSmartRef__":true,"id":453},"storedString":"\n- timestamp (works like a uuid) of creation on the origin world\n- vertices array\n- color\n- creator (username)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"468":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"469":{"morph":{"__isSmartRef__":true,"id":453},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"470":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"471":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"472":{"resizeWidth":true,"resizeHeight":true},"473":{"sourceObj":{"__isSmartRef__":true,"id":453},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":453},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"474":{"submorphs":[{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":567}],"scripts":[],"shape":{"__isSmartRef__":true,"id":601},"derivationIds":[null],"id":"5C7713C8-BE4F-4975-82C7-5A41534A0EDF","renderContextTable":{"__isSmartRef__":true,"id":613},"eventHandler":{"__isSmartRef__":true,"id":614},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":615},"_Position":{"__isSmartRef__":true,"id":616},"windowMorph":{"__isSmartRef__":true,"id":452},"label":{"__isSmartRef__":true,"id":475},"closeButton":{"__isSmartRef__":true,"id":488},"menuButton":{"__isSmartRef__":true,"id":534},"collapseButton":{"__isSmartRef__":true,"id":567},"priorExtent":{"__isSmartRef__":true,"id":617},"owner":{"__isSmartRef__":true,"id":452},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"475":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":476},"derivationIds":[null],"id":"DE36A8A4-CEB5-413A-917A-21F369F950D8","renderContextTable":{"__isSmartRef__":true,"id":481},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":482}],"eventHandler":{"__isSmartRef__":true,"id":484},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":485},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":474},"priorExtent":{"__isSmartRef__":true,"id":486},"_MaxTextWidth":441,"_MinTextWidth":441,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":487},"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"476":{"_Position":{"__isSmartRef__":true,"id":477},"renderContextTable":{"__isSmartRef__":true,"id":478},"_Extent":{"__isSmartRef__":true,"id":479},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":480},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":222},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"477":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"478":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"479":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"480":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"481":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"482":{"style":{"__isSmartRef__":true,"id":483},"chunkOwner":{"__isSmartRef__":true,"id":475},"storedString":"Workspace","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"483":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"484":{"morph":{"__isSmartRef__":true,"id":475},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"485":{"resizeWidth":true},"486":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"487":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"488":{"submorphs":[{"__isSmartRef__":true,"id":489}],"scripts":[],"shape":{"__isSmartRef__":true,"id":500},"derivationIds":[null],"id":"D41640CE-6D54-4F30-9301-9FD83434F41A","renderContextTable":{"__isSmartRef__":true,"id":516},"eventHandler":{"__isSmartRef__":true,"id":517},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":518},"priorExtent":{"__isSmartRef__":true,"id":519},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":506},"lighterFill":{"__isSmartRef__":true,"id":520},"label":{"__isSmartRef__":true,"id":489},"owner":{"__isSmartRef__":true,"id":474},"layout":{"__isSmartRef__":true,"id":529},"attributeConnections":[{"__isSmartRef__":true,"id":530},{"__isSmartRef__":true,"id":532}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"489":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":490},"derivationIds":[null],"id":"EB648455-38CA-405A-8EF1-8615F49D45B6","renderContextTable":{"__isSmartRef__":true,"id":495},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":496}],"eventHandler":{"__isSmartRef__":true,"id":498},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":488},"priorExtent":{"__isSmartRef__":true,"id":499},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":222},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"490":{"_Position":{"__isSmartRef__":true,"id":491},"renderContextTable":{"__isSmartRef__":true,"id":492},"_Extent":{"__isSmartRef__":true,"id":493},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":222},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"491":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"492":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"493":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"494":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"495":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"496":{"style":{"__isSmartRef__":true,"id":497},"chunkOwner":{"__isSmartRef__":true,"id":489},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"497":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"498":{"morph":{"__isSmartRef__":true,"id":489},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"499":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"500":{"_Position":{"__isSmartRef__":true,"id":501},"renderContextTable":{"__isSmartRef__":true,"id":502},"_Extent":{"__isSmartRef__":true,"id":503},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":504},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":505},"_Fill":{"__isSmartRef__":true,"id":506},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"501":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"502":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"503":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"504":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"505":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"506":{"stops":[{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":511},{"__isSmartRef__":true,"id":513}],"vector":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"507":{"offset":0,"color":{"__isSmartRef__":true,"id":508}},"508":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"509":{"offset":0.4,"color":{"__isSmartRef__":true,"id":510}},"510":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"511":{"offset":0.6,"color":{"__isSmartRef__":true,"id":512}},"512":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"513":{"offset":1,"color":{"__isSmartRef__":true,"id":514}},"514":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"515":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"516":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"517":{"morph":{"__isSmartRef__":true,"id":488},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"518":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"519":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"520":{"stops":[{"__isSmartRef__":true,"id":521},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":527}],"vector":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"521":{"offset":0,"color":{"__isSmartRef__":true,"id":522}},"522":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"523":{"offset":0.4,"color":{"__isSmartRef__":true,"id":524}},"524":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"525":{"offset":0.6,"color":{"__isSmartRef__":true,"id":526}},"526":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"527":{"offset":1,"color":{"__isSmartRef__":true,"id":528}},"528":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"529":{"moveHorizontal":true},"530":{"sourceObj":{"__isSmartRef__":true,"id":488},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":531},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"531":{"source":{"__isSmartRef__":true,"id":488},"target":{"__isSmartRef__":true,"id":452}},"532":{"sourceObj":{"__isSmartRef__":true,"id":488},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":533},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"533":{"source":{"__isSmartRef__":true,"id":488},"target":{"__isSmartRef__":true,"id":452}},"534":{"submorphs":[{"__isSmartRef__":true,"id":535}],"scripts":[],"shape":{"__isSmartRef__":true,"id":545},"derivationIds":[null],"id":"77A528F4-243E-4A31-935B-7201C9796408","renderContextTable":{"__isSmartRef__":true,"id":550},"eventHandler":{"__isSmartRef__":true,"id":551},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":552},"priorExtent":{"__isSmartRef__":true,"id":553},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":506},"lighterFill":{"__isSmartRef__":true,"id":554},"label":{"__isSmartRef__":true,"id":535},"owner":{"__isSmartRef__":true,"id":474},"attributeConnections":[{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":565}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"535":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":536},"derivationIds":[null],"id":"FC6E4DCA-1B75-4B39-868D-58B1D52B7672","renderContextTable":{"__isSmartRef__":true,"id":540},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":541}],"eventHandler":{"__isSmartRef__":true,"id":543},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":534},"priorExtent":{"__isSmartRef__":true,"id":544},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":222},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"536":{"_Position":{"__isSmartRef__":true,"id":537},"renderContextTable":{"__isSmartRef__":true,"id":538},"_Extent":{"__isSmartRef__":true,"id":539},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":222},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"537":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"538":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"539":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"540":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"541":{"style":{"__isSmartRef__":true,"id":542},"chunkOwner":{"__isSmartRef__":true,"id":535},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"542":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"543":{"morph":{"__isSmartRef__":true,"id":535},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"544":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"545":{"_Position":{"__isSmartRef__":true,"id":546},"renderContextTable":{"__isSmartRef__":true,"id":547},"_Extent":{"__isSmartRef__":true,"id":548},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":549},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":505},"_Fill":{"__isSmartRef__":true,"id":506},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"546":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"547":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"548":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"549":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"550":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"551":{"morph":{"__isSmartRef__":true,"id":534},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"552":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"553":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"554":{"stops":[{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":561}],"vector":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"555":{"offset":0,"color":{"__isSmartRef__":true,"id":556}},"556":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"557":{"offset":0.4,"color":{"__isSmartRef__":true,"id":558}},"558":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"559":{"offset":0.6,"color":{"__isSmartRef__":true,"id":560}},"560":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"561":{"offset":1,"color":{"__isSmartRef__":true,"id":562}},"562":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"563":{"sourceObj":{"__isSmartRef__":true,"id":534},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":564},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"564":{"source":{"__isSmartRef__":true,"id":534},"target":{"__isSmartRef__":true,"id":452}},"565":{"sourceObj":{"__isSmartRef__":true,"id":534},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":566},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"566":{"source":{"__isSmartRef__":true,"id":534},"target":{"__isSmartRef__":true,"id":452}},"567":{"submorphs":[{"__isSmartRef__":true,"id":568}],"scripts":[],"shape":{"__isSmartRef__":true,"id":578},"derivationIds":[null],"id":"006446F2-6318-4708-8EED-167B504DB0B0","renderContextTable":{"__isSmartRef__":true,"id":583},"eventHandler":{"__isSmartRef__":true,"id":584},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":585},"priorExtent":{"__isSmartRef__":true,"id":586},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":506},"lighterFill":{"__isSmartRef__":true,"id":587},"label":{"__isSmartRef__":true,"id":568},"owner":{"__isSmartRef__":true,"id":474},"layout":{"__isSmartRef__":true,"id":596},"attributeConnections":[{"__isSmartRef__":true,"id":597},{"__isSmartRef__":true,"id":599}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"568":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":569},"derivationIds":[null],"id":"810051BF-CF34-449D-909C-354035F3CCDE","renderContextTable":{"__isSmartRef__":true,"id":573},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":574}],"eventHandler":{"__isSmartRef__":true,"id":576},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":567},"priorExtent":{"__isSmartRef__":true,"id":577},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":222},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"569":{"_Position":{"__isSmartRef__":true,"id":570},"renderContextTable":{"__isSmartRef__":true,"id":571},"_Extent":{"__isSmartRef__":true,"id":572},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":222},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"570":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"571":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"572":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"574":{"style":{"__isSmartRef__":true,"id":575},"chunkOwner":{"__isSmartRef__":true,"id":568},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"575":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"576":{"morph":{"__isSmartRef__":true,"id":568},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"577":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"578":{"_Position":{"__isSmartRef__":true,"id":579},"renderContextTable":{"__isSmartRef__":true,"id":580},"_Extent":{"__isSmartRef__":true,"id":581},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":582},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":505},"_Fill":{"__isSmartRef__":true,"id":506},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"579":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"580":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"581":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"582":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"583":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"584":{"morph":{"__isSmartRef__":true,"id":567},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"585":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"586":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"587":{"stops":[{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":590},{"__isSmartRef__":true,"id":592},{"__isSmartRef__":true,"id":594}],"vector":{"__isSmartRef__":true,"id":515},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"588":{"offset":0,"color":{"__isSmartRef__":true,"id":589}},"589":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"590":{"offset":0.4,"color":{"__isSmartRef__":true,"id":591}},"591":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"592":{"offset":0.6,"color":{"__isSmartRef__":true,"id":593}},"593":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"594":{"offset":1,"color":{"__isSmartRef__":true,"id":595}},"595":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"596":{"moveHorizontal":true},"597":{"sourceObj":{"__isSmartRef__":true,"id":567},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":598},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"598":{"source":{"__isSmartRef__":true,"id":567},"target":{"__isSmartRef__":true,"id":452}},"599":{"sourceObj":{"__isSmartRef__":true,"id":567},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":452},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":600},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"600":{"source":{"__isSmartRef__":true,"id":567},"target":{"__isSmartRef__":true,"id":452}},"601":{"_Position":{"__isSmartRef__":true,"id":602},"renderContextTable":{"__isSmartRef__":true,"id":603},"_Extent":{"__isSmartRef__":true,"id":604},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":605},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":606},"_Fill":{"__isSmartRef__":true,"id":607},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"602":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"604":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"605":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"606":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"607":{"stops":[{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":610}],"vector":{"__isSmartRef__":true,"id":612},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"608":{"offset":0,"color":{"__isSmartRef__":true,"id":609}},"609":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"610":{"offset":1,"color":{"__isSmartRef__":true,"id":611}},"611":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"612":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"613":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"614":{"morph":{"__isSmartRef__":true,"id":474},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"615":{"resizeWidth":true,"adjustForNewBounds":true},"616":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"617":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"618":{"renderContextTable":{"__isSmartRef__":true,"id":619},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":620},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":621},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"619":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"620":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"621":{"x":500,"y":221,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"622":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"623":{"morph":{"__isSmartRef__":true,"id":452},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"624":{"adjustForNewBounds":true},"625":{"x":62,"y":879,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"626":{"x":500,"y":221,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"627":{"x":169,"y":898,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"628":{"submorphs":[],"scripts":[],"id":"BD769112-2E6F-4D3A-8FD1-FF5FB642D32F","shape":{"__isSmartRef__":true,"id":629},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":636},"showsHalos":false,"name":"WhiteBoardSVG","partsBinMetaInfo":{"__isSmartRef__":true,"id":637},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":664},"eventHandler":{"__isSmartRef__":true,"id":665},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","6237CF20-1132-4E45-854A-233CB994F5BA"],"partTests":{"__isSmartRef__":true,"id":666},"priorExtent":{"__isSmartRef__":true,"id":671},"prevScroll":[0,0],"pointQueue":[[10,122],[10,123],[10,127],[10,131],[10,138],[12,157],[15,177],[19,186],[22,196],[23,197],[23,195],[24,192],[24,186],[24,180],[24,170],[24,148],[24,125],[24,119],[24,110],[23,109],[23,113],[23,118],[25,124],[25,132],[31,156],[31,162],[36,175],[37,178],[37,174],[37,170],[35,163],[35,155],[31,132],[26,120],[23,112],[23,111],[23,121],[23,137],[24,163],[26,185],[27,197],[27,198],[27,195],[27,187],[25,170],[23,145],[19,117],[15,101],[14,96],[14,97],[15,108],[20,129],[26,150],[29,165],[31,168],[32,169],[32,167],[32,157],[32,138],[32,113],[31,90],[31,80],[30,78],[30,77],[28,81],[28,98],[29,123],[31,148],[33,166],[33,168],[33,165],[33,157],[33,148],[30,120],[24,92],[20,69],[17,60],[15,62],[15,70],[15,81],[19,117],[21,136],[23,167],[28,185],[34,188],[37,184],[37,169],[37,161],[36,133],[33,107],[29,92],[29,89],[28,88],[28,95],[30,108],[34,117],[42,128],[50,134],[62,134],[71,128],[75,121],[75,110],[74,98],[70,92],[61,91],[52,96],[39,111],[37,117],[40,143],[50,155],[68,159],[90,159],[98,152],[99,139],[99,133],[90,122],[69,110],[48,106],[34,107],[25,115],[22,130],[25,139],[40,156],[72,173],[103,175],[118,173],[123,166],[121,155],[101,139],[74,125],[60,123],[38,123],[29,126],[27,134],[38,146],[63,158],[94,164],[122,164],[127,158],[125,150],[113,140],[94,133],[77,129],[62,129],[59,131],[57,143],[60,148],[77,161],[105,169],[136,171],[151,170],[154,164],[147,157],[124,149],[93,145],[63,145],[45,148],[40,155],[44,168],[61,179],[87,189],[115,191],[135,191],[145,184],[146,175],[138,168],[122,155],[99,149],[76,149],[63,151],[59,159],[63,168],[79,181],[111,189],[144,192],[171,187],[173,180],[167,173],[151,164],[120,157],[90,155],[67,158],[61,163],[62,170],[78,181],[134,198],[173,200],[196,197],[200,190],[197,184],[178,175],[152,167],[113,161],[83,161],[70,161],[74,172],[99,188],[144,201],[188,208],[218,210],[226,206],[224,201],[194,186],[157,175],[118,166],[85,164],[74,169],[80,178],[104,190],[160,201],[193,201],[208,199],[209,194],[200,184],[165,172],[129,168],[99,168],[84,170],[79,177],[95,186],[126,194],[170,198],[206,198],[226,197],[224,186],[208,175],[174,169],[136,165],[102,165],[96,169],[100,175],[138,189],[177,195],[212,195],[231,188],[229,181],[214,174],[165,162],[132,160],[107,160],[100,160],[104,172],[134,183],[170,187],[198,187],[217,180],[215,175],[201,164],[175,154],[141,150],[100,150],[83,158],[80,165],[87,174],[131,193],[161,193],[189,192],[197,186],[194,172],[177,157],[128,138],[97,134],[75,134],[63,141],[67,153],[88,160],[121,165],[154,165],[175,160],[187,142],[180,130],[162,113],[135,101],[88,98],[68,101],[58,111],[69,136],[96,148],[127,152],[165,152],[172,144],[171,133],[149,117],[120,105],[89,100],[62,104],[57,112],[61,125],[79,134],[95,139],[140,138],[155,127],[154,108],[135,90],[105,78],[72,76],[35,79],[28,86],[28,97],[49,117],[78,127],[108,129],[134,120],[137,104],[130,86],[113,71],[80,57],[62,58],[50,67],[48,77],[59,93],[80,105],[122,107],[140,100],[146,85],[143,74],[131,62],[96,55],[79,57],[71,63],[68,79],[73,86],[84,92],[110,93],[122,85],[127,74],[123,61],[108,54],[93,52],[66,59],[49,72],[44,93],[50,106],[69,114],[110,113],[129,101],[133,80],[126,64],[107,58],[96,60],[84,70],[76,90],[76,98],[87,111],[112,111],[129,103],[136,89],[127,72],[111,63],[80,63],[64,69],[58,78],[59,91],[72,100],[114,102],[145,99],[159,88],[157,71],[140,58],[100,52],[74,55],[57,72],[56,83],[63,96],[98,118],[142,118],[163,112],[171,98],[164,86],[142,70],[92,62],[62,62],[38,77],[36,88],[48,113],[73,127],[115,133],[138,128],[151,110],[141,88],[106,64],[79,64],[51,65],[33,82],[32,95],[50,119],[82,134],[142,134],[168,129],[179,108],[168,92],[126,62],[76,54],[58,56],[47,87],[73,117],[103,132],[155,135],[179,127],[189,115],[179,90],[157,72],[113,58],[83,56],[52,72],[40,91],[51,124],[76,145],[145,158],[189,157],[219,140],[215,121],[177,92],[124,81],[91,81],[60,95],[58,106],[74,125],[104,140],[175,144],[211,146],[231,138],[227,127],[192,105],[161,94],[114,92],[90,99],[83,111],[100,135],[133,156],[202,165],[243,165],[265,153],[259,139],[215,114],[146,105],[108,105],[82,114],[86,130],[106,146],[162,158],[229,156],[237,138],[224,117],[200,105],[153,101],[124,105],[121,116],[143,138],[180,160],[236,169],[266,165],[267,158],[252,137],[227,118],[180,101],[150,99],[125,105],[122,118],[132,132],[167,156],[214,162],[248,148],[256,126],[241,104],[201,68],[159,54],[111,55],[84,74],[82,86],[109,109],[168,124],[216,124],[258,107],[250,87],[227,68],[176,56],[129,55],[105,63],[97,81],[113,104],[148,121],[230,128],[286,121],[296,109],[284,86],[229,60],[158,55],[113,64],[104,74],[109,94],[151,119],[217,128],[269,125],[276,115],[264,97],[185,75],[119,77],[87,91],[73,113],[90,141],[117,156],[177,160],[218,149],[225,130],[205,108],[179,98],[126,94],[86,100],[74,119],[79,141],[124,161],[173,164],[212,149],[216,138],[204,115],[160,96],[113,95],[87,103],[68,133],[88,153],[154,162],[227,158],[255,144],[256,129],[216,105],[143,100],[87,105],[74,116],[82,134],[142,154],[221,159],[268,157],[269,143],[236,126],[171,111],[111,111],[91,114],[100,122],[148,130],[221,132],[252,132],[256,131],[232,129],[180,129],[141,132],[133,141],[143,147],[202,153],[239,147],[246,136],[228,119],[185,107],[141,107],[118,111],[117,117],[130,124],[180,130],[224,130],[233,126],[218,120],[191,118],[136,118],[106,124],[103,133],[132,139],[187,142],[222,137],[228,125],[219,117],[165,108],[126,109],[109,120],[110,128],[137,135],[189,137],[222,126],[223,113],[193,104],[146,100],[102,113],[93,129],[100,138],[138,152],[188,157],[215,149],[214,139],[184,124],[139,116],[100,117],[88,123],[87,131],[108,141],[150,143],[184,137],[196,118],[191,99],[161,77],[124,71],[92,92],[93,114],[127,134],[180,138],[213,137],[227,124],[219,110],[182,92],[135,87],[100,94],[93,106],[105,119],[151,123],[198,120],[227,102],[228,89],[210,76],[166,74],[123,83],[101,99],[104,114],[143,130],[198,134],[242,122],[248,108],[225,79],[176,65],[132,65],[104,78],[99,100],[134,120],[186,122],[229,115],[241,100],[228,84],[190,70],[143,68],[97,84],[85,102],[106,128],[157,139],[207,134],[225,114],[222,82],[188,56],[132,47],[86,63],[70,91],[84,118],[139,142],[202,143],[240,120],[229,100],[190,78],[129,72],[84,78],[69,93],[71,110],[94,133],[141,137],[184,130],[200,113],[191,86],[159,57],[110,45],[73,51],[52,78],[52,92],[93,121],[154,124],[199,114],[209,96],[195,73],[155,46],[111,42],[85,56],[77,90],[102,115],[158,121],[208,116],[220,98],[191,66],[142,51],[95,52],[71,71],[69,86],[83,100],[101,109],[113,109],[113,107],[113,102],[113,101],[113,101]],"isBeingDragged":false,"grabbingEnabled":false,"isDrawing":false,"active":false,"dbName":"","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"db":{"__isSmartRef__":true,"id":672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":693},"__LivelyClassName__":"lively.morphic.Box"},"629":{"position":{"__isSmartRef__":true,"id":630},"_Extent":{"__isSmartRef__":true,"id":631},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":632},"_Fill":{"__isSmartRef__":true,"id":633},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":634},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":635},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"630":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"631":{"x":900,"y":450,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"632":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"633":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"634":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"635":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"636":{"x":65,"y":1119,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"637":{"partsSpaceName":"PartsBin/BP2012","__SourceModuleName__":"Global.lively.PartsBin","comment":"A whiteboard designed for syncing with other worlds, based on svg paintings","migrationLevel":4,"partName":"WhiteBoardSVG","changes":[{"__isSmartRef__":true,"id":638},{"__isSmartRef__":true,"id":640},{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":644},{"__isSmartRef__":true,"id":646},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":652},{"__isSmartRef__":true,"id":654},{"__isSmartRef__":true,"id":656},{"__isSmartRef__":true,"id":658},{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":662}],"revisionOnLoad":153216,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"638":{"date":{"__isSmartRef__":true,"id":639},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"639":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (Mitteleuropäische Zeit)"},"640":{"date":{"__isSmartRef__":true,"id":641},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"641":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (Mitteleuropäische Zeit)"},"642":{"date":{"__isSmartRef__":true,"id":643},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"643":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (Mitteleuropäische Zeit)"},"644":{"date":{"__isSmartRef__":true,"id":645},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"645":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (Mitteleuropäische Sommerzeit)"},"646":{"date":{"__isSmartRef__":true,"id":647},"author":"undefined","message":"copied and adapted from WhiteBoard part","id":"9BB5FF37-8D16-40E8-AD37-E352A5BC7BC2"},"647":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:01:32 GMT+0200 (Mitteleuropäische Sommerzeit)"},"648":{"date":{"__isSmartRef__":true,"id":649},"author":"undefined","message":"no need to do resizing like in canvas anymore","id":"A5BF9072-8832-4AC0-A3C4-7B7D80C442BD"},"649":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:11:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"650":{"date":{"__isSmartRef__":true,"id":651},"author":"undefined","message":"now really","id":"55184ADA-A500-41E3-9233-AAAFB2FC845B"},"651":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:18:49 GMT+0200 (Mitteleuropäische Sommerzeit)"},"652":{"date":{"__isSmartRef__":true,"id":653},"author":"undefined","message":"reset the currentShape after sync from database","id":"C890FDB9-E199-4CE3-BAEA-F8F92378D687"},"653":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:22:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"654":{"date":{"__isSmartRef__":true,"id":655},"author":"undefined","message":"initial sych established","id":"D481CE0C-B427-4AD5-ABF3-ACCBD21C6BD1"},"655":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:43:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"656":{"date":{"__isSmartRef__":true,"id":657},"author":"undefined","message":"this and that binding foo","id":"FC970CDE-35D9-400A-99C3-E453BB5ED35F"},"657":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:46:15 GMT+0200 (Mitteleuropäische Sommerzeit)"},"658":{"date":{"__isSmartRef__":true,"id":659},"author":"undefined","message":"hopefully no more endless recursion when active","id":"77B85C4E-B4F6-41D9-A57A-7968C0E22EF2"},"659":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:53:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"660":{"date":{"__isSmartRef__":true,"id":661},"author":"undefined","message":"re-implemented the colors","id":"41F10DBC-E6FF-47FE-8341-0CC0049B20E9"},"661":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:01:27 GMT+0200 (Mitteleuropäische Sommerzeit)"},"662":{"date":{"__isSmartRef__":true,"id":663},"author":"huberthesse","message":"","id":"EDD32312-148F-4275-9878-7C6B2D4920EF"},"663":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:35:02 GMT+0200 (Mitteleuropäische Sommerzeit)"},"664":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"665":{"morph":{"__isSmartRef__":true,"id":628},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"666":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":667}},"667":{"test01IsMorph":{"__isSmartRef__":true,"id":668}},"668":{"varMapping":{"__isSmartRef__":true,"id":669},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":670},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"669":{"this":{"__isSmartRef__":true,"id":666}},"670":{},"671":{"x":900,"y":450,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"672":{"name":"svg_whiteboard","urlStart":"http://lively-kernel.org/couchdb/","uri":"http://lively-kernel.org/couchdb/svg_whiteboard/","last_req":{"__isSmartRef__":true,"id":673},"uuids_cache":["ba1bc5d46beb0e02a1c9b780d9e76903","ba1bc5d46beb0e02a1c9b780d9e76cf5","ba1bc5d46beb0e02a1c9b780d9e76d00","ba1bc5d46beb0e02a1c9b780d9e76e81","ba1bc5d46beb0e02a1c9b780d9e77438","ba1bc5d46beb0e02a1c9b780d9e77f30","ba1bc5d46beb0e02a1c9b780d9e7843e","ba1bc5d46beb0e02a1c9b780d9e785b5","ba1bc5d46beb0e02a1c9b780d9e790db","ba1bc5d46beb0e02a1c9b780d9e79812","ba1bc5d46beb0e02a1c9b780d9e79b88","ba1bc5d46beb0e02a1c9b780d9e79d7d","ba1bc5d46beb0e02a1c9b780d9e79e6d","ba1bc5d46beb0e02a1c9b780d9e7a806","ba1bc5d46beb0e02a1c9b780d9e7b5cc","ba1bc5d46beb0e02a1c9b780d9e7c3fd","ba1bc5d46beb0e02a1c9b780d9e7c49b","ba1bc5d46beb0e02a1c9b780d9e7d199","ba1bc5d46beb0e02a1c9b780d9e7de62","ba1bc5d46beb0e02a1c9b780d9e7e069","ba1bc5d46beb0e02a1c9b780d9e7e647","ba1bc5d46beb0e02a1c9b780d9e7ee7b","ba1bc5d46beb0e02a1c9b780d9e7f01c","ba1bc5d46beb0e02a1c9b780d9e7fcb3","ba1bc5d46beb0e02a1c9b780d9e7fda0","ba1bc5d46beb0e02a1c9b780d9e808b0","ba1bc5d46beb0e02a1c9b780d9e8122f","ba1bc5d46beb0e02a1c9b780d9e8204b","ba1bc5d46beb0e02a1c9b780d9e8266b","ba1bc5d46beb0e02a1c9b780d9e8355d","ba1bc5d46beb0e02a1c9b780d9e840f6","ba1bc5d46beb0e02a1c9b780d9e8425d","ba1bc5d46beb0e02a1c9b780d9e84e70","ba1bc5d46beb0e02a1c9b780d9e8568c","ba1bc5d46beb0e02a1c9b780d9e8665d","ba1bc5d46beb0e02a1c9b780d9e86da0","ba1bc5d46beb0e02a1c9b780d9e87024","ba1bc5d46beb0e02a1c9b780d9e87bc9","ba1bc5d46beb0e02a1c9b780d9e88061","ba1bc5d46beb0e02a1c9b780d9e88095","ba1bc5d46beb0e02a1c9b780d9e88972","ba1bc5d46beb0e02a1c9b780d9e897f3","ba1bc5d46beb0e02a1c9b780d9e898d9","ba1bc5d46beb0e02a1c9b780d9e8a643","ba1bc5d46beb0e02a1c9b780d9e8ab19","ba1bc5d46beb0e02a1c9b780d9e8b77c","ba1bc5d46beb0e02a1c9b780d9e8b8fd","ba1bc5d46beb0e02a1c9b780d9e8c024","ba1bc5d46beb0e02a1c9b780d9e8c027","ba1bc5d46beb0e02a1c9b780d9e8c98c","ba1bc5d46beb0e02a1c9b780d9e8d34a","ba1bc5d46beb0e02a1c9b780d9e8e1d2","ba1bc5d46beb0e02a1c9b780d9e8e9e0","ba1bc5d46beb0e02a1c9b780d9e8f87b","ba1bc5d46beb0e02a1c9b780d9e8ffa5","ba1bc5d46beb0e02a1c9b780d9e907a2","ba1bc5d46beb0e02a1c9b780d9e90b72","ba1bc5d46beb0e02a1c9b780d9e91996","ba1bc5d46beb0e02a1c9b780d9e91d37","ba1bc5d46beb0e02a1c9b780d9e922a9","ba1bc5d46beb0e02a1c9b780d9e92f3e","ba1bc5d46beb0e02a1c9b780d9e93014","ba1bc5d46beb0e02a1c9b780d9e932ed","ba1bc5d46beb0e02a1c9b780d9e940ad","ba1bc5d46beb0e02a1c9b780d9e94205","ba1bc5d46beb0e02a1c9b780d9e947fd","ba1bc5d46beb0e02a1c9b780d9e94ed2","ba1bc5d46beb0e02a1c9b780d9e950a9","ba1bc5d46beb0e02a1c9b780d9e95849","ba1bc5d46beb0e02a1c9b780d9e962bd","ba1bc5d46beb0e02a1c9b780d9e966e5","ba1bc5d46beb0e02a1c9b780d9e96a7e","ba1bc5d46beb0e02a1c9b780d9e96cae","ba1bc5d46beb0e02a1c9b780d9e97036","ba1bc5d46beb0e02a1c9b780d9e97c3d","ba1bc5d46beb0e02a1c9b780d9e97ece","ba1bc5d46beb0e02a1c9b780d9e98e5b","ba1bc5d46beb0e02a1c9b780d9e99d56","ba1bc5d46beb0e02a1c9b780d9e9a373","ba1bc5d46beb0e02a1c9b780d9e9a819","ba1bc5d46beb0e02a1c9b780d9e9b47d","ba1bc5d46beb0e02a1c9b780d9e9b708","ba1bc5d46beb0e02a1c9b780d9e9c404","ba1bc5d46beb0e02a1c9b780d9e9cb58","ba1bc5d46beb0e02a1c9b780d9e9d1bb","ba1bc5d46beb0e02a1c9b780d9e9d431","ba1bc5d46beb0e02a1c9b780d9e9de15","ba1bc5d46beb0e02a1c9b780d9e9ea79","ba1bc5d46beb0e02a1c9b780d9e9ec3f","ba1bc5d46beb0e02a1c9b780d9e9ef51","ba1bc5d46beb0e02a1c9b780d9e9efe0","ba1bc5d46beb0e02a1c9b780d9e9fc00","ba1bc5d46beb0e02a1c9b780d9ea0a30","ba1bc5d46beb0e02a1c9b780d9ea17b1","ba1bc5d46beb0e02a1c9b780d9ea1e84","ba1bc5d46beb0e02a1c9b780d9ea2324"],"docQueue":[],"last_changes_req":{"__isSmartRef__":true,"id":680},"last_changes_seq":4915,"pollingChanges":false,"__SourceModuleName__":"Global.apps.CouchDB","__LivelyClassName__":"CouchDB"},"673":{"_url":{"__isSmartRef__":true,"id":674},"_isSync":true,"_isBinary":false,"status":{"__isSmartRef__":true,"id":675},"content":"{\"_id\":\"ba1bc5d46beb0e02a1c9b780d9da4011\",\"_rev\":\"1-04d7d8811bfb291083d331a6ef1c7f3d\",\"board\":\"example\",\"time\":1334763176947.0,\"drawer\":\"huberthesse_ON_BD769112-2E6F-4D3A-8FD1-FF5FB642D32F\",\"vector\":[{\"x\":433,\"y\":240},{\"x\":431,\"y\":242},{\"x\":429,\"y\":246},{\"x\":427,\"y\":250},{\"x\":420,\"y\":259},{\"x\":416,\"y\":267},{\"x\":411,\"y\":273},{\"x\":406,\"y\":281},{\"x\":400,\"y\":288},{\"x\":394,\"y\":295},{\"x\":382,\"y\":311},{\"x\":376,\"y\":319},{\"x\":369,\"y\":327},{\"x\":362,\"y\":336},{\"x\":356,\"y\":344},{\"x\":350,\"y\":350},{\"x\":344,\"y\":355},{\"x\":339,\"y\":360},{\"x\":332,\"y\":370},{\"x\":330,\"y\":374},{\"x\":327,\"y\":377},{\"x\":324,\"y\":380},{\"x\":322,\"y\":381},{\"x\":321,\"y\":384}]}\n","contentDocument":"","isExisting":true,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":678},"responseHeaders":{"__isSmartRef__":true,"id":679},"readystate":4,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"WebResource"},"674":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/couchdb/svg_whiteboard/ba1bc5d46beb0e02a1c9b780d9da4011","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"675":{"method":"GET","url":{"__isSmartRef__":true,"id":674},"transport":{"__isSmartRef__":true,"id":676},"exception":null,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"NetRequestStatus"},"676":{"statusText":"OK","onloadend":null,"responseText":"{\"_id\":\"ba1bc5d46beb0e02a1c9b780d9da4011\",\"_rev\":\"1-04d7d8811bfb291083d331a6ef1c7f3d\",\"board\":\"example\",\"time\":1334763176947.0,\"drawer\":\"huberthesse_ON_BD769112-2E6F-4D3A-8FD1-FF5FB642D32F\",\"vector\":[{\"x\":433,\"y\":240},{\"x\":431,\"y\":242},{\"x\":429,\"y\":246},{\"x\":427,\"y\":250},{\"x\":420,\"y\":259},{\"x\":416,\"y\":267},{\"x\":411,\"y\":273},{\"x\":406,\"y\":281},{\"x\":400,\"y\":288},{\"x\":394,\"y\":295},{\"x\":382,\"y\":311},{\"x\":376,\"y\":319},{\"x\":369,\"y\":327},{\"x\":362,\"y\":336},{\"x\":356,\"y\":344},{\"x\":350,\"y\":350},{\"x\":344,\"y\":355},{\"x\":339,\"y\":360},{\"x\":332,\"y\":370},{\"x\":330,\"y\":374},{\"x\":327,\"y\":377},{\"x\":324,\"y\":380},{\"x\":322,\"y\":381},{\"x\":321,\"y\":384}]}\n","responseXML":null,"onload":null,"onprogress":null,"withCredentials":false,"onabort":null,"upload":{"__isSmartRef__":true,"id":677},"status":200,"onloadstart":null,"onerror":null,"readyState":4,"response":"{\"_id\":\"ba1bc5d46beb0e02a1c9b780d9da4011\",\"_rev\":\"1-04d7d8811bfb291083d331a6ef1c7f3d\",\"board\":\"example\",\"time\":1334763176947.0,\"drawer\":\"huberthesse_ON_BD769112-2E6F-4D3A-8FD1-FF5FB642D32F\",\"vector\":[{\"x\":433,\"y\":240},{\"x\":431,\"y\":242},{\"x\":429,\"y\":246},{\"x\":427,\"y\":250},{\"x\":420,\"y\":259},{\"x\":416,\"y\":267},{\"x\":411,\"y\":273},{\"x\":406,\"y\":281},{\"x\":400,\"y\":288},{\"x\":394,\"y\":295},{\"x\":382,\"y\":311},{\"x\":376,\"y\":319},{\"x\":369,\"y\":327},{\"x\":362,\"y\":336},{\"x\":356,\"y\":344},{\"x\":350,\"y\":350},{\"x\":344,\"y\":355},{\"x\":339,\"y\":360},{\"x\":332,\"y\":370},{\"x\":330,\"y\":374},{\"x\":327,\"y\":377},{\"x\":324,\"y\":380},{\"x\":322,\"y\":381},{\"x\":321,\"y\":384}]}\n","responseType":""},"677":{"onloadend":null,"onload":null,"onprogress":null,"onabort":null,"onloadstart":null,"onerror":null},"678":{},"679":{"Date":"Wed, 18 Apr 2012 15:22:52 GMT","date":"Wed, 18 Apr 2012 15:22:52 GMT","Content-Encoding":"gzip","content-encoding":"gzip","Connection":"Keep-Alive","connection":"Keep-Alive","Content-Length":"314","content-length":"314","Server":"CouchDB/0.11.0 (Erlang OTP/R14B)","server":"CouchDB/0.11.0 (Erlang OTP/R14B)","Etag":"\"1-04d7d8811bfb291083d331a6ef1c7f3d\"","etag":"\"1-04d7d8811bfb291083d331a6ef1c7f3d\"","Vary":"Accept-Encoding","vary":"Accept-Encoding","Content-Type":"text/plain;charset=utf-8","content-type":"text/plain;charset=utf-8","Cache-Control":"must-revalidate","cache-control":"must-revalidate","Keep-Alive":"timeout=15, max=37","keep-alive":"timeout=15, max=37"},"680":{"_url":{"__isSmartRef__":true,"id":681},"_isSync":false,"_isBinary":false,"status":{"__isSmartRef__":true,"id":682},"content":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":2109,\"update_seq\":4566,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":25055326,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","contentDocument":"","isExisting":true,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":685},"responseHeaders":{"__isSmartRef__":true,"id":686},"attributeConnections":[{"__isSmartRef__":true,"id":687}],"doNotSerialize":["$$readystate"],"doNotCopyProperties":["$$readystate"],"readystate":4,"streamContent":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":2109,\"update_seq\":4566,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":25055326,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"WebResource"},"681":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/couchdb/svg_whiteboard/","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"682":{"method":"GET","url":{"__isSmartRef__":true,"id":681},"transport":{"__isSmartRef__":true,"id":683},"exception":null,"__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"NetRequestStatus"},"683":{"statusText":"OK","onloadend":null,"responseText":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":2109,\"update_seq\":4566,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":25055326,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","responseXML":null,"onload":null,"onprogress":null,"withCredentials":false,"onabort":null,"upload":{"__isSmartRef__":true,"id":684},"status":200,"onloadstart":null,"onerror":null,"readyState":4,"response":"{\"db_name\":\"svg_whiteboard\",\"doc_count\":1,\"doc_del_count\":2109,\"update_seq\":4566,\"purge_seq\":0,\"compact_running\":false,\"disk_size\":25055326,\"instance_start_time\":\"1334748325552147\",\"disk_format_version\":5}\n","responseType":""},"684":{"onloadend":null,"onload":null,"onprogress":null,"onabort":null,"onloadstart":null,"onerror":null},"685":{},"686":{"Date":"Wed, 18 Apr 2012 15:02:40 GMT","date":"Wed, 18 Apr 2012 15:02:40 GMT","Content-Encoding":"gzip","content-encoding":"gzip","Transfer-Encoding":"chunked","transfer-encoding":"chunked","Connection":"Keep-Alive","connection":"Keep-Alive","Server":"CouchDB/0.11.0 (Erlang OTP/R14B)","server":"CouchDB/0.11.0 (Erlang OTP/R14B)","Vary":"Accept-Encoding","vary":"Accept-Encoding","Content-Type":"text/plain;charset=utf-8","content-type":"text/plain;charset=utf-8","Cache-Control":"must-revalidate","cache-control":"must-revalidate","Keep-Alive":"timeout=15, max=53","keep-alive":"timeout=15, max=53"},"687":{"sourceObj":{"__isSmartRef__":true,"id":680},"sourceAttrName":"readystate","targetObj":{"__isSmartRef__":true,"id":688},"targetMethodName":"cb","converterString":"function () { return this.sourceObj; }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":689},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":690},"__LivelyClassName__":"AttributeConnection"},"688":{},"689":{"source":{"__isSmartRef__":true,"id":680},"target":{"__isSmartRef__":true,"id":688}},"690":{"converter":{"__isSmartRef__":true,"id":691}},"691":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":689},"source":"function () { return this.sourceObj; }","funcProperties":{"__isSmartRef__":true,"id":692},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"692":{},"693":{"onrestore":{"__isSmartRef__":true,"id":694},"activate":{"__isSmartRef__":true,"id":702},"clear":{"__isSmartRef__":true,"id":706},"clearDatabase":{"__isSmartRef__":true,"id":710},"deactivate":{"__isSmartRef__":true,"id":714},"defaultDBName":{"__isSmartRef__":true,"id":718},"drawLineFrom":{"__isSmartRef__":true,"id":722},"getDB":{"__isSmartRef__":true,"id":726},"getDBName":{"__isSmartRef__":true,"id":730},"getDrawerID":{"__isSmartRef__":true,"id":734},"getDrawingContext":{"__isSmartRef__":true,"id":738},"getPointQueue":{"__isSmartRef__":true,"id":742},"initialSync":{"__isSmartRef__":true,"id":746},"lineTo":{"__isSmartRef__":true,"id":750},"morphMenuItems":{"__isSmartRef__":true,"id":754},"moveTo":{"__isSmartRef__":true,"id":762},"onMouseDown":{"__isSmartRef__":true,"id":766},"onMouseMove":{"__isSmartRef__":true,"id":774},"onMouseOut":{"__isSmartRef__":true,"id":782},"onMouseUp":{"__isSmartRef__":true,"id":790},"onTouchEnd":{"__isSmartRef__":true,"id":798},"onTouchMove":{"__isSmartRef__":true,"id":806},"onTouchStart":{"__isSmartRef__":true,"id":810},"remove":{"__isSmartRef__":true,"id":818},"reset":{"__isSmartRef__":true,"id":826},"resetPointQueue":{"__isSmartRef__":true,"id":830},"setDBName":{"__isSmartRef__":true,"id":834},"setPointQueue":{"__isSmartRef__":true,"id":838},"startDrawing":{"__isSmartRef__":true,"id":842},"stopDrawing":{"__isSmartRef__":true,"id":846},"syncPointQueueToDatabase":{"__isSmartRef__":true,"id":850},"toggleActivation":{"__isSmartRef__":true,"id":854},"transformPoint":{"__isSmartRef__":true,"id":858},"finishLine":{"__isSmartRef__":true,"id":862}},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"source":"function onrestore() {\n// this.reset();\n var wr = new WebResource(\"http://lively-kernel.org/cgi/user.sh\"); \n wr.beAsync();\n wr.post();\n // XXX start longpolling ???\n}","funcProperties":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"695":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":696}},"696":{"$super":{"__isSmartRef__":true,"id":697}},"697":{"varMapping":{"__isSmartRef__":true,"id":698},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":699},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"698":{"obj":{"__isSmartRef__":true,"id":628},"name":"onrestore"},"699":{},"700":{"timestamp":{"__isSmartRef__":true,"id":701},"user":"huberthesse","tags":["initialization"]},"701":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:36:41 GMT+0200 (Mitteleuropäische Sommerzeit)"},"702":{"varMapping":{"__isSmartRef__":true,"id":703},"source":"function activate() {\n var that = this;\n this.active = true;\n this.setBorderColor(Color.green);\n this.initialSync();\n this.getDrawerID()\n this.getDB().startPollingChanges(function (change) {\n if(typeof change === \"object\"){\n if (change.deleted) {\n // only whole deletion of whiteboard possible right now\n // change comes via longpolling for each document... performance?\n that.clear(true);\n } else {\n // XXX no support for multiple parallel boards\n var document = that.getDB().open(change.id);\n var match = that.submorphs.find(function (each) {\n return each.timestamp == document.time\n })\n if (!match)\n that.drawLineFrom(document);\n }\n } else {\n alert(\"change is no object\");\n }\n },\n function(req){\n //XXX disabled for presentation\n console.log(req.status.transport.status);\n //throw(e);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":704},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"703":{"this":{"__isSmartRef__":true,"id":628}},"704":{"timestamp":{"__isSmartRef__":true,"id":705},"user":"huberthesse","tags":["synchonization"]},"705":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:11:44 GMT+0200 (Mitteleuropäische Sommerzeit)"},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function clear(leaveOutSync) {\n this.submorphs.invoke('remove')\n if (leaveOutSync) return\n this.clearDatabase();\n}","funcProperties":{"__isSmartRef__":true,"id":708},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"707":{"this":{"__isSmartRef__":true,"id":628}},"708":{"timestamp":{"__isSmartRef__":true,"id":709},"user":"undefined","tags":["drawing"]},"709":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:43:51 GMT+0200 (Mitteleuropäische Sommerzeit)"},"710":{"varMapping":{"__isSmartRef__":true,"id":711},"source":"function clearDatabase() {\n if (this.active) {\n var that = this,\n docs = this.getDB().allDocs();\n\n // todo: make deleting asynchronous\n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n that.getDB().deleteDoc(doc);\n });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":712},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"711":{"this":{"__isSmartRef__":true,"id":628}},"712":{"timestamp":{"__isSmartRef__":true,"id":713},"user":"undefined","tags":["synchonization"]},"713":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:22:46 GMT+0200 (Mitteleuropäische Sommerzeit)"},"714":{"varMapping":{"__isSmartRef__":true,"id":715},"source":"function deactivate() {\n this.active = false;\n this.setBorderColor(Color.black);\n this.getDB().stopPollingChanges();\n}","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"715":{"this":{"__isSmartRef__":true,"id":628}},"716":{"timestamp":{"__isSmartRef__":true,"id":717},"user":"undefined","tags":["synchonization"]},"717":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:22:16 GMT+0200 (Mitteleuropäische Sommerzeit)"},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function defaultDBName() {\n return \"svg_whiteboard\"\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"719":{"this":{"__isSmartRef__":true,"id":628}},"720":{"timestamp":{"__isSmartRef__":true,"id":721},"user":"undefined","tags":[]},"721":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:35:36 GMT+0200 (Mitteleuropäische Sommerzeit)"},"722":{"varMapping":{"__isSmartRef__":true,"id":723},"source":"function drawLineFrom(document) {\n // uses the database representation of a line to re-draw the polygon\n\n var line = this.getDrawingContext(),\n vertices = document.vector.collect(function (ea) {\n return pt(ea.x, ea.y);\n });\n \n line.setBorderColor(Color.gray)\n line.setVertices(vertices);\n\n this.finishLine(document.time);\n // todo: make sure a morph is not added twice (use timestamp uuid)\n}","funcProperties":{"__isSmartRef__":true,"id":724},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"723":{"this":{"__isSmartRef__":true,"id":628}},"724":{"timestamp":{"__isSmartRef__":true,"id":725},"user":"undefined","tags":[]},"725":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:47:27 GMT+0200 (Mitteleuropäische Sommerzeit)"},"726":{"varMapping":{"__isSmartRef__":true,"id":727},"source":"function getDB() {\n module('apps.CouchDB').load(true);\n if(!this.db){\n this.db = new CouchDB(this.getDBName());\n }\n return this.db;\n}","funcProperties":{"__isSmartRef__":true,"id":728},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"727":{"this":{"__isSmartRef__":true,"id":628}},"728":{"timestamp":{"__isSmartRef__":true,"id":729},"user":"undefined","tags":[]},"729":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"730":{"varMapping":{"__isSmartRef__":true,"id":731},"source":"function getDBName() {\n return this.dbName || this.defaultDBName()\n}","funcProperties":{"__isSmartRef__":true,"id":732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"731":{"this":{"__isSmartRef__":true,"id":628}},"732":{"timestamp":{"__isSmartRef__":true,"id":733},"user":"undefined","tags":[]},"733":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"source":"function getDrawerID() {\n return $world.getUserName() + \"_ON_\" + this.id;\n}","funcProperties":{"__isSmartRef__":true,"id":736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"735":{"this":{"__isSmartRef__":true,"id":628}},"736":{"timestamp":{"__isSmartRef__":true,"id":737},"user":"undefined","tags":[]},"737":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"738":{"varMapping":{"__isSmartRef__":true,"id":739},"source":"function getDrawingContext() {\n if (typeof(this.currentShape) === 'undefined') {\n this.currentShape = Morph.makePolygon([], 1, Color.black, null);\n this.addMorph(this.currentShape)\n this.currentShape.disableEvents()\n }\n return this.currentShape\n}","funcProperties":{"__isSmartRef__":true,"id":740},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"739":{"this":{"__isSmartRef__":true,"id":628}},"740":{"timestamp":{"__isSmartRef__":true,"id":741},"user":"undefined","tags":["accessing"]},"741":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:46:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"742":{"varMapping":{"__isSmartRef__":true,"id":743},"source":"function getPointQueue() {\n return this.pointQueue || [];\n}","funcProperties":{"__isSmartRef__":true,"id":744},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"743":{"this":{"__isSmartRef__":true,"id":628}},"744":{"timestamp":{"__isSmartRef__":true,"id":745},"user":"undefined","tags":["synchonization"]},"745":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"746":{"varMapping":{"__isSmartRef__":true,"id":747},"source":"function initialSync() {\n // XXX TODO implement\n var that = this,\n docs = this.getDB().allDocs();\n\n this.submorphs.each(function (ea) {\n that.syncPointQueueToDatabase(ea.shape.vertices(), ea.timestamp);\n });\n\n docs.rows.each(function (ea) {\n var doc = that.getDB().open(ea.id);\n var match = that.submorphs.find(function (each) {\n return each.timestamp == doc.time\n })\n console.log(\"IPAD: \"+ match)\n if (!match) \n that.drawLineFrom(doc);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":748},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"747":{"this":{"__isSmartRef__":true,"id":628}},"748":{"timestamp":{"__isSmartRef__":true,"id":749},"user":"huberthesse","tags":["synchonization"]},"749":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:57:43 GMT+0200 (Mitteleuropäische Sommerzeit)"},"750":{"varMapping":{"__isSmartRef__":true,"id":751},"source":"function lineTo(point, sync, optTransform, color) {\n if (optTransform)\n point = this.transformPoint(point);\n\n var line = this.getDrawingContext();\n\n line.setVertices(line.vertices().concat([point]))\n}","funcProperties":{"__isSmartRef__":true,"id":752},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"751":{"this":{"__isSmartRef__":true,"id":628}},"752":{"timestamp":{"__isSmartRef__":true,"id":753},"user":"undefined","tags":["drawing"]},"753":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:35:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"754":{"varMapping":{"__isSmartRef__":true,"id":755},"source":"function morphMenuItems() {\n items = $super();\n var itemString = \"activate sync\";\n if (this.active) itemString = \"de\" + itemString;\n items.push([itemString, (function () {this.toggleActivation()}).bind(this)]);\n items.push([\"clear whiteboard\", (function () {this.clear()}).bind(this)])\n return items;\n}","funcProperties":{"__isSmartRef__":true,"id":760},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"755":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":756}},"756":{"$super":{"__isSmartRef__":true,"id":757}},"757":{"varMapping":{"__isSmartRef__":true,"id":758},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":759},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"758":{"obj":{"__isSmartRef__":true,"id":628},"name":"morphMenuItems"},"759":{},"760":{"timestamp":{"__isSmartRef__":true,"id":761},"user":"undefined","tags":[]},"761":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"762":{"varMapping":{"__isSmartRef__":true,"id":763},"source":"function moveTo(point, sync, optTransform) {\n var pos = point;\n if (optTransform) {\n pos = this.transformPoint(pos);\n }\n if (sync) {\n if (this.getPointQueue().length > 0) {\n this.getPointQueue().push([-1, -1]);\n }\n this.getPointQueue().push([pos.x, pos.y]);\n }\n var ctx = this.getDrawingContext();\n}","funcProperties":{"__isSmartRef__":true,"id":764},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"763":{"this":{"__isSmartRef__":true,"id":628}},"764":{"timestamp":{"__isSmartRef__":true,"id":765},"user":"undefined","tags":["drawing"]},"765":{"isSerializedDate":true,"string":"Wed Apr 18 2012 11:24:38 GMT+0200 (Mitteleuropäische Sommerzeit)"},"766":{"varMapping":{"__isSmartRef__":true,"id":767},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown()) {\n this.startDrawing(evt);\n evt.stop();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":772},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"767":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":768}},"768":{"$super":{"__isSmartRef__":true,"id":769}},"769":{"varMapping":{"__isSmartRef__":true,"id":770},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"770":{"obj":{"__isSmartRef__":true,"id":628},"name":"onMouseDown"},"771":{},"772":{"timestamp":{"__isSmartRef__":true,"id":773},"user":"undefined","tags":["mouse actions"]},"773":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"774":{"varMapping":{"__isSmartRef__":true,"id":775},"source":"function onMouseMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"775":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":776}},"776":{"$super":{"__isSmartRef__":true,"id":777}},"777":{"varMapping":{"__isSmartRef__":true,"id":778},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":779},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"778":{"obj":{"__isSmartRef__":true,"id":628},"name":"onMouseMove"},"779":{},"780":{"timestamp":{"__isSmartRef__":true,"id":781},"user":"undefined","tags":["mouse actions"]},"781":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:01:15 GMT+0200 (Mitteleuropäische Sommerzeit)"},"782":{"varMapping":{"__isSmartRef__":true,"id":783},"source":"function onMouseOut(evt) {\n // XXX cancelation better than strange drawing behavior?\n this.onMouseUp(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":788},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"783":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":784}},"784":{"$super":{"__isSmartRef__":true,"id":785}},"785":{"varMapping":{"__isSmartRef__":true,"id":786},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":787},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"786":{"obj":{"__isSmartRef__":true,"id":628},"name":"onMouseOut"},"787":{},"788":{"timestamp":{"__isSmartRef__":true,"id":789},"user":"undefined","tags":["mouse actions"]},"789":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"790":{"varMapping":{"__isSmartRef__":true,"id":791},"source":"function onMouseUp(evt) {\n this.stopDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":796},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"791":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":792}},"792":{"$super":{"__isSmartRef__":true,"id":793}},"793":{"varMapping":{"__isSmartRef__":true,"id":794},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":795},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"794":{"obj":{"__isSmartRef__":true,"id":628},"name":"onMouseUp"},"795":{},"796":{"timestamp":{"__isSmartRef__":true,"id":797},"user":"undefined","tags":["mouse actions"]},"797":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"798":{"varMapping":{"__isSmartRef__":true,"id":799},"source":"function onTouchEnd(evt) {\n this.stopDrawing(evt, true);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":804},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"799":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":800}},"800":{"$super":{"__isSmartRef__":true,"id":801}},"801":{"varMapping":{"__isSmartRef__":true,"id":802},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":803},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"802":{"obj":{"__isSmartRef__":true,"id":628},"name":"onTouchEnd"},"803":{},"804":{"timestamp":{"__isSmartRef__":true,"id":805},"user":"undefined","tags":["touch actions"]},"805":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"806":{"varMapping":{"__isSmartRef__":true,"id":807},"source":"function onTouchMove(evt) {\n if (this.isDrawing) {\n this.lineTo(pt(evt.pageX, evt.pageY), true, true);\n }\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":808},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"807":{"this":{"__isSmartRef__":true,"id":628}},"808":{"timestamp":{"__isSmartRef__":true,"id":809},"user":"undefined","tags":["touch actions"]},"809":{"isSerializedDate":true,"string":"Wed Apr 18 2012 15:01:24 GMT+0200 (Mitteleuropäische Sommerzeit)"},"810":{"varMapping":{"__isSmartRef__":true,"id":811},"source":"function onTouchStart(evt) {\n this.startDrawing(evt);\n evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":816},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"811":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":812}},"812":{"$super":{"__isSmartRef__":true,"id":813}},"813":{"varMapping":{"__isSmartRef__":true,"id":814},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":815},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"814":{"obj":{"__isSmartRef__":true,"id":628},"name":"onTouchStart"},"815":{},"816":{"timestamp":{"__isSmartRef__":true,"id":817},"user":"undefined","tags":["touch actions"]},"817":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"818":{"varMapping":{"__isSmartRef__":true,"id":819},"source":"function remove() {\n // XXX stop longpolling\n this.suspendSteppingAll();\n if (this.showsHalos) this.removeHalos();\n this.renderContextDispatch('remove');\n}","funcProperties":{"__isSmartRef__":true,"id":824},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"819":{"this":{"__isSmartRef__":true,"id":628},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":820}},"820":{"$super":{"__isSmartRef__":true,"id":821}},"821":{"varMapping":{"__isSmartRef__":true,"id":822},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":823},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"822":{"obj":{"__isSmartRef__":true,"id":628},"name":"remove"},"823":{},"824":{"timestamp":{"__isSmartRef__":true,"id":825},"user":"undefined","tags":["initialization"]},"825":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"826":{"varMapping":{"__isSmartRef__":true,"id":827},"source":"function reset() {\n this.deactivate();\n this.disableGrabbing();\n this.db = undefined;\n this.setDBName(\"\");\n this.isDrawing = false;\n this.clear();\n this.setExtent(pt(900,450))\n}","funcProperties":{"__isSmartRef__":true,"id":828},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"827":{"this":{"__isSmartRef__":true,"id":628}},"828":{"timestamp":{"__isSmartRef__":true,"id":829},"user":"undefined","tags":["initialization"]},"829":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"830":{"varMapping":{"__isSmartRef__":true,"id":831},"source":"function resetPointQueue() {\n this.setPointQueue([]);\n}","funcProperties":{"__isSmartRef__":true,"id":832},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"831":{"this":{"__isSmartRef__":true,"id":628}},"832":{"timestamp":{"__isSmartRef__":true,"id":833},"user":"undefined","tags":["synchonization"]},"833":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"834":{"varMapping":{"__isSmartRef__":true,"id":835},"source":"function setDBName(name) {\n this.dbName = name\n}","funcProperties":{"__isSmartRef__":true,"id":836},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"835":{"this":{"__isSmartRef__":true,"id":628}},"836":{"timestamp":{"__isSmartRef__":true,"id":837},"user":"undefined","tags":[]},"837":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"838":{"varMapping":{"__isSmartRef__":true,"id":839},"source":"function setPointQueue(queue) {\n this.pointQueue = queue;\n}","funcProperties":{"__isSmartRef__":true,"id":840},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"839":{"this":{"__isSmartRef__":true,"id":628}},"840":{"timestamp":{"__isSmartRef__":true,"id":841},"user":"undefined","tags":["synchonization"]},"841":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"842":{"varMapping":{"__isSmartRef__":true,"id":843},"source":"function startDrawing(evt) {\n this.isDrawing = true;\n}","funcProperties":{"__isSmartRef__":true,"id":844},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"843":{"this":{"__isSmartRef__":true,"id":628}},"844":{"timestamp":{"__isSmartRef__":true,"id":845},"user":"undefined","tags":["drawing"]},"845":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:51:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"846":{"varMapping":{"__isSmartRef__":true,"id":847},"source":"function stopDrawing(evt, touch) {\n //var ctx = this.getDrawingContext();\n //ctx.closePath();\n if (this.isDrawing) {\n this.isDrawing = false;\n this.finishLine();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":848},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"847":{"this":{"__isSmartRef__":true,"id":628}},"848":{"timestamp":{"__isSmartRef__":true,"id":849},"user":"undefined","tags":["drawing"]},"849":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:36:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"850":{"varMapping":{"__isSmartRef__":true,"id":851},"source":"function syncPointQueueToDatabase(vertices, time) {\n if (this.active) {\n var document = {\n board: \"example\",\n time: time,\n drawer: this.getDrawerID(),\n vector: vertices,\n };\n var result = this.getDB().save(document);\n if (result.error == \"conflict\") \n console.log(\"an error occured while syncing the whiteboard\");\n }\n}","funcProperties":{"__isSmartRef__":true,"id":852},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"851":{"this":{"__isSmartRef__":true,"id":628}},"852":{"timestamp":{"__isSmartRef__":true,"id":853},"user":"undefined","tags":["synchonization"]},"853":{"isSerializedDate":true,"string":"Wed Apr 18 2012 14:34:40 GMT+0200 (Mitteleuropäische Sommerzeit)"},"854":{"varMapping":{"__isSmartRef__":true,"id":855},"source":"function toggleActivation() {\n if (!this.active) {\n this.activate();\n } else {\n this.deactivate();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":856},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"855":{"this":{"__isSmartRef__":true,"id":628}},"856":{"timestamp":{"__isSmartRef__":true,"id":857},"user":"undefined","tags":[]},"857":{"isSerializedDate":true,"string":"Wed Apr 18 2012 10:20:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"858":{"varMapping":{"__isSmartRef__":true,"id":859},"source":"function transformPoint(pagePoint) {\n var shapePosition = this.getPosition();\n return pagePoint.subPt(shapePosition);\n}","funcProperties":{"__isSmartRef__":true,"id":860},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"859":{"this":{"__isSmartRef__":true,"id":628}},"860":{"timestamp":{"__isSmartRef__":true,"id":861},"user":"undefined","tags":["drawing"]},"861":{"isSerializedDate":true,"string":"Wed Apr 18 2012 13:53:01 GMT+0200 (Mitteleuropäische Sommerzeit)"},"862":{"varMapping":{"__isSmartRef__":true,"id":863},"source":"function finishLine(optTimestamp) {\n if (typeof this.currentShape == 'undefined') //onTab\n return; \n this.currentShape.timestamp = optTimestamp || Date.now();\n\n optTimestamp || this.syncPointQueueToDatabase(this.currentShape.shape.vertices(), this.currentShape.timestamp);\n\n this.currentShape = undefined;\n}","funcProperties":{"__isSmartRef__":true,"id":864},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"863":{"this":{"__isSmartRef__":true,"id":628}},"864":{"timestamp":{"__isSmartRef__":true,"id":865},"user":"huberthesse","tags":[]},"865":{"isSerializedDate":true,"string":"Wed Apr 18 2012 16:09:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"866":{"submorphs":[{"__isSmartRef__":true,"id":867},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2577}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2719},"id":"10917DB6-7CF3-4C8E-B26B-A385F10F4A09","renderContextTable":{"__isSmartRef__":true,"id":2724},"eventHandler":{"__isSmartRef__":true,"id":2725},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":2726},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":2727},"targetMorph":{"__isSmartRef__":true,"id":867},"titleBar":{"__isSmartRef__":true,"id":2577},"contentOffset":{"__isSmartRef__":true,"id":2728},"collapsedTransform":{"__isSmartRef__":true,"id":2729},"collapsedExtent":{"__isSmartRef__":true,"id":2730},"expandedTransform":{"__isSmartRef__":true,"id":2731},"expandedExtent":{"__isSmartRef__":true,"id":2732},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2733},"name":"ObjectEditor","prevDragPos":{"__isSmartRef__":true,"id":2796},"highlighted":false,"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","expandedPosition":{"__isSmartRef__":true,"id":2797},"state":"expanded","collapsedPosition":{"__isSmartRef__":true,"id":2798},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"minSize":{"__isSmartRef__":true,"id":2799},"minExtent":{"__isSmartRef__":true,"id":2800},"isCopyMorphRef":true,"morphRefId":16,"derivationIds":[205,"2951753B-EB95-4093-A0DD-249E83AC2204","A32DE788-E06D-492C-B2E6-19C3710B5AE0","96D56291-98FB-42C4-A247-0A20B4183B14","1E6BCC46-3FE3-4950-AE50-9751458F7E18","22248328-5B04-4E39-ADDE-460C107C790F","2F4F6161-9F4C-469E-AF56-24765FF03B72","88EF08D5-C1E7-4B5B-B393-FFF5921009D7"],"_Position":{"__isSmartRef__":true,"id":2801},"moved":true,"_Rotation":0,"_Scale":1.008036120330794,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2802},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"867":{"submorphs":[{"__isSmartRef__":true,"id":868},{"__isSmartRef__":true,"id":1722},{"__isSmartRef__":true,"id":1504},{"__isSmartRef__":true,"id":1737},{"__isSmartRef__":true,"id":1753},{"__isSmartRef__":true,"id":1804},{"__isSmartRef__":true,"id":1854},{"__isSmartRef__":true,"id":1910},{"__isSmartRef__":true,"id":1363},{"__isSmartRef__":true,"id":1380},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2098},{"__isSmartRef__":true,"id":2113},{"__isSmartRef__":true,"id":2198},{"__isSmartRef__":true,"id":2282},{"__isSmartRef__":true,"id":2366}],"scripts":[{"__isSmartRef__":true,"id":2414}],"id":"157F4F36-3C69-47B0-BAF7-027DDA6354DF","shape":{"__isSmartRef__":true,"id":2415},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2422},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2425},"eventHandler":{"__isSmartRef__":true,"id":2426},"priorExtent":{"__isSmartRef__":true,"id":2427},"layout":{"__isSmartRef__":true,"id":2428},"target":{"__isSmartRef__":true,"id":628},"scriptPane":{"__isSmartRef__":true,"id":1363},"scriptList":{"__isSmartRef__":true,"id":868},"connectionList":{"__isSmartRef__":true,"id":1504},"morphSelector":{"__isSmartRef__":true,"id":1965},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":1380},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":2429},"tagChooser":{"__isSmartRef__":true,"id":2113},"currentTag":null,"derivationIds":[206,"3BDE080D-3D60-4BB9-A690-E6001350F596","00E28CBF-E803-4BC0-93CC-651AC21008A5","1B7E7936-0145-47E4-8433-DFE58134E74B","422B98E3-E52B-4057-9C28-865873682DE1","BCDE8D30-ECC2-4883-9587-2518B6822233","BA6D5198-5AC2-4A63-9597-D4CF98A99CA9","17E22972-5EBC-4511-9779-05E9E665D899"],"_Position":{"__isSmartRef__":true,"id":2430},"owner":{"__isSmartRef__":true,"id":866},"_Rotation":0,"_Scale":1,"partTests":{"__isSmartRef__":true,"id":2431},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2432},"__LivelyClassName__":"lively.morphic.Box"},"868":{"submorphs":[],"scripts":[],"id":"CD40ACF7-6F96-4A97-9CA3-76CAC4CB26B0","shape":{"__isSmartRef__":true,"id":869},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":876},"itemList":["-- ALL --","activate","clear","clearDatabase","deactivate","defaultDBName","drawLineFrom","finishLine","getDB","getDBName","getDrawerID","getDrawingContext","getPointQueue","initialSync","lineTo","morphMenuItems","moveTo","onMouseDown","onMouseMove","onMouseOut","onMouseUp","onrestore","onTouchEnd","onTouchMove","onTouchStart","remove","reset","resetPointQueue","setDBName","setPointQueue","startDrawing","stopDrawing","syncPointQueueToDatabase","toggleActivation","transformPoint"],"selectedLineNo":21,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":877},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":867},"priorExtent":{"__isSmartRef__":true,"id":878},"prevScroll":[0,51],"attributeConnections":[{"__isSmartRef__":true,"id":879}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":884},"doitContext":{"__isSmartRef__":true,"id":885},"renderContextTable":{"__isSmartRef__":true,"id":1711},"eventHandler":{"__isSmartRef__":true,"id":1712},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":1713},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":17,"currentCategory":null,"derivationIds":[207,"D87334B5-DFB8-438D-8038-D2C55A798E3B","4242A24B-D284-4130-BB19-C1AB8C7E96CB","1F2230C1-4745-4EED-8827-5D3FC0EA8D8A","1260A8AA-AD41-451A-A761-BE75A33282E8","11AABB24-1595-4EDC-95DF-8BC66785F47A","CA99FFE7-13DD-4721-8DE2-6A587B0C65D9","E01A3DAA-0001-4C7C-A6A7-449C3945A3E6"],"_Rotation":0,"_Scale":1,"selection":"onrestore","changeTriggered":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1714},"__LivelyClassName__":"lively.morphic.List"},"869":{"position":{"__isSmartRef__":true,"id":870},"_Extent":{"__isSmartRef__":true,"id":871},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":872},"_Fill":{"__isSmartRef__":true,"id":873},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":874},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":875},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"870":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"871":{"x":180,"y":337.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"872":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"873":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"874":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"875":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"876":{"x":10,"y":63.027958027992966,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"877":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"878":{"x":180,"y":338.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"879":{"sourceObj":{"__isSmartRef__":true,"id":868},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":867},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":880},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":881},"__LivelyClassName__":"AttributeConnection"},"880":{"source":{"__isSmartRef__":true,"id":868},"target":{"__isSmartRef__":true,"id":867}},"881":{"converter":{"__isSmartRef__":true,"id":882}},"882":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":880},"source":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","funcProperties":{"__isSmartRef__":true,"id":883},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"883":{},"884":{"resizeHeight":true},"885":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":886},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":891},"priorExtent":{"__isSmartRef__":true,"id":892},"titleBar":{"__isSmartRef__":true,"id":893},"contentOffset":{"__isSmartRef__":true,"id":1034},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":1035},"expandedExtent":{"__isSmartRef__":true,"id":1036},"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1037},"showsHalos":false,"name":"ObjectEditor","__SourceModuleName__":"Global.lively.morphic.Widgets","target":{"__isSmartRef__":true,"id":1038},"expandedPosition":{"__isSmartRef__":true,"id":1361},"partsBinMetaInfo":{"__isSmartRef__":true,"id":1362},"scriptList":{"__isSmartRef__":true,"id":868},"scriptPane":{"__isSmartRef__":true,"id":1363},"classButton":{"__isSmartRef__":true,"id":1459},"connectionList":{"__isSmartRef__":true,"id":1504},"targetButton":{"__isSmartRef__":true,"id":1529},"renderContextTable":{"__isSmartRef__":true,"id":1572},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":1573},"morphSelector":{"__isSmartRef__":true,"id":1574},"eventHandler":{"__isSmartRef__":true,"id":1658},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1659},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"886":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":887},"_StrokeOpacity":0,"_BorderRadius":9.25,"_Extent":{"__isSmartRef__":true,"id":888},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":{"__isSmartRef__":true,"id":889},"renderContextTable":{"__isSmartRef__":true,"id":890},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"887":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"888":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"889":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"890":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"891":{"adjustForNewBounds":true},"892":{"x":981,"y":585.2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"893":{"submorphs":[{"__isSmartRef__":true,"id":894},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":951},{"__isSmartRef__":true,"id":983}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":1016},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1029},"_Position":{"__isSmartRef__":true,"id":1030},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":885},"label":{"__isSmartRef__":true,"id":894},"closeButton":{"__isSmartRef__":true,"id":907},"menuButton":{"__isSmartRef__":true,"id":951},"collapseButton":{"__isSmartRef__":true,"id":983},"priorExtent":{"__isSmartRef__":true,"id":1031},"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","name":"ObjectEditorTitleBar","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1032},"eventHandler":{"__isSmartRef__":true,"id":1033},"__LivelyClassName__":"lively.morphic.TitleBar"},"894":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":895},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":900},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":901},"priorExtent":{"__isSmartRef__":true,"id":902},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":903}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":893},"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":905},"eventHandler":{"__isSmartRef__":true,"id":906},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"895":{"_Position":{"__isSmartRef__":true,"id":896},"_Extent":{"__isSmartRef__":true,"id":897},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":898},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":899},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"896":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"897":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"898":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"899":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"900":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"901":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"902":{"x":921.9776803724167,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"903":{"style":{"__isSmartRef__":true,"id":904},"chunkOwner":{"__isSmartRef__":true,"id":894},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"904":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"905":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"906":{"morph":{"__isSmartRef__":true,"id":894},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"907":{"submorphs":[{"__isSmartRef__":true,"id":908}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":920},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":935},"priorExtent":{"__isSmartRef__":true,"id":936},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":924},"lighterFill":{"__isSmartRef__":true,"id":937},"label":{"__isSmartRef__":true,"id":908},"owner":{"__isSmartRef__":true,"id":893},"layout":{"__isSmartRef__":true,"id":946},"attributeConnections":[{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":948}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":949},"eventHandler":{"__isSmartRef__":true,"id":950},"__LivelyClassName__":"lively.morphic.WindowControl"},"908":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":909},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":913},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":914},"priorExtent":{"__isSmartRef__":true,"id":915},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":916}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":918},"eventHandler":{"__isSmartRef__":true,"id":919},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"909":{"_Position":{"__isSmartRef__":true,"id":910},"_Extent":{"__isSmartRef__":true,"id":911},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":898},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":912},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"910":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"911":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"912":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"913":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"914":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"915":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"916":{"style":{"__isSmartRef__":true,"id":917},"chunkOwner":{"__isSmartRef__":true,"id":908},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"917":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"918":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"919":{"morph":{"__isSmartRef__":true,"id":908},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"920":{"_Position":{"__isSmartRef__":true,"id":921},"_Extent":{"__isSmartRef__":true,"id":922},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":923},"_Fill":{"__isSmartRef__":true,"id":924},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":934},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"921":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"922":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"923":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"924":{"stops":[{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":931}],"vector":{"__isSmartRef__":true,"id":933},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"925":{"offset":0,"color":{"__isSmartRef__":true,"id":926}},"926":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"927":{"offset":0.4,"color":{"__isSmartRef__":true,"id":928}},"928":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"929":{"offset":0.6,"color":{"__isSmartRef__":true,"id":930}},"930":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"931":{"offset":1,"color":{"__isSmartRef__":true,"id":932}},"932":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"933":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"934":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"935":{"x":960.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"936":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"937":{"stops":[{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":944}],"vector":{"__isSmartRef__":true,"id":933},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"938":{"offset":0,"color":{"__isSmartRef__":true,"id":939}},"939":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"940":{"offset":0.4,"color":{"__isSmartRef__":true,"id":941}},"941":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"942":{"offset":0.6,"color":{"__isSmartRef__":true,"id":943}},"943":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"944":{"offset":1,"color":{"__isSmartRef__":true,"id":945}},"945":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"946":{"moveHorizontal":true},"947":{"sourceObj":{"__isSmartRef__":true,"id":907},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"948":{"sourceObj":{"__isSmartRef__":true,"id":907},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"949":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"950":{"morph":{"__isSmartRef__":true,"id":907},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"951":{"submorphs":[{"__isSmartRef__":true,"id":952}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":964},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":968},"priorExtent":{"__isSmartRef__":true,"id":969},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":924},"lighterFill":{"__isSmartRef__":true,"id":970},"label":{"__isSmartRef__":true,"id":952},"owner":{"__isSmartRef__":true,"id":893},"attributeConnections":[{"__isSmartRef__":true,"id":979},{"__isSmartRef__":true,"id":980}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":981},"eventHandler":{"__isSmartRef__":true,"id":982},"__LivelyClassName__":"lively.morphic.WindowControl"},"952":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":953},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":957},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":958},"priorExtent":{"__isSmartRef__":true,"id":959},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":960}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":951},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":962},"eventHandler":{"__isSmartRef__":true,"id":963},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"953":{"_Position":{"__isSmartRef__":true,"id":954},"_Extent":{"__isSmartRef__":true,"id":955},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":898},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":956},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"954":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"955":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"956":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"957":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"958":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"959":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"960":{"style":{"__isSmartRef__":true,"id":961},"chunkOwner":{"__isSmartRef__":true,"id":952},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"961":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"962":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"963":{"morph":{"__isSmartRef__":true,"id":952},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"964":{"_Position":{"__isSmartRef__":true,"id":965},"_Extent":{"__isSmartRef__":true,"id":966},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":923},"_Fill":{"__isSmartRef__":true,"id":924},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":967},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"965":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"966":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"967":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"968":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"969":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"970":{"stops":[{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":977}],"vector":{"__isSmartRef__":true,"id":933},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"971":{"offset":0,"color":{"__isSmartRef__":true,"id":972}},"972":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"973":{"offset":0.4,"color":{"__isSmartRef__":true,"id":974}},"974":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"975":{"offset":0.6,"color":{"__isSmartRef__":true,"id":976}},"976":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"977":{"offset":1,"color":{"__isSmartRef__":true,"id":978}},"978":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"979":{"sourceObj":{"__isSmartRef__":true,"id":951},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"980":{"sourceObj":{"__isSmartRef__":true,"id":951},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"981":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"982":{"morph":{"__isSmartRef__":true,"id":951},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"983":{"submorphs":[{"__isSmartRef__":true,"id":984}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":996},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1000},"priorExtent":{"__isSmartRef__":true,"id":1001},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":924},"lighterFill":{"__isSmartRef__":true,"id":1002},"label":{"__isSmartRef__":true,"id":984},"owner":{"__isSmartRef__":true,"id":893},"layout":{"__isSmartRef__":true,"id":1011},"attributeConnections":[{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1013}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1014},"eventHandler":{"__isSmartRef__":true,"id":1015},"__LivelyClassName__":"lively.morphic.WindowControl"},"984":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":985},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":989},"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":990},"priorExtent":{"__isSmartRef__":true,"id":991},"_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":992}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":983},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":994},"eventHandler":{"__isSmartRef__":true,"id":995},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"985":{"_Position":{"__isSmartRef__":true,"id":986},"_Extent":{"__isSmartRef__":true,"id":987},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":898},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":988},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"986":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"987":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"988":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"989":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"991":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"992":{"style":{"__isSmartRef__":true,"id":993},"chunkOwner":{"__isSmartRef__":true,"id":984},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"993":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"994":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"995":{"morph":{"__isSmartRef__":true,"id":984},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"996":{"_Position":{"__isSmartRef__":true,"id":997},"_Extent":{"__isSmartRef__":true,"id":998},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":923},"_Fill":{"__isSmartRef__":true,"id":924},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":999},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"997":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"998":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"999":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1000":{"x":941.9776803724167,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1001":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1002":{"stops":[{"__isSmartRef__":true,"id":1003},{"__isSmartRef__":true,"id":1005},{"__isSmartRef__":true,"id":1007},{"__isSmartRef__":true,"id":1009}],"vector":{"__isSmartRef__":true,"id":933},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1003":{"offset":0,"color":{"__isSmartRef__":true,"id":1004}},"1004":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1005":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1006}},"1006":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1007":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1008}},"1008":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1009":{"offset":1,"color":{"__isSmartRef__":true,"id":1010}},"1010":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1011":{"moveHorizontal":true},"1012":{"sourceObj":{"__isSmartRef__":true,"id":983},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1013":{"sourceObj":{"__isSmartRef__":true,"id":983},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1014":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1015":{"morph":{"__isSmartRef__":true,"id":983},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1016":{"_Position":{"__isSmartRef__":true,"id":1017},"_Extent":{"__isSmartRef__":true,"id":1018},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1019},"_Fill":{"__isSmartRef__":true,"id":1020},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1028},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1017":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1018":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1019":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1020":{"stops":[{"__isSmartRef__":true,"id":1021},{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1025}],"vector":{"__isSmartRef__":true,"id":1027},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1021":{"offset":0,"color":{"__isSmartRef__":true,"id":1022}},"1022":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1023":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1024}},"1024":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1025":{"offset":1,"color":{"__isSmartRef__":true,"id":1026}},"1026":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1027":{"x":0,"y":1,"width":0,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1028":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1029":{"resizeWidth":true,"adjustForNewBounds":true},"1030":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1031":{"x":980.9776803724167,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1032":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1033":{"morph":{"__isSmartRef__":true,"id":893},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1034":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1035":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1036":{"x":861.5223196275833,"y":575.166499196892,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1037":{"x":613,"y":129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1038":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1039},"id":394,"renderContextTable":{"__isSmartRef__":true,"id":1045},"textChunks":[{"__isSmartRef__":true,"id":1046}],"eventHandler":{"__isSmartRef__":true,"id":1048},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1049},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1050},"priorExtent":{"__isSmartRef__":true,"id":1051},"_MaxTextWidth":500,"_MaxTextHeight":200,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1052},"layout":{"__isSmartRef__":true,"id":1199},"doitContext":{"__isSmartRef__":true,"id":1200},"priorSelectionRange":[0,36],"charsReplaced":"","lastFindLoc":20,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1039":{"_Position":{"__isSmartRef__":true,"id":1040},"renderContextTable":{"__isSmartRef__":true,"id":1041},"_Extent":{"__isSmartRef__":true,"id":1042},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":{"__isSmartRef__":true,"id":1044},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1040":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1041":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1042":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1043":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1044":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1045":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1046":{"style":{"__isSmartRef__":true,"id":1047},"chunkOwner":{"__isSmartRef__":true,"id":1038},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1047":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1048":{"morph":{"__isSmartRef__":true,"id":1038},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1049":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1050":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1051":{"x":500,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1052":{"submorphs":[{"__isSmartRef__":true,"id":1038},{"__isSmartRef__":true,"id":1053}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1190},"id":395,"renderContextTable":{"__isSmartRef__":true,"id":1193},"eventHandler":{"__isSmartRef__":true,"id":1194},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1195},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1196},"priorExtent":{"__isSmartRef__":true,"id":1197},"targetMorph":{"__isSmartRef__":true,"id":1038},"titleBar":{"__isSmartRef__":true,"id":1053},"contentOffset":{"__isSmartRef__":true,"id":1050},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1198},"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1053":{"submorphs":[{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1113},{"__isSmartRef__":true,"id":1146}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1180},"id":396,"renderContextTable":{"__isSmartRef__":true,"id":1185},"eventHandler":{"__isSmartRef__":true,"id":1186},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1187},"_Position":{"__isSmartRef__":true,"id":1188},"windowMorph":{"__isSmartRef__":true,"id":1052},"label":{"__isSmartRef__":true,"id":1054},"closeButton":{"__isSmartRef__":true,"id":1067},"menuButton":{"__isSmartRef__":true,"id":1113},"collapseButton":{"__isSmartRef__":true,"id":1146},"priorExtent":{"__isSmartRef__":true,"id":1189},"owner":{"__isSmartRef__":true,"id":1052},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1054":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1055},"id":397,"renderContextTable":{"__isSmartRef__":true,"id":1059},"textChunks":[{"__isSmartRef__":true,"id":1060}],"eventHandler":{"__isSmartRef__":true,"id":1062},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1063},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1064},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1053},"priorExtent":{"__isSmartRef__":true,"id":1065},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":1066},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1055":{"_Position":{"__isSmartRef__":true,"id":1056},"renderContextTable":{"__isSmartRef__":true,"id":1057},"_Extent":{"__isSmartRef__":true,"id":1058},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1056":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1058":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1059":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1060":{"style":{"__isSmartRef__":true,"id":1061},"chunkOwner":{"__isSmartRef__":true,"id":1054},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1061":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1062":{"morph":{"__isSmartRef__":true,"id":1054},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1063":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1064":{"resizeWidth":true},"1065":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1066":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1067":{"submorphs":[{"__isSmartRef__":true,"id":1068}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1080},"id":398,"renderContextTable":{"__isSmartRef__":true,"id":1095},"eventHandler":{"__isSmartRef__":true,"id":1096},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1097},"priorExtent":{"__isSmartRef__":true,"id":1098},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1099},"label":{"__isSmartRef__":true,"id":1068},"owner":{"__isSmartRef__":true,"id":1053},"layout":{"__isSmartRef__":true,"id":1108},"attributeConnections":[{"__isSmartRef__":true,"id":1109},{"__isSmartRef__":true,"id":1111}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1068":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1069},"id":399,"renderContextTable":{"__isSmartRef__":true,"id":1073},"textChunks":[{"__isSmartRef__":true,"id":1074}],"eventHandler":{"__isSmartRef__":true,"id":1076},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1078},"priorExtent":{"__isSmartRef__":true,"id":1079},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1067},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1069":{"_Position":{"__isSmartRef__":true,"id":1070},"renderContextTable":{"__isSmartRef__":true,"id":1071},"_Extent":{"__isSmartRef__":true,"id":1072},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1070":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1071":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1072":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1073":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1074":{"style":{"__isSmartRef__":true,"id":1075},"chunkOwner":{"__isSmartRef__":true,"id":1068},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1075":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1076":{"morph":{"__isSmartRef__":true,"id":1068},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1077":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1078":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1079":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1080":{"_Position":{"__isSmartRef__":true,"id":1081},"renderContextTable":{"__isSmartRef__":true,"id":1082},"_Extent":{"__isSmartRef__":true,"id":1083},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1081":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1082":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1083":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1084":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1085":{"stops":[{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1092}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1086":{"offset":0,"color":{"__isSmartRef__":true,"id":1087}},"1087":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1088":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1089}},"1089":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1090":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1091}},"1091":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1092":{"offset":1,"color":{"__isSmartRef__":true,"id":1093}},"1093":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1094":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1095":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1096":{"morph":{"__isSmartRef__":true,"id":1067},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1097":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1098":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1099":{"stops":[{"__isSmartRef__":true,"id":1100},{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1104},{"__isSmartRef__":true,"id":1106}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1100":{"offset":0,"color":{"__isSmartRef__":true,"id":1101}},"1101":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1102":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1103}},"1103":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1104":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1105}},"1105":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1106":{"offset":1,"color":{"__isSmartRef__":true,"id":1107}},"1107":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1108":{"moveHorizontal":true},"1109":{"sourceObj":{"__isSmartRef__":true,"id":1067},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1110},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1110":{"source":{"__isSmartRef__":true,"id":1067},"target":{"__isSmartRef__":true,"id":1052}},"1111":{"sourceObj":{"__isSmartRef__":true,"id":1067},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1112},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1112":{"source":{"__isSmartRef__":true,"id":1067},"target":{"__isSmartRef__":true,"id":1052}},"1113":{"submorphs":[{"__isSmartRef__":true,"id":1114}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1125},"id":400,"renderContextTable":{"__isSmartRef__":true,"id":1129},"eventHandler":{"__isSmartRef__":true,"id":1130},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1131},"priorExtent":{"__isSmartRef__":true,"id":1132},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1133},"label":{"__isSmartRef__":true,"id":1114},"owner":{"__isSmartRef__":true,"id":1053},"attributeConnections":[{"__isSmartRef__":true,"id":1142},{"__isSmartRef__":true,"id":1144}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1114":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1115},"id":401,"renderContextTable":{"__isSmartRef__":true,"id":1119},"textChunks":[{"__isSmartRef__":true,"id":1120}],"eventHandler":{"__isSmartRef__":true,"id":1122},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1123},"priorExtent":{"__isSmartRef__":true,"id":1124},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1113},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1115":{"_Position":{"__isSmartRef__":true,"id":1116},"renderContextTable":{"__isSmartRef__":true,"id":1117},"_Extent":{"__isSmartRef__":true,"id":1118},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1116":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1118":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1119":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1120":{"style":{"__isSmartRef__":true,"id":1121},"chunkOwner":{"__isSmartRef__":true,"id":1114},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1121":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1122":{"morph":{"__isSmartRef__":true,"id":1114},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1123":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1124":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1125":{"_Position":{"__isSmartRef__":true,"id":1126},"renderContextTable":{"__isSmartRef__":true,"id":1127},"_Extent":{"__isSmartRef__":true,"id":1128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1126":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1127":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1128":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1129":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1130":{"morph":{"__isSmartRef__":true,"id":1113},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1131":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1132":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1133":{"stops":[{"__isSmartRef__":true,"id":1134},{"__isSmartRef__":true,"id":1136},{"__isSmartRef__":true,"id":1138},{"__isSmartRef__":true,"id":1140}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1134":{"offset":0,"color":{"__isSmartRef__":true,"id":1135}},"1135":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1136":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1137}},"1137":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1138":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1139}},"1139":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1140":{"offset":1,"color":{"__isSmartRef__":true,"id":1141}},"1141":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1142":{"sourceObj":{"__isSmartRef__":true,"id":1113},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1143},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1143":{"source":{"__isSmartRef__":true,"id":1113},"target":{"__isSmartRef__":true,"id":1052}},"1144":{"sourceObj":{"__isSmartRef__":true,"id":1113},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1145},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1145":{"source":{"__isSmartRef__":true,"id":1113},"target":{"__isSmartRef__":true,"id":1052}},"1146":{"submorphs":[{"__isSmartRef__":true,"id":1147}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1158},"id":402,"renderContextTable":{"__isSmartRef__":true,"id":1162},"eventHandler":{"__isSmartRef__":true,"id":1163},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1164},"priorExtent":{"__isSmartRef__":true,"id":1165},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1166},"label":{"__isSmartRef__":true,"id":1147},"owner":{"__isSmartRef__":true,"id":1053},"layout":{"__isSmartRef__":true,"id":1175},"attributeConnections":[{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1147":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1148},"id":403,"renderContextTable":{"__isSmartRef__":true,"id":1152},"textChunks":[{"__isSmartRef__":true,"id":1153}],"eventHandler":{"__isSmartRef__":true,"id":1155},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1156},"priorExtent":{"__isSmartRef__":true,"id":1157},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1146},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1148":{"_Position":{"__isSmartRef__":true,"id":1149},"renderContextTable":{"__isSmartRef__":true,"id":1150},"_Extent":{"__isSmartRef__":true,"id":1151},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1149":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1150":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1151":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1153":{"style":{"__isSmartRef__":true,"id":1154},"chunkOwner":{"__isSmartRef__":true,"id":1147},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1154":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1155":{"morph":{"__isSmartRef__":true,"id":1147},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1156":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1157":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1158":{"_Position":{"__isSmartRef__":true,"id":1159},"renderContextTable":{"__isSmartRef__":true,"id":1160},"_Extent":{"__isSmartRef__":true,"id":1161},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1159":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1160":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1161":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1162":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1163":{"morph":{"__isSmartRef__":true,"id":1146},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1164":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1165":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1166":{"stops":[{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1173}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1167":{"offset":0,"color":{"__isSmartRef__":true,"id":1168}},"1168":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1169":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1170}},"1170":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1171":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1172}},"1172":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1173":{"offset":1,"color":{"__isSmartRef__":true,"id":1174}},"1174":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1175":{"moveHorizontal":true},"1176":{"sourceObj":{"__isSmartRef__":true,"id":1146},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1177},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1177":{"source":{"__isSmartRef__":true,"id":1146},"target":{"__isSmartRef__":true,"id":1052}},"1178":{"sourceObj":{"__isSmartRef__":true,"id":1146},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1052},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1179},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1179":{"source":{"__isSmartRef__":true,"id":1146},"target":{"__isSmartRef__":true,"id":1052}},"1180":{"_Position":{"__isSmartRef__":true,"id":1181},"renderContextTable":{"__isSmartRef__":true,"id":1182},"_Extent":{"__isSmartRef__":true,"id":1183},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1184},"_Fill":{"__isSmartRef__":true,"id":1020},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1181":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1182":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1183":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1184":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1185":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1186":{"morph":{"__isSmartRef__":true,"id":1053},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1187":{"resizeWidth":true,"adjustForNewBounds":true},"1188":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1189":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1190":{"renderContextTable":{"__isSmartRef__":true,"id":1191},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1192},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1191":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1192":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1194":{"morph":{"__isSmartRef__":true,"id":1052},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1195":{"adjustForNewBounds":true},"1196":{"x":1234,"y":448,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1197":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1198":{"x":1478,"y":453,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1199":{"resizeWidth":true,"resizeHeight":true},"1200":{"submorphs":[{"__isSmartRef__":true,"id":1201},{"__isSmartRef__":true,"id":1215}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1345},"id":361,"renderContextTable":{"__isSmartRef__":true,"id":1349},"eventHandler":{"__isSmartRef__":true,"id":1350},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1351},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1352},"priorExtent":{"__isSmartRef__":true,"id":1353},"targetMorph":{"__isSmartRef__":true,"id":1201},"titleBar":{"__isSmartRef__":true,"id":1215},"contentOffset":{"__isSmartRef__":true,"id":1211},"collapsedTransform":{"__isSmartRef__":true,"id":1354},"collapsedExtent":{"__isSmartRef__":true,"id":1355},"expandedTransform":{"__isSmartRef__":true,"id":1356},"expandedExtent":{"__isSmartRef__":true,"id":1357},"ignoreEventsOnExpand":false,"owner":null,"showsHalos":false,"highlighted":true,"_Rotation":0,"_Scale":1,"prevDragPos":{"__isSmartRef__":true,"id":1358},"expandedPosition":{"__isSmartRef__":true,"id":1359},"state":"shutdown","collapsedPosition":{"__isSmartRef__":true,"id":1360},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1201":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1202},"id":360,"renderContextTable":{"__isSmartRef__":true,"id":1207},"textChunks":[{"__isSmartRef__":true,"id":1208}],"eventHandler":{"__isSmartRef__":true,"id":1210},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1049},"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_Position":{"__isSmartRef__":true,"id":1211},"priorExtent":{"__isSmartRef__":true,"id":1212},"_MaxTextWidth":500,"_MaxTextHeight":0,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1200},"layout":{"__isSmartRef__":true,"id":1213},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1214}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1307282796737,"accessibleInInactiveWindow":true,"eventsAreIgnored":false,"_HandStyle":"default","_PointerEvents":"auto","_Visible":true,"priorSelectionRange":[0,22],"charsReplaced":"","lastFindLoc":15,"__SourceModuleName__":"Global.lively.morphic.TextCore","textString":"undefined","__LivelyClassName__":"lively.morphic.Text"},"1202":{"_Position":{"__isSmartRef__":true,"id":1203},"renderContextTable":{"__isSmartRef__":true,"id":1204},"_Extent":{"__isSmartRef__":true,"id":1205},"_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":{"__isSmartRef__":true,"id":1206},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1203":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1205":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1206":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1207":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1208":{"style":{"__isSmartRef__":true,"id":1209},"chunkOwner":{"__isSmartRef__":true,"id":1201},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1209":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1210":{"morph":{"__isSmartRef__":true,"id":1201},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1211":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1212":{"x":500,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1213":{"resizeWidth":true,"resizeHeight":true},"1214":{"sourceObj":{"__isSmartRef__":true,"id":1201},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1201},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1215":{"submorphs":[{"__isSmartRef__":true,"id":1216},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1295}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1329},"id":362,"renderContextTable":{"__isSmartRef__":true,"id":1340},"eventHandler":{"__isSmartRef__":true,"id":1341},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1342},"_Position":{"__isSmartRef__":true,"id":1343},"windowMorph":{"__isSmartRef__":true,"id":1200},"label":{"__isSmartRef__":true,"id":1216},"closeButton":{"__isSmartRef__":true,"id":1228},"menuButton":{"__isSmartRef__":true,"id":1262},"collapseButton":{"__isSmartRef__":true,"id":1295},"priorExtent":{"__isSmartRef__":true,"id":1344},"owner":{"__isSmartRef__":true,"id":1200},"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.TitleBar"},"1216":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1217},"id":363,"renderContextTable":{"__isSmartRef__":true,"id":1221},"textChunks":[{"__isSmartRef__":true,"id":1222}],"eventHandler":{"__isSmartRef__":true,"id":1224},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1063},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1225},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1215},"priorExtent":{"__isSmartRef__":true,"id":1226},"_MaxTextWidth":441,"_MaxTextHeight":17,"_Position":{"__isSmartRef__":true,"id":1227},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1217":{"_Position":{"__isSmartRef__":true,"id":1218},"renderContextTable":{"__isSmartRef__":true,"id":1219},"_Extent":{"__isSmartRef__":true,"id":1220},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1218":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1219":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1220":{"x":441,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1221":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1222":{"style":{"__isSmartRef__":true,"id":1223},"chunkOwner":{"__isSmartRef__":true,"id":1216},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1223":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1224":{"morph":{"__isSmartRef__":true,"id":1216},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1225":{"resizeWidth":true},"1226":{"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1227":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1228":{"submorphs":[{"__isSmartRef__":true,"id":1229}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1240},"id":364,"renderContextTable":{"__isSmartRef__":true,"id":1244},"eventHandler":{"__isSmartRef__":true,"id":1245},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1246},"priorExtent":{"__isSmartRef__":true,"id":1247},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1248},"label":{"__isSmartRef__":true,"id":1229},"owner":{"__isSmartRef__":true,"id":1215},"layout":{"__isSmartRef__":true,"id":1257},"attributeConnections":[{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1229":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1230},"id":365,"renderContextTable":{"__isSmartRef__":true,"id":1234},"textChunks":[{"__isSmartRef__":true,"id":1235}],"eventHandler":{"__isSmartRef__":true,"id":1237},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1238},"priorExtent":{"__isSmartRef__":true,"id":1239},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1228},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1230":{"_Position":{"__isSmartRef__":true,"id":1231},"renderContextTable":{"__isSmartRef__":true,"id":1232},"_Extent":{"__isSmartRef__":true,"id":1233},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1231":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1232":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1233":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1234":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1235":{"style":{"__isSmartRef__":true,"id":1236},"chunkOwner":{"__isSmartRef__":true,"id":1229},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1236":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1237":{"morph":{"__isSmartRef__":true,"id":1229},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1238":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1239":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1240":{"_Position":{"__isSmartRef__":true,"id":1241},"renderContextTable":{"__isSmartRef__":true,"id":1242},"_Extent":{"__isSmartRef__":true,"id":1243},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1241":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1243":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1244":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1245":{"morph":{"__isSmartRef__":true,"id":1228},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1246":{"x":480,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1247":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1248":{"stops":[{"__isSmartRef__":true,"id":1249},{"__isSmartRef__":true,"id":1251},{"__isSmartRef__":true,"id":1253},{"__isSmartRef__":true,"id":1255}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1249":{"offset":0,"color":{"__isSmartRef__":true,"id":1250}},"1250":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1251":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1252}},"1252":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1253":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1254}},"1254":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1255":{"offset":1,"color":{"__isSmartRef__":true,"id":1256}},"1256":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1257":{"moveHorizontal":true},"1258":{"sourceObj":{"__isSmartRef__":true,"id":1228},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1259":{"source":{"__isSmartRef__":true,"id":1228},"target":{"__isSmartRef__":true,"id":1200}},"1260":{"sourceObj":{"__isSmartRef__":true,"id":1228},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1261},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1261":{"source":{"__isSmartRef__":true,"id":1228},"target":{"__isSmartRef__":true,"id":1200}},"1262":{"submorphs":[{"__isSmartRef__":true,"id":1263}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1274},"id":366,"renderContextTable":{"__isSmartRef__":true,"id":1278},"eventHandler":{"__isSmartRef__":true,"id":1279},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1280},"priorExtent":{"__isSmartRef__":true,"id":1281},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1282},"label":{"__isSmartRef__":true,"id":1263},"owner":{"__isSmartRef__":true,"id":1215},"attributeConnections":[{"__isSmartRef__":true,"id":1291},{"__isSmartRef__":true,"id":1293}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1263":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1264},"id":367,"renderContextTable":{"__isSmartRef__":true,"id":1268},"textChunks":[{"__isSmartRef__":true,"id":1269}],"eventHandler":{"__isSmartRef__":true,"id":1271},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1272},"priorExtent":{"__isSmartRef__":true,"id":1273},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1262},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1264":{"_Position":{"__isSmartRef__":true,"id":1265},"renderContextTable":{"__isSmartRef__":true,"id":1266},"_Extent":{"__isSmartRef__":true,"id":1267},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1266":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1267":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1268":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1269":{"style":{"__isSmartRef__":true,"id":1270},"chunkOwner":{"__isSmartRef__":true,"id":1263},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1270":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1271":{"morph":{"__isSmartRef__":true,"id":1263},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1272":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1273":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1274":{"_Position":{"__isSmartRef__":true,"id":1275},"renderContextTable":{"__isSmartRef__":true,"id":1276},"_Extent":{"__isSmartRef__":true,"id":1277},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1275":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1276":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1277":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1278":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1279":{"morph":{"__isSmartRef__":true,"id":1262},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1280":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1281":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1282":{"stops":[{"__isSmartRef__":true,"id":1283},{"__isSmartRef__":true,"id":1285},{"__isSmartRef__":true,"id":1287},{"__isSmartRef__":true,"id":1289}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1283":{"offset":0,"color":{"__isSmartRef__":true,"id":1284}},"1284":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1285":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1286}},"1286":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1287":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1288}},"1288":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1289":{"offset":1,"color":{"__isSmartRef__":true,"id":1290}},"1290":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1291":{"sourceObj":{"__isSmartRef__":true,"id":1262},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1292":{"source":{"__isSmartRef__":true,"id":1262},"target":{"__isSmartRef__":true,"id":1200}},"1293":{"sourceObj":{"__isSmartRef__":true,"id":1262},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1294},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1294":{"source":{"__isSmartRef__":true,"id":1262},"target":{"__isSmartRef__":true,"id":1200}},"1295":{"submorphs":[{"__isSmartRef__":true,"id":1296}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1307},"id":368,"renderContextTable":{"__isSmartRef__":true,"id":1311},"eventHandler":{"__isSmartRef__":true,"id":1312},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1313},"priorExtent":{"__isSmartRef__":true,"id":1314},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1085},"lighterFill":{"__isSmartRef__":true,"id":1315},"label":{"__isSmartRef__":true,"id":1296},"owner":{"__isSmartRef__":true,"id":1215},"layout":{"__isSmartRef__":true,"id":1324},"attributeConnections":[{"__isSmartRef__":true,"id":1325},{"__isSmartRef__":true,"id":1327}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"1296":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1297},"id":369,"renderContextTable":{"__isSmartRef__":true,"id":1301},"textChunks":[{"__isSmartRef__":true,"id":1302}],"eventHandler":{"__isSmartRef__":true,"id":1304},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1077},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_Position":{"__isSmartRef__":true,"id":1305},"priorExtent":{"__isSmartRef__":true,"id":1306},"_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1295},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1297":{"_Position":{"__isSmartRef__":true,"id":1298},"renderContextTable":{"__isSmartRef__":true,"id":1299},"_Extent":{"__isSmartRef__":true,"id":1300},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1043},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1298":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1299":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1300":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1301":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1302":{"style":{"__isSmartRef__":true,"id":1303},"chunkOwner":{"__isSmartRef__":true,"id":1296},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1303":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1304":{"morph":{"__isSmartRef__":true,"id":1296},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1305":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1306":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1307":{"_Position":{"__isSmartRef__":true,"id":1308},"renderContextTable":{"__isSmartRef__":true,"id":1309},"_Extent":{"__isSmartRef__":true,"id":1310},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1084},"_Fill":{"__isSmartRef__":true,"id":1085},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1308":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1309":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1310":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1311":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1312":{"morph":{"__isSmartRef__":true,"id":1295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1313":{"x":461,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1315":{"stops":[{"__isSmartRef__":true,"id":1316},{"__isSmartRef__":true,"id":1318},{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1322}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1316":{"offset":0,"color":{"__isSmartRef__":true,"id":1317}},"1317":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1318":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1319}},"1319":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1320":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1321}},"1321":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1322":{"offset":1,"color":{"__isSmartRef__":true,"id":1323}},"1323":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1324":{"moveHorizontal":true},"1325":{"sourceObj":{"__isSmartRef__":true,"id":1295},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1326},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1326":{"source":{"__isSmartRef__":true,"id":1295},"target":{"__isSmartRef__":true,"id":1200}},"1327":{"sourceObj":{"__isSmartRef__":true,"id":1295},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1200},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1328":{"source":{"__isSmartRef__":true,"id":1295},"target":{"__isSmartRef__":true,"id":1200}},"1329":{"_Position":{"__isSmartRef__":true,"id":1330},"renderContextTable":{"__isSmartRef__":true,"id":1331},"_Extent":{"__isSmartRef__":true,"id":1332},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1184},"_Fill":{"__isSmartRef__":true,"id":1333},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1330":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1331":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1332":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1333":{"stops":[{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338}],"vector":{"__isSmartRef__":true,"id":1094},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1334":{"offset":0,"color":{"__isSmartRef__":true,"id":1335}},"1335":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1336":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1337}},"1337":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1338":{"offset":1,"color":{"__isSmartRef__":true,"id":1339}},"1339":{"r":0.8600000000000001,"g":0.8600000000000001,"b":0.8600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1340":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1341":{"morph":{"__isSmartRef__":true,"id":1215},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1342":{"resizeWidth":true,"adjustForNewBounds":true},"1343":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1344":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1345":{"renderContextTable":{"__isSmartRef__":true,"id":1346},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1347},"_Position":{"__isSmartRef__":true,"id":1348},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1346":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1347":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1348":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1350":{"morph":{"__isSmartRef__":true,"id":1200},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1351":{"adjustForNewBounds":true},"1352":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1353":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1354":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1355":{"x":500,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1356":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1357":{"x":500,"y":222,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1358":{"x":1507,"y":76,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1359":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1360":{"x":1131,"y":79,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1361":{"x":377.6609726943286,"y":419.5142810783999,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1362":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph. Early version.","partName":"ObjectEditor","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1363":{"submorphs":[],"scripts":[],"id":"5C01222B-E1CC-45B6-8266-00F3C9CF3B23","shape":{"__isSmartRef__":true,"id":1364},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":1371},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":689.0285365288845,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":1372}],"layout":{"__isSmartRef__":true,"id":1374},"showsHalos":false,"prevScroll":[0,0],"priorSelectionRange":[128,128],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":136,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1375},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":1376},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1334763401046,"doitContext":{"__isSmartRef__":true,"id":628},"savedTextString":"// changed at Wed Apr 18 2012 11:39:58 GMT+0200 (CEST) by undefined \nthis.addScript(function onrestore() {\n// this.reset();\n var wr = new WebResource(\"http://lively-kernel.org/cgi/user.sh\"); \n wr.beAsync();\n wr.post();\n // XXX start longpolling ???\n}).tag([\"initialization\"]);","_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":1377},"lastSearchString":"Color.gray","eventHandler":{"__isSmartRef__":true,"id":1378},"attributeConnections":[{"__isSmartRef__":true,"id":1379}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"distanceToDragEvent":{"__isSmartRef__":true,"id":1405},"_MinTextWidth":689.0285365288845,"_MinTextHeight":null,"previousSelection":[238,238],"lastSaveSource":"// changed at Wed Apr 18 2012 17:36:41 GMT+0200 (CEST) by huberthesse \nthis.addScript(function onrestore() {\n// this.reset();\n var wr = new WebResource(\"http://lively-kernel.org/cgi/user.sh\"); \n wr.beAsync();\n wr.post();\n // XXX start longpolling ???\n}).tag([\"initialization\"]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":867},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":1406},"derivationIds":[219,"DD5046D0-C1D6-412A-83C9-CD7EE63D40E0","4D92BDFD-A599-4154-A197-A4B1292C1619","98551F68-B128-4262-9BC2-6B8AC7C8D7C0","47731662-FF8E-4C0F-A170-FD5C56A06021","3FC7FDE6-156F-4056-BB04-B76D8B6C5472","C1E8D5BB-56F9-47B3-A520-BEEFEF791823","115FC149-EEF9-415A-A5B7-AB0B9D0170A4"],"_Position":{"__isSmartRef__":true,"id":1421},"owner":{"__isSmartRef__":true,"id":867},"_Rotation":0,"_Scale":1,"textString":"// changed at Wed Apr 18 2012 17:36:41 GMT+0200 (CEST) by huberthesse \nthis.addScript(function onrestore() {\n// this.reset();\n var wr = new WebResource(\"http://lively-kernel.org/cgi/user.sh\"); \n wr.beAsync();\n wr.post();\n // XXX start longpolling ???\n}).tag([\"initialization\"]);","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1422},"__LivelyClassName__":"lively.morphic.Text"},"1364":{"_Position":{"__isSmartRef__":true,"id":1365},"_Extent":{"__isSmartRef__":true,"id":1366},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1367},"_Fill":{"__isSmartRef__":true,"id":1368},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1369},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1370},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1365":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1366":{"x":691.0285365288845,"y":475.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1367":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1368":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1369":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1370":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1371":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1372":{"style":{"__isSmartRef__":true,"id":1373},"chunkOwner":{"__isSmartRef__":true,"id":1363},"storedString":"// changed at Wed Apr 18 2012 17:36:41 GMT+0200 (CEST) by huberthesse \nthis.addScript(function onrestore() {\n// this.reset();\n var wr = new WebResource(\"http://lively-kernel.org/cgi/user.sh\"); \n wr.beAsync();\n wr.post();\n // XXX start longpolling ???\n}).tag([\"initialization\"]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1373":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1374":{"resizeWidth":true,"resizeHeight":true},"1375":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1376":{"x":691.0285365288845,"y":475.61253261443596,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1378":{"morph":{"__isSmartRef__":true,"id":1363},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1379":{"sourceObj":{"__isSmartRef__":true,"id":1363},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1380},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1380":{"submorphs":[],"scripts":[],"id":"18606299-14B0-42CA-B343-1C49BFAFCF55","shape":{"__isSmartRef__":true,"id":1381},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1388},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":1389},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1390},"eventHandler":{"__isSmartRef__":true,"id":1391},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":867},"priorExtent":{"__isSmartRef__":true,"id":1392},"layout":{"__isSmartRef__":true,"id":1393},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":1384},"alarmColor":{"__isSmartRef__":true,"id":1394},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1395},"isCopyMorphRef":true,"morphRefId":26,"derivationIds":[220,"EE491D24-F056-4AFE-A669-7B7048C6C3D1","3FA4A8C3-0FC0-43A0-8C00-00A96F9022E2","62DAD3C6-A81D-450F-B32F-601EA7E619D8","EEDB0C58-5990-481A-A7FF-ACB1A2DF08DD","16F708CB-1259-4A75-BAEF-1A5216C6CB19","97CA61D3-E09B-43CD-9880-D8B36FA303F3","0AF6BEEC-8A57-44FF-9D8D-40BA6CC6A0CD"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1396},"__LivelyClassName__":"lively.morphic.Box"},"1381":{"position":{"__isSmartRef__":true,"id":1382},"_Extent":{"__isSmartRef__":true,"id":1383},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1384},"_Fill":{"__isSmartRef__":true,"id":1385},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1386},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1387},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1382":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1383":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1384":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1385":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1386":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1387":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1388":{"x":883.0245425248855,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1389":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1390":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1391":{"morph":{"__isSmartRef__":true,"id":1380},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1392":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1393":{"moveHorizontal":true,"adjustForNewBounds":true},"1394":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1395":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1396":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":1397},"setColors":{"__isSmartRef__":true,"id":1401}},"1397":{"varMapping":{"__isSmartRef__":true,"id":1398},"source":"function indicateUnsavedChanges() {\n if (this.owner.scriptPane.hasChanged()) {\n this.setColors(this.alarmColor);\n } else {\n this.setColors(this.savedColor);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1398":{"this":{"__isSmartRef__":true,"id":1380}},"1399":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1400}},"1400":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1401":{"varMapping":{"__isSmartRef__":true,"id":1402},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":1403},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1402":{"this":{"__isSmartRef__":true,"id":1380}},"1403":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1404}},"1404":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1405":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1406":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1407},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":1414},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1415}],"eventHandler":{"__isSmartRef__":true,"id":1417},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":1418},"priorExtent":{"__isSmartRef__":true,"id":1419},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":1420},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1407":{"_Position":{"__isSmartRef__":true,"id":1408},"renderContextTable":{"__isSmartRef__":true,"id":1409},"_Extent":{"__isSmartRef__":true,"id":1410},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1411},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1412},"_Fill":{"__isSmartRef__":true,"id":1413},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1408":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1409":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1410":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1411":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1412":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1413":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1414":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1415":{"style":{"__isSmartRef__":true,"id":1416},"chunkOwner":{"__isSmartRef__":true,"id":1406},"storedString":"saved source","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1416":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1417":{"morph":{"__isSmartRef__":true,"id":1406},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1418":{"x":295.51426826444225,"y":225.30626630721798,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1419":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1420":{"r":0,"g":0.8,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1421":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1422":{"doSave":{"__isSmartRef__":true,"id":1423},"boundEval":{"__isSmartRef__":true,"id":1431},"reset":{"__isSmartRef__":true,"id":1439},"display":{"__isSmartRef__":true,"id":1443},"hasChanged":{"__isSmartRef__":true,"id":1447},"setTarget":{"__isSmartRef__":true,"id":1451},"displayStatus":{"__isSmartRef__":true,"id":1455}},"1423":{"varMapping":{"__isSmartRef__":true,"id":1424},"source":"function doSave() {\n $super();\n var saved = this.boundEval(this.getTextString());\n if (saved) {\n this.lastSaveSource = this.textString;\n this.owner.changeIndicator.indicateUnsavedChanges();\n this.owner.updateLists();\n this.owner.selectChangedContent(this.getTextString());\n this.displayStatus(\"saved source\", Color.green);\n } else {\n this.displayStatus(\"not saved\", Color.red);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1424":{"this":{"__isSmartRef__":true,"id":1363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1425}},"1425":{"$super":{"__isSmartRef__":true,"id":1426}},"1426":{"varMapping":{"__isSmartRef__":true,"id":1427},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1428},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1427":{"obj":{"__isSmartRef__":true,"id":1363},"name":"doSave"},"1428":{},"1429":{"timestamp":{"__isSmartRef__":true,"id":1430},"user":"lauritz"},"1430":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (Mitteleuropäische Zeit)"},"1431":{"varMapping":{"__isSmartRef__":true,"id":1432},"source":"function boundEval(str) {\n var result;\n\n this.objectEditorPane.ensureAnnotationLayer();\n withLayers([ScriptAnnotationLayer], function() {\n result = $super(str);\n })\n \n return result\n}","funcProperties":{"__isSmartRef__":true,"id":1437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1432":{"this":{"__isSmartRef__":true,"id":1363},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1433}},"1433":{"$super":{"__isSmartRef__":true,"id":1434}},"1434":{"varMapping":{"__isSmartRef__":true,"id":1435},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1436},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1435":{"obj":{"__isSmartRef__":true,"id":1363},"name":"boundEval"},"1436":{},"1437":{"timestamp":{"__isSmartRef__":true,"id":1438},"user":"lauritz","categories":[]},"1438":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (Mitteleuropäische Zeit)"},"1439":{"varMapping":{"__isSmartRef__":true,"id":1440},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n}","funcProperties":{"__isSmartRef__":true,"id":1441},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1440":{"this":{"__isSmartRef__":true,"id":1363}},"1441":{"timestamp":{"__isSmartRef__":true,"id":1442},"user":"lauritz","categories":[]},"1442":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:14:35 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1443":{"varMapping":{"__isSmartRef__":true,"id":1444},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":1445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1444":{"this":{"__isSmartRef__":true,"id":1363}},"1445":{"timestamp":{"__isSmartRef__":true,"id":1446},"user":"lauritz","categories":[]},"1446":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:47:57 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1447":{"varMapping":{"__isSmartRef__":true,"id":1448},"source":"function hasChanged() {\n var cleanText = function (string) {\n var source = string.trim();\n if (source.substring(0,2) === \"//\") {\n // removes annotation line\n source = source.substring(source.indexOf(\"\\n\"), source.length);\n source = source.trim();\n }\n if (source === 'undefined' || source === 'null') source = '';\n return source;\n }\n var cleanedTextString = cleanText(this.textString);\n var cleanedLastSource = cleanText(this.lastSaveSource);\n return cleanedTextString !== cleanedLastSource;\n}","funcProperties":{"__isSmartRef__":true,"id":1449},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1448":{"this":{"__isSmartRef__":true,"id":1363}},"1449":{"timestamp":{"__isSmartRef__":true,"id":1450},"user":"lauritz","categories":[]},"1450":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1451":{"varMapping":{"__isSmartRef__":true,"id":1452},"source":"function setTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":1453},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1452":{"this":{"__isSmartRef__":true,"id":1363}},"1453":{"timestamp":{"__isSmartRef__":true,"id":1454},"user":"lauritz","categories":[]},"1454":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:30:39 GMT+0100 (Mitteleuropäische Zeit)"},"1455":{"varMapping":{"__isSmartRef__":true,"id":1456},"source":"function displayStatus(msg, color, delay) {\n if (!this.statusMorph) {\n this.statusMorph = new TextMorph(pt(100,25).extentAsRectangle());\n this.statusMorph.applyStyle({borderWidth: 1, strokeOpacity: 0, borderColor: Color.gray});\n this.statusMorph.setFill(this.owner.getFill());\n this.statusMorph.setFontSize(11);\n this.statusMorph.setAlign('center');\n this.statusMorph.setVerticalAlign('center');\n }\n this.statusMorph.setTextString(msg);\n this.statusMorph.centerAt(this.innerBounds().center());\n this.statusMorph.setTextColor(color || Color.black);\n this.addMorph(this.statusMorph);\n (function() { this.statusMorph.remove() }).bind(this).delay(delay || 2); \n}","funcProperties":{"__isSmartRef__":true,"id":1457},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1456":{"this":{"__isSmartRef__":true,"id":1363}},"1457":{"timestamp":{"__isSmartRef__":true,"id":1458},"user":"lauritz","categories":[]},"1458":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (Mitteleuropäische Zeit)"},"1459":{"submorphs":[{"__isSmartRef__":true,"id":1460}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":1474},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1489},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1477},"lighterFill":{"__isSmartRef__":true,"id":1490},"label":{"__isSmartRef__":true,"id":1460},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1499},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1500},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":1501},"renderContextTable":{"__isSmartRef__":true,"id":1502},"eventHandler":{"__isSmartRef__":true,"id":1503},"__LivelyClassName__":"lively.morphic.Button"},"1460":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":1461},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1466},"textColor":{"__isSmartRef__":true,"id":1464},"owner":{"__isSmartRef__":true,"id":1459},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1467}],"padding":{"__isSmartRef__":true,"id":1469},"_Padding":{"__isSmartRef__":true,"id":1470},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1471},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1472},"eventHandler":{"__isSmartRef__":true,"id":1473},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"1461":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1462},"_Extent":{"__isSmartRef__":true,"id":1463},"_BorderColor":{"__isSmartRef__":true,"id":1464},"renderContextTable":{"__isSmartRef__":true,"id":1465},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1462":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1463":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1464":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1465":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1466":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1467":{"style":{"__isSmartRef__":true,"id":1468},"chunkOwner":{"__isSmartRef__":true,"id":1460},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1468":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1469":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1470":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1471":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1472":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1473":{"morph":{"__isSmartRef__":true,"id":1460},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1474":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1475},"_Extent":{"__isSmartRef__":true,"id":1476},"_Fill":{"__isSmartRef__":true,"id":1477},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1487},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1488},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1475":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1476":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1477":{"stops":[{"__isSmartRef__":true,"id":1478},{"__isSmartRef__":true,"id":1480},{"__isSmartRef__":true,"id":1482},{"__isSmartRef__":true,"id":1484}],"vector":{"__isSmartRef__":true,"id":1486},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1478":{"offset":0,"color":{"__isSmartRef__":true,"id":1479}},"1479":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1480":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1481}},"1481":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1482":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1483}},"1483":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1484":{"offset":1,"color":{"__isSmartRef__":true,"id":1485}},"1485":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1486":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1487":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1488":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1489":{"x":820,"y":8.999999999999972,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1490":{"stops":[{"__isSmartRef__":true,"id":1491},{"__isSmartRef__":true,"id":1493},{"__isSmartRef__":true,"id":1495},{"__isSmartRef__":true,"id":1497}],"vector":{"__isSmartRef__":true,"id":1486},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1491":{"offset":0,"color":{"__isSmartRef__":true,"id":1492}},"1492":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1493":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1494}},"1494":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1495":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1496}},"1496":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1497":{"offset":1,"color":{"__isSmartRef__":true,"id":1498}},"1498":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1499":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1500":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1501":{"moveHorizontal":true},"1502":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1503":{"morph":{"__isSmartRef__":true,"id":1459},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1504":{"submorphs":[],"scripts":[],"id":"11B54085-E9F5-4969-81AF-2A89560DD12A","shape":{"__isSmartRef__":true,"id":1505},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1512},"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1513},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":867},"priorExtent":{"__isSmartRef__":true,"id":1514},"attributeConnections":[{"__isSmartRef__":true,"id":1515}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":1520},"renderContextTable":{"__isSmartRef__":true,"id":1521},"eventHandler":{"__isSmartRef__":true,"id":1522},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":1523},"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":19,"derivationIds":[209,"3900F5DF-0FF7-4C94-8BDB-44AAE12B4A3E","35301083-B60D-4A43-8566-23860EEB4C04","9CC401CC-5A35-4643-935B-FD049C284E16","C9879D40-5E79-4C56-AA79-562ED82BF052","9F6F9261-EB76-4B58-B77D-7D70813A1ED7","8B59E237-F372-4F70-9768-7E9C1A7A021D","FC85F1B9-1978-42D2-850C-BD249981E8B4"],"_Rotation":0,"_Scale":1,"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1524},"__LivelyClassName__":"lively.morphic.List"},"1505":{"position":{"__isSmartRef__":true,"id":1506},"_Extent":{"__isSmartRef__":true,"id":1507},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1508},"_Fill":{"__isSmartRef__":true,"id":1509},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1510},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1511},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1506":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1507":{"x":180,"y":74,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1508":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1509":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1511":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1512":{"x":10,"y":441.5965565984398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1513":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1514":{"x":180,"y":75,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1515":{"sourceObj":{"__isSmartRef__":true,"id":1504},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":867},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1516},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1517},"__LivelyClassName__":"AttributeConnection"},"1516":{"source":{"__isSmartRef__":true,"id":1504},"target":{"__isSmartRef__":true,"id":867}},"1517":{"converter":{"__isSmartRef__":true,"id":1518}},"1518":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1516},"source":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","funcProperties":{"__isSmartRef__":true,"id":1519},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1519":{},"1520":{"resizeHeight":false,"moveVertical":true},"1521":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"1522":{"morph":{"__isSmartRef__":true,"id":1504},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1523":{"x":124.95989979964943,"y":-17.076643708895745,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1524":{"preselectItem":{"__isSmartRef__":true,"id":1525}},"1525":{"varMapping":{"__isSmartRef__":true,"id":1526},"source":"function preselectItem() {\n if (this.getList().size() === 2) {\n this.selectAt(1);\n } else {\n this.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1527},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1526":{"this":{"__isSmartRef__":true,"id":1504}},"1527":{"timestamp":{"__isSmartRef__":true,"id":1528},"user":"lauritz"},"1528":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (Mitteleuropäische Zeit)"},"1529":{"submorphs":[{"__isSmartRef__":true,"id":1530}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":1543},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1558},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1546},"lighterFill":{"__isSmartRef__":true,"id":1559},"label":{"__isSmartRef__":true,"id":1530},"attributeConnections":[{"__isSmartRef__":true,"id":1568}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":1569},"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1570},"_Scale":1,"owner":null,"renderContextTable":{"__isSmartRef__":true,"id":1571},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Button"},"1530":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":1531},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1536},"textColor":{"__isSmartRef__":true,"id":1534},"owner":{"__isSmartRef__":true,"id":1529},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1537}],"padding":{"__isSmartRef__":true,"id":1539},"_Padding":{"__isSmartRef__":true,"id":1540},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1541},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":1542},"__LivelyClassName__":"lively.morphic.Text"},"1531":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1532},"_Extent":{"__isSmartRef__":true,"id":1533},"_BorderColor":{"__isSmartRef__":true,"id":1534},"renderContextTable":{"__isSmartRef__":true,"id":1535},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1532":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1533":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1534":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1535":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1536":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1537":{"style":{"__isSmartRef__":true,"id":1538},"chunkOwner":{"__isSmartRef__":true,"id":1530},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1538":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1539":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1540":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1541":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1542":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1543":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1544},"_Extent":{"__isSmartRef__":true,"id":1545},"_Fill":{"__isSmartRef__":true,"id":1546},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1556},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1557},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1544":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1545":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1546":{"stops":[{"__isSmartRef__":true,"id":1547},{"__isSmartRef__":true,"id":1549},{"__isSmartRef__":true,"id":1551},{"__isSmartRef__":true,"id":1553}],"vector":{"__isSmartRef__":true,"id":1555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1547":{"offset":0,"color":{"__isSmartRef__":true,"id":1548}},"1548":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1549":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1550}},"1550":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1551":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1552}},"1552":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1553":{"offset":1,"color":{"__isSmartRef__":true,"id":1554}},"1554":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1555":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1556":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1557":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"1558":{"x":215,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1559":{"stops":[{"__isSmartRef__":true,"id":1560},{"__isSmartRef__":true,"id":1562},{"__isSmartRef__":true,"id":1564},{"__isSmartRef__":true,"id":1566}],"vector":{"__isSmartRef__":true,"id":1555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1560":{"offset":0,"color":{"__isSmartRef__":true,"id":1561}},"1561":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1562":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1563}},"1563":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1564":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1565}},"1565":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1566":{"offset":1,"color":{"__isSmartRef__":true,"id":1567}},"1567":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1568":{"sourceObj":{"__isSmartRef__":true,"id":1529},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":885},"targetMethodName":"chooseTargetMorphMenu","__SourceModuleName__":"Global.lively.bindings","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"1569":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1570":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1571":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"1572":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"1573":{"x":715.5,"y":73.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1574":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":1575},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1582},"_MaxTextWidth":218,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1583},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1584},"textChunks":[{"__isSmartRef__":true,"id":1585}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":1587}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"priorExtent":{"__isSmartRef__":true,"id":1589},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":1590},"eventHandler":{"__isSmartRef__":true,"id":1591},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":1592},"selection":{"__isSmartRef__":true,"id":866},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":1611},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":1612},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1613},"__LivelyClassName__":"lively.morphic.Text"},"1575":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1576},"_Extent":{"__isSmartRef__":true,"id":1577},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1578},"renderContextTable":{"__isSmartRef__":true,"id":1579},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1580},"_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":1581},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1576":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1577":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1578":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1579":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1580":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1581":{"r":0.9548430751559654,"g":0.9548430751559654,"b":0.9548430751559654,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1582":{"x":200,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1583":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1584":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1585":{"style":{"__isSmartRef__":true,"id":1586},"chunkOwner":{"__isSmartRef__":true,"id":1574},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1586":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1587":{"sourceObj":{"__isSmartRef__":true,"id":1574},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":867},"targetMethodName":"setTarget","converter":null,"converterString":"function (name) { return $world.get(name)}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1588},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1588":{"source":{"__isSmartRef__":true,"id":1574},"target":{"__isSmartRef__":true,"id":867}},"1589":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1590":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1591":{"morph":{"__isSmartRef__":true,"id":1574},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1592":{"createListMorph":{"__isSmartRef__":true,"id":1593},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1595},"onMouseUp":{"__isSmartRef__":true,"id":1597},"resetConnections":{"__isSmartRef__":true,"id":1599},"setTargetToListSelection":{"__isSmartRef__":true,"id":1601},"setTargetOfPane":{"__isSmartRef__":true,"id":1603},"onBlur":{"__isSmartRef__":true,"id":1605},"reset":{"__isSmartRef__":true,"id":1607},"onMouseDown":{"__isSmartRef__":true,"id":1609}},"1593":{"time":{"__isSmartRef__":true,"id":1594},"user":"lauritz"},"1594":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1595":{"time":{"__isSmartRef__":true,"id":1596},"user":"lauritz"},"1596":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1597":{"time":{"__isSmartRef__":true,"id":1598},"user":"lauritz"},"1598":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1599":{"time":{"__isSmartRef__":true,"id":1600},"user":"lauritz"},"1600":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1601":{"time":{"__isSmartRef__":true,"id":1602},"user":"lauritz"},"1602":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1603":{"time":{"__isSmartRef__":true,"id":1604},"user":"lauritz"},"1604":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1605":{"time":{"__isSmartRef__":true,"id":1606},"user":"lauritz"},"1606":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1607":{"time":{"__isSmartRef__":true,"id":1608},"user":"lauritz"},"1608":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1609":{"time":{"__isSmartRef__":true,"id":1610},"user":"lauritz"},"1610":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (Mitteleuropäische Sommerzeit)"},"1611":{},"1612":{"x":153.8540395186758,"y":-23.74126935194758,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1613":{"getList":{"__isSmartRef__":true,"id":1614},"setList":{"__isSmartRef__":true,"id":1617},"reset":{"__isSmartRef__":true,"id":1620},"example":{"__isSmartRef__":true,"id":1623},"removeList":{"__isSmartRef__":true,"id":1626},"onBlur":{"__isSmartRef__":true,"id":1629},"createListMorph":{"__isSmartRef__":true,"id":1636},"resetConnections":{"__isSmartRef__":true,"id":1639},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1642},"setTargetToListSelection":{"__isSmartRef__":true,"id":1645},"setTargetOfPane":{"__isSmartRef__":true,"id":1648},"onMouseDown":{"__isSmartRef__":true,"id":1651}},"1614":{"varMapping":{"__isSmartRef__":true,"id":1615},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":1616},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1615":{"this":{"__isSmartRef__":true,"id":1574}},"1616":{},"1617":{"varMapping":{"__isSmartRef__":true,"id":1618},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1619},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1618":{"this":{"__isSmartRef__":true,"id":1574}},"1619":{},"1620":{"varMapping":{"__isSmartRef__":true,"id":1621},"source":"function reset() {\n this.list = [];\n this.textString = 'empty';\n this.removeList();\n this.resetConnections();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":1622},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1621":{"this":{"__isSmartRef__":true,"id":1574}},"1622":{},"1623":{"varMapping":{"__isSmartRef__":true,"id":1624},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n this.setList(Array.range(0,100));\n this.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":1625},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1624":{"this":{"__isSmartRef__":true,"id":1574}},"1625":{},"1626":{"varMapping":{"__isSmartRef__":true,"id":1627},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1628},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1627":{"this":{"__isSmartRef__":true,"id":1574}},"1628":{},"1629":{"varMapping":{"__isSmartRef__":true,"id":1630},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1635},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1630":{"this":{"__isSmartRef__":true,"id":1574},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1631}},"1631":{"$super":{"__isSmartRef__":true,"id":1632}},"1632":{"varMapping":{"__isSmartRef__":true,"id":1633},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1634},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1633":{"obj":{"__isSmartRef__":true,"id":1574},"name":"onBlur"},"1634":{},"1635":{},"1636":{"varMapping":{"__isSmartRef__":true,"id":1637},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 520));\n list.setList(this.getList());\n list.setFontSize(12);\n\n list.disableGrabbing();\n list.disableDragging();\n \n this.addMorph(list);\n list.setPosition(pt(0,0));\n\n connect(list, 'selection', this, 'setTargetToListSelection');\n \n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":1638},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1637":{"this":{"__isSmartRef__":true,"id":1574}},"1638":{},"1639":{"varMapping":{"__isSmartRef__":true,"id":1640},"source":"function resetConnections() {\n disconnectAll(this);\n connect(this, 'savedTextString', this.owner, 'setTarget', {converter: \n\tfunction (name) { return $world.get(name)}});\n}","funcProperties":{"__isSmartRef__":true,"id":1641},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1640":{"this":{"__isSmartRef__":true,"id":1574}},"1641":{},"1642":{"varMapping":{"__isSmartRef__":true,"id":1643},"source":"function displayTopLevelMorphs() {\n if (this.listMorph) { this.removeList(); return true }\n var list = this.createListMorph(); \n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1644},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1643":{"this":{"__isSmartRef__":true,"id":1574}},"1644":{},"1645":{"varMapping":{"__isSmartRef__":true,"id":1646},"source":"function setTargetToListSelection(selection) { \n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1647},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1646":{"this":{"__isSmartRef__":true,"id":1574}},"1647":{},"1648":{"varMapping":{"__isSmartRef__":true,"id":1649},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1650},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1649":{"this":{"__isSmartRef__":true,"id":1574}},"1650":{},"1651":{"varMapping":{"__isSmartRef__":true,"id":1652},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n return false;\n } else {\n this.displayTopLevelMorphs();\n return true;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1657},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1652":{"this":{"__isSmartRef__":true,"id":1574},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1653}},"1653":{"$super":{"__isSmartRef__":true,"id":1654}},"1654":{"varMapping":{"__isSmartRef__":true,"id":1655},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1656},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1655":{"obj":{"__isSmartRef__":true,"id":1574},"name":"onMouseDown"},"1656":{},"1657":{},"1658":{"morph":{"__isSmartRef__":true,"id":885},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1659":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1660},"setTarget":{"__isSmartRef__":true,"id":1663},"generateSourceForScript":{"__isSmartRef__":true,"id":1666},"generateSourceForConnection":{"__isSmartRef__":true,"id":1669},"generateTargetCode":{"__isSmartRef__":true,"id":1672},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1675},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1678},"displaySourceForScript":{"__isSmartRef__":true,"id":1681},"displaySourceForConnection":{"__isSmartRef__":true,"id":1684},"newScript":{"__isSmartRef__":true,"id":1687},"newConnection":{"__isSmartRef__":true,"id":1690},"deleteSelectedScript":{"__isSmartRef__":true,"id":1693},"disconnectConnection":{"__isSmartRef__":true,"id":1696},"updateLists":{"__isSmartRef__":true,"id":1699},"displayInitialScript":{"__isSmartRef__":true,"id":1702},"reset":{"__isSmartRef__":true,"id":1705},"selectChangedContent":{"__isSmartRef__":true,"id":1708}},"1660":{"varMapping":{"__isSmartRef__":true,"id":1661},"source":"function sortedScriptNamesOfObj(obj) {\n if (!Functions.own(obj) || Functions.own(obj).size() == 0) return [];\n return Functions.own(obj)\n\t.select(function(name) { return obj[name].hasLivelyClosure })\n\t.sortBy(function(name) { return name.toLowerCase() });\n}","funcProperties":{"__isSmartRef__":true,"id":1662},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1661":{"this":{"__isSmartRef__":true,"id":885}},"1662":{},"1663":{"varMapping":{"__isSmartRef__":true,"id":1664},"source":"function setTarget(morph) {\n this.reset();\n module('lively.ide.SyntaxHighlighting').load(true);\n this.target = morph;\n this.morphSelector.textString = (this.target.getName() || this.target.toString());\n this.scriptPane.doitContext = this.target;\n this.updateLists();\n this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":1665},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1664":{"this":{"__isSmartRef__":true,"id":885}},"1665":{},"1666":{"varMapping":{"__isSmartRef__":true,"id":1667},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1668},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1667":{"this":{"__isSmartRef__":true,"id":885}},"1668":{},"1669":{"varMapping":{"__isSmartRef__":true,"id":1670},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1671},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1670":{"this":{"__isSmartRef__":true,"id":885}},"1671":{},"1672":{"varMapping":{"__isSmartRef__":true,"id":1673},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":1674},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1673":{"this":{"__isSmartRef__":true,"id":885}},"1674":{},"1675":{"varMapping":{"__isSmartRef__":true,"id":1676},"source":"function sortedConnectionNamesOfObj(obj) {\n if (\"attributeConnections\" in obj) {\n return obj.attributeConnections\n .sortBy(function(each) {return name.toLowerCase() })\n .collect(function(each) {return [each.getSourceAttrName(), each]});\n } else {\n return [];\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1677},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1676":{"this":{"__isSmartRef__":true,"id":885}},"1677":{},"1678":{"varMapping":{"__isSmartRef__":true,"id":1679},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":1680},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1679":{"this":{"__isSmartRef__":true,"id":885}},"1680":{},"1681":{"varMapping":{"__isSmartRef__":true,"id":1682},"source":"function displaySourceForScript(scriptName) {\n if (!scriptName) return;\n var code = \"\", that = this;\n if (scriptName === \"-- ALL --\") {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\");\n });\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1683},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1682":{"this":{"__isSmartRef__":true,"id":885}},"1683":{},"1684":{"varMapping":{"__isSmartRef__":true,"id":1685},"source":"function displaySourceForConnection(connection) {\n if (!connection) return;\n var code = \"\", that = this;\n if ((typeof connection === \"string\") && connection === \"-- ALL --\") {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n })\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1686},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1685":{"this":{"__isSmartRef__":true,"id":885}},"1686":{},"1687":{"varMapping":{"__isSmartRef__":true,"id":1688},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n\\t\\n});\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1689},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1688":{"this":{"__isSmartRef__":true,"id":885}},"1689":{},"1690":{"varMapping":{"__isSmartRef__":true,"id":1691},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1692},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1691":{"this":{"__isSmartRef__":true,"id":885}},"1692":{},"1693":{"varMapping":{"__isSmartRef__":true,"id":1694},"source":"function deleteSelectedScript() {\n if (this.scriptList.selection && this.target) {\n if (!this.target.hasOwnProperty(this.scriptList.selection)) return;\n delete this.target[this.scriptList.selection];\n this.updateLists();\n this.displayInitialScript();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1695},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1694":{"this":{"__isSmartRef__":true,"id":885}},"1695":{},"1696":{"varMapping":{"__isSmartRef__":true,"id":1697},"source":"function disconnectConnection() {\n var selection = this.connectionList.selection;\n if (selection && \n (typeof selection !== \"string\") &&\n this.target.attributeConnections.indexOf(selection[1]) > -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":1698},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1697":{"this":{"__isSmartRef__":true,"id":885}},"1698":{},"1699":{"varMapping":{"__isSmartRef__":true,"id":1700},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":1701},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1700":{"this":{"__isSmartRef__":true,"id":885}},"1701":{},"1702":{"varMapping":{"__isSmartRef__":true,"id":1703},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1704},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1703":{"this":{"__isSmartRef__":true,"id":885}},"1704":{},"1705":{"varMapping":{"__isSmartRef__":true,"id":1706},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1707},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1706":{"this":{"__isSmartRef__":true,"id":885}},"1707":{},"1708":{"varMapping":{"__isSmartRef__":true,"id":1709},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1908},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1907":{"this":{"__isSmartRef__":true,"id":1854}},"1908":{"timestamp":{"__isSmartRef__":true,"id":1909},"user":"lauritz","categories":[]},"1909":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (Mitteleuropäische Zeit)"},"1910":{"submorphs":[{"__isSmartRef__":true,"id":1911}],"scripts":[],"id":"E1E811B7-8964-43A9-B3BC-94C667B587C5","shape":{"__isSmartRef__":true,"id":1926},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1942},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1929},"lighterFill":{"__isSmartRef__":true,"id":1943},"label":{"__isSmartRef__":true,"id":1911},"attributeConnections":[{"__isSmartRef__":true,"id":1952}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1954},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1955},"renderContextTable":{"__isSmartRef__":true,"id":1956},"priorExtent":{"__isSmartRef__":true,"id":1957},"owner":{"__isSmartRef__":true,"id":867},"eventHandler":{"__isSmartRef__":true,"id":1958},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":867},"distanceToDragEvent":{"__isSmartRef__":true,"id":1959},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1960},"__LivelyClassName__":"lively.morphic.Button"},"1911":{"submorphs":[],"scripts":[],"id":"D3A67B17-5CA4-46ED-AD87-2402A1211EA8","shape":{"__isSmartRef__":true,"id":1912},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1918},"textColor":{"__isSmartRef__":true,"id":1915},"owner":{"__isSmartRef__":true,"id":1910},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1919}],"padding":{"__isSmartRef__":true,"id":1921},"_Padding":{"__isSmartRef__":true,"id":1922},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1923},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1924},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1925},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1912":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1913},"_Extent":{"__isSmartRef__":true,"id":1914},"_BorderColor":{"__isSmartRef__":true,"id":1915},"renderContextTable":{"__isSmartRef__":true,"id":1916},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1917},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1913":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1914":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1915":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1916":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1917":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1918":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1919":{"style":{"__isSmartRef__":true,"id":1920},"morph":{"__isSmartRef__":true,"id":1911},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1911},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"1920":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1921":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1922":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1923":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1924":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1925":{"morph":{"__isSmartRef__":true,"id":1911},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1926":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1927},"_Extent":{"__isSmartRef__":true,"id":1928},"_Fill":{"__isSmartRef__":true,"id":1929},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1939},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1940},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1941},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1927":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1928":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1929":{"stops":[{"__isSmartRef__":true,"id":1930},{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1936}],"vector":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1930":{"offset":0,"color":{"__isSmartRef__":true,"id":1931}},"1931":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1932":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1933}},"1933":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1934":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1935}},"1935":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1936":{"offset":1,"color":{"__isSmartRef__":true,"id":1937}},"1937":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1938":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1939":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1940":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1941":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1942":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1943":{"stops":[{"__isSmartRef__":true,"id":1944},{"__isSmartRef__":true,"id":1946},{"__isSmartRef__":true,"id":1948},{"__isSmartRef__":true,"id":1950}],"vector":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1944":{"offset":0,"color":{"__isSmartRef__":true,"id":1945}},"1945":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1946":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1947}},"1947":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1948":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1949}},"1949":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1950":{"offset":1,"color":{"__isSmartRef__":true,"id":1951}},"1951":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1952":{"sourceObj":{"__isSmartRef__":true,"id":1910},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1910},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1953},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1953":{"source":{"__isSmartRef__":true,"id":1910},"target":{"__isSmartRef__":true,"id":1910}},"1954":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1955":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1956":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1957":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1958":{"morph":{"__isSmartRef__":true,"id":1910},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1959":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1960":{"deleteSelectedScript":{"__isSmartRef__":true,"id":1961}},"1961":{"varMapping":{"__isSmartRef__":true,"id":1962},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1963},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1962":{"this":{"__isSmartRef__":true,"id":1910}},"1963":{"timestamp":{"__isSmartRef__":true,"id":1964},"user":"lauritz"},"1964":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (Mitteleuropäische Zeit)"},"1965":{"submorphs":[{"__isSmartRef__":true,"id":1966}],"scripts":[],"id":"79D950FD-EC67-46D1-9031-6A64F8D6B7BC","shape":{"__isSmartRef__":true,"id":1981},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1997},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1984},"lighterFill":{"__isSmartRef__":true,"id":1998},"label":{"__isSmartRef__":true,"id":1966},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2007},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":2008},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":2009},"eventHandler":{"__isSmartRef__":true,"id":2010},"distanceToDragEvent":{"__isSmartRef__":true,"id":2011},"priorExtent":{"__isSmartRef__":true,"id":2012},"owner":{"__isSmartRef__":true,"id":867},"textString":"","selection":{"__isSmartRef__":true,"id":2013},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2030},"__LivelyClassName__":"lively.morphic.Button"},"1966":{"submorphs":[],"scripts":[],"id":"C563A93F-09BF-4F81-A029-4A7A3C26EBF7","shape":{"__isSmartRef__":true,"id":1967},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1973},"textColor":{"__isSmartRef__":true,"id":1970},"owner":{"__isSmartRef__":true,"id":1965},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1974}],"padding":{"__isSmartRef__":true,"id":1976},"_Padding":{"__isSmartRef__":true,"id":1976},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1977},"attributeConnections":[{"__isSmartRef__":true,"id":1978}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1979},"eventHandler":{"__isSmartRef__":true,"id":1980},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1967":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1968},"_Extent":{"__isSmartRef__":true,"id":1969},"_BorderColor":{"__isSmartRef__":true,"id":1970},"renderContextTable":{"__isSmartRef__":true,"id":1971},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1972},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1968":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1969":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1970":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1971":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1972":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1973":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1974":{"style":{"__isSmartRef__":true,"id":1975},"chunkOwner":{"__isSmartRef__":true,"id":1966},"storedString":"WhiteBoardSVG1","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1975":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1976":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1977":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1978":{"sourceObj":{"__isSmartRef__":true,"id":1966},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1965},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1979":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1980":{"morph":{"__isSmartRef__":true,"id":1966},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1981":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1982},"_Extent":{"__isSmartRef__":true,"id":1983},"_Fill":{"__isSmartRef__":true,"id":1984},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1994},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1995},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1996},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1982":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1983":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1984":{"stops":[{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1991}],"vector":{"__isSmartRef__":true,"id":1993},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1985":{"offset":0,"color":{"__isSmartRef__":true,"id":1986}},"1986":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1987":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1988}},"1988":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1989":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1990}},"1990":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1991":{"offset":1,"color":{"__isSmartRef__":true,"id":1992}},"1992":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1993":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1994":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1995":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1996":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1997":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1998":{"stops":[{"__isSmartRef__":true,"id":1999},{"__isSmartRef__":true,"id":2001},{"__isSmartRef__":true,"id":2003},{"__isSmartRef__":true,"id":2005}],"vector":{"__isSmartRef__":true,"id":1993},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1999":{"offset":0,"color":{"__isSmartRef__":true,"id":2000}},"2000":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2001":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2002}},"2002":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2003":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2004}},"2004":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2005":{"offset":1,"color":{"__isSmartRef__":true,"id":2006}},"2006":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2007":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2008":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2009":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2010":{"morph":{"__isSmartRef__":true,"id":1965},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2011":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2012":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2013":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":2014},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2020},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2021},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":2022},"_TextColor":{"__isSmartRef__":true,"id":2023},"renderContextTable":{"__isSmartRef__":true,"id":2024},"textChunks":[{"__isSmartRef__":true,"id":2025}],"eventHandler":{"__isSmartRef__":true,"id":2027},"priorExtent":{"__isSmartRef__":true,"id":2028},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":2029},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"2014":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2015},"_Extent":{"__isSmartRef__":true,"id":2016},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2017},"renderContextTable":{"__isSmartRef__":true,"id":2018},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2019},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2015":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2016":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2017":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2018":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2019":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2020":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2022":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2023":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2024":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2025":{"style":{"__isSmartRef__":true,"id":2026},"chunkOwner":{"__isSmartRef__":true,"id":2013},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2026":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2027":{"morph":{"__isSmartRef__":true,"id":2013},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2028":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2030":{"createListMorph":{"__isSmartRef__":true,"id":2031},"getList":{"__isSmartRef__":true,"id":2035},"removeList":{"__isSmartRef__":true,"id":2039},"reset":{"__isSmartRef__":true,"id":2043},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":2047},"onMouseDown":{"__isSmartRef__":true,"id":2051},"setTargetOfPane":{"__isSmartRef__":true,"id":2059},"setTargetToListSelection":{"__isSmartRef__":true,"id":2063},"onBlur":{"__isSmartRef__":true,"id":2067},"setTarget":{"__isSmartRef__":true,"id":2075},"setTargetOnSelection":{"__isSmartRef__":true,"id":2079}},"2031":{"varMapping":{"__isSmartRef__":true,"id":2032},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":2033},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2032":{"this":{"__isSmartRef__":true,"id":1965}},"2033":{"timestamp":{"__isSmartRef__":true,"id":2034},"user":"lauritz","tags":[]},"2034":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (Mitteleuropäische Zeit)"},"2035":{"varMapping":{"__isSmartRef__":true,"id":2036},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":2037},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2036":{"this":{"__isSmartRef__":true,"id":1965}},"2037":{"timestamp":{"__isSmartRef__":true,"id":2038},"user":"lauritz","tags":[]},"2038":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (Mitteleuropäische Zeit)"},"2039":{"varMapping":{"__isSmartRef__":true,"id":2040},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2041},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2040":{"this":{"__isSmartRef__":true,"id":1965}},"2041":{"timestamp":{"__isSmartRef__":true,"id":2042},"user":"lauritz","tags":[]},"2042":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (Mitteleuropäische Zeit)"},"2043":{"varMapping":{"__isSmartRef__":true,"id":2044},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":2045},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2044":{"this":{"__isSmartRef__":true,"id":1965}},"2045":{"timestamp":{"__isSmartRef__":true,"id":2046},"user":"lauritz","tags":[]},"2046":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (Mitteleuropäische Zeit)"},"2047":{"varMapping":{"__isSmartRef__":true,"id":2048},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":2049},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2048":{"this":{"__isSmartRef__":true,"id":1965}},"2049":{"timestamp":{"__isSmartRef__":true,"id":2050},"user":"lauritz","tags":[]},"2050":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (Mitteleuropäische Zeit)"},"2051":{"varMapping":{"__isSmartRef__":true,"id":2052},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2057},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2052":{"this":{"__isSmartRef__":true,"id":1965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2053}},"2053":{"$super":{"__isSmartRef__":true,"id":2054}},"2054":{"varMapping":{"__isSmartRef__":true,"id":2055},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2056},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2055":{"obj":{"__isSmartRef__":true,"id":1965},"name":"onMouseDown"},"2056":{},"2057":{"timestamp":{"__isSmartRef__":true,"id":2058},"user":"lauritz","tags":[]},"2058":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (Mitteleuropäische Zeit)"},"2059":{"varMapping":{"__isSmartRef__":true,"id":2060},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":2061},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2060":{"this":{"__isSmartRef__":true,"id":1965}},"2061":{"timestamp":{"__isSmartRef__":true,"id":2062},"user":"lauritz","tags":[]},"2062":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (Mitteleuropäische Zeit)"},"2063":{"varMapping":{"__isSmartRef__":true,"id":2064},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2065},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2064":{"this":{"__isSmartRef__":true,"id":1965}},"2065":{"timestamp":{"__isSmartRef__":true,"id":2066},"user":"lauritz","tags":[]},"2066":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (Mitteleuropäische Zeit)"},"2067":{"varMapping":{"__isSmartRef__":true,"id":2068},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2073},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2068":{"this":{"__isSmartRef__":true,"id":1965},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2069}},"2069":{"$super":{"__isSmartRef__":true,"id":2070}},"2070":{"varMapping":{"__isSmartRef__":true,"id":2071},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2072},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2071":{"obj":{"__isSmartRef__":true,"id":1965},"name":"onBlur"},"2072":{},"2073":{"timestamp":{"__isSmartRef__":true,"id":2074},"user":"lauritz","tags":[]},"2074":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (Mitteleuropäische Zeit)"},"2075":{"varMapping":{"__isSmartRef__":true,"id":2076},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":2077},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2076":{"this":{"__isSmartRef__":true,"id":1965}},"2077":{"timestamp":{"__isSmartRef__":true,"id":2078},"user":"lauritz","tags":[]},"2078":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (Mitteleuropäische Zeit)"},"2079":{"varMapping":{"__isSmartRef__":true,"id":2080},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2081},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2080":{"this":{"__isSmartRef__":true,"id":1965}},"2081":{"timestamp":{"__isSmartRef__":true,"id":2082},"user":"lauritz","tags":[]},"2082":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (Mitteleuropäische Zeit)"},"2083":{"submorphs":[],"scripts":[],"id":"F9A54B11-467D-4446-8191-C13D139D023F","shape":{"__isSmartRef__":true,"id":2084},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2090},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2087},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2091},"textChunks":[{"__isSmartRef__":true,"id":2092}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2094},"renderContextTable":{"__isSmartRef__":true,"id":2095},"eventHandler":{"__isSmartRef__":true,"id":2096},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2097},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":867},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2084":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2085},"_Extent":{"__isSmartRef__":true,"id":2086},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2087},"renderContextTable":{"__isSmartRef__":true,"id":2088},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2089},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2085":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2086":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2087":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2088":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2089":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2090":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2091":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2092":{"style":{"__isSmartRef__":true,"id":2093},"chunkOwner":{"__isSmartRef__":true,"id":2083},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"2093":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2094":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2095":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2096":{"morph":{"__isSmartRef__":true,"id":2083},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2097":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2098":{"submorphs":[],"scripts":[],"id":"851915B8-D9EA-40E9-9A15-E6D6C0F0E34B","shape":{"__isSmartRef__":true,"id":2099},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2105},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2102},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2106},"textChunks":[{"__isSmartRef__":true,"id":2107}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2109},"renderContextTable":{"__isSmartRef__":true,"id":2110},"eventHandler":{"__isSmartRef__":true,"id":2111},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2112},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":867},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2099":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2100},"_Extent":{"__isSmartRef__":true,"id":2101},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2102},"renderContextTable":{"__isSmartRef__":true,"id":2103},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2104},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2100":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2101":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2102":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2103":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2104":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2105":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2106":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2107":{"style":{"__isSmartRef__":true,"id":2108},"chunkOwner":{"__isSmartRef__":true,"id":2098},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"2108":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2109":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2111":{"morph":{"__isSmartRef__":true,"id":2098},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2112":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2113":{"submorphs":[{"__isSmartRef__":true,"id":2114}],"scripts":[],"id":"F7DC35F0-CDD1-44F4-BE14-B6B151428805","shape":{"__isSmartRef__":true,"id":2129},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2145},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2146},"lighterFill":{"__isSmartRef__":true,"id":2132},"label":{"__isSmartRef__":true,"id":2114},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2155},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":2156},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":2157},"eventHandler":{"__isSmartRef__":true,"id":2158},"distanceToDragEvent":{"__isSmartRef__":true,"id":2159},"priorExtent":{"__isSmartRef__":true,"id":2160},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":867},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2161},"__LivelyClassName__":"lively.morphic.Button"},"2114":{"submorphs":[],"scripts":[],"id":"EA061EEC-DA43-45F8-9EEB-A57A47D03C33","shape":{"__isSmartRef__":true,"id":2115},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2121},"textColor":{"__isSmartRef__":true,"id":2118},"owner":{"__isSmartRef__":true,"id":2113},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2122}],"padding":{"__isSmartRef__":true,"id":2124},"_Padding":{"__isSmartRef__":true,"id":2124},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2125},"attributeConnections":[{"__isSmartRef__":true,"id":2126}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":2127},"eventHandler":{"__isSmartRef__":true,"id":2128},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2115":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2116},"_Extent":{"__isSmartRef__":true,"id":2117},"_BorderColor":{"__isSmartRef__":true,"id":2118},"renderContextTable":{"__isSmartRef__":true,"id":2119},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2120},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2116":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2117":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2118":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2119":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2120":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2121":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2122":{"style":{"__isSmartRef__":true,"id":2123},"chunkOwner":{"__isSmartRef__":true,"id":2114},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2123":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2124":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2125":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2126":{"sourceObj":{"__isSmartRef__":true,"id":2114},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2113},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2127":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2128":{"morph":{"__isSmartRef__":true,"id":2114},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2129":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2130},"_Extent":{"__isSmartRef__":true,"id":2131},"_Fill":{"__isSmartRef__":true,"id":2132},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2142},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2143},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2144},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2130":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2131":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2132":{"stops":[{"__isSmartRef__":true,"id":2133},{"__isSmartRef__":true,"id":2135},{"__isSmartRef__":true,"id":2137},{"__isSmartRef__":true,"id":2139}],"vector":{"__isSmartRef__":true,"id":2141},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2133":{"offset":0,"color":{"__isSmartRef__":true,"id":2134}},"2134":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2135":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2136}},"2136":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2137":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2138}},"2138":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2139":{"offset":1,"color":{"__isSmartRef__":true,"id":2140}},"2140":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2141":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2142":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2143":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2144":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2145":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2146":{"stops":[{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2153}],"vector":{"__isSmartRef__":true,"id":2141},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2147":{"offset":0,"color":{"__isSmartRef__":true,"id":2148}},"2148":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2149":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2150}},"2150":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2151":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2152}},"2152":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2153":{"offset":1,"color":{"__isSmartRef__":true,"id":2154}},"2154":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2155":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2156":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2157":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2158":{"morph":{"__isSmartRef__":true,"id":2113},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2159":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2160":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2161":{"createListMorph":{"__isSmartRef__":true,"id":2162},"getList":{"__isSmartRef__":true,"id":2166},"removeList":{"__isSmartRef__":true,"id":2170},"reset":{"__isSmartRef__":true,"id":2174},"onMouseUp":{"__isSmartRef__":true,"id":2178},"onBlur":{"__isSmartRef__":true,"id":2186},"setTag":{"__isSmartRef__":true,"id":2194}},"2162":{"varMapping":{"__isSmartRef__":true,"id":2163},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":2164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2163":{"this":{"__isSmartRef__":true,"id":2113}},"2164":{"timestamp":{"__isSmartRef__":true,"id":2165},"user":"lauritz","categories":[]},"2165":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (Mitteleuropäische Zeit)"},"2166":{"varMapping":{"__isSmartRef__":true,"id":2167},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":2168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2167":{"this":{"__isSmartRef__":true,"id":2113}},"2168":{"timestamp":{"__isSmartRef__":true,"id":2169},"user":"lauritz","tags":[]},"2169":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (Mitteleuropäische Zeit)"},"2170":{"varMapping":{"__isSmartRef__":true,"id":2171},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2171":{"this":{"__isSmartRef__":true,"id":2113}},"2172":{"timestamp":{"__isSmartRef__":true,"id":2173},"user":"lauritz","categories":[]},"2173":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (Mitteleuropäische Zeit)"},"2174":{"varMapping":{"__isSmartRef__":true,"id":2175},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":2176},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2175":{"this":{"__isSmartRef__":true,"id":2113}},"2176":{"timestamp":{"__isSmartRef__":true,"id":2177},"user":"lauritz","tags":[]},"2177":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (Mitteleuropäische Zeit)"},"2178":{"varMapping":{"__isSmartRef__":true,"id":2179},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":2184},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2179":{"this":{"__isSmartRef__":true,"id":2113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2180}},"2180":{"$super":{"__isSmartRef__":true,"id":2181}},"2181":{"varMapping":{"__isSmartRef__":true,"id":2182},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2183},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2182":{"obj":{"__isSmartRef__":true,"id":2113},"name":"onMouseUp"},"2183":{},"2184":{"timestamp":{"__isSmartRef__":true,"id":2185},"user":"lauritz","categories":[]},"2185":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (Mitteleuropäische Zeit)"},"2186":{"varMapping":{"__isSmartRef__":true,"id":2187},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2192},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2187":{"this":{"__isSmartRef__":true,"id":2113},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2188}},"2188":{"$super":{"__isSmartRef__":true,"id":2189}},"2189":{"varMapping":{"__isSmartRef__":true,"id":2190},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2191},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2190":{"obj":{"__isSmartRef__":true,"id":2113},"name":"onBlur"},"2191":{},"2192":{"timestamp":{"__isSmartRef__":true,"id":2193},"user":"lauritz","categories":[]},"2193":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (Mitteleuropäische Zeit)"},"2194":{"varMapping":{"__isSmartRef__":true,"id":2195},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":2196},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2195":{"this":{"__isSmartRef__":true,"id":2113}},"2196":{"timestamp":{"__isSmartRef__":true,"id":2197},"user":"lauritz","categories":[]},"2197":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (Mitteleuropäische Zeit)"},"2198":{"submorphs":[{"__isSmartRef__":true,"id":2199}],"scripts":[],"id":"2C4E1568-829B-4458-8B5B-E51A8AF2245F","shape":{"__isSmartRef__":true,"id":2214},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2218},"lighterFill":{"__isSmartRef__":true,"id":2230},"label":{"__isSmartRef__":true,"id":2199},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2239},"attributeConnections":[{"__isSmartRef__":true,"id":2240}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2276},"renderContextTable":{"__isSmartRef__":true,"id":2277},"eventHandler":{"__isSmartRef__":true,"id":2278},"distanceToDragEvent":{"__isSmartRef__":true,"id":2279},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15"],"_Position":{"__isSmartRef__":true,"id":2280},"owner":{"__isSmartRef__":true,"id":867},"layout":{"__isSmartRef__":true,"id":2281},"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"2199":{"submorphs":[],"scripts":[],"id":"B7E2F8E5-1CB8-44BC-9B9B-8162C1799281","shape":{"__isSmartRef__":true,"id":2200},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2206},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2207},"_Padding":{"__isSmartRef__":true,"id":2208},"owner":{"__isSmartRef__":true,"id":2198},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2209},"textChunks":[{"__isSmartRef__":true,"id":2210}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2212},"eventHandler":{"__isSmartRef__":true,"id":2213},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2200":{"position":{"__isSmartRef__":true,"id":2201},"_Extent":{"__isSmartRef__":true,"id":2202},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2203},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2204},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2205},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2201":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2202":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2203":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2205":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2206":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2207":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2208":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2209":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2210":{"style":{"__isSmartRef__":true,"id":2211},"chunkOwner":{"__isSmartRef__":true,"id":2199},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"2211":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2212":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2213":{"morph":{"__isSmartRef__":true,"id":2199},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2214":{"position":{"__isSmartRef__":true,"id":2215},"_Extent":{"__isSmartRef__":true,"id":2216},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2217},"_Fill":{"__isSmartRef__":true,"id":2218},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2228},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2229},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2215":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2216":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2217":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2218":{"stops":[{"__isSmartRef__":true,"id":2219},{"__isSmartRef__":true,"id":2221},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2225}],"vector":{"__isSmartRef__":true,"id":2227},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2219":{"offset":0,"color":{"__isSmartRef__":true,"id":2220}},"2220":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2221":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2222}},"2222":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2223":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2224}},"2224":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2225":{"offset":1,"color":{"__isSmartRef__":true,"id":2226}},"2226":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2227":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2228":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2230":{"stops":[{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2237}],"vector":{"__isSmartRef__":true,"id":2227},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2231":{"offset":0,"color":{"__isSmartRef__":true,"id":2232}},"2232":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2233":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2234}},"2234":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2235":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2236}},"2236":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2237":{"offset":1,"color":{"__isSmartRef__":true,"id":2238}},"2238":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2239":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2240":{"sourceObj":{"__isSmartRef__":true,"id":2198},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":867},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":2241},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2241":{"submorphs":[{"__isSmartRef__":true,"id":2242}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2257},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":2264},"eventHandler":{"__isSmartRef__":true,"id":2265},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2266},{"__isSmartRef__":true,"id":2267}],"con":{"__isSmartRef__":true,"id":2240},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2268},"__LivelyClassName__":"lively.morphic.Path"},"2242":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2243},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":2254},"eventHandler":{"__isSmartRef__":true,"id":2255},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2256},"owner":{"__isSmartRef__":true,"id":2241},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2243":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2245},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2247}],"renderContextTable":{"__isSmartRef__":true,"id":2248},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2249},"_Extent":{"__isSmartRef__":true,"id":2250},"_Padding":{"__isSmartRef__":true,"id":2251},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2252},"_Fill":{"__isSmartRef__":true,"id":2253},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2244":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2245":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2246":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2247":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2248":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2249":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2250":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2251":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2252":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2253":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2254":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2255":{"morph":{"__isSmartRef__":true,"id":2242},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2256":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2257":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2258},{"__isSmartRef__":true,"id":2259}],"renderContextTable":{"__isSmartRef__":true,"id":2260},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2261},"_Extent":{"__isSmartRef__":true,"id":2262},"_Padding":{"__isSmartRef__":true,"id":2263},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2252},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2258":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2259":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2260":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2261":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2262":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2263":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2264":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2265":{"morph":{"__isSmartRef__":true,"id":2241},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2266":{"morph":{"__isSmartRef__":true,"id":2241},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2267":{"morph":{"__isSmartRef__":true,"id":2241},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2242},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2268":{"morphMenuItems":{"__isSmartRef__":true,"id":2269}},"2269":{"varMapping":{"__isSmartRef__":true,"id":2270},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2275},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2270":{"this":{"__isSmartRef__":true,"id":2241},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2271}},"2271":{"$super":{"__isSmartRef__":true,"id":2272}},"2272":{"varMapping":{"__isSmartRef__":true,"id":2273},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2274},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2273":{"obj":{"__isSmartRef__":true,"id":2241},"name":"morphMenuItems"},"2274":{},"2275":{},"2276":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2278":{"morph":{"__isSmartRef__":true,"id":2198},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2279":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2280":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2281":{"centeredHorizontal":false,"moveHorizontal":true},"2282":{"submorphs":[{"__isSmartRef__":true,"id":2283}],"scripts":[],"id":"A4E102A3-2FB5-4958-82C2-1B7F14BD526B","shape":{"__isSmartRef__":true,"id":2298},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2302},"lighterFill":{"__isSmartRef__":true,"id":2314},"label":{"__isSmartRef__":true,"id":2283},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2323},"attributeConnections":[{"__isSmartRef__":true,"id":2324}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2360},"renderContextTable":{"__isSmartRef__":true,"id":2361},"eventHandler":{"__isSmartRef__":true,"id":2362},"distanceToDragEvent":{"__isSmartRef__":true,"id":2363},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6"],"layout":{"__isSmartRef__":true,"id":2364},"_Position":{"__isSmartRef__":true,"id":2365},"owner":{"__isSmartRef__":true,"id":867},"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"2283":{"submorphs":[],"scripts":[],"id":"EE1D9384-9CE2-4E01-B32D-E7438E38ED97","shape":{"__isSmartRef__":true,"id":2284},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2290},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2291},"_Padding":{"__isSmartRef__":true,"id":2292},"owner":{"__isSmartRef__":true,"id":2282},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2293},"textChunks":[{"__isSmartRef__":true,"id":2294}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2296},"eventHandler":{"__isSmartRef__":true,"id":2297},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2284":{"position":{"__isSmartRef__":true,"id":2285},"_Extent":{"__isSmartRef__":true,"id":2286},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2287},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2288},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2289},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2285":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2286":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2287":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2288":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2289":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2290":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2291":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2292":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2293":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2294":{"style":{"__isSmartRef__":true,"id":2295},"chunkOwner":{"__isSmartRef__":true,"id":2283},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2295":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2296":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2297":{"morph":{"__isSmartRef__":true,"id":2283},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2298":{"position":{"__isSmartRef__":true,"id":2299},"_Extent":{"__isSmartRef__":true,"id":2300},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2301},"_Fill":{"__isSmartRef__":true,"id":2302},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2312},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2313},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2299":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2300":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2301":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2302":{"stops":[{"__isSmartRef__":true,"id":2303},{"__isSmartRef__":true,"id":2305},{"__isSmartRef__":true,"id":2307},{"__isSmartRef__":true,"id":2309}],"vector":{"__isSmartRef__":true,"id":2311},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2303":{"offset":0,"color":{"__isSmartRef__":true,"id":2304}},"2304":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2305":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2306}},"2306":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2307":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2308}},"2308":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2309":{"offset":1,"color":{"__isSmartRef__":true,"id":2310}},"2310":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2311":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2312":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2313":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2314":{"stops":[{"__isSmartRef__":true,"id":2315},{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2319},{"__isSmartRef__":true,"id":2321}],"vector":{"__isSmartRef__":true,"id":2311},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2315":{"offset":0,"color":{"__isSmartRef__":true,"id":2316}},"2316":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2317":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2318}},"2318":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2319":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2320}},"2320":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2321":{"offset":1,"color":{"__isSmartRef__":true,"id":2322}},"2322":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2323":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2324":{"sourceObj":{"__isSmartRef__":true,"id":2282},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1363},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":2325},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2325":{"submorphs":[{"__isSmartRef__":true,"id":2326}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2341},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":2348},"eventHandler":{"__isSmartRef__":true,"id":2349},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2351}],"con":{"__isSmartRef__":true,"id":2324},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"lively.morphic.Path"},"2326":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2327},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":2338},"eventHandler":{"__isSmartRef__":true,"id":2339},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2340},"owner":{"__isSmartRef__":true,"id":2325},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2327":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2329},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2331}],"renderContextTable":{"__isSmartRef__":true,"id":2332},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2333},"_Extent":{"__isSmartRef__":true,"id":2334},"_Padding":{"__isSmartRef__":true,"id":2335},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2336},"_Fill":{"__isSmartRef__":true,"id":2337},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2328":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2329":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2330":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2331":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2332":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2333":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2334":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2335":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2336":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2337":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2338":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2339":{"morph":{"__isSmartRef__":true,"id":2326},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2340":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2341":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2343}],"renderContextTable":{"__isSmartRef__":true,"id":2344},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2345},"_Extent":{"__isSmartRef__":true,"id":2346},"_Padding":{"__isSmartRef__":true,"id":2347},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2336},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2342":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2343":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2344":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2345":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2346":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2348":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2349":{"morph":{"__isSmartRef__":true,"id":2325},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2350":{"morph":{"__isSmartRef__":true,"id":2325},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2351":{"morph":{"__isSmartRef__":true,"id":2325},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2326},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2352":{"morphMenuItems":{"__isSmartRef__":true,"id":2353}},"2353":{"varMapping":{"__isSmartRef__":true,"id":2354},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2359},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2354":{"this":{"__isSmartRef__":true,"id":2325},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2355}},"2355":{"$super":{"__isSmartRef__":true,"id":2356}},"2356":{"varMapping":{"__isSmartRef__":true,"id":2357},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2358},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2357":{"obj":{"__isSmartRef__":true,"id":2325},"name":"morphMenuItems"},"2358":{},"2359":{},"2360":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2361":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2362":{"morph":{"__isSmartRef__":true,"id":2282},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2363":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2364":{"centeredHorizontal":false,"moveHorizontal":true},"2365":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2366":{"submorphs":[{"__isSmartRef__":true,"id":2367}],"scripts":[],"id":"3ADC8C24-DC68-4500-A565-5C50D081F016","shape":{"__isSmartRef__":true,"id":2382},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2398},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2386},"lighterFill":{"__isSmartRef__":true,"id":2399},"label":{"__isSmartRef__":true,"id":2367},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2408},"attributeConnections":[{"__isSmartRef__":true,"id":2409}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2410},"renderContextTable":{"__isSmartRef__":true,"id":2411},"eventHandler":{"__isSmartRef__":true,"id":2412},"distanceToDragEvent":{"__isSmartRef__":true,"id":2413},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3"],"owner":{"__isSmartRef__":true,"id":867},"_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"2367":{"submorphs":[],"scripts":[],"id":"33F4E8E1-3056-47EF-8E36-85FEAD96738D","shape":{"__isSmartRef__":true,"id":2368},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2374},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2375},"_Padding":{"__isSmartRef__":true,"id":2376},"owner":{"__isSmartRef__":true,"id":2366},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2377},"textChunks":[{"__isSmartRef__":true,"id":2378}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2380},"eventHandler":{"__isSmartRef__":true,"id":2381},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"2368":{"position":{"__isSmartRef__":true,"id":2369},"_Extent":{"__isSmartRef__":true,"id":2370},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2371},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2372},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2373},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2369":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2370":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2371":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2373":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2374":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2375":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2376":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2377":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2378":{"style":{"__isSmartRef__":true,"id":2379},"chunkOwner":{"__isSmartRef__":true,"id":2367},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2379":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2380":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2381":{"morph":{"__isSmartRef__":true,"id":2367},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2382":{"position":{"__isSmartRef__":true,"id":2383},"_Extent":{"__isSmartRef__":true,"id":2384},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2385},"_Fill":{"__isSmartRef__":true,"id":2386},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2396},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2397},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2383":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2384":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2385":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2386":{"stops":[{"__isSmartRef__":true,"id":2387},{"__isSmartRef__":true,"id":2389},{"__isSmartRef__":true,"id":2391},{"__isSmartRef__":true,"id":2393}],"vector":{"__isSmartRef__":true,"id":2395},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2387":{"offset":0,"color":{"__isSmartRef__":true,"id":2388}},"2388":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2389":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2390}},"2390":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2391":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2392}},"2392":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2393":{"offset":1,"color":{"__isSmartRef__":true,"id":2394}},"2394":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2395":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2396":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2397":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2398":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2399":{"stops":[{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406}],"vector":{"__isSmartRef__":true,"id":2395},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2400":{"offset":0,"color":{"__isSmartRef__":true,"id":2401}},"2401":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2402":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2403}},"2403":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2404":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2405}},"2405":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2406":{"offset":1,"color":{"__isSmartRef__":true,"id":2407}},"2407":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2408":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2409":{"sourceObj":{"__isSmartRef__":true,"id":2366},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":867},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2410":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2411":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2412":{"morph":{"__isSmartRef__":true,"id":2366},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2413":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2414":{"target":{"__isSmartRef__":true,"id":867},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":63856,"__SourceModuleName__":"Global.lively.morphic.Core","suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript"},"2415":{"position":{"__isSmartRef__":true,"id":2416},"_Extent":{"__isSmartRef__":true,"id":2417},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2418},"_Fill":{"__isSmartRef__":true,"id":2419},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2420},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2421},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2416":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2417":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2418":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2419":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2420":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"2421":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2422":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":2423}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2423":{"date":{"__isSmartRef__":true,"id":2424},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"2424":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"2425":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2426":{"morph":{"__isSmartRef__":true,"id":867},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2427":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2428":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2429":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2430":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2431":{},"2432":{"displayInitialScript":{"__isSmartRef__":true,"id":2433},"displayJavaScriptSource":{"__isSmartRef__":true,"id":2437},"displaySourceForConnection":{"__isSmartRef__":true,"id":2441},"displaySourceForScript":{"__isSmartRef__":true,"id":2445},"generateSourceForConnection":{"__isSmartRef__":true,"id":2449},"generateSourceForScript":{"__isSmartRef__":true,"id":2453},"generateTargetCode":{"__isSmartRef__":true,"id":2457},"newConnection":{"__isSmartRef__":true,"id":2461},"newScript":{"__isSmartRef__":true,"id":2465},"reset":{"__isSmartRef__":true,"id":2469},"selectChangedContent":{"__isSmartRef__":true,"id":2473},"setTarget":{"__isSmartRef__":true,"id":2477},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":2481},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2485},"updateLists":{"__isSmartRef__":true,"id":2489},"onShutdown":{"__isSmartRef__":true,"id":2493},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":2497},"update":{"__isSmartRef__":true,"id":2501},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":2505},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":2509},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2513},"printTags":{"__isSmartRef__":true,"id":2521},"setTag":{"__isSmartRef__":true,"id":2525},"runScript":{"__isSmartRef__":true,"id":2529},"openPartTestRunner":{"__isSmartRef__":true,"id":2533}},"2433":{"varMapping":{"__isSmartRef__":true,"id":2434},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2435},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2434":{"this":{"__isSmartRef__":true,"id":867}},"2435":{"timestamp":{"__isSmartRef__":true,"id":2436},"user":"lauritz","tags":[]},"2436":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (Mitteleuropäische Zeit)"},"2437":{"varMapping":{"__isSmartRef__":true,"id":2438},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2439},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2438":{"this":{"__isSmartRef__":true,"id":867}},"2439":{"timestamp":{"__isSmartRef__":true,"id":2440},"user":"lauritz","tags":[]},"2440":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"2441":{"varMapping":{"__isSmartRef__":true,"id":2442},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2443},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2442":{"this":{"__isSmartRef__":true,"id":867}},"2443":{"timestamp":{"__isSmartRef__":true,"id":2444},"user":"conradcalmez","tags":[]},"2444":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (Mitteleuropäische Zeit)"},"2445":{"varMapping":{"__isSmartRef__":true,"id":2446},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2447},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2446":{"this":{"__isSmartRef__":true,"id":867}},"2447":{"timestamp":{"__isSmartRef__":true,"id":2448},"user":"lauritz","tags":[]},"2448":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (Mitteleuropäische Zeit)"},"2449":{"varMapping":{"__isSmartRef__":true,"id":2450},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":2451},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2450":{"this":{"__isSmartRef__":true,"id":867}},"2451":{"timestamp":{"__isSmartRef__":true,"id":2452},"user":"lauritz","tags":[]},"2452":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"2453":{"varMapping":{"__isSmartRef__":true,"id":2454},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":2455},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2454":{"this":{"__isSmartRef__":true,"id":867}},"2455":{"timestamp":{"__isSmartRef__":true,"id":2456},"user":"lauritz","tags":[]},"2456":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (Mitteleuropäische Zeit)"},"2457":{"varMapping":{"__isSmartRef__":true,"id":2458},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":2459},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2458":{"this":{"__isSmartRef__":true,"id":867}},"2459":{"timestamp":{"__isSmartRef__":true,"id":2460},"user":"lauritz","tags":[]},"2460":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"2461":{"varMapping":{"__isSmartRef__":true,"id":2462},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2463},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2462":{"this":{"__isSmartRef__":true,"id":867}},"2463":{"timestamp":{"__isSmartRef__":true,"id":2464},"user":"lauritz","tags":[]},"2464":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"2465":{"varMapping":{"__isSmartRef__":true,"id":2466},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2466":{"this":{"__isSmartRef__":true,"id":867}},"2467":{"timestamp":{"__isSmartRef__":true,"id":2468},"user":"lauritz","tags":[]},"2468":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (Mitteleuropäische Zeit)"},"2469":{"varMapping":{"__isSmartRef__":true,"id":2470},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":2471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2470":{"this":{"__isSmartRef__":true,"id":867}},"2471":{"timestamp":{"__isSmartRef__":true,"id":2472},"user":"conradcalmez","tags":[]},"2472":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (Mitteleuropäische Zeit)"},"2473":{"varMapping":{"__isSmartRef__":true,"id":2474},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":3664},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3663":{"this":{"__isSmartRef__":true,"id":2851}},"3664":{},"3665":{"varMapping":{"__isSmartRef__":true,"id":3666},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":3667},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3666":{"this":{"__isSmartRef__":true,"id":2851}},"3667":{},"3668":{"varMapping":{"__isSmartRef__":true,"id":3669},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3670},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3669":{"this":{"__isSmartRef__":true,"id":2851}},"3670":{},"3671":{"varMapping":{"__isSmartRef__":true,"id":3672},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":3673},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3672":{"this":{"__isSmartRef__":true,"id":2851}},"3673":{},"3674":{"varMapping":{"__isSmartRef__":true,"id":3675},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":3874},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3873":{"this":{"__isSmartRef__":true,"id":3820}},"3874":{"timestamp":{"__isSmartRef__":true,"id":3875},"user":"lauritz","categories":[]},"3875":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (Mitteleuropäische Zeit)"},"3876":{"submorphs":[{"__isSmartRef__":true,"id":3877}],"scripts":[],"id":"CD9C3AB1-9E5D-4D63-9F30-5FE7752DF12E","shape":{"__isSmartRef__":true,"id":3892},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3908},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3895},"lighterFill":{"__isSmartRef__":true,"id":3909},"label":{"__isSmartRef__":true,"id":3877},"attributeConnections":[{"__isSmartRef__":true,"id":3918}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":3920},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":3921},"renderContextTable":{"__isSmartRef__":true,"id":3922},"priorExtent":{"__isSmartRef__":true,"id":3923},"owner":{"__isSmartRef__":true,"id":2833},"eventHandler":{"__isSmartRef__":true,"id":3924},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":2833},"distanceToDragEvent":{"__isSmartRef__":true,"id":3925},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3926},"__LivelyClassName__":"lively.morphic.Button"},"3877":{"submorphs":[],"scripts":[],"id":"244E0A8D-CAC3-4FF5-9434-65B4AC033F09","shape":{"__isSmartRef__":true,"id":3878},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3884},"textColor":{"__isSmartRef__":true,"id":3881},"owner":{"__isSmartRef__":true,"id":3876},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3885}],"padding":{"__isSmartRef__":true,"id":3887},"_Padding":{"__isSmartRef__":true,"id":3888},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3889},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":3890},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":3891},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3878":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3879},"_Extent":{"__isSmartRef__":true,"id":3880},"_BorderColor":{"__isSmartRef__":true,"id":3881},"renderContextTable":{"__isSmartRef__":true,"id":3882},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3883},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3879":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3880":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3881":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3882":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3883":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3884":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3885":{"style":{"__isSmartRef__":true,"id":3886},"morph":{"__isSmartRef__":true,"id":3877},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":3877},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"3886":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3887":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3888":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3889":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3890":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3891":{"morph":{"__isSmartRef__":true,"id":3877},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3892":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3893},"_Extent":{"__isSmartRef__":true,"id":3894},"_Fill":{"__isSmartRef__":true,"id":3895},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3905},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3906},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3907},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3893":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3894":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3895":{"stops":[{"__isSmartRef__":true,"id":3896},{"__isSmartRef__":true,"id":3898},{"__isSmartRef__":true,"id":3900},{"__isSmartRef__":true,"id":3902}],"vector":{"__isSmartRef__":true,"id":3904},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3896":{"offset":0,"color":{"__isSmartRef__":true,"id":3897}},"3897":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3898":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3899}},"3899":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3900":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3901}},"3901":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3902":{"offset":1,"color":{"__isSmartRef__":true,"id":3903}},"3903":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3904":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3905":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3906":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3907":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3908":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3909":{"stops":[{"__isSmartRef__":true,"id":3910},{"__isSmartRef__":true,"id":3912},{"__isSmartRef__":true,"id":3914},{"__isSmartRef__":true,"id":3916}],"vector":{"__isSmartRef__":true,"id":3904},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3910":{"offset":0,"color":{"__isSmartRef__":true,"id":3911}},"3911":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3912":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3913}},"3913":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3914":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3915}},"3915":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3916":{"offset":1,"color":{"__isSmartRef__":true,"id":3917}},"3917":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3918":{"sourceObj":{"__isSmartRef__":true,"id":3876},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3876},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3919},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3919":{"source":{"__isSmartRef__":true,"id":3876},"target":{"__isSmartRef__":true,"id":3876}},"3920":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3921":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3922":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3923":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3924":{"morph":{"__isSmartRef__":true,"id":3876},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3925":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3926":{"deleteSelectedScript":{"__isSmartRef__":true,"id":3927}},"3927":{"varMapping":{"__isSmartRef__":true,"id":3928},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":3929},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3928":{"this":{"__isSmartRef__":true,"id":3876}},"3929":{"timestamp":{"__isSmartRef__":true,"id":3930},"user":"lauritz"},"3930":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (Mitteleuropäische Zeit)"},"3931":{"submorphs":[{"__isSmartRef__":true,"id":3932}],"scripts":[],"id":"720E3418-44B6-4600-8FBF-5E126C1F0FD9","shape":{"__isSmartRef__":true,"id":3947},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3963},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3950},"lighterFill":{"__isSmartRef__":true,"id":3964},"label":{"__isSmartRef__":true,"id":3932},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":3973},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":3974},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":3975},"eventHandler":{"__isSmartRef__":true,"id":3976},"distanceToDragEvent":{"__isSmartRef__":true,"id":3977},"priorExtent":{"__isSmartRef__":true,"id":3978},"owner":{"__isSmartRef__":true,"id":2833},"textString":"","selection":{"__isSmartRef__":true,"id":3979},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3996},"__LivelyClassName__":"lively.morphic.Button"},"3932":{"submorphs":[],"scripts":[],"id":"2EA4C812-DED2-4E66-B4DE-9E9090DE87FD","shape":{"__isSmartRef__":true,"id":3933},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3939},"textColor":{"__isSmartRef__":true,"id":3936},"owner":{"__isSmartRef__":true,"id":3931},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3940}],"padding":{"__isSmartRef__":true,"id":3942},"_Padding":{"__isSmartRef__":true,"id":3942},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3943},"attributeConnections":[{"__isSmartRef__":true,"id":3944}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":3945},"eventHandler":{"__isSmartRef__":true,"id":3946},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3933":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3934},"_Extent":{"__isSmartRef__":true,"id":3935},"_BorderColor":{"__isSmartRef__":true,"id":3936},"renderContextTable":{"__isSmartRef__":true,"id":3937},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3938},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3934":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3935":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3936":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3937":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3938":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3939":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3940":{"style":{"__isSmartRef__":true,"id":3941},"chunkOwner":{"__isSmartRef__":true,"id":3932},"storedString":"WhiteBoard","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3941":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3942":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3943":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3944":{"sourceObj":{"__isSmartRef__":true,"id":3932},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3931},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3945":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3946":{"morph":{"__isSmartRef__":true,"id":3932},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3947":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3948},"_Extent":{"__isSmartRef__":true,"id":3949},"_Fill":{"__isSmartRef__":true,"id":3950},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3960},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3961},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3962},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3948":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3949":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3950":{"stops":[{"__isSmartRef__":true,"id":3951},{"__isSmartRef__":true,"id":3953},{"__isSmartRef__":true,"id":3955},{"__isSmartRef__":true,"id":3957}],"vector":{"__isSmartRef__":true,"id":3959},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3951":{"offset":0,"color":{"__isSmartRef__":true,"id":3952}},"3952":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3953":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3954}},"3954":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3955":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3956}},"3956":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3957":{"offset":1,"color":{"__isSmartRef__":true,"id":3958}},"3958":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3959":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3960":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3961":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3962":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3963":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3964":{"stops":[{"__isSmartRef__":true,"id":3965},{"__isSmartRef__":true,"id":3967},{"__isSmartRef__":true,"id":3969},{"__isSmartRef__":true,"id":3971}],"vector":{"__isSmartRef__":true,"id":3959},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3965":{"offset":0,"color":{"__isSmartRef__":true,"id":3966}},"3966":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3967":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3968}},"3968":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3969":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3970}},"3970":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3971":{"offset":1,"color":{"__isSmartRef__":true,"id":3972}},"3972":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3973":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3974":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3975":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3976":{"morph":{"__isSmartRef__":true,"id":3931},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3977":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3978":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3979":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":3980},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3986},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3987},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":3988},"_TextColor":{"__isSmartRef__":true,"id":3989},"renderContextTable":{"__isSmartRef__":true,"id":3990},"textChunks":[{"__isSmartRef__":true,"id":3991}],"eventHandler":{"__isSmartRef__":true,"id":3993},"priorExtent":{"__isSmartRef__":true,"id":3994},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":3995},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"3980":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3981},"_Extent":{"__isSmartRef__":true,"id":3982},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3983},"renderContextTable":{"__isSmartRef__":true,"id":3984},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3985},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3981":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3982":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3983":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3984":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"3985":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3986":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3987":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3988":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3989":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3990":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3991":{"style":{"__isSmartRef__":true,"id":3992},"chunkOwner":{"__isSmartRef__":true,"id":3979},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3992":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3993":{"morph":{"__isSmartRef__":true,"id":3979},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3994":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3995":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3996":{"createListMorph":{"__isSmartRef__":true,"id":3997},"getList":{"__isSmartRef__":true,"id":4001},"removeList":{"__isSmartRef__":true,"id":4005},"reset":{"__isSmartRef__":true,"id":4009},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":4013},"onMouseDown":{"__isSmartRef__":true,"id":4017},"setTargetOfPane":{"__isSmartRef__":true,"id":4025},"setTargetToListSelection":{"__isSmartRef__":true,"id":4029},"onBlur":{"__isSmartRef__":true,"id":4033},"setTarget":{"__isSmartRef__":true,"id":4041},"setTargetOnSelection":{"__isSmartRef__":true,"id":4045}},"3997":{"varMapping":{"__isSmartRef__":true,"id":3998},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":3999},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3998":{"this":{"__isSmartRef__":true,"id":3931}},"3999":{"timestamp":{"__isSmartRef__":true,"id":4000},"user":"lauritz","tags":[]},"4000":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (Mitteleuropäische Zeit)"},"4001":{"varMapping":{"__isSmartRef__":true,"id":4002},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":4003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4002":{"this":{"__isSmartRef__":true,"id":3931}},"4003":{"timestamp":{"__isSmartRef__":true,"id":4004},"user":"lauritz","tags":[]},"4004":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (Mitteleuropäische Zeit)"},"4005":{"varMapping":{"__isSmartRef__":true,"id":4006},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":4007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4006":{"this":{"__isSmartRef__":true,"id":3931}},"4007":{"timestamp":{"__isSmartRef__":true,"id":4008},"user":"lauritz","tags":[]},"4008":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (Mitteleuropäische Zeit)"},"4009":{"varMapping":{"__isSmartRef__":true,"id":4010},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":4011},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4010":{"this":{"__isSmartRef__":true,"id":3931}},"4011":{"timestamp":{"__isSmartRef__":true,"id":4012},"user":"lauritz","tags":[]},"4012":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (Mitteleuropäische Zeit)"},"4013":{"varMapping":{"__isSmartRef__":true,"id":4014},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":4015},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4014":{"this":{"__isSmartRef__":true,"id":3931}},"4015":{"timestamp":{"__isSmartRef__":true,"id":4016},"user":"lauritz","tags":[]},"4016":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (Mitteleuropäische Zeit)"},"4017":{"varMapping":{"__isSmartRef__":true,"id":4018},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4023},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4018":{"this":{"__isSmartRef__":true,"id":3931},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4019}},"4019":{"$super":{"__isSmartRef__":true,"id":4020}},"4020":{"varMapping":{"__isSmartRef__":true,"id":4021},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4022},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4021":{"obj":{"__isSmartRef__":true,"id":3931},"name":"onMouseDown"},"4022":{},"4023":{"timestamp":{"__isSmartRef__":true,"id":4024},"user":"lauritz","tags":[]},"4024":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (Mitteleuropäische Zeit)"},"4025":{"varMapping":{"__isSmartRef__":true,"id":4026},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":4027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4026":{"this":{"__isSmartRef__":true,"id":3931}},"4027":{"timestamp":{"__isSmartRef__":true,"id":4028},"user":"lauritz","tags":[]},"4028":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (Mitteleuropäische Zeit)"},"4029":{"varMapping":{"__isSmartRef__":true,"id":4030},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4031},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4030":{"this":{"__isSmartRef__":true,"id":3931}},"4031":{"timestamp":{"__isSmartRef__":true,"id":4032},"user":"lauritz","tags":[]},"4032":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (Mitteleuropäische Zeit)"},"4033":{"varMapping":{"__isSmartRef__":true,"id":4034},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4034":{"this":{"__isSmartRef__":true,"id":3931},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4035}},"4035":{"$super":{"__isSmartRef__":true,"id":4036}},"4036":{"varMapping":{"__isSmartRef__":true,"id":4037},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4038},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4037":{"obj":{"__isSmartRef__":true,"id":3931},"name":"onBlur"},"4038":{},"4039":{"timestamp":{"__isSmartRef__":true,"id":4040},"user":"lauritz","tags":[]},"4040":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (Mitteleuropäische Zeit)"},"4041":{"varMapping":{"__isSmartRef__":true,"id":4042},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":4043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4042":{"this":{"__isSmartRef__":true,"id":3931}},"4043":{"timestamp":{"__isSmartRef__":true,"id":4044},"user":"lauritz","tags":[]},"4044":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (Mitteleuropäische Zeit)"},"4045":{"varMapping":{"__isSmartRef__":true,"id":4046},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4047},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4046":{"this":{"__isSmartRef__":true,"id":3931}},"4047":{"timestamp":{"__isSmartRef__":true,"id":4048},"user":"lauritz","tags":[]},"4048":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (Mitteleuropäische Zeit)"},"4049":{"submorphs":[],"scripts":[],"id":"00CDAC32-0D51-4A33-BAFE-25ACFA0BC603","shape":{"__isSmartRef__":true,"id":4050},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4056},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4053},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4057},"textChunks":[{"__isSmartRef__":true,"id":4058}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4060},"renderContextTable":{"__isSmartRef__":true,"id":4061},"eventHandler":{"__isSmartRef__":true,"id":4062},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4063},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":2833},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4050":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4051},"_Extent":{"__isSmartRef__":true,"id":4052},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4053},"renderContextTable":{"__isSmartRef__":true,"id":4054},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4055},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4051":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4052":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4053":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4054":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4055":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4056":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4057":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4058":{"style":{"__isSmartRef__":true,"id":4059},"chunkOwner":{"__isSmartRef__":true,"id":4049},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"4059":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4060":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4062":{"morph":{"__isSmartRef__":true,"id":4049},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4063":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4064":{"submorphs":[],"scripts":[],"id":"65380CC7-C348-4A97-83F4-ACAD169B145E","shape":{"__isSmartRef__":true,"id":4065},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4071},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4068},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4072},"textChunks":[{"__isSmartRef__":true,"id":4073}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4075},"renderContextTable":{"__isSmartRef__":true,"id":4076},"eventHandler":{"__isSmartRef__":true,"id":4077},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4078},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":2833},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4065":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4066},"_Extent":{"__isSmartRef__":true,"id":4067},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4068},"renderContextTable":{"__isSmartRef__":true,"id":4069},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4070},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4066":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4067":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4068":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4069":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4070":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4071":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4072":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4073":{"style":{"__isSmartRef__":true,"id":4074},"chunkOwner":{"__isSmartRef__":true,"id":4064},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"4074":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4075":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4076":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4077":{"morph":{"__isSmartRef__":true,"id":4064},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4078":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4079":{"submorphs":[{"__isSmartRef__":true,"id":4080}],"scripts":[],"id":"D93F7989-934A-4662-8BBD-73B06D5D5637","shape":{"__isSmartRef__":true,"id":4095},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4111},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4112},"lighterFill":{"__isSmartRef__":true,"id":4098},"label":{"__isSmartRef__":true,"id":4080},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":4121},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":4122},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":4123},"eventHandler":{"__isSmartRef__":true,"id":4124},"distanceToDragEvent":{"__isSmartRef__":true,"id":4125},"priorExtent":{"__isSmartRef__":true,"id":4126},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":2833},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4127},"__LivelyClassName__":"lively.morphic.Button"},"4080":{"submorphs":[],"scripts":[],"id":"C68CEAD2-74A3-4F1F-8A94-4D81909280BF","shape":{"__isSmartRef__":true,"id":4081},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4087},"textColor":{"__isSmartRef__":true,"id":4084},"owner":{"__isSmartRef__":true,"id":4079},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":4088}],"padding":{"__isSmartRef__":true,"id":4090},"_Padding":{"__isSmartRef__":true,"id":4090},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4091},"attributeConnections":[{"__isSmartRef__":true,"id":4092}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":4093},"eventHandler":{"__isSmartRef__":true,"id":4094},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4081":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4082},"_Extent":{"__isSmartRef__":true,"id":4083},"_BorderColor":{"__isSmartRef__":true,"id":4084},"renderContextTable":{"__isSmartRef__":true,"id":4085},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4086},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4082":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4083":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4084":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4085":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4086":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4087":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4088":{"style":{"__isSmartRef__":true,"id":4089},"chunkOwner":{"__isSmartRef__":true,"id":4080},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4089":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4090":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4091":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4092":{"sourceObj":{"__isSmartRef__":true,"id":4080},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4079},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4093":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4094":{"morph":{"__isSmartRef__":true,"id":4080},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4095":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4096},"_Extent":{"__isSmartRef__":true,"id":4097},"_Fill":{"__isSmartRef__":true,"id":4098},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4108},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":4109},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4110},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4096":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4097":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4098":{"stops":[{"__isSmartRef__":true,"id":4099},{"__isSmartRef__":true,"id":4101},{"__isSmartRef__":true,"id":4103},{"__isSmartRef__":true,"id":4105}],"vector":{"__isSmartRef__":true,"id":4107},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4099":{"offset":0,"color":{"__isSmartRef__":true,"id":4100}},"4100":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4101":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4102}},"4102":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4103":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4104}},"4104":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4105":{"offset":1,"color":{"__isSmartRef__":true,"id":4106}},"4106":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4107":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4108":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4109":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4110":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4111":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4112":{"stops":[{"__isSmartRef__":true,"id":4113},{"__isSmartRef__":true,"id":4115},{"__isSmartRef__":true,"id":4117},{"__isSmartRef__":true,"id":4119}],"vector":{"__isSmartRef__":true,"id":4107},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4113":{"offset":0,"color":{"__isSmartRef__":true,"id":4114}},"4114":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4115":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4116}},"4116":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4117":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4118}},"4118":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4119":{"offset":1,"color":{"__isSmartRef__":true,"id":4120}},"4120":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4121":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4122":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4123":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4124":{"morph":{"__isSmartRef__":true,"id":4079},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4125":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4126":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4127":{"createListMorph":{"__isSmartRef__":true,"id":4128},"getList":{"__isSmartRef__":true,"id":4132},"removeList":{"__isSmartRef__":true,"id":4136},"reset":{"__isSmartRef__":true,"id":4140},"onMouseUp":{"__isSmartRef__":true,"id":4144},"onBlur":{"__isSmartRef__":true,"id":4152},"setTag":{"__isSmartRef__":true,"id":4160}},"4128":{"varMapping":{"__isSmartRef__":true,"id":4129},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":4130},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4129":{"this":{"__isSmartRef__":true,"id":4079}},"4130":{"timestamp":{"__isSmartRef__":true,"id":4131},"user":"lauritz","categories":[]},"4131":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (Mitteleuropäische Zeit)"},"4132":{"varMapping":{"__isSmartRef__":true,"id":4133},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":4134},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4133":{"this":{"__isSmartRef__":true,"id":4079}},"4134":{"timestamp":{"__isSmartRef__":true,"id":4135},"user":"lauritz","tags":[]},"4135":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (Mitteleuropäische Zeit)"},"4136":{"varMapping":{"__isSmartRef__":true,"id":4137},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":4138},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4137":{"this":{"__isSmartRef__":true,"id":4079}},"4138":{"timestamp":{"__isSmartRef__":true,"id":4139},"user":"lauritz","categories":[]},"4139":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (Mitteleuropäische Zeit)"},"4140":{"varMapping":{"__isSmartRef__":true,"id":4141},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":4142},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4141":{"this":{"__isSmartRef__":true,"id":4079}},"4142":{"timestamp":{"__isSmartRef__":true,"id":4143},"user":"lauritz","tags":[]},"4143":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (Mitteleuropäische Zeit)"},"4144":{"varMapping":{"__isSmartRef__":true,"id":4145},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":4150},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4145":{"this":{"__isSmartRef__":true,"id":4079},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4146}},"4146":{"$super":{"__isSmartRef__":true,"id":4147}},"4147":{"varMapping":{"__isSmartRef__":true,"id":4148},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4149},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4148":{"obj":{"__isSmartRef__":true,"id":4079},"name":"onMouseUp"},"4149":{},"4150":{"timestamp":{"__isSmartRef__":true,"id":4151},"user":"lauritz","categories":[]},"4151":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (Mitteleuropäische Zeit)"},"4152":{"varMapping":{"__isSmartRef__":true,"id":4153},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4158},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4153":{"this":{"__isSmartRef__":true,"id":4079},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4154}},"4154":{"$super":{"__isSmartRef__":true,"id":4155}},"4155":{"varMapping":{"__isSmartRef__":true,"id":4156},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4157},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4156":{"obj":{"__isSmartRef__":true,"id":4079},"name":"onBlur"},"4157":{},"4158":{"timestamp":{"__isSmartRef__":true,"id":4159},"user":"lauritz","categories":[]},"4159":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (Mitteleuropäische Zeit)"},"4160":{"varMapping":{"__isSmartRef__":true,"id":4161},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":4162},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4161":{"this":{"__isSmartRef__":true,"id":4079}},"4162":{"timestamp":{"__isSmartRef__":true,"id":4163},"user":"lauritz","categories":[]},"4163":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (Mitteleuropäische Zeit)"},"4164":{"submorphs":[{"__isSmartRef__":true,"id":4165}],"scripts":[],"id":"CDE5EFA1-6D40-47CE-B00C-3ACD7011A138","shape":{"__isSmartRef__":true,"id":4180},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4184},"lighterFill":{"__isSmartRef__":true,"id":4196},"label":{"__isSmartRef__":true,"id":4165},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4205},"attributeConnections":[{"__isSmartRef__":true,"id":4206}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4242},"renderContextTable":{"__isSmartRef__":true,"id":4243},"eventHandler":{"__isSmartRef__":true,"id":4244},"distanceToDragEvent":{"__isSmartRef__":true,"id":4245},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15"],"_Position":{"__isSmartRef__":true,"id":4246},"owner":{"__isSmartRef__":true,"id":2833},"layout":{"__isSmartRef__":true,"id":4247},"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"4165":{"submorphs":[],"scripts":[],"id":"D05CA914-C71A-412E-9C8E-505155582EB8","shape":{"__isSmartRef__":true,"id":4166},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4172},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4173},"_Padding":{"__isSmartRef__":true,"id":4174},"owner":{"__isSmartRef__":true,"id":4164},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4175},"textChunks":[{"__isSmartRef__":true,"id":4176}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4178},"eventHandler":{"__isSmartRef__":true,"id":4179},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"4166":{"position":{"__isSmartRef__":true,"id":4167},"_Extent":{"__isSmartRef__":true,"id":4168},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4169},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4170},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4171},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4167":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4168":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4169":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4170":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4171":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4172":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4173":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4174":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4175":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4176":{"style":{"__isSmartRef__":true,"id":4177},"chunkOwner":{"__isSmartRef__":true,"id":4165},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"4177":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4178":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4179":{"morph":{"__isSmartRef__":true,"id":4165},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4180":{"position":{"__isSmartRef__":true,"id":4181},"_Extent":{"__isSmartRef__":true,"id":4182},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4183},"_Fill":{"__isSmartRef__":true,"id":4184},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4194},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4195},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4181":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4182":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4183":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4184":{"stops":[{"__isSmartRef__":true,"id":4185},{"__isSmartRef__":true,"id":4187},{"__isSmartRef__":true,"id":4189},{"__isSmartRef__":true,"id":4191}],"vector":{"__isSmartRef__":true,"id":4193},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4185":{"offset":0,"color":{"__isSmartRef__":true,"id":4186}},"4186":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4187":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4188}},"4188":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4189":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4190}},"4190":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4191":{"offset":1,"color":{"__isSmartRef__":true,"id":4192}},"4192":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4193":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4194":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4195":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4196":{"stops":[{"__isSmartRef__":true,"id":4197},{"__isSmartRef__":true,"id":4199},{"__isSmartRef__":true,"id":4201},{"__isSmartRef__":true,"id":4203}],"vector":{"__isSmartRef__":true,"id":4193},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4197":{"offset":0,"color":{"__isSmartRef__":true,"id":4198}},"4198":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4199":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4200}},"4200":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4201":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4202}},"4202":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4203":{"offset":1,"color":{"__isSmartRef__":true,"id":4204}},"4204":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4205":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4206":{"sourceObj":{"__isSmartRef__":true,"id":4164},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2833},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":4207},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4207":{"submorphs":[{"__isSmartRef__":true,"id":4208}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4223},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":4230},"eventHandler":{"__isSmartRef__":true,"id":4231},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":4232},{"__isSmartRef__":true,"id":4233}],"con":{"__isSmartRef__":true,"id":4206},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4234},"__LivelyClassName__":"lively.morphic.Path"},"4208":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4209},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":4220},"eventHandler":{"__isSmartRef__":true,"id":4221},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4222},"owner":{"__isSmartRef__":true,"id":4207},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"4209":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4210},{"__isSmartRef__":true,"id":4211},{"__isSmartRef__":true,"id":4212},{"__isSmartRef__":true,"id":4213}],"renderContextTable":{"__isSmartRef__":true,"id":4214},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4215},"_Extent":{"__isSmartRef__":true,"id":4216},"_Padding":{"__isSmartRef__":true,"id":4217},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4218},"_Fill":{"__isSmartRef__":true,"id":4219},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4210":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4211":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4212":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4213":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4214":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"4215":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4216":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4217":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4218":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4219":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4221":{"morph":{"__isSmartRef__":true,"id":4208},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4222":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4223":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4224},{"__isSmartRef__":true,"id":4225}],"renderContextTable":{"__isSmartRef__":true,"id":4226},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4227},"_Extent":{"__isSmartRef__":true,"id":4228},"_Padding":{"__isSmartRef__":true,"id":4229},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4218},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4224":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4225":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4226":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"4227":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4228":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4229":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4231":{"morph":{"__isSmartRef__":true,"id":4207},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4232":{"morph":{"__isSmartRef__":true,"id":4207},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4233":{"morph":{"__isSmartRef__":true,"id":4207},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":4208},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4234":{"morphMenuItems":{"__isSmartRef__":true,"id":4235}},"4235":{"varMapping":{"__isSmartRef__":true,"id":4236},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":4241},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4236":{"this":{"__isSmartRef__":true,"id":4207},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4237}},"4237":{"$super":{"__isSmartRef__":true,"id":4238}},"4238":{"varMapping":{"__isSmartRef__":true,"id":4239},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4240},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4239":{"obj":{"__isSmartRef__":true,"id":4207},"name":"morphMenuItems"},"4240":{},"4241":{},"4242":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4243":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4244":{"morph":{"__isSmartRef__":true,"id":4164},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4245":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4246":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4247":{"centeredHorizontal":false,"moveHorizontal":true},"4248":{"submorphs":[{"__isSmartRef__":true,"id":4249}],"scripts":[],"id":"67B71C4F-2356-4FA6-BB5B-2116604198F3","shape":{"__isSmartRef__":true,"id":4264},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4268},"lighterFill":{"__isSmartRef__":true,"id":4280},"label":{"__isSmartRef__":true,"id":4249},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4289},"attributeConnections":[{"__isSmartRef__":true,"id":4290}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4326},"renderContextTable":{"__isSmartRef__":true,"id":4327},"eventHandler":{"__isSmartRef__":true,"id":4328},"distanceToDragEvent":{"__isSmartRef__":true,"id":4329},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6"],"layout":{"__isSmartRef__":true,"id":4330},"_Position":{"__isSmartRef__":true,"id":4331},"owner":{"__isSmartRef__":true,"id":2833},"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"4249":{"submorphs":[],"scripts":[],"id":"70A281F6-9C5B-4B02-A64A-8EF5CF3137B4","shape":{"__isSmartRef__":true,"id":4250},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4256},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4257},"_Padding":{"__isSmartRef__":true,"id":4258},"owner":{"__isSmartRef__":true,"id":4248},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4259},"textChunks":[{"__isSmartRef__":true,"id":4260}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4262},"eventHandler":{"__isSmartRef__":true,"id":4263},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"4250":{"position":{"__isSmartRef__":true,"id":4251},"_Extent":{"__isSmartRef__":true,"id":4252},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4253},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4254},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4255},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4251":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4252":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4253":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4254":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4255":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4256":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4257":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4258":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4259":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4260":{"style":{"__isSmartRef__":true,"id":4261},"chunkOwner":{"__isSmartRef__":true,"id":4249},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4261":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4262":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4263":{"morph":{"__isSmartRef__":true,"id":4249},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4264":{"position":{"__isSmartRef__":true,"id":4265},"_Extent":{"__isSmartRef__":true,"id":4266},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4267},"_Fill":{"__isSmartRef__":true,"id":4268},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4278},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4279},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4266":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4267":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4268":{"stops":[{"__isSmartRef__":true,"id":4269},{"__isSmartRef__":true,"id":4271},{"__isSmartRef__":true,"id":4273},{"__isSmartRef__":true,"id":4275}],"vector":{"__isSmartRef__":true,"id":4277},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4269":{"offset":0,"color":{"__isSmartRef__":true,"id":4270}},"4270":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4271":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4272}},"4272":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4273":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4274}},"4274":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4275":{"offset":1,"color":{"__isSmartRef__":true,"id":4276}},"4276":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4277":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4279":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4280":{"stops":[{"__isSmartRef__":true,"id":4281},{"__isSmartRef__":true,"id":4283},{"__isSmartRef__":true,"id":4285},{"__isSmartRef__":true,"id":4287}],"vector":{"__isSmartRef__":true,"id":4277},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4281":{"offset":0,"color":{"__isSmartRef__":true,"id":4282}},"4282":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4283":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4284}},"4284":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4285":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4286}},"4286":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4287":{"offset":1,"color":{"__isSmartRef__":true,"id":4288}},"4288":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4289":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4290":{"sourceObj":{"__isSmartRef__":true,"id":4248},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3329},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":4291},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4291":{"submorphs":[{"__isSmartRef__":true,"id":4292}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4307},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":4314},"eventHandler":{"__isSmartRef__":true,"id":4315},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":4316},{"__isSmartRef__":true,"id":4317}],"con":{"__isSmartRef__":true,"id":4290},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4318},"__LivelyClassName__":"lively.morphic.Path"},"4292":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4293},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":4304},"eventHandler":{"__isSmartRef__":true,"id":4305},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4306},"owner":{"__isSmartRef__":true,"id":4291},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"4293":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4294},{"__isSmartRef__":true,"id":4295},{"__isSmartRef__":true,"id":4296},{"__isSmartRef__":true,"id":4297}],"renderContextTable":{"__isSmartRef__":true,"id":4298},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4299},"_Extent":{"__isSmartRef__":true,"id":4300},"_Padding":{"__isSmartRef__":true,"id":4301},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4302},"_Fill":{"__isSmartRef__":true,"id":4303},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4294":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4295":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4296":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4297":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4298":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"4299":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4300":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4301":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4302":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4303":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4304":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4305":{"morph":{"__isSmartRef__":true,"id":4292},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4306":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4307":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4308},{"__isSmartRef__":true,"id":4309}],"renderContextTable":{"__isSmartRef__":true,"id":4310},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4311},"_Extent":{"__isSmartRef__":true,"id":4312},"_Padding":{"__isSmartRef__":true,"id":4313},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4302},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4308":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4309":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4310":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"4311":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4312":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4313":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4315":{"morph":{"__isSmartRef__":true,"id":4291},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4316":{"morph":{"__isSmartRef__":true,"id":4291},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4317":{"morph":{"__isSmartRef__":true,"id":4291},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":4292},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4318":{"morphMenuItems":{"__isSmartRef__":true,"id":4319}},"4319":{"varMapping":{"__isSmartRef__":true,"id":4320},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":4325},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4320":{"this":{"__isSmartRef__":true,"id":4291},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4321}},"4321":{"$super":{"__isSmartRef__":true,"id":4322}},"4322":{"varMapping":{"__isSmartRef__":true,"id":4323},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4324},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4323":{"obj":{"__isSmartRef__":true,"id":4291},"name":"morphMenuItems"},"4324":{},"4325":{},"4326":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4328":{"morph":{"__isSmartRef__":true,"id":4248},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4329":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4330":{"centeredHorizontal":false,"moveHorizontal":true},"4331":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4332":{"submorphs":[{"__isSmartRef__":true,"id":4333}],"scripts":[],"id":"7BCF33BF-6398-48C2-A635-D79346875128","shape":{"__isSmartRef__":true,"id":4348},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4364},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4352},"lighterFill":{"__isSmartRef__":true,"id":4365},"label":{"__isSmartRef__":true,"id":4333},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4374},"attributeConnections":[{"__isSmartRef__":true,"id":4375}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4376},"renderContextTable":{"__isSmartRef__":true,"id":4377},"eventHandler":{"__isSmartRef__":true,"id":4378},"distanceToDragEvent":{"__isSmartRef__":true,"id":4379},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3"],"owner":{"__isSmartRef__":true,"id":2833},"_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"4333":{"submorphs":[],"scripts":[],"id":"42F0DF87-B475-4FB1-AB95-20104BBD56E1","shape":{"__isSmartRef__":true,"id":4334},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4340},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4341},"_Padding":{"__isSmartRef__":true,"id":4342},"owner":{"__isSmartRef__":true,"id":4332},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4343},"textChunks":[{"__isSmartRef__":true,"id":4344}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4346},"eventHandler":{"__isSmartRef__":true,"id":4347},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"4334":{"position":{"__isSmartRef__":true,"id":4335},"_Extent":{"__isSmartRef__":true,"id":4336},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4337},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4338},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4339},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4335":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4336":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4337":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4338":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4339":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4340":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4341":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4342":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4343":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4344":{"style":{"__isSmartRef__":true,"id":4345},"chunkOwner":{"__isSmartRef__":true,"id":4333},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4345":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4346":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4347":{"morph":{"__isSmartRef__":true,"id":4333},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4348":{"position":{"__isSmartRef__":true,"id":4349},"_Extent":{"__isSmartRef__":true,"id":4350},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4351},"_Fill":{"__isSmartRef__":true,"id":4352},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4362},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4363},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4349":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4350":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4351":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4352":{"stops":[{"__isSmartRef__":true,"id":4353},{"__isSmartRef__":true,"id":4355},{"__isSmartRef__":true,"id":4357},{"__isSmartRef__":true,"id":4359}],"vector":{"__isSmartRef__":true,"id":4361},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4353":{"offset":0,"color":{"__isSmartRef__":true,"id":4354}},"4354":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4355":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4356}},"4356":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4357":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4358}},"4358":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4359":{"offset":1,"color":{"__isSmartRef__":true,"id":4360}},"4360":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4361":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4362":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4363":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4364":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4365":{"stops":[{"__isSmartRef__":true,"id":4366},{"__isSmartRef__":true,"id":4368},{"__isSmartRef__":true,"id":4370},{"__isSmartRef__":true,"id":4372}],"vector":{"__isSmartRef__":true,"id":4361},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4366":{"offset":0,"color":{"__isSmartRef__":true,"id":4367}},"4367":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4368":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4369}},"4369":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4370":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4371}},"4371":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4372":{"offset":1,"color":{"__isSmartRef__":true,"id":4373}},"4373":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4374":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4375":{"sourceObj":{"__isSmartRef__":true,"id":4332},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2833},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4376":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4377":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4378":{"morph":{"__isSmartRef__":true,"id":4332},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4379":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4380":{"target":{"__isSmartRef__":true,"id":2833},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":63853,"__SourceModuleName__":"Global.lively.morphic.Core","suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript"},"4381":{"position":{"__isSmartRef__":true,"id":4382},"_Extent":{"__isSmartRef__":true,"id":4383},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4384},"_Fill":{"__isSmartRef__":true,"id":4385},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4386},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4387},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4382":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4383":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4384":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4385":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4386":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"4387":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4388":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":4389}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4389":{"date":{"__isSmartRef__":true,"id":4390},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"4390":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"4391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4392":{"morph":{"__isSmartRef__":true,"id":2833},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4393":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4394":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"4395":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4396":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4397":{},"4398":{"displayInitialScript":{"__isSmartRef__":true,"id":4399},"displayJavaScriptSource":{"__isSmartRef__":true,"id":4403},"displaySourceForConnection":{"__isSmartRef__":true,"id":4407},"displaySourceForScript":{"__isSmartRef__":true,"id":4411},"generateSourceForConnection":{"__isSmartRef__":true,"id":4415},"generateSourceForScript":{"__isSmartRef__":true,"id":4419},"generateTargetCode":{"__isSmartRef__":true,"id":4423},"newConnection":{"__isSmartRef__":true,"id":4427},"newScript":{"__isSmartRef__":true,"id":4431},"reset":{"__isSmartRef__":true,"id":4435},"selectChangedContent":{"__isSmartRef__":true,"id":4439},"setTarget":{"__isSmartRef__":true,"id":4443},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":4447},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":4451},"updateLists":{"__isSmartRef__":true,"id":4455},"onShutdown":{"__isSmartRef__":true,"id":4459},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":4463},"update":{"__isSmartRef__":true,"id":4467},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":4471},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":4475},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":4479},"printTags":{"__isSmartRef__":true,"id":4487},"setTag":{"__isSmartRef__":true,"id":4491},"runScript":{"__isSmartRef__":true,"id":4495},"openPartTestRunner":{"__isSmartRef__":true,"id":4499}},"4399":{"varMapping":{"__isSmartRef__":true,"id":4400},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4401},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4400":{"this":{"__isSmartRef__":true,"id":2833}},"4401":{"timestamp":{"__isSmartRef__":true,"id":4402},"user":"lauritz","tags":[]},"4402":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (Mitteleuropäische Zeit)"},"4403":{"varMapping":{"__isSmartRef__":true,"id":4404},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4405},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4404":{"this":{"__isSmartRef__":true,"id":2833}},"4405":{"timestamp":{"__isSmartRef__":true,"id":4406},"user":"lauritz","tags":[]},"4406":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"4407":{"varMapping":{"__isSmartRef__":true,"id":4408},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":4409},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4408":{"this":{"__isSmartRef__":true,"id":2833}},"4409":{"timestamp":{"__isSmartRef__":true,"id":4410},"user":"conradcalmez","tags":[]},"4410":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (Mitteleuropäische Zeit)"},"4411":{"varMapping":{"__isSmartRef__":true,"id":4412},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":4413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4412":{"this":{"__isSmartRef__":true,"id":2833}},"4413":{"timestamp":{"__isSmartRef__":true,"id":4414},"user":"lauritz","tags":[]},"4414":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (Mitteleuropäische Zeit)"},"4415":{"varMapping":{"__isSmartRef__":true,"id":4416},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":4417},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4416":{"this":{"__isSmartRef__":true,"id":2833}},"4417":{"timestamp":{"__isSmartRef__":true,"id":4418},"user":"lauritz","tags":[]},"4418":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"4419":{"varMapping":{"__isSmartRef__":true,"id":4420},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":4421},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4420":{"this":{"__isSmartRef__":true,"id":2833}},"4421":{"timestamp":{"__isSmartRef__":true,"id":4422},"user":"lauritz","tags":[]},"4422":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (Mitteleuropäische Zeit)"},"4423":{"varMapping":{"__isSmartRef__":true,"id":4424},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":4425},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4424":{"this":{"__isSmartRef__":true,"id":2833}},"4425":{"timestamp":{"__isSmartRef__":true,"id":4426},"user":"lauritz","tags":[]},"4426":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"4427":{"varMapping":{"__isSmartRef__":true,"id":4428},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4428":{"this":{"__isSmartRef__":true,"id":2833}},"4429":{"timestamp":{"__isSmartRef__":true,"id":4430},"user":"lauritz","tags":[]},"4430":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"4431":{"varMapping":{"__isSmartRef__":true,"id":4432},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4432":{"this":{"__isSmartRef__":true,"id":2833}},"4433":{"timestamp":{"__isSmartRef__":true,"id":4434},"user":"lauritz","tags":[]},"4434":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (Mitteleuropäische Zeit)"},"4435":{"varMapping":{"__isSmartRef__":true,"id":4436},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":4437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4436":{"this":{"__isSmartRef__":true,"id":2833}},"4437":{"timestamp":{"__isSmartRef__":true,"id":4438},"user":"conradcalmez","tags":[]},"4438":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (Mitteleuropäische Zeit)"},"4439":{"varMapping":{"__isSmartRef__":true,"id":4440},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":5894},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5893":{"this":{"__isSmartRef__":true,"id":5027}},"5894":{},"5895":{"varMapping":{"__isSmartRef__":true,"id":5896},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":5897},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5896":{"this":{"__isSmartRef__":true,"id":5027}},"5897":{},"5898":{"varMapping":{"__isSmartRef__":true,"id":5899},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5900},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5899":{"this":{"__isSmartRef__":true,"id":5027}},"5900":{},"5901":{"varMapping":{"__isSmartRef__":true,"id":5902},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":5903},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5902":{"this":{"__isSmartRef__":true,"id":5027}},"5903":{},"5904":{"varMapping":{"__isSmartRef__":true,"id":5905},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":6104},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6103":{"this":{"__isSmartRef__":true,"id":6050}},"6104":{"timestamp":{"__isSmartRef__":true,"id":6105},"user":"lauritz","categories":[]},"6105":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (Mitteleuropäische Zeit)"},"6106":{"submorphs":[{"__isSmartRef__":true,"id":6107}],"scripts":[],"id":"0391242A-713F-4A13-A833-C565A010FEB9","shape":{"__isSmartRef__":true,"id":6122},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6138},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6125},"lighterFill":{"__isSmartRef__":true,"id":6139},"label":{"__isSmartRef__":true,"id":6107},"attributeConnections":[{"__isSmartRef__":true,"id":6148}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":6150},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":6151},"renderContextTable":{"__isSmartRef__":true,"id":6152},"priorExtent":{"__isSmartRef__":true,"id":6153},"owner":{"__isSmartRef__":true,"id":5009},"eventHandler":{"__isSmartRef__":true,"id":6154},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":5009},"distanceToDragEvent":{"__isSmartRef__":true,"id":6155},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6156},"__LivelyClassName__":"lively.morphic.Button"},"6107":{"submorphs":[],"scripts":[],"id":"6259CB16-8F92-4EA5-99F8-3A2185465DA2","shape":{"__isSmartRef__":true,"id":6108},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6114},"textColor":{"__isSmartRef__":true,"id":6111},"owner":{"__isSmartRef__":true,"id":6106},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":6115}],"padding":{"__isSmartRef__":true,"id":6117},"_Padding":{"__isSmartRef__":true,"id":6118},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6119},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":6120},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":6121},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6108":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6109},"_Extent":{"__isSmartRef__":true,"id":6110},"_BorderColor":{"__isSmartRef__":true,"id":6111},"renderContextTable":{"__isSmartRef__":true,"id":6112},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6113},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6109":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6110":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6111":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6112":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6113":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6114":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6115":{"style":{"__isSmartRef__":true,"id":6116},"morph":{"__isSmartRef__":true,"id":6107},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":6107},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"6116":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6117":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6118":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6119":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6120":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6121":{"morph":{"__isSmartRef__":true,"id":6107},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6122":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6123},"_Extent":{"__isSmartRef__":true,"id":6124},"_Fill":{"__isSmartRef__":true,"id":6125},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6135},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":6136},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6137},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6123":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6124":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6125":{"stops":[{"__isSmartRef__":true,"id":6126},{"__isSmartRef__":true,"id":6128},{"__isSmartRef__":true,"id":6130},{"__isSmartRef__":true,"id":6132}],"vector":{"__isSmartRef__":true,"id":6134},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6126":{"offset":0,"color":{"__isSmartRef__":true,"id":6127}},"6127":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6128":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6129}},"6129":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6130":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6131}},"6131":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6132":{"offset":1,"color":{"__isSmartRef__":true,"id":6133}},"6133":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6134":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6135":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6136":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6137":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6138":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6139":{"stops":[{"__isSmartRef__":true,"id":6140},{"__isSmartRef__":true,"id":6142},{"__isSmartRef__":true,"id":6144},{"__isSmartRef__":true,"id":6146}],"vector":{"__isSmartRef__":true,"id":6134},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6140":{"offset":0,"color":{"__isSmartRef__":true,"id":6141}},"6141":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6142":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6143}},"6143":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6144":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6145}},"6145":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6146":{"offset":1,"color":{"__isSmartRef__":true,"id":6147}},"6147":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6148":{"sourceObj":{"__isSmartRef__":true,"id":6106},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6106},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6149},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6149":{"source":{"__isSmartRef__":true,"id":6106},"target":{"__isSmartRef__":true,"id":6106}},"6150":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6151":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6152":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6153":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6154":{"morph":{"__isSmartRef__":true,"id":6106},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6155":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6156":{"deleteSelectedScript":{"__isSmartRef__":true,"id":6157}},"6157":{"varMapping":{"__isSmartRef__":true,"id":6158},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":6159},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6158":{"this":{"__isSmartRef__":true,"id":6106}},"6159":{"timestamp":{"__isSmartRef__":true,"id":6160},"user":"lauritz"},"6160":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (Mitteleuropäische Zeit)"},"6161":{"submorphs":[{"__isSmartRef__":true,"id":6162}],"scripts":[],"id":"9A96566F-B1B6-4822-8D9B-AE921306834B","shape":{"__isSmartRef__":true,"id":6177},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6193},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6180},"lighterFill":{"__isSmartRef__":true,"id":6194},"label":{"__isSmartRef__":true,"id":6162},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":6203},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":6204},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":6205},"eventHandler":{"__isSmartRef__":true,"id":6206},"distanceToDragEvent":{"__isSmartRef__":true,"id":6207},"priorExtent":{"__isSmartRef__":true,"id":6208},"owner":{"__isSmartRef__":true,"id":5009},"textString":"","selection":{"__isSmartRef__":true,"id":6209},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6226},"__LivelyClassName__":"lively.morphic.Button"},"6162":{"submorphs":[],"scripts":[],"id":"8D6865FE-B6FE-47E0-AF87-1015B37A9FA7","shape":{"__isSmartRef__":true,"id":6163},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6169},"textColor":{"__isSmartRef__":true,"id":6166},"owner":{"__isSmartRef__":true,"id":6161},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":6170}],"padding":{"__isSmartRef__":true,"id":6172},"_Padding":{"__isSmartRef__":true,"id":6172},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6173},"attributeConnections":[{"__isSmartRef__":true,"id":6174}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":6175},"eventHandler":{"__isSmartRef__":true,"id":6176},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6163":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6164},"_Extent":{"__isSmartRef__":true,"id":6165},"_BorderColor":{"__isSmartRef__":true,"id":6166},"renderContextTable":{"__isSmartRef__":true,"id":6167},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6168},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6164":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6165":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6166":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6167":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6168":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6169":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6170":{"style":{"__isSmartRef__":true,"id":6171},"chunkOwner":{"__isSmartRef__":true,"id":6162},"storedString":"WhiteBoardSVG1","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6171":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6172":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6173":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6174":{"sourceObj":{"__isSmartRef__":true,"id":6162},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":6161},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6175":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6176":{"morph":{"__isSmartRef__":true,"id":6162},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6177":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6178},"_Extent":{"__isSmartRef__":true,"id":6179},"_Fill":{"__isSmartRef__":true,"id":6180},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6190},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":6191},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6178":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6179":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6180":{"stops":[{"__isSmartRef__":true,"id":6181},{"__isSmartRef__":true,"id":6183},{"__isSmartRef__":true,"id":6185},{"__isSmartRef__":true,"id":6187}],"vector":{"__isSmartRef__":true,"id":6189},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6181":{"offset":0,"color":{"__isSmartRef__":true,"id":6182}},"6182":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6183":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6184}},"6184":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6185":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6186}},"6186":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6187":{"offset":1,"color":{"__isSmartRef__":true,"id":6188}},"6188":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6189":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6190":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6191":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6192":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6193":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6194":{"stops":[{"__isSmartRef__":true,"id":6195},{"__isSmartRef__":true,"id":6197},{"__isSmartRef__":true,"id":6199},{"__isSmartRef__":true,"id":6201}],"vector":{"__isSmartRef__":true,"id":6189},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6195":{"offset":0,"color":{"__isSmartRef__":true,"id":6196}},"6196":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6197":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6198}},"6198":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6199":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6200}},"6200":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6201":{"offset":1,"color":{"__isSmartRef__":true,"id":6202}},"6202":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6203":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6204":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6205":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6206":{"morph":{"__isSmartRef__":true,"id":6161},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6207":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6208":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6209":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":6210},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6216},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6217},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":6218},"_TextColor":{"__isSmartRef__":true,"id":6219},"renderContextTable":{"__isSmartRef__":true,"id":6220},"textChunks":[{"__isSmartRef__":true,"id":6221}],"eventHandler":{"__isSmartRef__":true,"id":6223},"priorExtent":{"__isSmartRef__":true,"id":6224},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":6225},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"6210":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6211},"_Extent":{"__isSmartRef__":true,"id":6212},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6213},"renderContextTable":{"__isSmartRef__":true,"id":6214},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6215},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6211":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6212":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6213":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6214":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6215":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6216":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6217":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6218":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6219":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6221":{"style":{"__isSmartRef__":true,"id":6222},"chunkOwner":{"__isSmartRef__":true,"id":6209},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"6222":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6223":{"morph":{"__isSmartRef__":true,"id":6209},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6224":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6225":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6226":{"createListMorph":{"__isSmartRef__":true,"id":6227},"getList":{"__isSmartRef__":true,"id":6231},"removeList":{"__isSmartRef__":true,"id":6235},"reset":{"__isSmartRef__":true,"id":6239},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":6243},"onMouseDown":{"__isSmartRef__":true,"id":6247},"setTargetOfPane":{"__isSmartRef__":true,"id":6255},"setTargetToListSelection":{"__isSmartRef__":true,"id":6259},"onBlur":{"__isSmartRef__":true,"id":6263},"setTarget":{"__isSmartRef__":true,"id":6271},"setTargetOnSelection":{"__isSmartRef__":true,"id":6275}},"6227":{"varMapping":{"__isSmartRef__":true,"id":6228},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":6229},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6228":{"this":{"__isSmartRef__":true,"id":6161}},"6229":{"timestamp":{"__isSmartRef__":true,"id":6230},"user":"lauritz","tags":[]},"6230":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (Mitteleuropäische Zeit)"},"6231":{"varMapping":{"__isSmartRef__":true,"id":6232},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":6233},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6232":{"this":{"__isSmartRef__":true,"id":6161}},"6233":{"timestamp":{"__isSmartRef__":true,"id":6234},"user":"lauritz","tags":[]},"6234":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (Mitteleuropäische Zeit)"},"6235":{"varMapping":{"__isSmartRef__":true,"id":6236},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":6237},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6236":{"this":{"__isSmartRef__":true,"id":6161}},"6237":{"timestamp":{"__isSmartRef__":true,"id":6238},"user":"lauritz","tags":[]},"6238":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (Mitteleuropäische Zeit)"},"6239":{"varMapping":{"__isSmartRef__":true,"id":6240},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":6241},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6240":{"this":{"__isSmartRef__":true,"id":6161}},"6241":{"timestamp":{"__isSmartRef__":true,"id":6242},"user":"lauritz","tags":[]},"6242":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (Mitteleuropäische Zeit)"},"6243":{"varMapping":{"__isSmartRef__":true,"id":6244},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":6245},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6244":{"this":{"__isSmartRef__":true,"id":6161}},"6245":{"timestamp":{"__isSmartRef__":true,"id":6246},"user":"lauritz","tags":[]},"6246":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (Mitteleuropäische Zeit)"},"6247":{"varMapping":{"__isSmartRef__":true,"id":6248},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6253},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6248":{"this":{"__isSmartRef__":true,"id":6161},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6249}},"6249":{"$super":{"__isSmartRef__":true,"id":6250}},"6250":{"varMapping":{"__isSmartRef__":true,"id":6251},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6252},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6251":{"obj":{"__isSmartRef__":true,"id":6161},"name":"onMouseDown"},"6252":{},"6253":{"timestamp":{"__isSmartRef__":true,"id":6254},"user":"lauritz","tags":[]},"6254":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (Mitteleuropäische Zeit)"},"6255":{"varMapping":{"__isSmartRef__":true,"id":6256},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":6257},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6256":{"this":{"__isSmartRef__":true,"id":6161}},"6257":{"timestamp":{"__isSmartRef__":true,"id":6258},"user":"lauritz","tags":[]},"6258":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (Mitteleuropäische Zeit)"},"6259":{"varMapping":{"__isSmartRef__":true,"id":6260},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6261},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6260":{"this":{"__isSmartRef__":true,"id":6161}},"6261":{"timestamp":{"__isSmartRef__":true,"id":6262},"user":"lauritz","tags":[]},"6262":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (Mitteleuropäische Zeit)"},"6263":{"varMapping":{"__isSmartRef__":true,"id":6264},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6269},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6264":{"this":{"__isSmartRef__":true,"id":6161},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6265}},"6265":{"$super":{"__isSmartRef__":true,"id":6266}},"6266":{"varMapping":{"__isSmartRef__":true,"id":6267},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6268},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6267":{"obj":{"__isSmartRef__":true,"id":6161},"name":"onBlur"},"6268":{},"6269":{"timestamp":{"__isSmartRef__":true,"id":6270},"user":"lauritz","tags":[]},"6270":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (Mitteleuropäische Zeit)"},"6271":{"varMapping":{"__isSmartRef__":true,"id":6272},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":6273},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6272":{"this":{"__isSmartRef__":true,"id":6161}},"6273":{"timestamp":{"__isSmartRef__":true,"id":6274},"user":"lauritz","tags":[]},"6274":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (Mitteleuropäische Zeit)"},"6275":{"varMapping":{"__isSmartRef__":true,"id":6276},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6277},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6276":{"this":{"__isSmartRef__":true,"id":6161}},"6277":{"timestamp":{"__isSmartRef__":true,"id":6278},"user":"lauritz","tags":[]},"6278":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (Mitteleuropäische Zeit)"},"6279":{"submorphs":[],"scripts":[],"id":"2FD80970-B2F6-4FF0-8FAB-4148B157EE51","shape":{"__isSmartRef__":true,"id":6280},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6286},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6283},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":6287},"textChunks":[{"__isSmartRef__":true,"id":6288}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6290},"renderContextTable":{"__isSmartRef__":true,"id":6291},"eventHandler":{"__isSmartRef__":true,"id":6292},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":6293},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5009},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6280":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6281},"_Extent":{"__isSmartRef__":true,"id":6282},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6283},"renderContextTable":{"__isSmartRef__":true,"id":6284},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6285},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6281":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6282":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6283":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6284":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6285":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6286":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6287":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6288":{"style":{"__isSmartRef__":true,"id":6289},"chunkOwner":{"__isSmartRef__":true,"id":6279},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"6289":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6290":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6291":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6292":{"morph":{"__isSmartRef__":true,"id":6279},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6293":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6294":{"submorphs":[],"scripts":[],"id":"1824B686-5C75-4E6D-AB45-5148E6ACE875","shape":{"__isSmartRef__":true,"id":6295},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6301},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6298},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":6302},"textChunks":[{"__isSmartRef__":true,"id":6303}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6305},"renderContextTable":{"__isSmartRef__":true,"id":6306},"eventHandler":{"__isSmartRef__":true,"id":6307},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":6308},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":5009},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6295":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6296},"_Extent":{"__isSmartRef__":true,"id":6297},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6298},"renderContextTable":{"__isSmartRef__":true,"id":6299},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6300},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6296":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6297":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6298":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6299":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6300":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6301":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6302":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6303":{"style":{"__isSmartRef__":true,"id":6304},"chunkOwner":{"__isSmartRef__":true,"id":6294},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"6304":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6305":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6306":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6307":{"morph":{"__isSmartRef__":true,"id":6294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6308":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6309":{"submorphs":[{"__isSmartRef__":true,"id":6310}],"scripts":[],"id":"84D049DA-C973-4D58-9A08-C3A3F06A72F9","shape":{"__isSmartRef__":true,"id":6325},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6341},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6342},"lighterFill":{"__isSmartRef__":true,"id":6328},"label":{"__isSmartRef__":true,"id":6310},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":6351},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":6352},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":6353},"eventHandler":{"__isSmartRef__":true,"id":6354},"distanceToDragEvent":{"__isSmartRef__":true,"id":6355},"priorExtent":{"__isSmartRef__":true,"id":6356},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":5009},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6357},"__LivelyClassName__":"lively.morphic.Button"},"6310":{"submorphs":[],"scripts":[],"id":"CFCA32A3-AB70-4DC3-9C27-BFC6EBD1B897","shape":{"__isSmartRef__":true,"id":6311},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6317},"textColor":{"__isSmartRef__":true,"id":6314},"owner":{"__isSmartRef__":true,"id":6309},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":6318}],"padding":{"__isSmartRef__":true,"id":6320},"_Padding":{"__isSmartRef__":true,"id":6320},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6321},"attributeConnections":[{"__isSmartRef__":true,"id":6322}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":6323},"eventHandler":{"__isSmartRef__":true,"id":6324},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6311":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6312},"_Extent":{"__isSmartRef__":true,"id":6313},"_BorderColor":{"__isSmartRef__":true,"id":6314},"renderContextTable":{"__isSmartRef__":true,"id":6315},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6316},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6312":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6313":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6314":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6316":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6317":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6318":{"style":{"__isSmartRef__":true,"id":6319},"chunkOwner":{"__isSmartRef__":true,"id":6310},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6319":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6320":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6321":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6322":{"sourceObj":{"__isSmartRef__":true,"id":6310},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":6309},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6323":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6324":{"morph":{"__isSmartRef__":true,"id":6310},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6325":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6326},"_Extent":{"__isSmartRef__":true,"id":6327},"_Fill":{"__isSmartRef__":true,"id":6328},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6338},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":6339},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6340},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6326":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6327":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6328":{"stops":[{"__isSmartRef__":true,"id":6329},{"__isSmartRef__":true,"id":6331},{"__isSmartRef__":true,"id":6333},{"__isSmartRef__":true,"id":6335}],"vector":{"__isSmartRef__":true,"id":6337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6329":{"offset":0,"color":{"__isSmartRef__":true,"id":6330}},"6330":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6331":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6332}},"6332":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6333":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6334}},"6334":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6335":{"offset":1,"color":{"__isSmartRef__":true,"id":6336}},"6336":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6337":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6338":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6339":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6340":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6341":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6342":{"stops":[{"__isSmartRef__":true,"id":6343},{"__isSmartRef__":true,"id":6345},{"__isSmartRef__":true,"id":6347},{"__isSmartRef__":true,"id":6349}],"vector":{"__isSmartRef__":true,"id":6337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6343":{"offset":0,"color":{"__isSmartRef__":true,"id":6344}},"6344":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6345":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6346}},"6346":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6347":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6348}},"6348":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6349":{"offset":1,"color":{"__isSmartRef__":true,"id":6350}},"6350":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6351":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6352":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6353":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6354":{"morph":{"__isSmartRef__":true,"id":6309},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6355":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6356":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6357":{"createListMorph":{"__isSmartRef__":true,"id":6358},"getList":{"__isSmartRef__":true,"id":6362},"removeList":{"__isSmartRef__":true,"id":6366},"reset":{"__isSmartRef__":true,"id":6370},"onMouseUp":{"__isSmartRef__":true,"id":6374},"onBlur":{"__isSmartRef__":true,"id":6382},"setTag":{"__isSmartRef__":true,"id":6390}},"6358":{"varMapping":{"__isSmartRef__":true,"id":6359},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":6360},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6359":{"this":{"__isSmartRef__":true,"id":6309}},"6360":{"timestamp":{"__isSmartRef__":true,"id":6361},"user":"lauritz","categories":[]},"6361":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (Mitteleuropäische Zeit)"},"6362":{"varMapping":{"__isSmartRef__":true,"id":6363},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":6364},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6363":{"this":{"__isSmartRef__":true,"id":6309}},"6364":{"timestamp":{"__isSmartRef__":true,"id":6365},"user":"lauritz","tags":[]},"6365":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (Mitteleuropäische Zeit)"},"6366":{"varMapping":{"__isSmartRef__":true,"id":6367},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":6368},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6367":{"this":{"__isSmartRef__":true,"id":6309}},"6368":{"timestamp":{"__isSmartRef__":true,"id":6369},"user":"lauritz","categories":[]},"6369":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (Mitteleuropäische Zeit)"},"6370":{"varMapping":{"__isSmartRef__":true,"id":6371},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":6372},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6371":{"this":{"__isSmartRef__":true,"id":6309}},"6372":{"timestamp":{"__isSmartRef__":true,"id":6373},"user":"lauritz","tags":[]},"6373":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (Mitteleuropäische Zeit)"},"6374":{"varMapping":{"__isSmartRef__":true,"id":6375},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":6380},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6375":{"this":{"__isSmartRef__":true,"id":6309},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6376}},"6376":{"$super":{"__isSmartRef__":true,"id":6377}},"6377":{"varMapping":{"__isSmartRef__":true,"id":6378},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6379},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6378":{"obj":{"__isSmartRef__":true,"id":6309},"name":"onMouseUp"},"6379":{},"6380":{"timestamp":{"__isSmartRef__":true,"id":6381},"user":"lauritz","categories":[]},"6381":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (Mitteleuropäische Zeit)"},"6382":{"varMapping":{"__isSmartRef__":true,"id":6383},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6388},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6383":{"this":{"__isSmartRef__":true,"id":6309},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6384}},"6384":{"$super":{"__isSmartRef__":true,"id":6385}},"6385":{"varMapping":{"__isSmartRef__":true,"id":6386},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6387},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6386":{"obj":{"__isSmartRef__":true,"id":6309},"name":"onBlur"},"6387":{},"6388":{"timestamp":{"__isSmartRef__":true,"id":6389},"user":"lauritz","categories":[]},"6389":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (Mitteleuropäische Zeit)"},"6390":{"varMapping":{"__isSmartRef__":true,"id":6391},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":6392},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6391":{"this":{"__isSmartRef__":true,"id":6309}},"6392":{"timestamp":{"__isSmartRef__":true,"id":6393},"user":"lauritz","categories":[]},"6393":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (Mitteleuropäische Zeit)"},"6394":{"submorphs":[{"__isSmartRef__":true,"id":6395}],"scripts":[],"id":"1B66CD7B-A9E7-485A-B86A-5AC8CB9E069D","shape":{"__isSmartRef__":true,"id":6410},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6414},"lighterFill":{"__isSmartRef__":true,"id":6426},"label":{"__isSmartRef__":true,"id":6395},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6435},"attributeConnections":[{"__isSmartRef__":true,"id":6436}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6472},"renderContextTable":{"__isSmartRef__":true,"id":6473},"eventHandler":{"__isSmartRef__":true,"id":6474},"distanceToDragEvent":{"__isSmartRef__":true,"id":6475},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15"],"_Position":{"__isSmartRef__":true,"id":6476},"owner":{"__isSmartRef__":true,"id":5009},"layout":{"__isSmartRef__":true,"id":6477},"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"6395":{"submorphs":[],"scripts":[],"id":"4BFADF81-309C-4DD9-B64A-719311346929","shape":{"__isSmartRef__":true,"id":6396},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6402},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6403},"_Padding":{"__isSmartRef__":true,"id":6404},"owner":{"__isSmartRef__":true,"id":6394},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6405},"textChunks":[{"__isSmartRef__":true,"id":6406}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6408},"eventHandler":{"__isSmartRef__":true,"id":6409},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6396":{"position":{"__isSmartRef__":true,"id":6397},"_Extent":{"__isSmartRef__":true,"id":6398},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6399},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6400},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6401},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6397":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6398":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6399":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6400":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6401":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6402":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6403":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6404":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6405":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6406":{"style":{"__isSmartRef__":true,"id":6407},"chunkOwner":{"__isSmartRef__":true,"id":6395},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"6407":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6408":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6409":{"morph":{"__isSmartRef__":true,"id":6395},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6410":{"position":{"__isSmartRef__":true,"id":6411},"_Extent":{"__isSmartRef__":true,"id":6412},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6413},"_Fill":{"__isSmartRef__":true,"id":6414},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6424},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6425},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6411":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6412":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6413":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6414":{"stops":[{"__isSmartRef__":true,"id":6415},{"__isSmartRef__":true,"id":6417},{"__isSmartRef__":true,"id":6419},{"__isSmartRef__":true,"id":6421}],"vector":{"__isSmartRef__":true,"id":6423},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6415":{"offset":0,"color":{"__isSmartRef__":true,"id":6416}},"6416":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6417":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6418}},"6418":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6419":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6420}},"6420":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6421":{"offset":1,"color":{"__isSmartRef__":true,"id":6422}},"6422":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6423":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6424":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6425":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6426":{"stops":[{"__isSmartRef__":true,"id":6427},{"__isSmartRef__":true,"id":6429},{"__isSmartRef__":true,"id":6431},{"__isSmartRef__":true,"id":6433}],"vector":{"__isSmartRef__":true,"id":6423},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6427":{"offset":0,"color":{"__isSmartRef__":true,"id":6428}},"6428":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6429":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6430}},"6430":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6431":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6432}},"6432":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6433":{"offset":1,"color":{"__isSmartRef__":true,"id":6434}},"6434":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6435":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6436":{"sourceObj":{"__isSmartRef__":true,"id":6394},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5009},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":6437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6437":{"submorphs":[{"__isSmartRef__":true,"id":6438}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6453},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":6460},"eventHandler":{"__isSmartRef__":true,"id":6461},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":6462},{"__isSmartRef__":true,"id":6463}],"con":{"__isSmartRef__":true,"id":6436},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6464},"__LivelyClassName__":"lively.morphic.Path"},"6438":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6439},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":6450},"eventHandler":{"__isSmartRef__":true,"id":6451},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6452},"owner":{"__isSmartRef__":true,"id":6437},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"6439":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6440},{"__isSmartRef__":true,"id":6441},{"__isSmartRef__":true,"id":6442},{"__isSmartRef__":true,"id":6443}],"renderContextTable":{"__isSmartRef__":true,"id":6444},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6445},"_Extent":{"__isSmartRef__":true,"id":6446},"_Padding":{"__isSmartRef__":true,"id":6447},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6448},"_Fill":{"__isSmartRef__":true,"id":6449},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6440":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6441":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6442":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6443":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6444":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"6445":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6446":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6447":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6448":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6449":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6450":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6451":{"morph":{"__isSmartRef__":true,"id":6438},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6452":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6453":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6454},{"__isSmartRef__":true,"id":6455}],"renderContextTable":{"__isSmartRef__":true,"id":6456},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6457},"_Extent":{"__isSmartRef__":true,"id":6458},"_Padding":{"__isSmartRef__":true,"id":6459},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6448},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6454":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6455":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"6457":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6458":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6459":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6460":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6461":{"morph":{"__isSmartRef__":true,"id":6437},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6462":{"morph":{"__isSmartRef__":true,"id":6437},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6463":{"morph":{"__isSmartRef__":true,"id":6437},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":6438},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6464":{"morphMenuItems":{"__isSmartRef__":true,"id":6465}},"6465":{"varMapping":{"__isSmartRef__":true,"id":6466},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":6471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6466":{"this":{"__isSmartRef__":true,"id":6437},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6467}},"6467":{"$super":{"__isSmartRef__":true,"id":6468}},"6468":{"varMapping":{"__isSmartRef__":true,"id":6469},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6469":{"obj":{"__isSmartRef__":true,"id":6437},"name":"morphMenuItems"},"6470":{},"6471":{},"6472":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6473":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6474":{"morph":{"__isSmartRef__":true,"id":6394},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6475":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6476":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6477":{"centeredHorizontal":false,"moveHorizontal":true},"6478":{"submorphs":[{"__isSmartRef__":true,"id":6479}],"scripts":[],"id":"01C8DA25-56DC-4E36-B7D2-F9D2221B7E9E","shape":{"__isSmartRef__":true,"id":6494},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6498},"lighterFill":{"__isSmartRef__":true,"id":6510},"label":{"__isSmartRef__":true,"id":6479},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6519},"attributeConnections":[{"__isSmartRef__":true,"id":6520}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6556},"renderContextTable":{"__isSmartRef__":true,"id":6557},"eventHandler":{"__isSmartRef__":true,"id":6558},"distanceToDragEvent":{"__isSmartRef__":true,"id":6559},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6"],"layout":{"__isSmartRef__":true,"id":6560},"_Position":{"__isSmartRef__":true,"id":6561},"owner":{"__isSmartRef__":true,"id":5009},"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"6479":{"submorphs":[],"scripts":[],"id":"BF98ABFA-0C22-4D22-A3CE-7F41CE48EAF9","shape":{"__isSmartRef__":true,"id":6480},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6486},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6487},"_Padding":{"__isSmartRef__":true,"id":6488},"owner":{"__isSmartRef__":true,"id":6478},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6489},"textChunks":[{"__isSmartRef__":true,"id":6490}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6492},"eventHandler":{"__isSmartRef__":true,"id":6493},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6480":{"position":{"__isSmartRef__":true,"id":6481},"_Extent":{"__isSmartRef__":true,"id":6482},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6483},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6484},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6485},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6481":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6482":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6483":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6484":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6485":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6486":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6487":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6488":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6489":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6490":{"style":{"__isSmartRef__":true,"id":6491},"chunkOwner":{"__isSmartRef__":true,"id":6479},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6491":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6492":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6493":{"morph":{"__isSmartRef__":true,"id":6479},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6494":{"position":{"__isSmartRef__":true,"id":6495},"_Extent":{"__isSmartRef__":true,"id":6496},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6497},"_Fill":{"__isSmartRef__":true,"id":6498},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6508},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6509},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6495":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6496":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6497":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6498":{"stops":[{"__isSmartRef__":true,"id":6499},{"__isSmartRef__":true,"id":6501},{"__isSmartRef__":true,"id":6503},{"__isSmartRef__":true,"id":6505}],"vector":{"__isSmartRef__":true,"id":6507},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6499":{"offset":0,"color":{"__isSmartRef__":true,"id":6500}},"6500":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6501":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6502}},"6502":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6503":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6504}},"6504":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6505":{"offset":1,"color":{"__isSmartRef__":true,"id":6506}},"6506":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6507":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6508":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6509":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6510":{"stops":[{"__isSmartRef__":true,"id":6511},{"__isSmartRef__":true,"id":6513},{"__isSmartRef__":true,"id":6515},{"__isSmartRef__":true,"id":6517}],"vector":{"__isSmartRef__":true,"id":6507},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6511":{"offset":0,"color":{"__isSmartRef__":true,"id":6512}},"6512":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6513":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6514}},"6514":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6515":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6516}},"6516":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6517":{"offset":1,"color":{"__isSmartRef__":true,"id":6518}},"6518":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6519":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6520":{"sourceObj":{"__isSmartRef__":true,"id":6478},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5505},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":6521},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6521":{"submorphs":[{"__isSmartRef__":true,"id":6522}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6537},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":6544},"eventHandler":{"__isSmartRef__":true,"id":6545},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":6546},{"__isSmartRef__":true,"id":6547}],"con":{"__isSmartRef__":true,"id":6520},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6548},"__LivelyClassName__":"lively.morphic.Path"},"6522":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6523},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":6534},"eventHandler":{"__isSmartRef__":true,"id":6535},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6536},"owner":{"__isSmartRef__":true,"id":6521},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"6523":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6524},{"__isSmartRef__":true,"id":6525},{"__isSmartRef__":true,"id":6526},{"__isSmartRef__":true,"id":6527}],"renderContextTable":{"__isSmartRef__":true,"id":6528},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6529},"_Extent":{"__isSmartRef__":true,"id":6530},"_Padding":{"__isSmartRef__":true,"id":6531},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6532},"_Fill":{"__isSmartRef__":true,"id":6533},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6524":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6525":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6526":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6527":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6528":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"6529":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6530":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6531":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6532":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6533":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6534":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6535":{"morph":{"__isSmartRef__":true,"id":6522},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6536":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6537":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6538},{"__isSmartRef__":true,"id":6539}],"renderContextTable":{"__isSmartRef__":true,"id":6540},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":6541},"_Extent":{"__isSmartRef__":true,"id":6542},"_Padding":{"__isSmartRef__":true,"id":6543},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6532},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6538":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6539":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6540":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"6541":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6542":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6543":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6544":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6545":{"morph":{"__isSmartRef__":true,"id":6521},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6546":{"morph":{"__isSmartRef__":true,"id":6521},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6547":{"morph":{"__isSmartRef__":true,"id":6521},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":6522},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"6548":{"morphMenuItems":{"__isSmartRef__":true,"id":6549}},"6549":{"varMapping":{"__isSmartRef__":true,"id":6550},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":6555},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6550":{"this":{"__isSmartRef__":true,"id":6521},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6551}},"6551":{"$super":{"__isSmartRef__":true,"id":6552}},"6552":{"varMapping":{"__isSmartRef__":true,"id":6553},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6554},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6553":{"obj":{"__isSmartRef__":true,"id":6521},"name":"morphMenuItems"},"6554":{},"6555":{},"6556":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6557":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6558":{"morph":{"__isSmartRef__":true,"id":6478},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6559":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6560":{"centeredHorizontal":false,"moveHorizontal":true},"6561":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6562":{"submorphs":[{"__isSmartRef__":true,"id":6563}],"scripts":[],"id":"6F4BC2A9-F86B-4123-9968-70AE72B67B0A","shape":{"__isSmartRef__":true,"id":6578},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6594},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6582},"lighterFill":{"__isSmartRef__":true,"id":6595},"label":{"__isSmartRef__":true,"id":6563},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6604},"attributeConnections":[{"__isSmartRef__":true,"id":6605}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":6606},"renderContextTable":{"__isSmartRef__":true,"id":6607},"eventHandler":{"__isSmartRef__":true,"id":6608},"distanceToDragEvent":{"__isSmartRef__":true,"id":6609},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3"],"owner":{"__isSmartRef__":true,"id":5009},"_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button"},"6563":{"submorphs":[],"scripts":[],"id":"8C34E9BD-48D4-44E9-889C-E33BCA16E614","shape":{"__isSmartRef__":true,"id":6564},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6570},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":6571},"_Padding":{"__isSmartRef__":true,"id":6572},"owner":{"__isSmartRef__":true,"id":6562},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":6573},"textChunks":[{"__isSmartRef__":true,"id":6574}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":6576},"eventHandler":{"__isSmartRef__":true,"id":6577},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"6564":{"position":{"__isSmartRef__":true,"id":6565},"_Extent":{"__isSmartRef__":true,"id":6566},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6567},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6568},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":6569},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6565":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6566":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6567":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6568":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6569":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6570":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6571":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6572":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6573":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6574":{"style":{"__isSmartRef__":true,"id":6575},"chunkOwner":{"__isSmartRef__":true,"id":6563},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6575":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6576":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"6577":{"morph":{"__isSmartRef__":true,"id":6563},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6578":{"position":{"__isSmartRef__":true,"id":6579},"_Extent":{"__isSmartRef__":true,"id":6580},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":6581},"_Fill":{"__isSmartRef__":true,"id":6582},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6592},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6593},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6579":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6580":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6581":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6582":{"stops":[{"__isSmartRef__":true,"id":6583},{"__isSmartRef__":true,"id":6585},{"__isSmartRef__":true,"id":6587},{"__isSmartRef__":true,"id":6589}],"vector":{"__isSmartRef__":true,"id":6591},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6583":{"offset":0,"color":{"__isSmartRef__":true,"id":6584}},"6584":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6585":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6586}},"6586":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6587":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6588}},"6588":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6589":{"offset":1,"color":{"__isSmartRef__":true,"id":6590}},"6590":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6591":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6592":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6593":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6594":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6595":{"stops":[{"__isSmartRef__":true,"id":6596},{"__isSmartRef__":true,"id":6598},{"__isSmartRef__":true,"id":6600},{"__isSmartRef__":true,"id":6602}],"vector":{"__isSmartRef__":true,"id":6591},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6596":{"offset":0,"color":{"__isSmartRef__":true,"id":6597}},"6597":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6598":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6599}},"6599":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6600":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6601}},"6601":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6602":{"offset":1,"color":{"__isSmartRef__":true,"id":6603}},"6603":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6604":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6605":{"sourceObj":{"__isSmartRef__":true,"id":6562},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5009},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6606":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6607":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6608":{"morph":{"__isSmartRef__":true,"id":6562},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6609":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6610":{"target":{"__isSmartRef__":true,"id":5009},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":63854,"suspended":false,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TargetScript"},"6611":{"position":{"__isSmartRef__":true,"id":6612},"_Extent":{"__isSmartRef__":true,"id":6613},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6614},"_Fill":{"__isSmartRef__":true,"id":6615},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6616},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6617},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6612":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6613":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6614":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6615":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6616":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"6617":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6618":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":6619}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6619":{"date":{"__isSmartRef__":true,"id":6620},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"6620":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (Mitteleuropäische Sommerzeit)"},"6621":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"6622":{"morph":{"__isSmartRef__":true,"id":5009},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6623":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6624":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"6625":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6626":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6627":{},"6628":{"displayInitialScript":{"__isSmartRef__":true,"id":6629},"displayJavaScriptSource":{"__isSmartRef__":true,"id":6633},"displaySourceForConnection":{"__isSmartRef__":true,"id":6637},"displaySourceForScript":{"__isSmartRef__":true,"id":6641},"generateSourceForConnection":{"__isSmartRef__":true,"id":6645},"generateSourceForScript":{"__isSmartRef__":true,"id":6649},"generateTargetCode":{"__isSmartRef__":true,"id":6653},"newConnection":{"__isSmartRef__":true,"id":6657},"newScript":{"__isSmartRef__":true,"id":6661},"reset":{"__isSmartRef__":true,"id":6665},"selectChangedContent":{"__isSmartRef__":true,"id":6669},"setTarget":{"__isSmartRef__":true,"id":6673},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":6677},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":6681},"updateLists":{"__isSmartRef__":true,"id":6685},"onShutdown":{"__isSmartRef__":true,"id":6689},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":6693},"update":{"__isSmartRef__":true,"id":6697},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":6701},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":6705},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":6709},"printTags":{"__isSmartRef__":true,"id":6717},"setTag":{"__isSmartRef__":true,"id":6721},"runScript":{"__isSmartRef__":true,"id":6725},"openPartTestRunner":{"__isSmartRef__":true,"id":6729}},"6629":{"varMapping":{"__isSmartRef__":true,"id":6630},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6631},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6630":{"this":{"__isSmartRef__":true,"id":5009}},"6631":{"timestamp":{"__isSmartRef__":true,"id":6632},"user":"lauritz","tags":[]},"6632":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (Mitteleuropäische Zeit)"},"6633":{"varMapping":{"__isSmartRef__":true,"id":6634},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6635},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6634":{"this":{"__isSmartRef__":true,"id":5009}},"6635":{"timestamp":{"__isSmartRef__":true,"id":6636},"user":"lauritz","tags":[]},"6636":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"6637":{"varMapping":{"__isSmartRef__":true,"id":6638},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":6639},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6638":{"this":{"__isSmartRef__":true,"id":5009}},"6639":{"timestamp":{"__isSmartRef__":true,"id":6640},"user":"conradcalmez","tags":[]},"6640":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (Mitteleuropäische Zeit)"},"6641":{"varMapping":{"__isSmartRef__":true,"id":6642},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":6643},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6642":{"this":{"__isSmartRef__":true,"id":5009}},"6643":{"timestamp":{"__isSmartRef__":true,"id":6644},"user":"lauritz","tags":[]},"6644":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (Mitteleuropäische Zeit)"},"6645":{"varMapping":{"__isSmartRef__":true,"id":6646},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":6647},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6646":{"this":{"__isSmartRef__":true,"id":5009}},"6647":{"timestamp":{"__isSmartRef__":true,"id":6648},"user":"lauritz","tags":[]},"6648":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"6649":{"varMapping":{"__isSmartRef__":true,"id":6650},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":6651},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6650":{"this":{"__isSmartRef__":true,"id":5009}},"6651":{"timestamp":{"__isSmartRef__":true,"id":6652},"user":"lauritz","tags":[]},"6652":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (Mitteleuropäische Zeit)"},"6653":{"varMapping":{"__isSmartRef__":true,"id":6654},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":6655},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6654":{"this":{"__isSmartRef__":true,"id":5009}},"6655":{"timestamp":{"__isSmartRef__":true,"id":6656},"user":"lauritz","tags":[]},"6656":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"6657":{"varMapping":{"__isSmartRef__":true,"id":6658},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6659},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6658":{"this":{"__isSmartRef__":true,"id":5009}},"6659":{"timestamp":{"__isSmartRef__":true,"id":6660},"user":"lauritz","tags":[]},"6660":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (Mitteleuropäische Zeit)"},"6661":{"varMapping":{"__isSmartRef__":true,"id":6662},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6663},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6662":{"this":{"__isSmartRef__":true,"id":5009}},"6663":{"timestamp":{"__isSmartRef__":true,"id":6664},"user":"lauritz","tags":[]},"6664":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (Mitteleuropäische Zeit)"},"6665":{"varMapping":{"__isSmartRef__":true,"id":6666},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":6667},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6666":{"this":{"__isSmartRef__":true,"id":5009}},"6667":{"timestamp":{"__isSmartRef__":true,"id":6668},"user":"conradcalmez","tags":[]},"6668":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (Mitteleuropäische Zeit)"},"6669":{"varMapping":{"__isSmartRef__":true,"id":6670},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i