(http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:27831:60)\n at Text. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:27832:32)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:14112:29)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:14112:29)\n at withLayers (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:17709: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?077722693feab57451f61a80f0b56c06:17788:24\n at wrapped (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:9927:32)\n at Text.boundEval (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:14112:29))\n at Text.doSave (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?077722693feab57451f61a80f0b56c06:14112:29))","draggingEnabled":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":5285},"eventHandler":{"__isSmartRef__":true,"id":5286},"eventStartPos":{"__isSmartRef__":true,"id":5287},"attributeConnections":[{"__isSmartRef__":true,"id":5288}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"worldMenuOpened":true,"clickedOnMorphTime":1334003866569,"prevScroll":[0,0],"savedWorldAsURL":{"__isSmartRef__":true,"id":5293},"loadingMorph":{"__isSmartRef__":true,"id":5294},"pageProto":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":125}],"scripts":[],"id":"BFEEAFFB-CD8C-4B41-A995-DDD63C79A9A2","shape":{"__isSmartRef__":true,"id":140},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":147},"showsHalos":false,"name":"PrimitiveShapes","partsBinMetaInfo":{"__isSmartRef__":true,"id":148},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":149},"eventHandler":{"__isSmartRef__":true,"id":150},"priorExtent":{"__isSmartRef__":true,"id":151},"layout":{"__isSmartRef__":true,"id":152},"derivationIds":[2593],"moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"_Rotation":0,"_Scale":0.5630923378369916,"distanceToDragEvent":{"__isSmartRef__":true,"id":153},"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Box"},"2":{"submorphs":[],"scripts":[],"id":"4C9CF079-EDF0-469E-B573-2385844831D1","renderContextTable":{"__isSmartRef__":true,"id":3},"shape":{"__isSmartRef__":true,"id":4},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":14},"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":15},"name":"Line","partsBinMetaInfo":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":18}],"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":19},"derivationIds":[2594],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Path","withLayers":["Global.ScriptListUpdateLayer"]},"3":{"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"},"4":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":5},{"__isSmartRef__":true,"id":6}],"_PathElements":[{"__isSmartRef__":true,"id":7},{"__isSmartRef__":true,"id":8}],"renderContextTable":{"__isSmartRef__":true,"id":9},"_Position":{"__isSmartRef__":true,"id":10},"_Extent":{"__isSmartRef__":true,"id":11},"__SourceModuleName__":"Global.lively.morphic.PathShapes","_BorderWidth":2.7760000000000002,"_BorderRadius":0,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":12},"_Opacity":1,"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":13},"__LivelyClassName__":"lively.morphic.Shapes.Path"},"5":{"x":10,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6":{"x":96,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7":{"isAbsolute":true,"x":10,"y":-1,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"8":{"isAbsolute":true,"x":96,"y":50,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"9":{"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"},"10":{"x":8,"y":-3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"11":{"x":89,"y":54,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"12":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"13":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"14":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"15":{"x":505,"y":28,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"16":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"17":{"morph":{"__isSmartRef__":true,"id":2},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"18":{"morph":{"__isSmartRef__":true,"id":2},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"19":{},"20":{"submorphs":[],"scripts":[{"__isSmartRef__":true,"id":21}],"id":"3B4D27EC-AF21-4A15-B22A-A80C9BAC595A","renderContextTable":{"__isSmartRef__":true,"id":22},"shape":{"__isSmartRef__":true,"id":23},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":52},"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":53},"name":"RotatingStar","partsBinMetaInfo":{"__isSmartRef__":true,"id":54},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","owner":{"__isSmartRef__":true,"id":1},"controlPoints":[{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":65}],"layout":{"__isSmartRef__":true,"id":66},"derivationIds":[2598],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":67520.31280048104,"_Scale":0.46687089035374,"prevScroll":[0,0],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.Path"},"21":{"target":{"__isSmartRef__":true,"id":20},"selector":"rotate","args":[0.6],"stopped":false,"tickTime":40,"currentTimeout":358212,"__SourceModuleName__":"Global.lively.morphic.Core","suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript"},"22":{"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"},"23":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":34}],"_PathElements":[{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36},{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":41},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":43},{"__isSmartRef__":true,"id":44},{"__isSmartRef__":true,"id":45}],"renderContextTable":{"__isSmartRef__":true,"id":46},"_Position":{"__isSmartRef__":true,"id":47},"_Extent":{"__isSmartRef__":true,"id":48},"_BorderWidth":0.444,"_BorderRadius":0,"_BorderColor":{"__isSmartRef__":true,"id":49},"_Fill":{"__isSmartRef__":true,"id":50},"__SourceModuleName__":"Global.lively.morphic.PathShapes","_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.morphic.Shapes.Path"},"24":{"x":39,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25":{"x":80.90169943749474,"y":58.778525229247315,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"26":{"x":12.051662780622951,"y":37.091204135510985,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"27":{"x":-30.901699437494734,"y":95.10565162951536,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"28":{"x":-31.551662780622944,"y":22.923624839406457,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"29":{"x":-100,"y":1.2246063538223773e-14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"30":{"x":-31.551662780622955,"y":-22.923624839406447,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"31":{"x":-30.901699437494756,"y":-95.10565162951535,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"32":{"x":12.051662780622943,"y":-37.09120413551099,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"33":{"x":80.90169943749473,"y":-58.778525229247336,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"34":{"x":39,"y":-9.551929559814543e-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"35":{"isAbsolute":true,"x":39,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"36":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"37":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"38":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"39":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"40":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"41":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"42":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"43":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"44":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"45":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"46":{"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"},"47":{"x":-101,"y":-96.10565162951535,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"48":{"x":181.90169943749476,"y":191.21130325903073,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"49":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"50":{"r":0.8,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"51":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"52":{"morph":{"__isSmartRef__":true,"id":20},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"53":{"x":835,"y":51,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"54":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Demos/","__SourceModuleName__":"Global.lively.PartsBin","partName":"RotatingStar","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"55":{"morph":{"__isSmartRef__":true,"id":20},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"56":{"morph":{"__isSmartRef__":true,"id":20},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"57":{"morph":{"__isSmartRef__":true,"id":20},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"58":{"morph":{"__isSmartRef__":true,"id":20},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"59":{"morph":{"__isSmartRef__":true,"id":20},"index":4,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"60":{"morph":{"__isSmartRef__":true,"id":20},"index":5,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"61":{"morph":{"__isSmartRef__":true,"id":20},"index":6,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"62":{"morph":{"__isSmartRef__":true,"id":20},"index":7,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"63":{"morph":{"__isSmartRef__":true,"id":20},"index":8,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"64":{"morph":{"__isSmartRef__":true,"id":20},"index":9,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"65":{"morph":{"__isSmartRef__":true,"id":20},"index":10,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"66":{},"67":{"rotate":{"__isSmartRef__":true,"id":68},"getHaloClasses":{"__isSmartRef__":true,"id":71},"getGrabShadow":{"__isSmartRef__":true,"id":78}},"68":{"varMapping":{"__isSmartRef__":true,"id":69},"source":"function rotate() {\n this.rotateBy(0.06)\n this.halos && this.halos.length > 0 && this.halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":70},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"69":{"this":{"__isSmartRef__":true,"id":20}},"70":{},"71":{"varMapping":{"__isSmartRef__":true,"id":72},"source":"function getHaloClasses() {\n return $super()\n .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":77},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"72":{"this":{"__isSmartRef__":true,"id":20},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":73}},"73":{"$super":{"__isSmartRef__":true,"id":74}},"74":{"varMapping":{"__isSmartRef__":true,"id":75},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":76},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"75":{"obj":{"__isSmartRef__":true,"id":20},"name":"getHaloClasses"},"76":{},"77":{},"78":{"varMapping":{"__isSmartRef__":true,"id":79},"source":"function getGrabShadow() {\n var shadow = $super();\n shadow.addScript(this.rotate);\n shadow.startStepping(40, 'rotate')\n return shadow;\n}","funcProperties":{"__isSmartRef__":true,"id":84},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"79":{"this":{"__isSmartRef__":true,"id":20},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":80}},"80":{"$super":{"__isSmartRef__":true,"id":81}},"81":{"varMapping":{"__isSmartRef__":true,"id":82},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":83},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"82":{"obj":{"__isSmartRef__":true,"id":20},"name":"getGrabShadow"},"83":{},"84":{},"85":{"submorphs":[],"scripts":[],"id":"C0FC0DBE-E46D-4578-B9D3-44A67AF8432B","renderContextTable":{"__isSmartRef__":true,"id":86},"shape":{"__isSmartRef__":true,"id":87},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":102},"_Position":{"__isSmartRef__":true,"id":103},"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":107}],"layout":{"__isSmartRef__":true,"id":108},"name":"Triangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":109},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","owner":{"__isSmartRef__":true,"id":1},"derivationIds":[2599],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Path"},"86":{"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"},"87":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":91}],"_PathElements":[{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":95}],"renderContextTable":{"__isSmartRef__":true,"id":96},"_Position":{"__isSmartRef__":true,"id":97},"_Extent":{"__isSmartRef__":true,"id":98},"_Fill":{"__isSmartRef__":true,"id":99},"_BorderWidth":0.7400000000000001,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":100},"__SourceModuleName__":"Global.lively.morphic.PathShapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":101},"__LivelyClassName__":"lively.morphic.Shapes.Path"},"88":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"89":{"x":100,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"90":{"x":50,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"91":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"92":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"93":{"isAbsolute":true,"x":100,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"94":{"isAbsolute":true,"x":50,"y":40,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"95":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"96":{"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"},"97":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"98":{"x":101,"y":41,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"99":{"r":0,"g":0.8980392156862745,"b":0.6196078431372549,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"100":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"101":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"102":{"morph":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"103":{"x":363,"y":36,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"104":{"morph":{"__isSmartRef__":true,"id":85},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"105":{"morph":{"__isSmartRef__":true,"id":85},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"106":{"morph":{"__isSmartRef__":true,"id":85},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"107":{"morph":{"__isSmartRef__":true,"id":85},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"108":{},"109":{"partName":"Triangle","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"110":{"submorphs":[],"scripts":[],"id":"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","shape":{"__isSmartRef__":true,"id":111},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":119},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":120},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":121},"eventHandler":{"__isSmartRef__":true,"id":122},"owner":{"__isSmartRef__":true,"id":1},"priorExtent":{"__isSmartRef__":true,"id":123},"derivationIds":[2596],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":124},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"111":{"position":{"__isSmartRef__":true,"id":112},"_Extent":{"__isSmartRef__":true,"id":113},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":114},"_Fill":{"__isSmartRef__":true,"id":115},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":116},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":117},"_Position":{"__isSmartRef__":true,"id":118},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"112":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"113":{"x":167.4366430423843,"y":85.64125969182129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"114":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"115":{"r":0.7215686274509804,"g":0.3058823529411765,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"116":{"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"},"117":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"118":{"x":-15.98316900309942,"y":106.55446002067433,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"119":{"x":-7.638615005168283,"y":-83.84587634125774,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"120":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"121":{"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"},"122":{"morph":{"__isSmartRef__":true,"id":110},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"123":{"x":168.4366430423843,"y":85.64125969182129,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"124":{"x":82.30124558109586,"y":-13.787029473010307,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"125":{"submorphs":[],"scripts":[],"id":"14D0E431-0D35-41C6-85B6-360EE35DBCD6","shape":{"__isSmartRef__":true,"id":126},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":134},"name":"Ellipse","partsBinMetaInfo":{"__isSmartRef__":true,"id":135},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":136},"eventHandler":{"__isSmartRef__":true,"id":137},"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":138},"priorExtent":{"__isSmartRef__":true,"id":139},"derivationIds":[2597],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph"},"126":{"position":{"__isSmartRef__":true,"id":127},"_Extent":{"__isSmartRef__":true,"id":128},"_Fill":{"__isSmartRef__":true,"id":129},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":130},"_Position":{"__isSmartRef__":true,"id":131},"_BorderWidth":1.332,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":132},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":133},"__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"128":{"x":131,"y":58,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"129":{"r":0.13725490196078433,"g":0.6470588235294118,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"130":{"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"},"131":{"x":-67,"y":-27,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"132":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"133":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"134":{"x":254.5686463309213,"y":54.327723001033746,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"135":{"partsSpaceName":"PartsBin/Basic/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"136":{"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"},"137":{"morph":{"__isSmartRef__":true,"id":125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"138":{},"139":{"x":131,"y":59,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"140":{"position":{"__isSmartRef__":true,"id":141},"_Extent":{"__isSmartRef__":true,"id":142},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":143},"_Fill":{"__isSmartRef__":true,"id":144},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":145},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":146},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"141":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"142":{"x":1055.2967056938885,"y":88.24092332988756,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"143":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"144":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"145":{"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"},"146":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"147":{"x":19.00000000000005,"y":923.0000000000003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"148":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"all primitive shapes in a box, including a rotating star!","migrationLevel":2,"partName":"PrimitiveShapes","revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"149":{"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"},"150":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"151":{"x":1053.5207980268772,"y":88.24092332988756,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"152":{},"153":{"x":397.99999999999994,"y":-13.000000000000341,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"154":{"submorphs":[],"scripts":[],"id":"D74DD564-0B96-4849-8838-CB8A636E223A","shape":{"__isSmartRef__":true,"id":155},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":163},"showsHalos":false,"name":"Stack","partsBinMetaInfo":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":165},"eventHandler":{"__isSmartRef__":true,"id":166},"priorExtent":{"__isSmartRef__":true,"id":167},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":168},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"partTests":{"__isSmartRef__":true,"id":169},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":170},"__LivelyClassName__":"lively.morphic.Box"},"155":{"position":{"__isSmartRef__":true,"id":156},"_Extent":{"__isSmartRef__":true,"id":157},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":158},"_Fill":{"__isSmartRef__":true,"id":159},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":160},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":161},"_Position":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"156":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"157":{"x":342.4366430423843,"y":288.6412596918213,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"158":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"159":{"r":0.7215686274509804,"g":0.3058823529411765,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"160":{"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"},"161":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"162":{"x":-15.98316900309942,"y":106.55446002067433,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"163":{"x":1253.6987544189033,"y":479.7870294730102,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"164":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"165":{"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"},"166":{"morph":{"__isSmartRef__":true,"id":154},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"167":{"x":342.4366430423843,"y":287.6412596918213,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"168":{"x":237.2844145841963,"y":-6.3414894936845485,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"169":{},"170":{"newStack":{"__isSmartRef__":true,"id":171},"initialize":{"__isSmartRef__":true,"id":175},"newPage":{"__isSmartRef__":true,"id":183},"showPageNum":{"__isSmartRef__":true,"id":187},"removePageSpecific":{"__isSmartRef__":true,"id":191},"addPageSpecific":{"__isSmartRef__":true,"id":195},"loadPageText":{"__isSmartRef__":true,"id":199},"demo":{"__isSmartRef__":true,"id":203},"bePerPageText":{"__isSmartRef__":true,"id":207}},"171":{"varMapping":{"__isSmartRef__":true,"id":172},"source":"function newStack() {\n stk = this.copy();\n this.owner.addMorph(stk);\n stk.initialize();\n return stk;\n}","funcProperties":{"__isSmartRef__":true,"id":173},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"172":{"this":{"__isSmartRef__":true,"id":154}},"173":{"timestamp":{"__isSmartRef__":true,"id":174},"user":"TedKaehler","tags":[]},"174":{"isSerializedDate":true,"string":"Thu Apr 05 2012 14:07:37 GMT-0700 (PDT)"},"175":{"varMapping":{"__isSmartRef__":true,"id":176},"source":"function initialize() {\n this.removeAllMorphs();\n this.pageIndex = 0; // 1-order\n this.pageArray = [];\n this.showBackground = null;\n this.baseBackground = this.owner.pageProto;\n Object.subclass(\"PageData\", \n \"documentation\", {documentation: \"Stores data for one page\"}, \n \"initializing\", {initialize: function (background, pageMorphs) {\n this.background = background || null;\n this.pageMorphs = pageMorphs || [];\n return this;}});\n var newBKgnd = this.baseBackground.copy();\n newBKgnd.stack = this;\n this.newPage(newBKgnd);\n}","funcProperties":{"__isSmartRef__":true,"id":181},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"176":{"this":{"__isSmartRef__":true,"id":154},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":177}},"177":{"$super":{"__isSmartRef__":true,"id":178}},"178":{"varMapping":{"__isSmartRef__":true,"id":179},"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":180},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"179":{"obj":{"__isSmartRef__":true,"id":154},"name":"initialize"},"180":{},"181":{"timestamp":{"__isSmartRef__":true,"id":182},"user":"TedKaehler","tags":[]},"182":{"isSerializedDate":true,"string":"Thu Apr 05 2012 14:23:54 GMT-0700 (PDT)"},"183":{"varMapping":{"__isSmartRef__":true,"id":184},"source":"function newPage(aBackground) {\n this.removeAllMorphs();\n this.addMorph(aBackground);\n aBackground.setPosition(pt(5,5)); // offset for now\n var pgData = new PageData(aBackground, []);\n this.pageArray.splice(this.pageIndex - 1, 0, pgData);\n this.pageIndex = this.pageIndex + 1; // 1-order\n}","funcProperties":{"__isSmartRef__":true,"id":185},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"184":{"this":{"__isSmartRef__":true,"id":154}},"185":{"timestamp":{"__isSmartRef__":true,"id":186},"user":"TedKaehler","tags":[]},"186":{"isSerializedDate":true,"string":"Fri Apr 06 2012 16:21:34 GMT-0700 (PDT)"},"187":{"varMapping":{"__isSmartRef__":true,"id":188},"source":"function showPageNum(newIndex) {\n // turn to a page and show it. newIndex is 1 based.\n if (this.pageIndex == newIndex) {return this;}\n if (newIndex > this.pageArray.length) {return this;} // later wrap\n var oldData = this.pageArray[this.pageIndex - 1];\n if (oldData==undefined) {this.error('lost current page')};\n var newData = this.pageArray[newIndex - 1];\n if (newData==undefined) {this.error('page number out of range')};\n this.removePageSpecific(oldData); // includes storing text\n this.pageIndex = newIndex;\n if (! oldData.background === newData.background) { //change backgrounds\n this.removeAllMorphs();\n this.addMorph(newData.background);\n };\n this.addPageSpecific(newData); // includes loading text\n }","funcProperties":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"188":{"this":{"__isSmartRef__":true,"id":154}},"189":{"timestamp":{"__isSmartRef__":true,"id":190},"user":"TedKaehler","tags":[]},"190":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:37:13 GMT-0700 (PDT)"},"191":{"varMapping":{"__isSmartRef__":true,"id":192},"source":"function removePageSpecific(pgData) {\n // remove page specific morphs and put them in pageMorphs\n var subs = pgData.background.submorphs;\n var len = subs.length;\n var mm = null;\n pgData.pageMorphs = [];\n for(var ii=0; ii=0; ii--) { // reverse\n pgData.background.addMorph(pgData.pageMorphs[ii]);\n };\n this.loadPageText(pgData);\n}","funcProperties":{"__isSmartRef__":true,"id":197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"196":{"this":{"__isSmartRef__":true,"id":154}},"197":{"timestamp":{"__isSmartRef__":true,"id":198},"user":"TedKaehler","tags":[]},"198":{"isSerializedDate":true,"string":"Fri Apr 06 2012 17:33:32 GMT-0700 (PDT)"},"199":{"varMapping":{"__isSmartRef__":true,"id":200},"source":"function loadPageText(pgData) {\n // take text from property fldNameContents in pageData nd put it into its background.\n var subs = pgData.background.submorphs;\n var len = subs.length;\n var mm = null;\n for(var ii=0; ii -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":1467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1466":{"this":{"__isSmartRef__":true,"id":288}},"1467":{},"1468":{"varMapping":{"__isSmartRef__":true,"id":1469},"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":1470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1469":{"this":{"__isSmartRef__":true,"id":288}},"1470":{},"1471":{"varMapping":{"__isSmartRef__":true,"id":1472},"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":1473},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1472":{"this":{"__isSmartRef__":true,"id":288}},"1473":{},"1474":{"varMapping":{"__isSmartRef__":true,"id":1475},"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":1476},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1475":{"this":{"__isSmartRef__":true,"id":288}},"1476":{},"1477":{"varMapping":{"__isSmartRef__":true,"id":1478},"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":1677},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1676":{"this":{"__isSmartRef__":true,"id":1623}},"1677":{"timestamp":{"__isSmartRef__":true,"id":1678},"user":"lauritz","categories":[]},"1678":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:46:54 GMT-0800 (PST)"},"1679":{"submorphs":[{"__isSmartRef__":true,"id":1680}],"scripts":[],"id":"05E4E14F-C49B-4B0C-979B-03AD687CE983","shape":{"__isSmartRef__":true,"id":1695},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1711},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1698},"lighterFill":{"__isSmartRef__":true,"id":1712},"label":{"__isSmartRef__":true,"id":1680},"attributeConnections":[{"__isSmartRef__":true,"id":1721}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1723},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1724},"renderContextTable":{"__isSmartRef__":true,"id":1725},"priorExtent":{"__isSmartRef__":true,"id":1726},"owner":{"__isSmartRef__":true,"id":270},"eventHandler":{"__isSmartRef__":true,"id":1727},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":270},"distanceToDragEvent":{"__isSmartRef__":true,"id":1728},"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":1729},"__LivelyClassName__":"lively.morphic.Button"},"1680":{"submorphs":[],"scripts":[],"id":"1DDCF1FF-802B-4AB3-8B61-43B34156BC40","shape":{"__isSmartRef__":true,"id":1681},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1687},"textColor":{"__isSmartRef__":true,"id":1684},"owner":{"__isSmartRef__":true,"id":1679},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1688}],"padding":{"__isSmartRef__":true,"id":1690},"_Padding":{"__isSmartRef__":true,"id":1691},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1692},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1693},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1694},"_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"},"1681":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1682},"_Extent":{"__isSmartRef__":true,"id":1683},"_BorderColor":{"__isSmartRef__":true,"id":1684},"renderContextTable":{"__isSmartRef__":true,"id":1685},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1686},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1682":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1683":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1684":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1685":{"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"},"1686":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1687":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1688":{"style":{"__isSmartRef__":true,"id":1689},"morph":{"__isSmartRef__":true,"id":1680},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1680},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"1689":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1690":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1691":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1692":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1693":{"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"},"1694":{"morph":{"__isSmartRef__":true,"id":1680},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1695":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1696},"_Extent":{"__isSmartRef__":true,"id":1697},"_Fill":{"__isSmartRef__":true,"id":1698},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1708},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1709},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1710},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1696":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1697":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1698":{"stops":[{"__isSmartRef__":true,"id":1699},{"__isSmartRef__":true,"id":1701},{"__isSmartRef__":true,"id":1703},{"__isSmartRef__":true,"id":1705}],"vector":{"__isSmartRef__":true,"id":1707},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1699":{"offset":0,"color":{"__isSmartRef__":true,"id":1700}},"1700":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1701":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1702}},"1702":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1703":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1704}},"1704":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1705":{"offset":1,"color":{"__isSmartRef__":true,"id":1706}},"1706":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1707":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1708":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1709":{"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"},"1710":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1711":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1712":{"stops":[{"__isSmartRef__":true,"id":1713},{"__isSmartRef__":true,"id":1715},{"__isSmartRef__":true,"id":1717},{"__isSmartRef__":true,"id":1719}],"vector":{"__isSmartRef__":true,"id":1707},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1713":{"offset":0,"color":{"__isSmartRef__":true,"id":1714}},"1714":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1715":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1716}},"1716":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1717":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1718}},"1718":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1719":{"offset":1,"color":{"__isSmartRef__":true,"id":1720}},"1720":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1721":{"sourceObj":{"__isSmartRef__":true,"id":1679},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1679},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1722},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1722":{"source":{"__isSmartRef__":true,"id":1679},"target":{"__isSmartRef__":true,"id":1679}},"1723":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1724":{"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"},"1725":{"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"},"1726":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1727":{"morph":{"__isSmartRef__":true,"id":1679},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1728":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1729":{"deleteSelectedScript":{"__isSmartRef__":true,"id":1730}},"1730":{"varMapping":{"__isSmartRef__":true,"id":1731},"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":1732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1731":{"this":{"__isSmartRef__":true,"id":1679}},"1732":{"timestamp":{"__isSmartRef__":true,"id":1733},"user":"lauritz"},"1733":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:12:21 GMT-0800 (PST)"},"1734":{"submorphs":[{"__isSmartRef__":true,"id":1735}],"scripts":[],"id":"52AA595C-AD28-4DCA-9CF1-A99F472AFA0E","shape":{"__isSmartRef__":true,"id":1750},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1766},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1753},"lighterFill":{"__isSmartRef__":true,"id":1767},"label":{"__isSmartRef__":true,"id":1735},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1776},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1777},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1778},"eventHandler":{"__isSmartRef__":true,"id":1779},"distanceToDragEvent":{"__isSmartRef__":true,"id":1780},"priorExtent":{"__isSmartRef__":true,"id":1781},"owner":{"__isSmartRef__":true,"id":270},"textString":"","selection":{"__isSmartRef__":true,"id":1782},"_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":1799},"__LivelyClassName__":"lively.morphic.Button"},"1735":{"submorphs":[],"scripts":[],"id":"AA2CA099-F1F5-452E-A1A9-5384AB2BC8C1","shape":{"__isSmartRef__":true,"id":1736},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1742},"textColor":{"__isSmartRef__":true,"id":1739},"owner":{"__isSmartRef__":true,"id":1734},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1743}],"padding":{"__isSmartRef__":true,"id":1745},"_Padding":{"__isSmartRef__":true,"id":1745},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1746},"attributeConnections":[{"__isSmartRef__":true,"id":1747}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1748},"eventHandler":{"__isSmartRef__":true,"id":1749},"_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"},"1736":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1737},"_Extent":{"__isSmartRef__":true,"id":1738},"_BorderColor":{"__isSmartRef__":true,"id":1739},"renderContextTable":{"__isSmartRef__":true,"id":1740},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1741},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1737":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1738":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1739":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1740":{"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"},"1741":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1742":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1743":{"style":{"__isSmartRef__":true,"id":1744},"chunkOwner":{"__isSmartRef__":true,"id":1735},"storedString":"Stack","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1744":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1745":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1746":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1747":{"sourceObj":{"__isSmartRef__":true,"id":1735},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1734},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1748":{"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"},"1749":{"morph":{"__isSmartRef__":true,"id":1735},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1750":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1751},"_Extent":{"__isSmartRef__":true,"id":1752},"_Fill":{"__isSmartRef__":true,"id":1753},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1763},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1764},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1765},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1751":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1752":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1753":{"stops":[{"__isSmartRef__":true,"id":1754},{"__isSmartRef__":true,"id":1756},{"__isSmartRef__":true,"id":1758},{"__isSmartRef__":true,"id":1760}],"vector":{"__isSmartRef__":true,"id":1762},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1754":{"offset":0,"color":{"__isSmartRef__":true,"id":1755}},"1755":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1756":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1757}},"1757":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1758":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1759}},"1759":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1760":{"offset":1,"color":{"__isSmartRef__":true,"id":1761}},"1761":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1762":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1763":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1764":{"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"},"1765":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1766":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1767":{"stops":[{"__isSmartRef__":true,"id":1768},{"__isSmartRef__":true,"id":1770},{"__isSmartRef__":true,"id":1772},{"__isSmartRef__":true,"id":1774}],"vector":{"__isSmartRef__":true,"id":1762},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1768":{"offset":0,"color":{"__isSmartRef__":true,"id":1769}},"1769":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1770":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1771}},"1771":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1772":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1773}},"1773":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1774":{"offset":1,"color":{"__isSmartRef__":true,"id":1775}},"1775":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1776":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1777":{"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"},"1778":{"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"},"1779":{"morph":{"__isSmartRef__":true,"id":1734},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1780":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1781":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1782":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":1783},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1789},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1790},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1791},"_TextColor":{"__isSmartRef__":true,"id":1792},"renderContextTable":{"__isSmartRef__":true,"id":1793},"textChunks":[{"__isSmartRef__":true,"id":1794}],"eventHandler":{"__isSmartRef__":true,"id":1796},"priorExtent":{"__isSmartRef__":true,"id":1797},"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":1798},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"1783":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1784},"_Extent":{"__isSmartRef__":true,"id":1785},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1786},"renderContextTable":{"__isSmartRef__":true,"id":1787},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1788},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1784":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1785":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1786":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1787":{"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"},"1788":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1789":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1790":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1791":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1792":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1793":{"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"},"1794":{"style":{"__isSmartRef__":true,"id":1795},"chunkOwner":{"__isSmartRef__":true,"id":1782},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1795":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1796":{"morph":{"__isSmartRef__":true,"id":1782},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1797":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1798":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1799":{"createListMorph":{"__isSmartRef__":true,"id":1800},"getList":{"__isSmartRef__":true,"id":1804},"removeList":{"__isSmartRef__":true,"id":1808},"reset":{"__isSmartRef__":true,"id":1812},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1816},"onMouseDown":{"__isSmartRef__":true,"id":1820},"setTargetOfPane":{"__isSmartRef__":true,"id":1828},"setTargetToListSelection":{"__isSmartRef__":true,"id":1832},"onBlur":{"__isSmartRef__":true,"id":1836},"setTarget":{"__isSmartRef__":true,"id":1844},"setTargetOnSelection":{"__isSmartRef__":true,"id":1848}},"1800":{"varMapping":{"__isSmartRef__":true,"id":1801},"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":1802},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1801":{"this":{"__isSmartRef__":true,"id":1734}},"1802":{"timestamp":{"__isSmartRef__":true,"id":1803},"user":"lauritz","tags":[]},"1803":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:55:41 GMT-0800 (PST)"},"1804":{"varMapping":{"__isSmartRef__":true,"id":1805},"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":1806},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1805":{"this":{"__isSmartRef__":true,"id":1734}},"1806":{"timestamp":{"__isSmartRef__":true,"id":1807},"user":"lauritz","tags":[]},"1807":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:12:23 GMT-0800 (PST)"},"1808":{"varMapping":{"__isSmartRef__":true,"id":1809},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":1734}},"1810":{"timestamp":{"__isSmartRef__":true,"id":1811},"user":"lauritz","tags":[]},"1811":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:51:07 GMT-0800 (PST)"},"1812":{"varMapping":{"__isSmartRef__":true,"id":1813},"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":1814},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1813":{"this":{"__isSmartRef__":true,"id":1734}},"1814":{"timestamp":{"__isSmartRef__":true,"id":1815},"user":"lauritz","tags":[]},"1815":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:34:06 GMT-0800 (PST)"},"1816":{"varMapping":{"__isSmartRef__":true,"id":1817},"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":1818},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1817":{"this":{"__isSmartRef__":true,"id":1734}},"1818":{"timestamp":{"__isSmartRef__":true,"id":1819},"user":"lauritz","tags":[]},"1819":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:53:20 GMT-0800 (PST)"},"1820":{"varMapping":{"__isSmartRef__":true,"id":1821},"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":1826},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1821":{"this":{"__isSmartRef__":true,"id":1734},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1822}},"1822":{"$super":{"__isSmartRef__":true,"id":1823}},"1823":{"varMapping":{"__isSmartRef__":true,"id":1824},"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":1825},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1824":{"obj":{"__isSmartRef__":true,"id":1734},"name":"onMouseDown"},"1825":{},"1826":{"timestamp":{"__isSmartRef__":true,"id":1827},"user":"lauritz","tags":[]},"1827":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:39 GMT-0800 (PST)"},"1828":{"varMapping":{"__isSmartRef__":true,"id":1829},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":1830},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1829":{"this":{"__isSmartRef__":true,"id":1734}},"1830":{"timestamp":{"__isSmartRef__":true,"id":1831},"user":"lauritz","tags":[]},"1831":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:30:42 GMT-0800 (PST)"},"1832":{"varMapping":{"__isSmartRef__":true,"id":1833},"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":1834},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1833":{"this":{"__isSmartRef__":true,"id":1734}},"1834":{"timestamp":{"__isSmartRef__":true,"id":1835},"user":"lauritz","tags":[]},"1835":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:06:48 GMT-0800 (PST)"},"1836":{"varMapping":{"__isSmartRef__":true,"id":1837},"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":1842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1837":{"this":{"__isSmartRef__":true,"id":1734},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1838}},"1838":{"$super":{"__isSmartRef__":true,"id":1839}},"1839":{"varMapping":{"__isSmartRef__":true,"id":1840},"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":1841},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1840":{"obj":{"__isSmartRef__":true,"id":1734},"name":"onBlur"},"1841":{},"1842":{"timestamp":{"__isSmartRef__":true,"id":1843},"user":"lauritz","tags":[]},"1843":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:08 GMT-0800 (PST)"},"1844":{"varMapping":{"__isSmartRef__":true,"id":1845},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":1846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1845":{"this":{"__isSmartRef__":true,"id":1734}},"1846":{"timestamp":{"__isSmartRef__":true,"id":1847},"user":"lauritz","tags":[]},"1847":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:29:39 GMT-0800 (PST)"},"1848":{"varMapping":{"__isSmartRef__":true,"id":1849},"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":1850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1849":{"this":{"__isSmartRef__":true,"id":1734}},"1850":{"timestamp":{"__isSmartRef__":true,"id":1851},"user":"lauritz","tags":[]},"1851":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:12:06 GMT-0800 (PST)"},"1852":{"submorphs":[],"scripts":[],"id":"6E95BFA6-DBBE-4D2A-8A50-50C126B75752","shape":{"__isSmartRef__":true,"id":1853},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1859},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1856},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1860},"textChunks":[{"__isSmartRef__":true,"id":1861}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1863},"renderContextTable":{"__isSmartRef__":true,"id":1864},"eventHandler":{"__isSmartRef__":true,"id":1865},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1866},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":270},"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"},"1853":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1854},"_Extent":{"__isSmartRef__":true,"id":1855},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1856},"renderContextTable":{"__isSmartRef__":true,"id":1857},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1858},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1854":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1855":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1856":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1857":{"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"},"1858":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1859":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1860":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1861":{"style":{"__isSmartRef__":true,"id":1862},"chunkOwner":{"__isSmartRef__":true,"id":1852},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"1862":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1863":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1864":{"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"},"1865":{"morph":{"__isSmartRef__":true,"id":1852},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1866":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1867":{"submorphs":[],"scripts":[],"id":"EA998579-CD3F-48A3-A539-83F887D2F13A","shape":{"__isSmartRef__":true,"id":1868},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1874},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1871},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1875},"textChunks":[{"__isSmartRef__":true,"id":1876}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1878},"renderContextTable":{"__isSmartRef__":true,"id":1879},"eventHandler":{"__isSmartRef__":true,"id":1880},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1881},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":270},"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"},"1868":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1869},"_Extent":{"__isSmartRef__":true,"id":1870},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1871},"renderContextTable":{"__isSmartRef__":true,"id":1872},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1873},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1869":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1870":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1871":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1872":{"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"},"1873":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1874":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1875":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1876":{"style":{"__isSmartRef__":true,"id":1877},"chunkOwner":{"__isSmartRef__":true,"id":1867},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"1877":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1878":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1879":{"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"},"1880":{"morph":{"__isSmartRef__":true,"id":1867},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1881":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1882":{"submorphs":[{"__isSmartRef__":true,"id":1883}],"scripts":[],"id":"EDD3C0AD-1C23-456C-A01D-5F8D17A21CBB","shape":{"__isSmartRef__":true,"id":1898},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1914},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1915},"lighterFill":{"__isSmartRef__":true,"id":1901},"label":{"__isSmartRef__":true,"id":1883},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1924},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":1925},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1926},"eventHandler":{"__isSmartRef__":true,"id":1927},"distanceToDragEvent":{"__isSmartRef__":true,"id":1928},"priorExtent":{"__isSmartRef__":true,"id":1929},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":270},"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":1930},"__LivelyClassName__":"lively.morphic.Button"},"1883":{"submorphs":[],"scripts":[],"id":"563F4054-4C46-4721-882F-C356D3BE6409","shape":{"__isSmartRef__":true,"id":1884},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1890},"textColor":{"__isSmartRef__":true,"id":1887},"owner":{"__isSmartRef__":true,"id":1882},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1891}],"padding":{"__isSmartRef__":true,"id":1893},"_Padding":{"__isSmartRef__":true,"id":1893},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1894},"attributeConnections":[{"__isSmartRef__":true,"id":1895}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1896},"eventHandler":{"__isSmartRef__":true,"id":1897},"_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"},"1884":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1885},"_Extent":{"__isSmartRef__":true,"id":1886},"_BorderColor":{"__isSmartRef__":true,"id":1887},"renderContextTable":{"__isSmartRef__":true,"id":1888},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1889},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1885":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1886":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1887":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1888":{"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"},"1889":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1890":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1891":{"style":{"__isSmartRef__":true,"id":1892},"chunkOwner":{"__isSmartRef__":true,"id":1883},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1892":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1893":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1894":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1895":{"sourceObj":{"__isSmartRef__":true,"id":1883},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1882},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1896":{"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"},"1897":{"morph":{"__isSmartRef__":true,"id":1883},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1898":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1899},"_Extent":{"__isSmartRef__":true,"id":1900},"_Fill":{"__isSmartRef__":true,"id":1901},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1911},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1912},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1913},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1899":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1900":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1901":{"stops":[{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1904},{"__isSmartRef__":true,"id":1906},{"__isSmartRef__":true,"id":1908}],"vector":{"__isSmartRef__":true,"id":1910},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1902":{"offset":0,"color":{"__isSmartRef__":true,"id":1903}},"1903":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1904":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1905}},"1905":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1906":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1907}},"1907":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1908":{"offset":1,"color":{"__isSmartRef__":true,"id":1909}},"1909":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1910":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1911":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1912":{"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"},"1913":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1914":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1915":{"stops":[{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1918},{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1922}],"vector":{"__isSmartRef__":true,"id":1910},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1916":{"offset":0,"color":{"__isSmartRef__":true,"id":1917}},"1917":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1918":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1919}},"1919":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1920":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1921}},"1921":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1922":{"offset":1,"color":{"__isSmartRef__":true,"id":1923}},"1923":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1924":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1925":{"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"},"1926":{"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"},"1927":{"morph":{"__isSmartRef__":true,"id":1882},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1928":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1929":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1930":{"createListMorph":{"__isSmartRef__":true,"id":1931},"getList":{"__isSmartRef__":true,"id":1935},"removeList":{"__isSmartRef__":true,"id":1939},"reset":{"__isSmartRef__":true,"id":1943},"onMouseUp":{"__isSmartRef__":true,"id":1947},"onBlur":{"__isSmartRef__":true,"id":1955},"setTag":{"__isSmartRef__":true,"id":1963}},"1931":{"varMapping":{"__isSmartRef__":true,"id":1932},"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":1933},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1932":{"this":{"__isSmartRef__":true,"id":1882}},"1933":{"timestamp":{"__isSmartRef__":true,"id":1934},"user":"lauritz","categories":[]},"1934":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:35:59 GMT-0800 (PST)"},"1935":{"varMapping":{"__isSmartRef__":true,"id":1936},"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":1937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1936":{"this":{"__isSmartRef__":true,"id":1882}},"1937":{"timestamp":{"__isSmartRef__":true,"id":1938},"user":"lauritz","tags":[]},"1938":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:25 GMT-0800 (PST)"},"1939":{"varMapping":{"__isSmartRef__":true,"id":1940},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1940":{"this":{"__isSmartRef__":true,"id":1882}},"1941":{"timestamp":{"__isSmartRef__":true,"id":1942},"user":"lauritz","categories":[]},"1942":{"isSerializedDate":true,"string":"Thu Nov 17 2011 10:06:51 GMT-0800 (PST)"},"1943":{"varMapping":{"__isSmartRef__":true,"id":1944},"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":1945},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1944":{"this":{"__isSmartRef__":true,"id":1882}},"1945":{"timestamp":{"__isSmartRef__":true,"id":1946},"user":"lauritz","tags":[]},"1946":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:53 GMT-0800 (PST)"},"1947":{"varMapping":{"__isSmartRef__":true,"id":1948},"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":1953},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1948":{"this":{"__isSmartRef__":true,"id":1882},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1949}},"1949":{"$super":{"__isSmartRef__":true,"id":1950}},"1950":{"varMapping":{"__isSmartRef__":true,"id":1951},"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":1952},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1951":{"obj":{"__isSmartRef__":true,"id":1882},"name":"onMouseUp"},"1952":{},"1953":{"timestamp":{"__isSmartRef__":true,"id":1954},"user":"lauritz","categories":[]},"1954":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:59:16 GMT-0800 (PST)"},"1955":{"varMapping":{"__isSmartRef__":true,"id":1956},"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":1961},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1956":{"this":{"__isSmartRef__":true,"id":1882},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1957}},"1957":{"$super":{"__isSmartRef__":true,"id":1958}},"1958":{"varMapping":{"__isSmartRef__":true,"id":1959},"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":1960},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1959":{"obj":{"__isSmartRef__":true,"id":1882},"name":"onBlur"},"1960":{},"1961":{"timestamp":{"__isSmartRef__":true,"id":1962},"user":"lauritz","categories":[]},"1962":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:10:03 GMT-0800 (PST)"},"1963":{"varMapping":{"__isSmartRef__":true,"id":1964},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":1965},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1964":{"this":{"__isSmartRef__":true,"id":1882}},"1965":{"timestamp":{"__isSmartRef__":true,"id":1966},"user":"lauritz","categories":[]},"1966":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:36:12 GMT-0800 (PST)"},"1967":{"submorphs":[{"__isSmartRef__":true,"id":1968}],"scripts":[],"id":"6CAAEA6B-BDBF-4C51-8C90-A72CC008EFE2","shape":{"__isSmartRef__":true,"id":1983},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1987},"lighterFill":{"__isSmartRef__":true,"id":1999},"label":{"__isSmartRef__":true,"id":1968},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2008},"attributeConnections":[{"__isSmartRef__":true,"id":2009}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2045},"renderContextTable":{"__isSmartRef__":true,"id":2046},"eventHandler":{"__isSmartRef__":true,"id":2047},"distanceToDragEvent":{"__isSmartRef__":true,"id":2048},"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":2049},"owner":{"__isSmartRef__":true,"id":270},"layout":{"__isSmartRef__":true,"id":2050},"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"1968":{"submorphs":[],"scripts":[],"id":"34716D6E-8741-4A4E-9066-D48AEA77136C","shape":{"__isSmartRef__":true,"id":1969},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1975},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1976},"_Padding":{"__isSmartRef__":true,"id":1977},"owner":{"__isSmartRef__":true,"id":1967},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1978},"textChunks":[{"__isSmartRef__":true,"id":1979}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1981},"eventHandler":{"__isSmartRef__":true,"id":1982},"_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"},"1969":{"position":{"__isSmartRef__":true,"id":1970},"_Extent":{"__isSmartRef__":true,"id":1971},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1972},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1973},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1974},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1970":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1971":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1972":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1973":{"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"},"1974":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1975":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1976":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1977":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1978":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1979":{"style":{"__isSmartRef__":true,"id":1980},"chunkOwner":{"__isSmartRef__":true,"id":1968},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"1980":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1981":{"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"},"1982":{"morph":{"__isSmartRef__":true,"id":1968},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1983":{"position":{"__isSmartRef__":true,"id":1984},"_Extent":{"__isSmartRef__":true,"id":1985},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1986},"_Fill":{"__isSmartRef__":true,"id":1987},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1997},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1998},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1984":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1985":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1986":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1987":{"stops":[{"__isSmartRef__":true,"id":1988},{"__isSmartRef__":true,"id":1990},{"__isSmartRef__":true,"id":1992},{"__isSmartRef__":true,"id":1994}],"vector":{"__isSmartRef__":true,"id":1996},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1988":{"offset":0,"color":{"__isSmartRef__":true,"id":1989}},"1989":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1990":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1991}},"1991":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1992":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1993}},"1993":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1994":{"offset":1,"color":{"__isSmartRef__":true,"id":1995}},"1995":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1996":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1997":{"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"},"1998":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1999":{"stops":[{"__isSmartRef__":true,"id":2000},{"__isSmartRef__":true,"id":2002},{"__isSmartRef__":true,"id":2004},{"__isSmartRef__":true,"id":2006}],"vector":{"__isSmartRef__":true,"id":1996},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2000":{"offset":0,"color":{"__isSmartRef__":true,"id":2001}},"2001":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2002":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2003}},"2003":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2004":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2005}},"2005":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2006":{"offset":1,"color":{"__isSmartRef__":true,"id":2007}},"2007":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2008":{"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"},"2009":{"sourceObj":{"__isSmartRef__":true,"id":1967},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":270},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":2010},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2010":{"submorphs":[{"__isSmartRef__":true,"id":2011}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2026},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":2033},"eventHandler":{"__isSmartRef__":true,"id":2034},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2035},{"__isSmartRef__":true,"id":2036}],"con":{"__isSmartRef__":true,"id":2009},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2037},"__LivelyClassName__":"lively.morphic.Path"},"2011":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2012},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":2023},"eventHandler":{"__isSmartRef__":true,"id":2024},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2025},"owner":{"__isSmartRef__":true,"id":2010},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2012":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2013},{"__isSmartRef__":true,"id":2014},{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2016}],"renderContextTable":{"__isSmartRef__":true,"id":2017},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2018},"_Extent":{"__isSmartRef__":true,"id":2019},"_Padding":{"__isSmartRef__":true,"id":2020},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":2022},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2013":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2014":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2015":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2016":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2017":{"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"},"2018":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2019":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2020":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2022":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2023":{"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"},"2024":{"morph":{"__isSmartRef__":true,"id":2011},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2025":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2026":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2027},{"__isSmartRef__":true,"id":2028}],"renderContextTable":{"__isSmartRef__":true,"id":2029},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2030},"_Extent":{"__isSmartRef__":true,"id":2031},"_Padding":{"__isSmartRef__":true,"id":2032},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2027":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2028":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2029":{"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"},"2030":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2031":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2032":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2033":{"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"},"2034":{"morph":{"__isSmartRef__":true,"id":2010},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2035":{"morph":{"__isSmartRef__":true,"id":2010},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2036":{"morph":{"__isSmartRef__":true,"id":2010},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2011},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2037":{"morphMenuItems":{"__isSmartRef__":true,"id":2038}},"2038":{"varMapping":{"__isSmartRef__":true,"id":2039},"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":2044},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2039":{"this":{"__isSmartRef__":true,"id":2010},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2040}},"2040":{"$super":{"__isSmartRef__":true,"id":2041}},"2041":{"varMapping":{"__isSmartRef__":true,"id":2042},"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":2043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2042":{"obj":{"__isSmartRef__":true,"id":2010},"name":"morphMenuItems"},"2043":{},"2044":{},"2045":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2046":{"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"},"2047":{"morph":{"__isSmartRef__":true,"id":1967},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2048":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2049":{"x":562.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2050":{"centeredHorizontal":false,"moveHorizontal":true},"2051":{"submorphs":[{"__isSmartRef__":true,"id":2052}],"scripts":[],"id":"872B90E1-648C-4FB3-ABB3-57FC3421ADD6","shape":{"__isSmartRef__":true,"id":2067},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2071},"lighterFill":{"__isSmartRef__":true,"id":2083},"label":{"__isSmartRef__":true,"id":2052},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2092},"attributeConnections":[{"__isSmartRef__":true,"id":2093}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2129},"renderContextTable":{"__isSmartRef__":true,"id":2130},"eventHandler":{"__isSmartRef__":true,"id":2131},"distanceToDragEvent":{"__isSmartRef__":true,"id":2132},"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":2133},"_Position":{"__isSmartRef__":true,"id":2134},"owner":{"__isSmartRef__":true,"id":270},"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"2052":{"submorphs":[],"scripts":[],"id":"63668A5A-B984-4CBB-975B-17F0214E5473","shape":{"__isSmartRef__":true,"id":2053},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2059},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2060},"_Padding":{"__isSmartRef__":true,"id":2061},"owner":{"__isSmartRef__":true,"id":2051},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2062},"textChunks":[{"__isSmartRef__":true,"id":2063}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2065},"eventHandler":{"__isSmartRef__":true,"id":2066},"_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"},"2053":{"position":{"__isSmartRef__":true,"id":2054},"_Extent":{"__isSmartRef__":true,"id":2055},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2056},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2057},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2058},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2054":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2055":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2056":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2057":{"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"},"2058":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2059":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2060":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2061":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2062":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2063":{"style":{"__isSmartRef__":true,"id":2064},"chunkOwner":{"__isSmartRef__":true,"id":2052},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2064":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2065":{"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"},"2066":{"morph":{"__isSmartRef__":true,"id":2052},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2067":{"position":{"__isSmartRef__":true,"id":2068},"_Extent":{"__isSmartRef__":true,"id":2069},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2070},"_Fill":{"__isSmartRef__":true,"id":2071},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2081},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2082},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2068":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2069":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2070":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2071":{"stops":[{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2074},{"__isSmartRef__":true,"id":2076},{"__isSmartRef__":true,"id":2078}],"vector":{"__isSmartRef__":true,"id":2080},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2072":{"offset":0,"color":{"__isSmartRef__":true,"id":2073}},"2073":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2074":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2075}},"2075":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2076":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2077}},"2077":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2078":{"offset":1,"color":{"__isSmartRef__":true,"id":2079}},"2079":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2080":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2081":{"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"},"2082":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2083":{"stops":[{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2086},{"__isSmartRef__":true,"id":2088},{"__isSmartRef__":true,"id":2090}],"vector":{"__isSmartRef__":true,"id":2080},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2084":{"offset":0,"color":{"__isSmartRef__":true,"id":2085}},"2085":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2086":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2087}},"2087":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2088":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2089}},"2089":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2090":{"offset":1,"color":{"__isSmartRef__":true,"id":2091}},"2091":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2092":{"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"},"2093":{"sourceObj":{"__isSmartRef__":true,"id":2051},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":766},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":2094},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2094":{"submorphs":[{"__isSmartRef__":true,"id":2095}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2110},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":2117},"eventHandler":{"__isSmartRef__":true,"id":2118},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2119},{"__isSmartRef__":true,"id":2120}],"con":{"__isSmartRef__":true,"id":2093},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2121},"__LivelyClassName__":"lively.morphic.Path"},"2095":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2096},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":2107},"eventHandler":{"__isSmartRef__":true,"id":2108},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2109},"owner":{"__isSmartRef__":true,"id":2094},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2096":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2097},{"__isSmartRef__":true,"id":2098},{"__isSmartRef__":true,"id":2099},{"__isSmartRef__":true,"id":2100}],"renderContextTable":{"__isSmartRef__":true,"id":2101},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2102},"_Extent":{"__isSmartRef__":true,"id":2103},"_Padding":{"__isSmartRef__":true,"id":2104},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2105},"_Fill":{"__isSmartRef__":true,"id":2106},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2097":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2098":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2099":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2100":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2101":{"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"},"2102":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2103":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2104":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2105":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2106":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2107":{"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"},"2108":{"morph":{"__isSmartRef__":true,"id":2095},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2109":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2110":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":2111},{"__isSmartRef__":true,"id":2112}],"renderContextTable":{"__isSmartRef__":true,"id":2113},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":2114},"_Extent":{"__isSmartRef__":true,"id":2115},"_Padding":{"__isSmartRef__":true,"id":2116},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2105},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2111":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2112":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2113":{"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"},"2114":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2115":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2116":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2117":{"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"},"2118":{"morph":{"__isSmartRef__":true,"id":2094},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2119":{"morph":{"__isSmartRef__":true,"id":2094},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2120":{"morph":{"__isSmartRef__":true,"id":2094},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2095},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2121":{"morphMenuItems":{"__isSmartRef__":true,"id":2122}},"2122":{"varMapping":{"__isSmartRef__":true,"id":2123},"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":2128},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2123":{"this":{"__isSmartRef__":true,"id":2094},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2124}},"2124":{"$super":{"__isSmartRef__":true,"id":2125}},"2125":{"varMapping":{"__isSmartRef__":true,"id":2126},"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":2127},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2126":{"obj":{"__isSmartRef__":true,"id":2094},"name":"morphMenuItems"},"2127":{},"2128":{},"2129":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2130":{"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"},"2131":{"morph":{"__isSmartRef__":true,"id":2051},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2132":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2133":{"centeredHorizontal":false,"moveHorizontal":true},"2134":{"x":449.41898534449683,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2135":{"target":{"__isSmartRef__":true,"id":270},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":358202,"suspended":false,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TargetScript"},"2136":{"position":{"__isSmartRef__":true,"id":2137},"_Extent":{"__isSmartRef__":true,"id":2138},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2139},"_Fill":{"__isSmartRef__":true,"id":2140},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2141},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2142},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2137":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2138":{"x":683.0285365288845,"y":548.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2139":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2140":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2141":{"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"},"2142":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2143":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":2144}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2144":{"date":{"__isSmartRef__":true,"id":2145},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"2145":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:39:30 GMT-0700 (PDT)"},"2146":{"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"},"2147":{"morph":{"__isSmartRef__":true,"id":270},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2148":{"x":683.0285365288845,"y":548.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2149":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2150":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2151":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2152":{},"2153":{"displayInitialScript":{"__isSmartRef__":true,"id":2154},"displayJavaScriptSource":{"__isSmartRef__":true,"id":2158},"displaySourceForConnection":{"__isSmartRef__":true,"id":2162},"displaySourceForScript":{"__isSmartRef__":true,"id":2166},"generateSourceForConnection":{"__isSmartRef__":true,"id":2170},"generateSourceForScript":{"__isSmartRef__":true,"id":2174},"generateTargetCode":{"__isSmartRef__":true,"id":2178},"newConnection":{"__isSmartRef__":true,"id":2182},"newScript":{"__isSmartRef__":true,"id":2186},"reset":{"__isSmartRef__":true,"id":2190},"selectChangedContent":{"__isSmartRef__":true,"id":2194},"setTarget":{"__isSmartRef__":true,"id":2198},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":2202},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2206},"updateLists":{"__isSmartRef__":true,"id":2210},"onShutdown":{"__isSmartRef__":true,"id":2214},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":2218},"update":{"__isSmartRef__":true,"id":2222},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":2226},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":2230},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2234},"printTags":{"__isSmartRef__":true,"id":2242},"setTag":{"__isSmartRef__":true,"id":2246},"runScript":{"__isSmartRef__":true,"id":2250},"openPartTestRunner":{"__isSmartRef__":true,"id":2254}},"2154":{"varMapping":{"__isSmartRef__":true,"id":2155},"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":2156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2155":{"this":{"__isSmartRef__":true,"id":270}},"2156":{"timestamp":{"__isSmartRef__":true,"id":2157},"user":"lauritz","tags":[]},"2157":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:13:43 GMT-0800 (PST)"},"2158":{"varMapping":{"__isSmartRef__":true,"id":2159},"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":2160},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2159":{"this":{"__isSmartRef__":true,"id":270}},"2160":{"timestamp":{"__isSmartRef__":true,"id":2161},"user":"lauritz","tags":[]},"2161":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"2162":{"varMapping":{"__isSmartRef__":true,"id":2163},"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":2164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2163":{"this":{"__isSmartRef__":true,"id":270}},"2164":{"timestamp":{"__isSmartRef__":true,"id":2165},"user":"conradcalmez","tags":[]},"2165":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:59:30 GMT-0800 (PST)"},"2166":{"varMapping":{"__isSmartRef__":true,"id":2167},"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":2168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2167":{"this":{"__isSmartRef__":true,"id":270}},"2168":{"timestamp":{"__isSmartRef__":true,"id":2169},"user":"lauritz","tags":[]},"2169":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:51:37 GMT-0800 (PST)"},"2170":{"varMapping":{"__isSmartRef__":true,"id":2171},"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":2172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2171":{"this":{"__isSmartRef__":true,"id":270}},"2172":{"timestamp":{"__isSmartRef__":true,"id":2173},"user":"lauritz","tags":[]},"2173":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"2174":{"varMapping":{"__isSmartRef__":true,"id":2175},"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":2176},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2175":{"this":{"__isSmartRef__":true,"id":270}},"2176":{"timestamp":{"__isSmartRef__":true,"id":2177},"user":"lauritz","tags":[]},"2177":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:32:42 GMT-0800 (PST)"},"2178":{"varMapping":{"__isSmartRef__":true,"id":2179},"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":2180},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2179":{"this":{"__isSmartRef__":true,"id":270}},"2180":{"timestamp":{"__isSmartRef__":true,"id":2181},"user":"lauritz","tags":[]},"2181":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"2182":{"varMapping":{"__isSmartRef__":true,"id":2183},"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":2184},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2183":{"this":{"__isSmartRef__":true,"id":270}},"2184":{"timestamp":{"__isSmartRef__":true,"id":2185},"user":"lauritz","tags":[]},"2185":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"2186":{"varMapping":{"__isSmartRef__":true,"id":2187},"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":2188},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2187":{"this":{"__isSmartRef__":true,"id":270}},"2188":{"timestamp":{"__isSmartRef__":true,"id":2189},"user":"lauritz","tags":[]},"2189":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:24:25 GMT-0800 (PST)"},"2190":{"varMapping":{"__isSmartRef__":true,"id":2191},"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":2192},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2191":{"this":{"__isSmartRef__":true,"id":270}},"2192":{"timestamp":{"__isSmartRef__":true,"id":2193},"user":"conradcalmez","tags":[]},"2193":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:57:50 GMT-0800 (PST)"},"2194":{"varMapping":{"__isSmartRef__":true,"id":2195},"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 this.pageArray.length) {return this;} // later wrap\n var oldData = this.pageArray[this.pageIndex - 1];\n if (oldData==undefined) {this.error('lost current page')};\n var newData = this.pageArray[newIndex - 1];\n if (newData==undefined) {this.error('page number out of range')};\n this.removePageSpecific(oldData); // includes storing text\n this.pageIndex = newIndex;\n if (! oldData.background === newData.background) { //change backgrounds\n this.removeAllMorphs();\n this.addMorph(newData.background);\n };\n this.addPageSpecific(newData); // includes loading text\n }).tag([]);","_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":3004},"lastSearchString":"addMorph","eventHandler":{"__isSmartRef__":true,"id":3005},"attributeConnections":[{"__isSmartRef__":true,"id":3006}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"distanceToDragEvent":{"__isSmartRef__":true,"id":3031},"_MinTextWidth":468.0285365288845,"_MinTextHeight":null,"previousSelection":[764,764],"lastSaveSource":"// changed at Mon Apr 09 2012 13:37:13 GMT-0700 (PDT) by TedKaehler \nthis.addScript(function showPageNum(newIndex) {\n // turn to a page and show it. newIndex is 1 based.\n if (this.pageIndex == newIndex) {return this;}\n if (newIndex > this.pageArray.length) {return this;} // later wrap\n var oldData = this.pageArray[this.pageIndex - 1];\n if (oldData==undefined) {this.error('lost current page')};\n var newData = this.pageArray[newIndex - 1];\n if (newData==undefined) {this.error('page number out of range')};\n this.removePageSpecific(oldData); // includes storing text\n this.pageIndex = newIndex;\n if (! oldData.background === newData.background) { //change backgrounds\n this.removeAllMorphs();\n this.addMorph(newData.background);\n };\n this.addPageSpecific(newData); // includes loading text\n }).tag([]);","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":2306},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":3032},"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":3047},"owner":{"__isSmartRef__":true,"id":2306},"_Rotation":0,"_Scale":1,"textString":"// changed at Mon Apr 09 2012 13:37:13 GMT-0700 (PDT) by TedKaehler \nthis.addScript(function showPageNum(newIndex) {\n // turn to a page and show it. newIndex is 1 based.\n if (this.pageIndex == newIndex) {return this;}\n if (newIndex > this.pageArray.length) {return this;} // later wrap\n var oldData = this.pageArray[this.pageIndex - 1];\n if (oldData==undefined) {this.error('lost current page')};\n var newData = this.pageArray[newIndex - 1];\n if (newData==undefined) {this.error('page number out of range')};\n this.removePageSpecific(oldData); // includes storing text\n this.pageIndex = newIndex;\n if (! oldData.background === newData.background) { //change backgrounds\n this.removeAllMorphs();\n this.addMorph(newData.background);\n };\n this.addPageSpecific(newData); // includes loading text\n }).tag([]);","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3048},"__LivelyClassName__":"lively.morphic.Text"},"2803":{"_Position":{"__isSmartRef__":true,"id":2804},"_Extent":{"__isSmartRef__":true,"id":2805},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2806},"_Fill":{"__isSmartRef__":true,"id":2807},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":2808},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":2809},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2804":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2805":{"x":470.0285365288845,"y":495.61253261443596,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2806":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2807":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2808":{"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"},"2809":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2810":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2811":{"style":{"__isSmartRef__":true,"id":2812},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"// changed at Mon Apr 09 2012 13:37:13 GMT-0700 (PDT) by TedKaehler ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2812":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2813":{"style":{"__isSmartRef__":true,"id":2814},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2814":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2815":{"style":{"__isSmartRef__":true,"id":2816},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2816":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2817":{"style":{"__isSmartRef__":true,"id":2818},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".addScript(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2818":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2819":{"style":{"__isSmartRef__":true,"id":2820},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2820":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2821":{"style":{"__isSmartRef__":true,"id":2822},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" showPageNum(newIndex) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2822":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2823":{"style":{"__isSmartRef__":true,"id":2824},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2824":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2825":{"style":{"__isSmartRef__":true,"id":2826},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2826":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2827":{"style":{"__isSmartRef__":true,"id":2828},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"// turn to a page and show it. newIndex is 1 based.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2828":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2829":{"style":{"__isSmartRef__":true,"id":2830},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2830":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2831":{"style":{"__isSmartRef__":true,"id":2832},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2832":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2833":{"style":{"__isSmartRef__":true,"id":2834},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2834":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2835":{"style":{"__isSmartRef__":true,"id":2836},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2836":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2837":{"style":{"__isSmartRef__":true,"id":2838},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageIndex == newIndex) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2838":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2839":{"style":{"__isSmartRef__":true,"id":2840},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2840":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2841":{"style":{"__isSmartRef__":true,"id":2842},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2842":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2843":{"style":{"__isSmartRef__":true,"id":2844},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2844":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2845":{"style":{"__isSmartRef__":true,"id":2846},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2846":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2847":{"style":{"__isSmartRef__":true,"id":2848},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":";","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2848":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2849":{"style":{"__isSmartRef__":true,"id":2850},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2850":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2851":{"style":{"__isSmartRef__":true,"id":2852},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2852":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2853":{"style":{"__isSmartRef__":true,"id":2854},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2854":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2855":{"style":{"__isSmartRef__":true,"id":2856},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" (newIndex > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2856":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2857":{"style":{"__isSmartRef__":true,"id":2858},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2858":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2859":{"style":{"__isSmartRef__":true,"id":2860},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageArray.length) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2860":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2861":{"style":{"__isSmartRef__":true,"id":2862},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2862":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2863":{"style":{"__isSmartRef__":true,"id":2864},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2864":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2865":{"style":{"__isSmartRef__":true,"id":2866},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2866":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2867":{"style":{"__isSmartRef__":true,"id":2868},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2868":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2869":{"style":{"__isSmartRef__":true,"id":2870},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":";","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2870":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2871":{"style":{"__isSmartRef__":true,"id":2872},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2872":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2873":{"style":{"__isSmartRef__":true,"id":2874},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2874":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2875":{"style":{"__isSmartRef__":true,"id":2876},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"// later wrap","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2876":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2877":{"style":{"__isSmartRef__":true,"id":2878},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2878":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2879":{"style":{"__isSmartRef__":true,"id":2880},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2880":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2881":{"style":{"__isSmartRef__":true,"id":2882},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" oldData = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2882":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2883":{"style":{"__isSmartRef__":true,"id":2884},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2884":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2885":{"style":{"__isSmartRef__":true,"id":2886},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageArray[","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2886":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2887":{"style":{"__isSmartRef__":true,"id":2888},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2888":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2889":{"style":{"__isSmartRef__":true,"id":2890},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageIndex - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2890":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2891":{"style":{"__isSmartRef__":true,"id":2892},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2892":{"color":{"__isSmartRef__":true,"id":803},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2893":{"style":{"__isSmartRef__":true,"id":2894},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"];\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2894":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2895":{"style":{"__isSmartRef__":true,"id":2896},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2896":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2897":{"style":{"__isSmartRef__":true,"id":2898},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" (oldData==","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2898":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2899":{"style":{"__isSmartRef__":true,"id":2900},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2900":{"color":{"__isSmartRef__":true,"id":2901},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2901":{"r":0.5019607843137255,"g":0,"b":0.5019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2902":{"style":{"__isSmartRef__":true,"id":2903},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2903":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2904":{"style":{"__isSmartRef__":true,"id":2905},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2905":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2906":{"style":{"__isSmartRef__":true,"id":2907},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2907":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2908":{"style":{"__isSmartRef__":true,"id":2909},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".error(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2909":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2910":{"style":{"__isSmartRef__":true,"id":2911},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"'lost current page'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2911":{"color":{"__isSmartRef__":true,"id":2912},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2912":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2913":{"style":{"__isSmartRef__":true,"id":2914},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":")","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2914":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2915":{"style":{"__isSmartRef__":true,"id":2916},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2916":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2917":{"style":{"__isSmartRef__":true,"id":2918},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":";\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2918":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2919":{"style":{"__isSmartRef__":true,"id":2920},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2920":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2921":{"style":{"__isSmartRef__":true,"id":2922},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" newData = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2922":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2923":{"style":{"__isSmartRef__":true,"id":2924},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2924":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2925":{"style":{"__isSmartRef__":true,"id":2926},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageArray[newIndex - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2926":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2927":{"style":{"__isSmartRef__":true,"id":2928},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2928":{"color":{"__isSmartRef__":true,"id":803},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2929":{"style":{"__isSmartRef__":true,"id":2930},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"];\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2930":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2931":{"style":{"__isSmartRef__":true,"id":2932},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2932":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2933":{"style":{"__isSmartRef__":true,"id":2934},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" (newData==","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2934":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2935":{"style":{"__isSmartRef__":true,"id":2936},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2936":{"color":{"__isSmartRef__":true,"id":2901},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2937":{"style":{"__isSmartRef__":true,"id":2938},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2938":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2939":{"style":{"__isSmartRef__":true,"id":2940},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2940":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2941":{"style":{"__isSmartRef__":true,"id":2942},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2942":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2943":{"style":{"__isSmartRef__":true,"id":2944},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".error(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2944":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2945":{"style":{"__isSmartRef__":true,"id":2946},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"'page number out of range'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2946":{"color":{"__isSmartRef__":true,"id":2912},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2947":{"style":{"__isSmartRef__":true,"id":2948},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":")","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2948":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2949":{"style":{"__isSmartRef__":true,"id":2950},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2950":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2951":{"style":{"__isSmartRef__":true,"id":2952},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":";\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2952":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2953":{"style":{"__isSmartRef__":true,"id":2954},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2954":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2955":{"style":{"__isSmartRef__":true,"id":2956},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".removePageSpecific(oldData); ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2956":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2957":{"style":{"__isSmartRef__":true,"id":2958},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"// includes storing text","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2958":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2959":{"style":{"__isSmartRef__":true,"id":2960},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2960":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2961":{"style":{"__isSmartRef__":true,"id":2962},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2962":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2963":{"style":{"__isSmartRef__":true,"id":2964},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".pageIndex = newIndex;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2964":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2965":{"style":{"__isSmartRef__":true,"id":2966},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2966":{"color":{"__isSmartRef__":true,"id":816},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2967":{"style":{"__isSmartRef__":true,"id":2968},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" (! oldData.background === newData.background) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2968":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2969":{"style":{"__isSmartRef__":true,"id":2970},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2970":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2971":{"style":{"__isSmartRef__":true,"id":2972},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2972":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2973":{"style":{"__isSmartRef__":true,"id":2974},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"//change backgrounds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2974":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2975":{"style":{"__isSmartRef__":true,"id":2976},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2976":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2977":{"style":{"__isSmartRef__":true,"id":2978},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2978":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2979":{"style":{"__isSmartRef__":true,"id":2980},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".removeAllMorphs();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2980":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2981":{"style":{"__isSmartRef__":true,"id":2982},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2982":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2983":{"style":{"__isSmartRef__":true,"id":2984},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".addMorph(newData.background);\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2984":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2985":{"style":{"__isSmartRef__":true,"id":2986},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2986":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2987":{"style":{"__isSmartRef__":true,"id":2988},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":";\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2988":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2989":{"style":{"__isSmartRef__":true,"id":2990},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2990":{"color":{"__isSmartRef__":true,"id":782},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2991":{"style":{"__isSmartRef__":true,"id":2992},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":".addPageSpecific(newData); ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2992":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2993":{"style":{"__isSmartRef__":true,"id":2994},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"// includes loading text","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2994":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2995":{"style":{"__isSmartRef__":true,"id":2996},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2996":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2997":{"style":{"__isSmartRef__":true,"id":2998},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2998":{"color":{"__isSmartRef__":true,"id":777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2999":{"style":{"__isSmartRef__":true,"id":3000},"chunkOwner":{"__isSmartRef__":true,"id":2802},"storedString":").tag([]);","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3000":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3001":{"resizeWidth":true,"resizeHeight":true},"3002":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3003":{"x":470.0285365288845,"y":495.61253261443596,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3004":{"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"},"3005":{"morph":{"__isSmartRef__":true,"id":2802},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3006":{"sourceObj":{"__isSmartRef__":true,"id":2802},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3007},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3007":{"submorphs":[],"scripts":[],"id":"F447A623-A269-49D6-B64C-C214D80E8A34","shape":{"__isSmartRef__":true,"id":3008},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3014},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":3015},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3016},"eventHandler":{"__isSmartRef__":true,"id":3017},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2306},"priorExtent":{"__isSmartRef__":true,"id":3018},"layout":{"__isSmartRef__":true,"id":3019},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":3011},"alarmColor":{"__isSmartRef__":true,"id":3020},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":3021},"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":3022},"__LivelyClassName__":"lively.morphic.Box"},"3008":{"position":{"__isSmartRef__":true,"id":3009},"_Extent":{"__isSmartRef__":true,"id":3010},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3011},"_Fill":{"__isSmartRef__":true,"id":3011},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3012},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3013},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3009":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3010":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3011":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3012":{"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"},"3013":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3014":{"x":662.0245425248855,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3015":{"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"},"3016":{"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"},"3017":{"morph":{"__isSmartRef__":true,"id":3007},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3018":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3019":{"moveHorizontal":true,"adjustForNewBounds":true},"3020":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3021":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3022":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":3023},"setColors":{"__isSmartRef__":true,"id":3027}},"3023":{"varMapping":{"__isSmartRef__":true,"id":3024},"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":3025},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3024":{"this":{"__isSmartRef__":true,"id":3007}},"3025":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":3026}},"3026":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:09:19 GMT-0700 (PDT)"},"3027":{"varMapping":{"__isSmartRef__":true,"id":3028},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":3029},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3028":{"this":{"__isSmartRef__":true,"id":3007}},"3029":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":3030}},"3030":{"isSerializedDate":true,"string":"Tue Sep 27 2011 10:06:09 GMT-0700 (PDT)"},"3031":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3032":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3033},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":3040},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3041}],"eventHandler":{"__isSmartRef__":true,"id":3043},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":3044},"priorExtent":{"__isSmartRef__":true,"id":3045},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":3046},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"3033":{"_Position":{"__isSmartRef__":true,"id":3034},"renderContextTable":{"__isSmartRef__":true,"id":3035},"_Extent":{"__isSmartRef__":true,"id":3036},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3037},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3038},"_Fill":{"__isSmartRef__":true,"id":3039},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3034":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3035":{"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"},"3036":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3037":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3038":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3039":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3040":{"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"},"3041":{"style":{"__isSmartRef__":true,"id":3042},"chunkOwner":{"__isSmartRef__":true,"id":3032},"storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3042":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3043":{"morph":{"__isSmartRef__":true,"id":3032},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3044":{"x":185.01426826444225,"y":235.30626630721798,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3045":{"x":100,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3046":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3047":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3048":{"doSave":{"__isSmartRef__":true,"id":3049},"boundEval":{"__isSmartRef__":true,"id":3057},"reset":{"__isSmartRef__":true,"id":3065},"display":{"__isSmartRef__":true,"id":3069},"hasChanged":{"__isSmartRef__":true,"id":3073},"setTarget":{"__isSmartRef__":true,"id":3077},"displayStatus":{"__isSmartRef__":true,"id":3081}},"3049":{"varMapping":{"__isSmartRef__":true,"id":3050},"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":3055},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3050":{"this":{"__isSmartRef__":true,"id":2802},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3051}},"3051":{"$super":{"__isSmartRef__":true,"id":3052}},"3052":{"varMapping":{"__isSmartRef__":true,"id":3053},"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":3054},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3053":{"obj":{"__isSmartRef__":true,"id":2802},"name":"doSave"},"3054":{},"3055":{"timestamp":{"__isSmartRef__":true,"id":3056},"user":"lauritz"},"3056":{"isSerializedDate":true,"string":"Thu Nov 17 2011 14:15:19 GMT-0800 (PST)"},"3057":{"varMapping":{"__isSmartRef__":true,"id":3058},"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":3063},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3058":{"this":{"__isSmartRef__":true,"id":2802},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3059}},"3059":{"$super":{"__isSmartRef__":true,"id":3060}},"3060":{"varMapping":{"__isSmartRef__":true,"id":3061},"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":3062},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3061":{"obj":{"__isSmartRef__":true,"id":2802},"name":"boundEval"},"3062":{},"3063":{"timestamp":{"__isSmartRef__":true,"id":3064},"user":"lauritz","categories":[]},"3064":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:41:53 GMT-0800 (PST)"},"3065":{"varMapping":{"__isSmartRef__":true,"id":3066},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n}","funcProperties":{"__isSmartRef__":true,"id":3067},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3066":{"this":{"__isSmartRef__":true,"id":2802}},"3067":{"timestamp":{"__isSmartRef__":true,"id":3068},"user":"lauritz","categories":[]},"3068":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:14:35 GMT-0700 (PDT)"},"3069":{"varMapping":{"__isSmartRef__":true,"id":3070},"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":3071},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3070":{"this":{"__isSmartRef__":true,"id":2802}},"3071":{"timestamp":{"__isSmartRef__":true,"id":3072},"user":"lauritz","categories":[]},"3072":{"isSerializedDate":true,"string":"Tue Sep 27 2011 10:47:57 GMT-0700 (PDT)"},"3073":{"varMapping":{"__isSmartRef__":true,"id":3074},"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":3075},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3074":{"this":{"__isSmartRef__":true,"id":2802}},"3075":{"timestamp":{"__isSmartRef__":true,"id":3076},"user":"lauritz","categories":[]},"3076":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:29:45 GMT-0700 (PDT)"},"3077":{"varMapping":{"__isSmartRef__":true,"id":3078},"source":"function setTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":3079},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3078":{"this":{"__isSmartRef__":true,"id":2802}},"3079":{"timestamp":{"__isSmartRef__":true,"id":3080},"user":"lauritz","categories":[]},"3080":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:30:39 GMT-0800 (PST)"},"3081":{"varMapping":{"__isSmartRef__":true,"id":3082},"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":3083},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3082":{"this":{"__isSmartRef__":true,"id":2802}},"3083":{"timestamp":{"__isSmartRef__":true,"id":3084},"user":"lauritz","categories":[]},"3084":{"isSerializedDate":true,"string":"Wed Nov 23 2011 09:23:05 GMT-0800 (PST)"},"3085":{"submorphs":[{"__isSmartRef__":true,"id":3086}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":3100},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3115},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3103},"lighterFill":{"__isSmartRef__":true,"id":3116},"label":{"__isSmartRef__":true,"id":3086},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":3125},"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":3126},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":3127},"renderContextTable":{"__isSmartRef__":true,"id":3128},"eventHandler":{"__isSmartRef__":true,"id":3129},"__LivelyClassName__":"lively.morphic.Button"},"3086":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":3087},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3092},"textColor":{"__isSmartRef__":true,"id":3090},"owner":{"__isSmartRef__":true,"id":3085},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3093}],"padding":{"__isSmartRef__":true,"id":3095},"_Padding":{"__isSmartRef__":true,"id":3096},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3097},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":3098},"eventHandler":{"__isSmartRef__":true,"id":3099},"_HandStyle":"default","_PointerEvents":"none","__LivelyClassName__":"lively.morphic.Text"},"3087":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3088},"_Extent":{"__isSmartRef__":true,"id":3089},"_BorderColor":{"__isSmartRef__":true,"id":3090},"renderContextTable":{"__isSmartRef__":true,"id":3091},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3088":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3089":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3090":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3091":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3092":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3093":{"style":{"__isSmartRef__":true,"id":3094},"chunkOwner":{"__isSmartRef__":true,"id":3086},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3094":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3095":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3096":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3097":{"x":116,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3098":{"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"},"3099":{"morph":{"__isSmartRef__":true,"id":3086},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3100":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3101},"_Extent":{"__isSmartRef__":true,"id":3102},"_Fill":{"__isSmartRef__":true,"id":3103},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3113},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3114},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3101":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3102":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3103":{"stops":[{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3110}],"vector":{"__isSmartRef__":true,"id":3112},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3104":{"offset":0,"color":{"__isSmartRef__":true,"id":3105}},"3105":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3106":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3107}},"3107":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3108":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3109}},"3109":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3110":{"offset":1,"color":{"__isSmartRef__":true,"id":3111}},"3111":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3112":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3113":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3114":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3115":{"x":820,"y":8.999999999999972,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3116":{"stops":[{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3119},{"__isSmartRef__":true,"id":3121},{"__isSmartRef__":true,"id":3123}],"vector":{"__isSmartRef__":true,"id":3112},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3117":{"offset":0,"color":{"__isSmartRef__":true,"id":3118}},"3118":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3119":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3120}},"3120":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3121":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3122}},"3122":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3123":{"offset":1,"color":{"__isSmartRef__":true,"id":3124}},"3124":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3125":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3126":{"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"},"3127":{"moveHorizontal":true},"3128":{"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"},"3129":{"morph":{"__isSmartRef__":true,"id":3085},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3130":{"submorphs":[],"scripts":[],"id":"D2AE4407-CFF8-4B87-8A0A-52B11D61993B","shape":{"__isSmartRef__":true,"id":3131},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3138},"itemList":["-- ALL --"],"selectedLineNo":0,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":3139},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":2306},"priorExtent":{"__isSmartRef__":true,"id":3140},"attributeConnections":[{"__isSmartRef__":true,"id":3141}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":3146},"renderContextTable":{"__isSmartRef__":true,"id":3147},"eventHandler":{"__isSmartRef__":true,"id":3148},"_FontSize":10,"distanceToDragEvent":{"__isSmartRef__":true,"id":3149},"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":3150},"__LivelyClassName__":"lively.morphic.List"},"3131":{"position":{"__isSmartRef__":true,"id":3132},"_Extent":{"__isSmartRef__":true,"id":3133},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3134},"_Fill":{"__isSmartRef__":true,"id":3135},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":3136},"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":3137},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3132":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3133":{"x":180,"y":74,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3134":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3135":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3136":{"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"},"3137":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3138":{"x":10,"y":461.5965565984398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3139":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3140":{"x":180,"y":75,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3141":{"sourceObj":{"__isSmartRef__":true,"id":3130},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2306},"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":3142},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3143},"__LivelyClassName__":"AttributeConnection"},"3142":{"source":{"__isSmartRef__":true,"id":3130},"target":{"__isSmartRef__":true,"id":2306}},"3143":{"converter":{"__isSmartRef__":true,"id":3144}},"3144":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3142},"source":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","funcProperties":{"__isSmartRef__":true,"id":3145},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3145":{},"3146":{"resizeHeight":false,"moveVertical":true},"3147":{"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"},"3148":{"morph":{"__isSmartRef__":true,"id":3130},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3149":{"x":124.95989979964943,"y":-17.076643708895745,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3150":{"preselectItem":{"__isSmartRef__":true,"id":3151}},"3151":{"varMapping":{"__isSmartRef__":true,"id":3152},"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":3153},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3152":{"this":{"__isSmartRef__":true,"id":3130}},"3153":{"timestamp":{"__isSmartRef__":true,"id":3154},"user":"lauritz"},"3154":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:12:58 GMT-0800 (PST)"},"3155":{"submorphs":[{"__isSmartRef__":true,"id":3156}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":3169},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3184},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3172},"lighterFill":{"__isSmartRef__":true,"id":3185},"label":{"__isSmartRef__":true,"id":3156},"attributeConnections":[{"__isSmartRef__":true,"id":3194}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"padding":{"__isSmartRef__":true,"id":3195},"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":3196},"_Scale":1,"owner":null,"renderContextTable":{"__isSmartRef__":true,"id":3197},"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Button"},"3156":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":3157},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3162},"textColor":{"__isSmartRef__":true,"id":3160},"owner":{"__isSmartRef__":true,"id":3155},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3163}],"padding":{"__isSmartRef__":true,"id":3165},"_Padding":{"__isSmartRef__":true,"id":3166},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3167},"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":3168},"__LivelyClassName__":"lively.morphic.Text"},"3157":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3158},"_Extent":{"__isSmartRef__":true,"id":3159},"_BorderColor":{"__isSmartRef__":true,"id":3160},"renderContextTable":{"__isSmartRef__":true,"id":3161},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3158":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3159":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3160":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3161":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3162":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3163":{"style":{"__isSmartRef__":true,"id":3164},"chunkOwner":{"__isSmartRef__":true,"id":3156},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3164":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3165":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3166":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3167":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3168":{"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"},"3169":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3170},"_Extent":{"__isSmartRef__":true,"id":3171},"_Fill":{"__isSmartRef__":true,"id":3172},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3182},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3183},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3170":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3171":{"x":116,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3172":{"stops":[{"__isSmartRef__":true,"id":3173},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3179}],"vector":{"__isSmartRef__":true,"id":3181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3173":{"offset":0,"color":{"__isSmartRef__":true,"id":3174}},"3174":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3175":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3176}},"3176":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3177":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3178}},"3178":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3179":{"offset":1,"color":{"__isSmartRef__":true,"id":3180}},"3180":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3181":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3182":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3183":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setOpacity":"setOpacityHTML"},"3184":{"x":215,"y":35,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3185":{"stops":[{"__isSmartRef__":true,"id":3186},{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3190},{"__isSmartRef__":true,"id":3192}],"vector":{"__isSmartRef__":true,"id":3181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3186":{"offset":0,"color":{"__isSmartRef__":true,"id":3187}},"3187":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3188":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3189}},"3189":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3190":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3191}},"3191":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3192":{"offset":1,"color":{"__isSmartRef__":true,"id":3193}},"3193":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3194":{"sourceObj":{"__isSmartRef__":true,"id":3155},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2324},"targetMethodName":"chooseTargetMorphMenu","__SourceModuleName__":"Global.lively.bindings","converter":null,"converterString":null,"updater":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection"},"3195":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3196":{"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"},"3197":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML"},"3198":{"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"},"3199":{"x":715.5,"y":73.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3200":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":3201},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3208},"_MaxTextWidth":218,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3209},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":3210},"textChunks":[{"__isSmartRef__":true,"id":3211}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":3213}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"priorExtent":{"__isSmartRef__":true,"id":3215},"_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":3216},"eventHandler":{"__isSmartRef__":true,"id":3217},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":3218},"selection":{"__isSmartRef__":true,"id":3237},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":3516},"_Rotation":0,"_Scale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":3517},"savedTextString":"100","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3518},"__LivelyClassName__":"lively.morphic.Text"},"3201":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3202},"_Extent":{"__isSmartRef__":true,"id":3203},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3204},"renderContextTable":{"__isSmartRef__":true,"id":3205},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3206},"_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":3207},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3202":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3203":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3204":{"r":0.753,"g":0.753,"b":0.753,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3205":{"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"},"3206":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3207":{"r":0.9548430751559654,"g":0.9548430751559654,"b":0.9548430751559654,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3208":{"x":200,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3209":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3210":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3211":{"style":{"__isSmartRef__":true,"id":3212},"chunkOwner":{"__isSmartRef__":true,"id":3200},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3212":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3213":{"sourceObj":{"__isSmartRef__":true,"id":3200},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2306},"targetMethodName":"setTarget","converter":null,"converterString":"function (name) { return $world.get(name)}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3214},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3214":{"source":{"__isSmartRef__":true,"id":3200},"target":{"__isSmartRef__":true,"id":2306}},"3215":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3216":{"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"},"3217":{"morph":{"__isSmartRef__":true,"id":3200},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3218":{"createListMorph":{"__isSmartRef__":true,"id":3219},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":3221},"onMouseUp":{"__isSmartRef__":true,"id":3223},"resetConnections":{"__isSmartRef__":true,"id":3225},"setTargetToListSelection":{"__isSmartRef__":true,"id":3227},"setTargetOfPane":{"__isSmartRef__":true,"id":3229},"onBlur":{"__isSmartRef__":true,"id":3231},"reset":{"__isSmartRef__":true,"id":3233},"onMouseDown":{"__isSmartRef__":true,"id":3235}},"3219":{"time":{"__isSmartRef__":true,"id":3220},"user":"lauritz"},"3220":{"isSerializedDate":true,"string":"Thu Oct 27 2011 20:27:29 GMT-0700 (PDT)"},"3221":{"time":{"__isSmartRef__":true,"id":3222},"user":"lauritz"},"3222":{"isSerializedDate":true,"string":"Fri Oct 14 2011 14:48:37 GMT-0700 (PDT)"},"3223":{"time":{"__isSmartRef__":true,"id":3224},"user":"lauritz"},"3224":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:51:14 GMT-0700 (PDT)"},"3225":{"time":{"__isSmartRef__":true,"id":3226},"user":"lauritz"},"3226":{"isSerializedDate":true,"string":"Tue Sep 27 2011 16:03:17 GMT-0700 (PDT)"},"3227":{"time":{"__isSmartRef__":true,"id":3228},"user":"lauritz"},"3228":{"isSerializedDate":true,"string":"Fri Oct 14 2011 15:00:58 GMT-0700 (PDT)"},"3229":{"time":{"__isSmartRef__":true,"id":3230},"user":"lauritz"},"3230":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:34:37 GMT-0700 (PDT)"},"3231":{"time":{"__isSmartRef__":true,"id":3232},"user":"lauritz"},"3232":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:24:18 GMT-0700 (PDT)"},"3233":{"time":{"__isSmartRef__":true,"id":3234},"user":"lauritz"},"3234":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:26:15 GMT-0700 (PDT)"},"3235":{"time":{"__isSmartRef__":true,"id":3236},"user":"lauritz"},"3236":{"isSerializedDate":true,"string":"Mon Oct 17 2011 10:49:00 GMT-0700 (PDT)"},"3237":{"submorphs":[{"__isSmartRef__":true,"id":2306},{"__isSmartRef__":true,"id":3238},{"__isSmartRef__":true,"id":3278}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3420},"id":"63231770-5924-43F1-A536-175CEDD2A792","renderContextTable":{"__isSmartRef__":true,"id":3425},"eventHandler":{"__isSmartRef__":true,"id":3426},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":3427},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":3428},"targetMorph":{"__isSmartRef__":true,"id":2306},"titleBar":{"__isSmartRef__":true,"id":3278},"contentOffset":{"__isSmartRef__":true,"id":3429},"collapsedTransform":{"__isSmartRef__":true,"id":3430},"collapsedExtent":{"__isSmartRef__":true,"id":3431},"expandedTransform":{"__isSmartRef__":true,"id":3432},"expandedExtent":{"__isSmartRef__":true,"id":3433},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3434},"name":"ObjectEditor1","prevDragPos":{"__isSmartRef__":true,"id":3497},"highlighted":false,"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","expandedPosition":{"__isSmartRef__":true,"id":3498},"state":"expanded","collapsedPosition":{"__isSmartRef__":true,"id":3499},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"minSize":{"__isSmartRef__":true,"id":3500},"minExtent":{"__isSmartRef__":true,"id":3501},"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":3502},"moved":true,"_Rotation":0,"_Scale":1.008036120330794,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3503},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"3238":{"submorphs":[],"scripts":[],"id":"6AE6AC5E-A8C6-4574-8D04-8DC3358CE377","shape":{"__isSmartRef__":true,"id":3239},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3246},"showsHalos":false,"name":"ResizeCorner4","partsBinMetaInfo":{"__isSmartRef__":true,"id":3247},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":3248},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":3249},"eventHandler":{"__isSmartRef__":true,"id":3250},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":3251},"owner":{"__isSmartRef__":true,"id":3237},"priorExtent":{"__isSmartRef__":true,"id":3252},"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"derivationIds":[227,"83D58336-D35B-44FB-9AB1-4467EC058CFA","0141EF2D-898D-4A88-93BF-1B9FEE7E56E6","F343780D-46A1-490F-8347-08939D52329C","DCD3B012-B22F-4037-B24A-FCF858D154D4","E6EDFE95-F114-4F7E-84D5-60B3212BC420","D39E5489-4C7C-4BB7-8D11-83F82F09FF84","B262116A-CEFD-4CEF-AAE0-BE2BED9E7CAF"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3253},"__LivelyClassName__":"lively.morphic.Box"},"3239":{"position":{"__isSmartRef__":true,"id":3240},"_Extent":{"__isSmartRef__":true,"id":3241},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3242},"_Fill":{"__isSmartRef__":true,"id":3243},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3244},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3245},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3240":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3241":{"x":13,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3242":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3243":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3244":{"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"},"3245":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3246":{"x":675,"y":553,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3247":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3248":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3249":{"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"},"3250":{"morph":{"__isSmartRef__":true,"id":3238},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3251":{"x":42.327599102410886,"y":-22.830104041830054,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3252":{"x":12,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3253":{"onDrag":{"__isSmartRef__":true,"id":3254},"onDragEnd":{"__isSmartRef__":true,"id":3262},"onDragStart":{"__isSmartRef__":true,"id":3270}},"3254":{"varMapping":{"__isSmartRef__":true,"id":3255},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\tmoveDelta = pt(maxDelta, maxDelta);\n }\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":3260},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3255":{"this":{"__isSmartRef__":true,"id":3238},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3256}},"3256":{"$super":{"__isSmartRef__":true,"id":3257}},"3257":{"varMapping":{"__isSmartRef__":true,"id":3258},"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":3259},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3258":{"obj":{"__isSmartRef__":true,"id":3238},"name":"onDrag"},"3259":{},"3260":{"timestamp":{"__isSmartRef__":true,"id":3261},"user":"lauritz"},"3261":{"isSerializedDate":true,"string":"Wed Nov 16 2011 20:05:30 GMT-0800 (PST)"},"3262":{"varMapping":{"__isSmartRef__":true,"id":3263},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3268},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3263":{"this":{"__isSmartRef__":true,"id":3238},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3264}},"3264":{"$super":{"__isSmartRef__":true,"id":3265}},"3265":{"varMapping":{"__isSmartRef__":true,"id":3266},"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":3267},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3266":{"obj":{"__isSmartRef__":true,"id":3238},"name":"onDragEnd"},"3267":{},"3268":{"timestamp":{"__isSmartRef__":true,"id":3269},"user":"lauritz"},"3269":{"isSerializedDate":true,"string":"Wed Nov 16 2011 20:05:30 GMT-0800 (PST)"},"3270":{"varMapping":{"__isSmartRef__":true,"id":3271},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":3276},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3271":{"this":{"__isSmartRef__":true,"id":3238},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3272}},"3272":{"$super":{"__isSmartRef__":true,"id":3273}},"3273":{"varMapping":{"__isSmartRef__":true,"id":3274},"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":3275},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3274":{"obj":{"__isSmartRef__":true,"id":3238},"name":"onDragStart"},"3275":{},"3276":{"timestamp":{"__isSmartRef__":true,"id":3277},"user":"lauritz"},"3277":{"isSerializedDate":true,"string":"Wed Nov 16 2011 20:05:35 GMT-0800 (PST)"},"3278":{"submorphs":[{"__isSmartRef__":true,"id":3279},{"__isSmartRef__":true,"id":3293},{"__isSmartRef__":true,"id":3340},{"__isSmartRef__":true,"id":3374}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3409},"id":"B1AAD6AF-D3FC-4FC0-8516-47F06BE322EB","renderContextTable":{"__isSmartRef__":true,"id":3415},"eventHandler":{"__isSmartRef__":true,"id":3416},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3417},"_Position":{"__isSmartRef__":true,"id":3418},"windowMorph":{"__isSmartRef__":true,"id":3237},"label":{"__isSmartRef__":true,"id":3279},"closeButton":{"__isSmartRef__":true,"id":3293},"menuButton":{"__isSmartRef__":true,"id":3340},"collapseButton":{"__isSmartRef__":true,"id":3374},"priorExtent":{"__isSmartRef__":true,"id":3419},"owner":{"__isSmartRef__":true,"id":3237},"prevScroll":[0,0],"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"derivationIds":[228,"084DFF55-BC61-4772-8BF7-F6A87C08DE9F","D22EFB93-AC9B-4FCE-9464-3B314FFA4C11","A5F9692A-C657-42B0-B8AA-D2E922A1DE8D","C47683FE-BA01-4AAB-BDE0-4862C049BCE7","BD427B66-7BE7-4205-84EC-825840E59F49","9C39A352-DBDD-48CE-BEB0-99806EDB5253","E813CB65-A28C-4433-BBE5-EB70FBBB3289"],"_Scale":1,"__LivelyClassName__":"lively.morphic.TitleBar"},"3279":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3280},"id":"5BECEE33-78B0-4CBB-A470-AF4246A00569","renderContextTable":{"__isSmartRef__":true,"id":3286},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3287}],"eventHandler":{"__isSmartRef__":true,"id":3289},"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":3290},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3278},"priorExtent":{"__isSmartRef__":true,"id":3291},"_MaxTextWidth":629,"_MinTextWidth":629,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":3292},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[229,"D760A244-216E-4A66-8201-25AFC3AB6CC3","D0DE1BA6-E69D-4C19-A257-9D846EA6D12C","7590D64D-7524-4378-BB7E-845EC8CAE745","8996B9DB-C10E-41E4-8286-056BBCF8E151","18942143-8626-4D26-A7D9-153295EE4B23","A410C3F9-F31A-4BC9-A998-ABA33334F720","BEEB144B-EFF3-4E29-A539-41264A731D6C"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3280":{"_Position":{"__isSmartRef__":true,"id":3281},"renderContextTable":{"__isSmartRef__":true,"id":3282},"_Extent":{"__isSmartRef__":true,"id":3283},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3284},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3285},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3281":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3282":{"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"},"3283":{"x":629,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3284":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3285":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3286":{"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"},"3287":{"style":{"__isSmartRef__":true,"id":3288},"chunkOwner":{"__isSmartRef__":true,"id":3279},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ObjectEditor","__LivelyClassName__":"lively.morphic.TextChunk"},"3288":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3289":{"morph":{"__isSmartRef__":true,"id":3279},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3290":{"resizeWidth":true},"3291":{"x":629,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3292":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3293":{"submorphs":[{"__isSmartRef__":true,"id":3294}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3306},"id":"BD0F89AE-0F7F-4D21-AC53-46195FD29A1D","renderContextTable":{"__isSmartRef__":true,"id":3322},"eventHandler":{"__isSmartRef__":true,"id":3323},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3324},"priorExtent":{"__isSmartRef__":true,"id":3325},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3312},"lighterFill":{"__isSmartRef__":true,"id":3326},"label":{"__isSmartRef__":true,"id":3294},"owner":{"__isSmartRef__":true,"id":3278},"layout":{"__isSmartRef__":true,"id":3335},"attributeConnections":[{"__isSmartRef__":true,"id":3336},{"__isSmartRef__":true,"id":3338}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[230,"EE58E329-4B81-4ABE-A8D6-A3E1AA5BF908","418BD036-5123-49E3-A68D-B2CA74DD4EBA","AB2EC618-F852-4DB4-8601-C98F851F983A","84444904-5A59-41A9-9200-77C2DFC28F0A","BCDE4CA6-1D56-45F5-980B-4BF689C874DD","C3377671-C2BC-4F1B-93B3-CF0083C27FC9","F8D02126-AD53-4ED0-9EA5-6EB71D788E14"],"_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"3294":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3295},"id":"5DF74A20-C2A9-4E96-89F7-BC933B6AF0A4","renderContextTable":{"__isSmartRef__":true,"id":3300},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3301}],"eventHandler":{"__isSmartRef__":true,"id":3303},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3304},"priorExtent":{"__isSmartRef__":true,"id":3305},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3293},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[231,"8DB42E03-8473-4B83-81E2-61EE04DF890A","B50E6B6E-F836-4B3E-8AD1-2B34DA86CE3B","60439D94-5083-4977-8470-BD8843FF782A","5EC44375-A7D5-4BD3-AFC7-C507DF8D60C8","5BDCC4F6-C579-4A6F-96BB-2F59131EFD32","712DF12F-50C4-4EEB-9C4C-47A4DC15E968","6A46E35D-28F8-4F0F-B812-E79D2A1994B3"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3295":{"_Position":{"__isSmartRef__":true,"id":3296},"renderContextTable":{"__isSmartRef__":true,"id":3297},"_Extent":{"__isSmartRef__":true,"id":3298},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3299},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3285},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3296":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3297":{"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"},"3298":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3299":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3300":{"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"},"3301":{"style":{"__isSmartRef__":true,"id":3302},"chunkOwner":{"__isSmartRef__":true,"id":3294},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"3302":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3303":{"morph":{"__isSmartRef__":true,"id":3294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3304":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3305":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3306":{"_Position":{"__isSmartRef__":true,"id":3307},"renderContextTable":{"__isSmartRef__":true,"id":3308},"_Extent":{"__isSmartRef__":true,"id":3309},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3310},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3311},"_Fill":{"__isSmartRef__":true,"id":3312},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3307":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3308":{"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"},"3309":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3310":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3311":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3312":{"stops":[{"__isSmartRef__":true,"id":3313},{"__isSmartRef__":true,"id":3315},{"__isSmartRef__":true,"id":3317},{"__isSmartRef__":true,"id":3319}],"vector":{"__isSmartRef__":true,"id":3321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3313":{"offset":0,"color":{"__isSmartRef__":true,"id":3314}},"3314":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3315":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3316}},"3316":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3317":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3318}},"3318":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3319":{"offset":1,"color":{"__isSmartRef__":true,"id":3320}},"3320":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3321":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3322":{"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"},"3323":{"morph":{"__isSmartRef__":true,"id":3293},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3324":{"x":668,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3326":{"stops":[{"__isSmartRef__":true,"id":3327},{"__isSmartRef__":true,"id":3329},{"__isSmartRef__":true,"id":3331},{"__isSmartRef__":true,"id":3333}],"vector":{"__isSmartRef__":true,"id":3321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3327":{"offset":0,"color":{"__isSmartRef__":true,"id":3328}},"3328":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3329":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3330}},"3330":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3331":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3332}},"3332":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3333":{"offset":1,"color":{"__isSmartRef__":true,"id":3334}},"3334":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3335":{"moveHorizontal":true},"3336":{"sourceObj":{"__isSmartRef__":true,"id":3293},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3337},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3337":{"source":{"__isSmartRef__":true,"id":3293},"target":{"__isSmartRef__":true,"id":3237}},"3338":{"sourceObj":{"__isSmartRef__":true,"id":3293},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3339},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3339":{"source":{"__isSmartRef__":true,"id":3293},"target":{"__isSmartRef__":true,"id":3237}},"3340":{"submorphs":[{"__isSmartRef__":true,"id":3341}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3352},"id":"56176B31-B030-4446-9A47-DE38D53B3651","renderContextTable":{"__isSmartRef__":true,"id":3357},"eventHandler":{"__isSmartRef__":true,"id":3358},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3359},"priorExtent":{"__isSmartRef__":true,"id":3360},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3312},"lighterFill":{"__isSmartRef__":true,"id":3361},"label":{"__isSmartRef__":true,"id":3341},"owner":{"__isSmartRef__":true,"id":3278},"attributeConnections":[{"__isSmartRef__":true,"id":3370},{"__isSmartRef__":true,"id":3372}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[232,"F393CBFF-A15D-4D1D-A3A3-DA0C7EF93B66","5BC57B43-1661-4C92-827E-E6CCB6E519E1","DDA3D28B-E4EA-4F17-9B68-D6964E9A2524","93D34CE0-A8E8-43DA-AA3B-3B32912E0BC1","93EA3F6A-3D2D-41E5-8FBD-16CDD8BD7946","C32E10BE-5DA5-46B4-B508-BDA50452B006","39B24C04-E0C8-46B6-91D3-A7CB1A79DF2A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"3341":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3342},"id":"FDF89832-A15F-4B89-8E38-33004D86D7DF","renderContextTable":{"__isSmartRef__":true,"id":3346},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3347}],"eventHandler":{"__isSmartRef__":true,"id":3349},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3350},"priorExtent":{"__isSmartRef__":true,"id":3351},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3340},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[233,"E1DC624A-DE6A-4680-92DA-803BFFE6CD54","2EB42409-E0C2-408B-8F84-EDF9EBFB2590","0684F49F-5338-4D44-82C9-5A4E2D62EE72","0B73719D-BC87-4B8D-890D-30C0714B5584","90D2BAAA-EB9D-45AF-8770-9616421A5762","1FAA3617-0517-49D7-ADCB-15357C49A9BB","F746D14F-BC62-4FAC-A5F0-DCC9D1DF650A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3342":{"_Position":{"__isSmartRef__":true,"id":3343},"renderContextTable":{"__isSmartRef__":true,"id":3344},"_Extent":{"__isSmartRef__":true,"id":3345},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3299},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3285},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3343":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3344":{"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"},"3345":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3346":{"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"},"3347":{"style":{"__isSmartRef__":true,"id":3348},"chunkOwner":{"__isSmartRef__":true,"id":3341},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"3348":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3349":{"morph":{"__isSmartRef__":true,"id":3341},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3350":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3351":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3352":{"_Position":{"__isSmartRef__":true,"id":3353},"renderContextTable":{"__isSmartRef__":true,"id":3354},"_Extent":{"__isSmartRef__":true,"id":3355},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3356},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3311},"_Fill":{"__isSmartRef__":true,"id":3312},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3353":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3354":{"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"},"3355":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3356":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3357":{"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"},"3358":{"morph":{"__isSmartRef__":true,"id":3340},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3359":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3360":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3361":{"stops":[{"__isSmartRef__":true,"id":3362},{"__isSmartRef__":true,"id":3364},{"__isSmartRef__":true,"id":3366},{"__isSmartRef__":true,"id":3368}],"vector":{"__isSmartRef__":true,"id":3321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3362":{"offset":0,"color":{"__isSmartRef__":true,"id":3363}},"3363":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3364":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3365}},"3365":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3366":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3367}},"3367":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3368":{"offset":1,"color":{"__isSmartRef__":true,"id":3369}},"3369":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3370":{"sourceObj":{"__isSmartRef__":true,"id":3340},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3371},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3371":{"source":{"__isSmartRef__":true,"id":3340},"target":{"__isSmartRef__":true,"id":3237}},"3372":{"sourceObj":{"__isSmartRef__":true,"id":3340},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3373},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3373":{"source":{"__isSmartRef__":true,"id":3340},"target":{"__isSmartRef__":true,"id":3237}},"3374":{"submorphs":[{"__isSmartRef__":true,"id":3375}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3386},"id":"D4C548E3-5C8B-4177-B911-DF0227491B8E","renderContextTable":{"__isSmartRef__":true,"id":3391},"eventHandler":{"__isSmartRef__":true,"id":3392},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3393},"priorExtent":{"__isSmartRef__":true,"id":3394},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3312},"lighterFill":{"__isSmartRef__":true,"id":3395},"label":{"__isSmartRef__":true,"id":3375},"owner":{"__isSmartRef__":true,"id":3278},"layout":{"__isSmartRef__":true,"id":3404},"attributeConnections":[{"__isSmartRef__":true,"id":3405},{"__isSmartRef__":true,"id":3407}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[234,"EC7EDE8E-294A-46CF-85BB-BBC525336E13","F24B29EE-0964-499D-834F-E3D087DC6003","F6F3659F-9229-46AA-9B9E-46627A7062B2","A88C4D93-582A-4C0D-9F97-F2F0E291BB7E","AA05682F-3E98-433C-8C01-422A46068DFC","A12AF6EA-E1A6-4527-8E16-D276C19A3A0E","4C7D6ACD-B49F-4877-889E-F26C1CC71D95"],"_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"3375":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3376},"id":"64192C69-40B2-48F0-9F60-D5039D107F6A","renderContextTable":{"__isSmartRef__":true,"id":3380},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3381}],"eventHandler":{"__isSmartRef__":true,"id":3383},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3384},"priorExtent":{"__isSmartRef__":true,"id":3385},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3374},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[235,"F92ECC97-5F5B-4CDA-A829-270D000F0D88","A7CDAD5D-BCA1-4AF0-A092-9E81DF1F5C1B","35639FEE-51E8-4469-BB0E-5D1650F1E695","65EBC411-8078-4C93-9A62-F3E8D325DBA7","3F66B345-86BE-4AF4-84FC-BA468E960283","5CA475ED-1D1C-4934-9671-012AA9BAA280","CAC47AC8-FBAF-42E5-9BDA-15414CDFBDDE"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3376":{"_Position":{"__isSmartRef__":true,"id":3377},"renderContextTable":{"__isSmartRef__":true,"id":3378},"_Extent":{"__isSmartRef__":true,"id":3379},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3299},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3285},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3377":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3378":{"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"},"3379":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3380":{"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"},"3381":{"style":{"__isSmartRef__":true,"id":3382},"chunkOwner":{"__isSmartRef__":true,"id":3375},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"3382":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3383":{"morph":{"__isSmartRef__":true,"id":3375},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3384":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3385":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3386":{"_Position":{"__isSmartRef__":true,"id":3387},"renderContextTable":{"__isSmartRef__":true,"id":3388},"_Extent":{"__isSmartRef__":true,"id":3389},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3390},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3311},"_Fill":{"__isSmartRef__":true,"id":3312},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3387":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3388":{"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"},"3389":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3390":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3391":{"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"},"3392":{"morph":{"__isSmartRef__":true,"id":3374},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3393":{"x":649,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3394":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3395":{"stops":[{"__isSmartRef__":true,"id":3396},{"__isSmartRef__":true,"id":3398},{"__isSmartRef__":true,"id":3400},{"__isSmartRef__":true,"id":3402}],"vector":{"__isSmartRef__":true,"id":3321},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3396":{"offset":0,"color":{"__isSmartRef__":true,"id":3397}},"3397":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3398":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3399}},"3399":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3400":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3401}},"3401":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3402":{"offset":1,"color":{"__isSmartRef__":true,"id":3403}},"3403":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3404":{"moveHorizontal":true},"3405":{"sourceObj":{"__isSmartRef__":true,"id":3374},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3406},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3406":{"source":{"__isSmartRef__":true,"id":3374},"target":{"__isSmartRef__":true,"id":3237}},"3407":{"sourceObj":{"__isSmartRef__":true,"id":3374},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3237},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3408},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3408":{"source":{"__isSmartRef__":true,"id":3374},"target":{"__isSmartRef__":true,"id":3237}},"3409":{"_Position":{"__isSmartRef__":true,"id":3410},"renderContextTable":{"__isSmartRef__":true,"id":3411},"_Extent":{"__isSmartRef__":true,"id":3412},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3413},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3414},"_Fill":{"__isSmartRef__":true,"id":1273},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3410":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3411":{"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"},"3412":{"x":688,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3413":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3414":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3415":{"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"},"3416":{"morph":{"__isSmartRef__":true,"id":3278},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3417":{"resizeWidth":true,"adjustForNewBounds":true},"3418":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3419":{"x":688,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3420":{"renderContextTable":{"__isSmartRef__":true,"id":3421},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3422},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3423},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3424},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3421":{"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"},"3422":{"x":688,"y":567,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3423":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3424":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3425":{"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"},"3426":{"morph":{"__isSmartRef__":true,"id":3237},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3427":{"adjustForNewBounds":true},"3428":{"x":688,"y":567,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3429":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3430":{"a":1,"b":0,"c":0,"d":1,"e":21,"f":92.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"3431":{"x":723,"y":268,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3432":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":25.958169966165087,"f":125.02070906988553,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"3433":{"x":729,"y":365,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3434":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a morph.","partName":"ObjectEditor","changes":[{"__isSmartRef__":true,"id":3435},{"__isSmartRef__":true,"id":3437},{"__isSmartRef__":true,"id":3439},{"__isSmartRef__":true,"id":3441},{"__isSmartRef__":true,"id":3443},{"__isSmartRef__":true,"id":3445},{"__isSmartRef__":true,"id":3447},{"__isSmartRef__":true,"id":3449},{"__isSmartRef__":true,"id":3451},{"__isSmartRef__":true,"id":3453},{"__isSmartRef__":true,"id":3455},{"__isSmartRef__":true,"id":3457},{"__isSmartRef__":true,"id":3459},{"__isSmartRef__":true,"id":3461},{"__isSmartRef__":true,"id":3463},{"__isSmartRef__":true,"id":3465},{"__isSmartRef__":true,"id":3467},{"__isSmartRef__":true,"id":3469},{"__isSmartRef__":true,"id":3471},{"__isSmartRef__":true,"id":3473},{"__isSmartRef__":true,"id":3475},{"__isSmartRef__":true,"id":3477},{"__isSmartRef__":true,"id":3479},{"__isSmartRef__":true,"id":3481},{"__isSmartRef__":true,"id":3483},{"__isSmartRef__":true,"id":3485},{"__isSmartRef__":true,"id":3487},{"__isSmartRef__":true,"id":3489},{"__isSmartRef__":true,"id":3491},{"__isSmartRef__":true,"id":3493},{"__isSmartRef__":true,"id":3495}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3435":{"date":{"__isSmartRef__":true,"id":3436},"author":"sstamm","message":"added save button","id":"3A85D0AF-64E0-40C7-8C4E-61CD462F3971"},"3436":{"isSerializedDate":true,"string":"Fri Feb 03 2012 02:45:18 GMT-0800 (PST)"},"3437":{"date":{"__isSmartRef__":true,"id":3438},"author":"bsiegmund","message":"Run Button now moving when window is resized","id":"9ECA7B2B-8322-42C5-8EFA-49AC432960B4"},"3438":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:36:10 GMT-0800 (PST)"},"3439":{"date":{"__isSmartRef__":true,"id":3440},"author":"lauritz","message":"changed label \"Category:\" to \"Tag:\".","id":"DBC877ED-0328-44A8-A46D-FE83C935797F"},"3440":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:50:45 GMT-0800 (PST)"},"3441":{"date":{"__isSmartRef__":true,"id":3442},"author":"lauritz","message":"adapted layout of notifications","id":"1C01FAB9-AD9A-44B5-BAF1-EC06408A767E"},"3442":{"isSerializedDate":true,"string":"Wed Nov 23 2011 09:26:48 GMT-0800 (PST)"},"3443":{"date":{"__isSmartRef__":true,"id":3444},"author":"lauritz","message":"fixed a bug (onBlur event handling) and added the world to the target chooser","id":"A8C151D4-0767-44E0-B586-090EA305BDF5"},"3444":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:14:00 GMT-0800 (PST)"},"3445":{"date":{"__isSmartRef__":true,"id":3446},"author":"jenslincke","message":"- reset title bar and borders","id":"8CE7DA3C-5C83-4151-A3A7-7B41D1C555BD"},"3446":{"isSerializedDate":true,"string":"Fri Nov 18 2011 06:26:49 GMT-0800 (PST)"},"3447":{"date":{"__isSmartRef__":true,"id":3448},"author":"lauritz","message":"Refactoring of script annotations (now at scripts not morphs). Added category tagging. Layout changes.","id":"1A9DA32B-8A1D-4CCF-92CB-47462F8CF117"},"3448":{"isSerializedDate":true,"string":"Thu Nov 17 2011 14:22:54 GMT-0800 (PST)"},"3449":{"date":{"__isSmartRef__":true,"id":3450},"author":"lauritz","message":"layout adaptions","id":"6F1AEBDC-EED3-4CE0-B84C-F4DD4DA784C5"},"3450":{"isSerializedDate":true,"string":"Tue Nov 15 2011 17:12:15 GMT-0800 (PST)"},"3451":{"date":{"__isSmartRef__":true,"id":3452},"author":"lauritz","message":"two more checks on attempts to remove scripts or connections.","id":"ED9F0090-C36C-4BC6-8FD2-A6FB60C7A0B2"},"3452":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:47:27 GMT-0800 (PST)"},"3453":{"date":{"__isSmartRef__":true,"id":3454},"author":"lauritz","message":"added confirmation before removal of scripts or connections.","id":"00B5B7BA-FC00-4B1C-A967-B8A38B05EEA8"},"3454":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:42:28 GMT-0800 (PST)"},"3455":{"date":{"__isSmartRef__":true,"id":3456},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"3456":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:40:22 GMT-0700 (PDT)"},"3457":{"date":{"__isSmartRef__":true,"id":3458},"author":"lauritz","message":"Locked down submorphs of the editor pane. Grabbing and dragging disabled. "},"3458":{"isSerializedDate":true,"string":"Thu Oct 27 2011 20:36:22 GMT-0700 (PDT)"},"3459":{"date":{"__isSmartRef__":true,"id":3460},"author":"jenslincke","message":"bring resize handle to front","id":"996D26BC-8567-486E-B114-A9041230543D"},"3460":{"isSerializedDate":true,"string":"Fri Nov 04 2011 05:41:36 GMT-0700 (PDT)"},"3461":{"date":{"__isSmartRef__":true,"id":3462},"author":"jenslincke","message":"set min extent to pt(500,300)","id":"20634435-660B-4E80-93FF-8B8C4F5E0453"},"3462":{"isSerializedDate":true,"string":"Fri Nov 04 2011 05:44:45 GMT-0700 (PDT)"},"3463":{"date":{"__isSmartRef__":true,"id":3464},"author":"lauritz","message":"set a minExtent","id":"85B641E5-15C6-4C6D-BE9A-F4F96E347258"},"3464":{"isSerializedDate":true,"string":"Tue Nov 15 2011 11:12:45 GMT-0800 (PST)"},"3465":{"date":{"__isSmartRef__":true,"id":3466},"author":"lauritz","message":"removed a missed debugger statement. corrected setting of target.","id":"BD747202-2BE7-4560-8EB2-DBA586BAD46F"},"3466":{"isSerializedDate":true,"string":"Fri Nov 18 2011 11:19:07 GMT-0800 (PST)"},"3467":{"date":{"__isSmartRef__":true,"id":3468},"author":"lauritz","message":"added a border to notifications, centered notification text","id":"D1DDACFE-EC70-45FB-8178-0A93C8DC81F1"},"3468":{"isSerializedDate":true,"string":"Tue Nov 22 2011 14:02:14 GMT-0800 (PST)"},"3469":{"date":{"__isSmartRef__":true,"id":3470},"author":"lauritz","message":"renamed .categorize to .tag","id":"470CD024-16F9-4221-B2D7-87FAC17B198B"},"3470":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:44:44 GMT-0800 (PST)"},"3471":{"date":{"__isSmartRef__":true,"id":3472},"author":"lauritz","message":"fixed a defect (weeeeeird property caused an error on deserialization of copies)","id":"F6F92336-29F4-4FB4-B597-B8EF12E2922E"},"3472":{"isSerializedDate":true,"string":"Wed Nov 30 2011 14:55:11 GMT-0800 (PST)"},"3473":{"date":{"__isSmartRef__":true,"id":3474},"author":"lauritz","message":"fixed a bug regarding anonymous morphs.","id":"30C42CB6-324C-455D-8B3E-828A80325027"},"3474":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:31:58 GMT-0800 (PST)"},"3475":{"date":{"__isSmartRef__":true,"id":3476},"author":"lauritz","message":"workaround for issue #161 - target morph list is scrollable","id":"7D5DAE37-46E2-4C63-8008-AA553CD6B1E9"},"3476":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:13:13 GMT-0800 (PST)"},"3477":{"date":{"__isSmartRef__":true,"id":3478},"author":"lauritz","message":"removed a workaround","id":"9AC9A97B-E63C-4C24-BCAF-6DC61C3A677C"},"3478":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:56:45 GMT-0800 (PST)"},"3479":{"date":{"__isSmartRef__":true,"id":3480},"author":"lauritz","message":"tries to get user directly from localStorage now. if there's no user set, then we don't call CGI - logging into trac should not be necessary for developing parts.","id":"0F65058D-3BF4-4538-8B89-1267B58DE137"},"3480":{"isSerializedDate":true,"string":"Tue Dec 13 2011 13:04:53 GMT-0800 (PST)"},"3481":{"date":{"__isSmartRef__":true,"id":3482},"author":"lauritz","message":"sorted tag list.","id":"597DB7EB-1788-42DC-A64F-E061D7B831EC"},"3482":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:23:14 GMT-0800 (PST)"},"3483":{"date":{"__isSmartRef__":true,"id":3484},"author":"lauritz","message":"top-most entry of the tag list is \"all\" now.","id":"62D12D9E-7F42-40CC-BB5B-162130454572"},"3484":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:28:30 GMT-0800 (PST)"},"3485":{"date":{"__isSmartRef__":true,"id":3486},"author":"lauritz","message":"","id":"72E0F00D-53A7-43E9-AD7B-E34F485BC75E"},"3486":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:15:04 GMT-0800 (PST)"},"3487":{"date":{"__isSmartRef__":true,"id":3488},"author":"robertkrahn","message":"show scripts even if they are wrapped","id":"6F608C14-369B-49D6-8E91-81B35ABB14DE"},"3488":{"isSerializedDate":true,"string":"Fri Jan 27 2012 08:50:40 GMT-0800 (PST)"},"3489":{"date":{"__isSmartRef__":true,"id":3490},"author":"conradcalmez","message":"added run button for trying out methods","id":"D21502DF-B383-45AA-8DB2-16D6A4C7DFC0"},"3490":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:15 GMT-0800 (PST)"},"3491":{"date":{"__isSmartRef__":true,"id":3492},"author":"conradcalmez","message":"set selection of lists to null","id":"1C918344-7895-4714-9F8E-2BCC837250CA"},"3492":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:00:56 GMT-0800 (PST)"},"3493":{"date":{"__isSmartRef__":true,"id":3494},"author":"fbo","message":"","id":"EBED707C-49B0-4E5F-9DD8-FF84007B435E"},"3494":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:47:59 GMT-0800 (PST)"},"3495":{"date":{"__isSmartRef__":true,"id":3496},"author":"jenslincke","message":"open test runner near editor","id":"F5ACCA54-F9EA-434F-8D35-B6144728ACAB"},"3496":{"isSerializedDate":true,"string":"Wed Mar 14 2012 07:48:53 GMT-0700 (PDT)"},"3497":{"x":1492,"y":5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3498":{"x":25.958169966165087,"y":125.02070906988553,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3499":{"x":21,"y":92.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3500":{"x":500,"y":300,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3501":{"x":455,"y":268,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3502":{"x":1047.3437349627793,"y":4.263213518163411,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3503":{"setTarget":{"__isSmartRef__":true,"id":3504},"reset":{"__isSmartRef__":true,"id":3508},"onShutdown":{"__isSmartRef__":true,"id":3512}},"3504":{"varMapping":{"__isSmartRef__":true,"id":3505},"source":"function setTarget(t) {\n this.targetMorph.setTarget(t);\n}","funcProperties":{"__isSmartRef__":true,"id":3506},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3505":{"this":{"__isSmartRef__":true,"id":3237}},"3506":{"timestamp":{"__isSmartRef__":true,"id":3507},"user":"lauritz","categories":[]},"3507":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:23 GMT-0800 (PST)"},"3508":{"varMapping":{"__isSmartRef__":true,"id":3509},"source":"function reset() {\n this.targetMorph.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":3510},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3509":{"this":{"__isSmartRef__":true,"id":3237}},"3510":{"timestamp":{"__isSmartRef__":true,"id":3511},"user":"lauritz","categories":[]},"3511":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:23 GMT-0800 (PST)"},"3512":{"varMapping":{"__isSmartRef__":true,"id":3513},"source":"function onShutdown() {\n this.targetMorph.onShutdown();\n}","funcProperties":{"__isSmartRef__":true,"id":3514},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3513":{"this":{"__isSmartRef__":true,"id":3237}},"3514":{"timestamp":{"__isSmartRef__":true,"id":3515},"user":"lauritz","categories":[]},"3515":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:25:16 GMT-0700 (PDT)"},"3516":{},"3517":{"x":153.8540395186758,"y":-23.74126935194758,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3518":{"getList":{"__isSmartRef__":true,"id":3519},"setList":{"__isSmartRef__":true,"id":3522},"reset":{"__isSmartRef__":true,"id":3525},"example":{"__isSmartRef__":true,"id":3528},"removeList":{"__isSmartRef__":true,"id":3531},"onBlur":{"__isSmartRef__":true,"id":3534},"createListMorph":{"__isSmartRef__":true,"id":3541},"resetConnections":{"__isSmartRef__":true,"id":3544},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":3547},"setTargetToListSelection":{"__isSmartRef__":true,"id":3550},"setTargetOfPane":{"__isSmartRef__":true,"id":3553},"onMouseDown":{"__isSmartRef__":true,"id":3556}},"3519":{"varMapping":{"__isSmartRef__":true,"id":3520},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":3521},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3520":{"this":{"__isSmartRef__":true,"id":3200}},"3521":{},"3522":{"varMapping":{"__isSmartRef__":true,"id":3523},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":3524},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3523":{"this":{"__isSmartRef__":true,"id":3200}},"3524":{},"3525":{"varMapping":{"__isSmartRef__":true,"id":3526},"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":3527},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3526":{"this":{"__isSmartRef__":true,"id":3200}},"3527":{},"3528":{"varMapping":{"__isSmartRef__":true,"id":3529},"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":3530},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3529":{"this":{"__isSmartRef__":true,"id":3200}},"3530":{},"3531":{"varMapping":{"__isSmartRef__":true,"id":3532},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3533},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3532":{"this":{"__isSmartRef__":true,"id":3200}},"3533":{},"3534":{"varMapping":{"__isSmartRef__":true,"id":3535},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":3540},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3535":{"this":{"__isSmartRef__":true,"id":3200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3536}},"3536":{"$super":{"__isSmartRef__":true,"id":3537}},"3537":{"varMapping":{"__isSmartRef__":true,"id":3538},"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":3539},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3538":{"obj":{"__isSmartRef__":true,"id":3200},"name":"onBlur"},"3539":{},"3540":{},"3541":{"varMapping":{"__isSmartRef__":true,"id":3542},"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":3543},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3542":{"this":{"__isSmartRef__":true,"id":3200}},"3543":{},"3544":{"varMapping":{"__isSmartRef__":true,"id":3545},"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":3546},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3545":{"this":{"__isSmartRef__":true,"id":3200}},"3546":{},"3547":{"varMapping":{"__isSmartRef__":true,"id":3548},"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":3549},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3548":{"this":{"__isSmartRef__":true,"id":3200}},"3549":{},"3550":{"varMapping":{"__isSmartRef__":true,"id":3551},"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":3552},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3551":{"this":{"__isSmartRef__":true,"id":3200}},"3552":{},"3553":{"varMapping":{"__isSmartRef__":true,"id":3554},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":3555},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3554":{"this":{"__isSmartRef__":true,"id":3200}},"3555":{},"3556":{"varMapping":{"__isSmartRef__":true,"id":3557},"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":3562},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3557":{"this":{"__isSmartRef__":true,"id":3200},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3558}},"3558":{"$super":{"__isSmartRef__":true,"id":3559}},"3559":{"varMapping":{"__isSmartRef__":true,"id":3560},"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":3561},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3560":{"obj":{"__isSmartRef__":true,"id":3200},"name":"onMouseDown"},"3561":{},"3562":{},"3563":{"morph":{"__isSmartRef__":true,"id":2324},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3564":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":3565},"setTarget":{"__isSmartRef__":true,"id":3568},"generateSourceForScript":{"__isSmartRef__":true,"id":3571},"generateSourceForConnection":{"__isSmartRef__":true,"id":3574},"generateTargetCode":{"__isSmartRef__":true,"id":3577},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":3580},"displayJavaScriptSource":{"__isSmartRef__":true,"id":3583},"displaySourceForScript":{"__isSmartRef__":true,"id":3586},"displaySourceForConnection":{"__isSmartRef__":true,"id":3589},"newScript":{"__isSmartRef__":true,"id":3592},"newConnection":{"__isSmartRef__":true,"id":3595},"deleteSelectedScript":{"__isSmartRef__":true,"id":3598},"disconnectConnection":{"__isSmartRef__":true,"id":3601},"updateLists":{"__isSmartRef__":true,"id":3604},"displayInitialScript":{"__isSmartRef__":true,"id":3607},"reset":{"__isSmartRef__":true,"id":3610},"selectChangedContent":{"__isSmartRef__":true,"id":3613}},"3565":{"varMapping":{"__isSmartRef__":true,"id":3566},"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":3567},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3566":{"this":{"__isSmartRef__":true,"id":2324}},"3567":{},"3568":{"varMapping":{"__isSmartRef__":true,"id":3569},"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":3570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3569":{"this":{"__isSmartRef__":true,"id":2324}},"3570":{},"3571":{"varMapping":{"__isSmartRef__":true,"id":3572},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":3573},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3572":{"this":{"__isSmartRef__":true,"id":2324}},"3573":{},"3574":{"varMapping":{"__isSmartRef__":true,"id":3575},"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":3576},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3575":{"this":{"__isSmartRef__":true,"id":2324}},"3576":{},"3577":{"varMapping":{"__isSmartRef__":true,"id":3578},"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":3579},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3578":{"this":{"__isSmartRef__":true,"id":2324}},"3579":{},"3580":{"varMapping":{"__isSmartRef__":true,"id":3581},"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":3582},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3581":{"this":{"__isSmartRef__":true,"id":2324}},"3582":{},"3583":{"varMapping":{"__isSmartRef__":true,"id":3584},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":3585},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3584":{"this":{"__isSmartRef__":true,"id":2324}},"3585":{},"3586":{"varMapping":{"__isSmartRef__":true,"id":3587},"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":3588},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3587":{"this":{"__isSmartRef__":true,"id":2324}},"3588":{},"3589":{"varMapping":{"__isSmartRef__":true,"id":3590},"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":3591},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3590":{"this":{"__isSmartRef__":true,"id":2324}},"3591":{},"3592":{"varMapping":{"__isSmartRef__":true,"id":3593},"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":3594},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3593":{"this":{"__isSmartRef__":true,"id":2324}},"3594":{},"3595":{"varMapping":{"__isSmartRef__":true,"id":3596},"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":3597},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3596":{"this":{"__isSmartRef__":true,"id":2324}},"3597":{},"3598":{"varMapping":{"__isSmartRef__":true,"id":3599},"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":3600},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3599":{"this":{"__isSmartRef__":true,"id":2324}},"3600":{},"3601":{"varMapping":{"__isSmartRef__":true,"id":3602},"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":3603},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3602":{"this":{"__isSmartRef__":true,"id":2324}},"3603":{},"3604":{"varMapping":{"__isSmartRef__":true,"id":3605},"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":3606},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3605":{"this":{"__isSmartRef__":true,"id":2324}},"3606":{},"3607":{"varMapping":{"__isSmartRef__":true,"id":3608},"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":3609},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3608":{"this":{"__isSmartRef__":true,"id":2324}},"3609":{},"3610":{"varMapping":{"__isSmartRef__":true,"id":3611},"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":3612},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3611":{"this":{"__isSmartRef__":true,"id":2324}},"3612":{},"3613":{"varMapping":{"__isSmartRef__":true,"id":3614},"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":3813},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3812":{"this":{"__isSmartRef__":true,"id":3759}},"3813":{"timestamp":{"__isSmartRef__":true,"id":3814},"user":"lauritz","categories":[]},"3814":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:46:54 GMT-0800 (PST)"},"3815":{"submorphs":[{"__isSmartRef__":true,"id":3816}],"scripts":[],"id":"41D0BA90-9646-4C3E-9EDC-A1D96F166986","shape":{"__isSmartRef__":true,"id":3831},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3847},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3834},"lighterFill":{"__isSmartRef__":true,"id":3848},"label":{"__isSmartRef__":true,"id":3816},"attributeConnections":[{"__isSmartRef__":true,"id":3857}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":3859},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":3860},"renderContextTable":{"__isSmartRef__":true,"id":3861},"priorExtent":{"__isSmartRef__":true,"id":3862},"owner":{"__isSmartRef__":true,"id":2306},"eventHandler":{"__isSmartRef__":true,"id":3863},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":2306},"distanceToDragEvent":{"__isSmartRef__":true,"id":3864},"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":3865},"__LivelyClassName__":"lively.morphic.Button"},"3816":{"submorphs":[],"scripts":[],"id":"D799885F-01B1-4140-830A-56493586F6B5","shape":{"__isSmartRef__":true,"id":3817},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3823},"textColor":{"__isSmartRef__":true,"id":3820},"owner":{"__isSmartRef__":true,"id":3815},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3824}],"padding":{"__isSmartRef__":true,"id":3826},"_Padding":{"__isSmartRef__":true,"id":3827},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3828},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":3829},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":3830},"_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"},"3817":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3818},"_Extent":{"__isSmartRef__":true,"id":3819},"_BorderColor":{"__isSmartRef__":true,"id":3820},"renderContextTable":{"__isSmartRef__":true,"id":3821},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3822},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3818":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3819":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3820":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3821":{"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"},"3822":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3823":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3824":{"style":{"__isSmartRef__":true,"id":3825},"morph":{"__isSmartRef__":true,"id":3816},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":3816},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"3825":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3826":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3827":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3828":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3829":{"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"},"3830":{"morph":{"__isSmartRef__":true,"id":3816},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3831":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3832},"_Extent":{"__isSmartRef__":true,"id":3833},"_Fill":{"__isSmartRef__":true,"id":3834},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3844},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3845},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3846},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3832":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3833":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3834":{"stops":[{"__isSmartRef__":true,"id":3835},{"__isSmartRef__":true,"id":3837},{"__isSmartRef__":true,"id":3839},{"__isSmartRef__":true,"id":3841}],"vector":{"__isSmartRef__":true,"id":3843},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3835":{"offset":0,"color":{"__isSmartRef__":true,"id":3836}},"3836":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3837":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3838}},"3838":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3839":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3840}},"3840":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3841":{"offset":1,"color":{"__isSmartRef__":true,"id":3842}},"3842":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3843":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3844":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3845":{"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"},"3846":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3847":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3848":{"stops":[{"__isSmartRef__":true,"id":3849},{"__isSmartRef__":true,"id":3851},{"__isSmartRef__":true,"id":3853},{"__isSmartRef__":true,"id":3855}],"vector":{"__isSmartRef__":true,"id":3843},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3849":{"offset":0,"color":{"__isSmartRef__":true,"id":3850}},"3850":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3851":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3852}},"3852":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3853":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3854}},"3854":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3855":{"offset":1,"color":{"__isSmartRef__":true,"id":3856}},"3856":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3857":{"sourceObj":{"__isSmartRef__":true,"id":3815},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3815},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3858},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3858":{"source":{"__isSmartRef__":true,"id":3815},"target":{"__isSmartRef__":true,"id":3815}},"3859":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3860":{"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"},"3861":{"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"},"3862":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3863":{"morph":{"__isSmartRef__":true,"id":3815},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3864":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3865":{"deleteSelectedScript":{"__isSmartRef__":true,"id":3866}},"3866":{"varMapping":{"__isSmartRef__":true,"id":3867},"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":3868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3867":{"this":{"__isSmartRef__":true,"id":3815}},"3868":{"timestamp":{"__isSmartRef__":true,"id":3869},"user":"lauritz"},"3869":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:12:21 GMT-0800 (PST)"},"3870":{"submorphs":[{"__isSmartRef__":true,"id":3871}],"scripts":[],"id":"57645E31-F7F9-4874-887B-964EBCB3AC8F","shape":{"__isSmartRef__":true,"id":3886},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3902},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3889},"lighterFill":{"__isSmartRef__":true,"id":3903},"label":{"__isSmartRef__":true,"id":3871},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":3912},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":3913},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":3914},"eventHandler":{"__isSmartRef__":true,"id":3915},"distanceToDragEvent":{"__isSmartRef__":true,"id":3916},"priorExtent":{"__isSmartRef__":true,"id":3917},"owner":{"__isSmartRef__":true,"id":2306},"textString":"","selection":{"__isSmartRef__":true,"id":3918},"_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":3935},"__LivelyClassName__":"lively.morphic.Button"},"3871":{"submorphs":[],"scripts":[],"id":"D69557B3-1E76-4A2B-8734-F487F8368796","shape":{"__isSmartRef__":true,"id":3872},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3878},"textColor":{"__isSmartRef__":true,"id":3875},"owner":{"__isSmartRef__":true,"id":3870},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":3879}],"padding":{"__isSmartRef__":true,"id":3881},"_Padding":{"__isSmartRef__":true,"id":3881},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3882},"attributeConnections":[{"__isSmartRef__":true,"id":3883}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":3884},"eventHandler":{"__isSmartRef__":true,"id":3885},"_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"},"3872":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3873},"_Extent":{"__isSmartRef__":true,"id":3874},"_BorderColor":{"__isSmartRef__":true,"id":3875},"renderContextTable":{"__isSmartRef__":true,"id":3876},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3877},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3873":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3874":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3875":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3876":{"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"},"3877":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3878":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3879":{"style":{"__isSmartRef__":true,"id":3880},"chunkOwner":{"__isSmartRef__":true,"id":3871},"storedString":"Stack","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3880":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3881":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3882":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3883":{"sourceObj":{"__isSmartRef__":true,"id":3871},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3870},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3884":{"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"},"3885":{"morph":{"__isSmartRef__":true,"id":3871},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3886":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3887},"_Extent":{"__isSmartRef__":true,"id":3888},"_Fill":{"__isSmartRef__":true,"id":3889},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3899},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3900},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3901},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3887":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3888":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3889":{"stops":[{"__isSmartRef__":true,"id":3890},{"__isSmartRef__":true,"id":3892},{"__isSmartRef__":true,"id":3894},{"__isSmartRef__":true,"id":3896}],"vector":{"__isSmartRef__":true,"id":3898},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3890":{"offset":0,"color":{"__isSmartRef__":true,"id":3891}},"3891":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3892":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3893}},"3893":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3894":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3895}},"3895":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3896":{"offset":1,"color":{"__isSmartRef__":true,"id":3897}},"3897":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3898":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3899":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3900":{"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"},"3901":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3902":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3903":{"stops":[{"__isSmartRef__":true,"id":3904},{"__isSmartRef__":true,"id":3906},{"__isSmartRef__":true,"id":3908},{"__isSmartRef__":true,"id":3910}],"vector":{"__isSmartRef__":true,"id":3898},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3904":{"offset":0,"color":{"__isSmartRef__":true,"id":3905}},"3905":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3906":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3907}},"3907":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3908":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3909}},"3909":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3910":{"offset":1,"color":{"__isSmartRef__":true,"id":3911}},"3911":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3912":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3913":{"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"},"3914":{"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"},"3915":{"morph":{"__isSmartRef__":true,"id":3870},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3916":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3917":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3918":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":3919},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3925},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3926},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":3927},"_TextColor":{"__isSmartRef__":true,"id":3928},"renderContextTable":{"__isSmartRef__":true,"id":3929},"textChunks":[{"__isSmartRef__":true,"id":3930}],"eventHandler":{"__isSmartRef__":true,"id":3932},"priorExtent":{"__isSmartRef__":true,"id":3933},"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":3934},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"3919":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3920},"_Extent":{"__isSmartRef__":true,"id":3921},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3922},"renderContextTable":{"__isSmartRef__":true,"id":3923},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3924},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3920":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3921":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3922":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3923":{"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"},"3924":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3925":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3926":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3927":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3928":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3929":{"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"},"3930":{"style":{"__isSmartRef__":true,"id":3931},"chunkOwner":{"__isSmartRef__":true,"id":3918},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"3931":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3932":{"morph":{"__isSmartRef__":true,"id":3918},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3933":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3934":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3935":{"createListMorph":{"__isSmartRef__":true,"id":3936},"getList":{"__isSmartRef__":true,"id":3940},"removeList":{"__isSmartRef__":true,"id":3944},"reset":{"__isSmartRef__":true,"id":3948},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":3952},"onMouseDown":{"__isSmartRef__":true,"id":3956},"setTargetOfPane":{"__isSmartRef__":true,"id":3964},"setTargetToListSelection":{"__isSmartRef__":true,"id":3968},"onBlur":{"__isSmartRef__":true,"id":3972},"setTarget":{"__isSmartRef__":true,"id":3980},"setTargetOnSelection":{"__isSmartRef__":true,"id":3984}},"3936":{"varMapping":{"__isSmartRef__":true,"id":3937},"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":3938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3937":{"this":{"__isSmartRef__":true,"id":3870}},"3938":{"timestamp":{"__isSmartRef__":true,"id":3939},"user":"lauritz","tags":[]},"3939":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:55:41 GMT-0800 (PST)"},"3940":{"varMapping":{"__isSmartRef__":true,"id":3941},"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":3942},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3941":{"this":{"__isSmartRef__":true,"id":3870}},"3942":{"timestamp":{"__isSmartRef__":true,"id":3943},"user":"lauritz","tags":[]},"3943":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:12:23 GMT-0800 (PST)"},"3944":{"varMapping":{"__isSmartRef__":true,"id":3945},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3946},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3945":{"this":{"__isSmartRef__":true,"id":3870}},"3946":{"timestamp":{"__isSmartRef__":true,"id":3947},"user":"lauritz","tags":[]},"3947":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:51:07 GMT-0800 (PST)"},"3948":{"varMapping":{"__isSmartRef__":true,"id":3949},"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":3950},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3949":{"this":{"__isSmartRef__":true,"id":3870}},"3950":{"timestamp":{"__isSmartRef__":true,"id":3951},"user":"lauritz","tags":[]},"3951":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:34:06 GMT-0800 (PST)"},"3952":{"varMapping":{"__isSmartRef__":true,"id":3953},"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":3954},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3953":{"this":{"__isSmartRef__":true,"id":3870}},"3954":{"timestamp":{"__isSmartRef__":true,"id":3955},"user":"lauritz","tags":[]},"3955":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:53:20 GMT-0800 (PST)"},"3956":{"varMapping":{"__isSmartRef__":true,"id":3957},"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":3962},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3957":{"this":{"__isSmartRef__":true,"id":3870},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3958}},"3958":{"$super":{"__isSmartRef__":true,"id":3959}},"3959":{"varMapping":{"__isSmartRef__":true,"id":3960},"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":3961},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3960":{"obj":{"__isSmartRef__":true,"id":3870},"name":"onMouseDown"},"3961":{},"3962":{"timestamp":{"__isSmartRef__":true,"id":3963},"user":"lauritz","tags":[]},"3963":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:39 GMT-0800 (PST)"},"3964":{"varMapping":{"__isSmartRef__":true,"id":3965},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":3966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3965":{"this":{"__isSmartRef__":true,"id":3870}},"3966":{"timestamp":{"__isSmartRef__":true,"id":3967},"user":"lauritz","tags":[]},"3967":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:30:42 GMT-0800 (PST)"},"3968":{"varMapping":{"__isSmartRef__":true,"id":3969},"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":3970},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3969":{"this":{"__isSmartRef__":true,"id":3870}},"3970":{"timestamp":{"__isSmartRef__":true,"id":3971},"user":"lauritz","tags":[]},"3971":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:06:48 GMT-0800 (PST)"},"3972":{"varMapping":{"__isSmartRef__":true,"id":3973},"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":3978},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3973":{"this":{"__isSmartRef__":true,"id":3870},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3974}},"3974":{"$super":{"__isSmartRef__":true,"id":3975}},"3975":{"varMapping":{"__isSmartRef__":true,"id":3976},"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":3977},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3976":{"obj":{"__isSmartRef__":true,"id":3870},"name":"onBlur"},"3977":{},"3978":{"timestamp":{"__isSmartRef__":true,"id":3979},"user":"lauritz","tags":[]},"3979":{"isSerializedDate":true,"string":"Tue Dec 06 2011 20:30:08 GMT-0800 (PST)"},"3980":{"varMapping":{"__isSmartRef__":true,"id":3981},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":3982},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3981":{"this":{"__isSmartRef__":true,"id":3870}},"3982":{"timestamp":{"__isSmartRef__":true,"id":3983},"user":"lauritz","tags":[]},"3983":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:29:39 GMT-0800 (PST)"},"3984":{"varMapping":{"__isSmartRef__":true,"id":3985},"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":3986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3985":{"this":{"__isSmartRef__":true,"id":3870}},"3986":{"timestamp":{"__isSmartRef__":true,"id":3987},"user":"lauritz","tags":[]},"3987":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:12:06 GMT-0800 (PST)"},"3988":{"submorphs":[],"scripts":[],"id":"E8AA0550-944E-4DFD-BE73-4C163CC8F022","shape":{"__isSmartRef__":true,"id":3989},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3995},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3992},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":3996},"textChunks":[{"__isSmartRef__":true,"id":3997}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":3999},"renderContextTable":{"__isSmartRef__":true,"id":4000},"eventHandler":{"__isSmartRef__":true,"id":4001},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4002},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":2306},"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"},"3989":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3990},"_Extent":{"__isSmartRef__":true,"id":3991},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3992},"renderContextTable":{"__isSmartRef__":true,"id":3993},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3994},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3991":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3992":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3993":{"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"},"3994":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3995":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3996":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3997":{"style":{"__isSmartRef__":true,"id":3998},"chunkOwner":{"__isSmartRef__":true,"id":3988},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"3998":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3999":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4000":{"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"},"4001":{"morph":{"__isSmartRef__":true,"id":3988},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4002":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4003":{"submorphs":[],"scripts":[],"id":"A1DC50D6-EF21-42FF-8A8F-BDDB1134BB04","shape":{"__isSmartRef__":true,"id":4004},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4010},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4007},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4011},"textChunks":[{"__isSmartRef__":true,"id":4012}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4014},"renderContextTable":{"__isSmartRef__":true,"id":4015},"eventHandler":{"__isSmartRef__":true,"id":4016},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4017},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":2306},"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"},"4004":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4005},"_Extent":{"__isSmartRef__":true,"id":4006},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4007},"renderContextTable":{"__isSmartRef__":true,"id":4008},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4005":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4006":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4007":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4008":{"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"},"4009":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4010":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4011":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4012":{"style":{"__isSmartRef__":true,"id":4013},"chunkOwner":{"__isSmartRef__":true,"id":4003},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"4013":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4014":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4015":{"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"},"4016":{"morph":{"__isSmartRef__":true,"id":4003},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4017":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4018":{"submorphs":[{"__isSmartRef__":true,"id":4019}],"scripts":[],"id":"A4677536-265B-4184-86A3-9B8B78F5CD27","shape":{"__isSmartRef__":true,"id":4034},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4050},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4051},"lighterFill":{"__isSmartRef__":true,"id":4037},"label":{"__isSmartRef__":true,"id":4019},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":4060},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":4061},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":4062},"eventHandler":{"__isSmartRef__":true,"id":4063},"distanceToDragEvent":{"__isSmartRef__":true,"id":4064},"priorExtent":{"__isSmartRef__":true,"id":4065},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":2306},"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":4066},"__LivelyClassName__":"lively.morphic.Button"},"4019":{"submorphs":[],"scripts":[],"id":"EBC9BEA3-72D2-4281-A544-F97D38931887","shape":{"__isSmartRef__":true,"id":4020},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4026},"textColor":{"__isSmartRef__":true,"id":4023},"owner":{"__isSmartRef__":true,"id":4018},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":4027}],"padding":{"__isSmartRef__":true,"id":4029},"_Padding":{"__isSmartRef__":true,"id":4029},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4030},"attributeConnections":[{"__isSmartRef__":true,"id":4031}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":4032},"eventHandler":{"__isSmartRef__":true,"id":4033},"_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"},"4020":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4021},"_Extent":{"__isSmartRef__":true,"id":4022},"_BorderColor":{"__isSmartRef__":true,"id":4023},"renderContextTable":{"__isSmartRef__":true,"id":4024},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4025},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4021":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4022":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4023":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4024":{"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"},"4025":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4026":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4027":{"style":{"__isSmartRef__":true,"id":4028},"chunkOwner":{"__isSmartRef__":true,"id":4019},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4028":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4029":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4030":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4031":{"sourceObj":{"__isSmartRef__":true,"id":4019},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4018},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4032":{"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"},"4033":{"morph":{"__isSmartRef__":true,"id":4019},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4034":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4035},"_Extent":{"__isSmartRef__":true,"id":4036},"_Fill":{"__isSmartRef__":true,"id":4037},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4047},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":4048},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4035":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4036":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4037":{"stops":[{"__isSmartRef__":true,"id":4038},{"__isSmartRef__":true,"id":4040},{"__isSmartRef__":true,"id":4042},{"__isSmartRef__":true,"id":4044}],"vector":{"__isSmartRef__":true,"id":4046},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4038":{"offset":0,"color":{"__isSmartRef__":true,"id":4039}},"4039":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4040":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4041}},"4041":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4042":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4043}},"4043":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4044":{"offset":1,"color":{"__isSmartRef__":true,"id":4045}},"4045":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4046":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4047":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4048":{"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"},"4049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4050":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4051":{"stops":[{"__isSmartRef__":true,"id":4052},{"__isSmartRef__":true,"id":4054},{"__isSmartRef__":true,"id":4056},{"__isSmartRef__":true,"id":4058}],"vector":{"__isSmartRef__":true,"id":4046},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4052":{"offset":0,"color":{"__isSmartRef__":true,"id":4053}},"4053":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4054":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4055}},"4055":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4056":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4057}},"4057":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4058":{"offset":1,"color":{"__isSmartRef__":true,"id":4059}},"4059":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4060":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4061":{"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"},"4062":{"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"},"4063":{"morph":{"__isSmartRef__":true,"id":4018},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4064":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4065":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4066":{"createListMorph":{"__isSmartRef__":true,"id":4067},"getList":{"__isSmartRef__":true,"id":4071},"removeList":{"__isSmartRef__":true,"id":4075},"reset":{"__isSmartRef__":true,"id":4079},"onMouseUp":{"__isSmartRef__":true,"id":4083},"onBlur":{"__isSmartRef__":true,"id":4091},"setTag":{"__isSmartRef__":true,"id":4099}},"4067":{"varMapping":{"__isSmartRef__":true,"id":4068},"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":4069},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4068":{"this":{"__isSmartRef__":true,"id":4018}},"4069":{"timestamp":{"__isSmartRef__":true,"id":4070},"user":"lauritz","categories":[]},"4070":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:35:59 GMT-0800 (PST)"},"4071":{"varMapping":{"__isSmartRef__":true,"id":4072},"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":4073},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4072":{"this":{"__isSmartRef__":true,"id":4018}},"4073":{"timestamp":{"__isSmartRef__":true,"id":4074},"user":"lauritz","tags":[]},"4074":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:25 GMT-0800 (PST)"},"4075":{"varMapping":{"__isSmartRef__":true,"id":4076},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":4077},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4076":{"this":{"__isSmartRef__":true,"id":4018}},"4077":{"timestamp":{"__isSmartRef__":true,"id":4078},"user":"lauritz","categories":[]},"4078":{"isSerializedDate":true,"string":"Thu Nov 17 2011 10:06:51 GMT-0800 (PST)"},"4079":{"varMapping":{"__isSmartRef__":true,"id":4080},"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":4081},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4080":{"this":{"__isSmartRef__":true,"id":4018}},"4081":{"timestamp":{"__isSmartRef__":true,"id":4082},"user":"lauritz","tags":[]},"4082":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:53 GMT-0800 (PST)"},"4083":{"varMapping":{"__isSmartRef__":true,"id":4084},"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":4089},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4084":{"this":{"__isSmartRef__":true,"id":4018},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4085}},"4085":{"$super":{"__isSmartRef__":true,"id":4086}},"4086":{"varMapping":{"__isSmartRef__":true,"id":4087},"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":4088},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4087":{"obj":{"__isSmartRef__":true,"id":4018},"name":"onMouseUp"},"4088":{},"4089":{"timestamp":{"__isSmartRef__":true,"id":4090},"user":"lauritz","categories":[]},"4090":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:59:16 GMT-0800 (PST)"},"4091":{"varMapping":{"__isSmartRef__":true,"id":4092},"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":4097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4092":{"this":{"__isSmartRef__":true,"id":4018},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4093}},"4093":{"$super":{"__isSmartRef__":true,"id":4094}},"4094":{"varMapping":{"__isSmartRef__":true,"id":4095},"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":4096},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4095":{"obj":{"__isSmartRef__":true,"id":4018},"name":"onBlur"},"4096":{},"4097":{"timestamp":{"__isSmartRef__":true,"id":4098},"user":"lauritz","categories":[]},"4098":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:10:03 GMT-0800 (PST)"},"4099":{"varMapping":{"__isSmartRef__":true,"id":4100},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":4101},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4100":{"this":{"__isSmartRef__":true,"id":4018}},"4101":{"timestamp":{"__isSmartRef__":true,"id":4102},"user":"lauritz","categories":[]},"4102":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:36:12 GMT-0800 (PST)"},"4103":{"submorphs":[{"__isSmartRef__":true,"id":4104}],"scripts":[],"id":"6DBADBFB-D343-4E5C-B416-8C8B208F82FB","shape":{"__isSmartRef__":true,"id":4119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4123},"lighterFill":{"__isSmartRef__":true,"id":4135},"label":{"__isSmartRef__":true,"id":4104},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4144},"attributeConnections":[{"__isSmartRef__":true,"id":4145}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4181},"renderContextTable":{"__isSmartRef__":true,"id":4182},"eventHandler":{"__isSmartRef__":true,"id":4183},"distanceToDragEvent":{"__isSmartRef__":true,"id":4184},"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":4185},"owner":{"__isSmartRef__":true,"id":2306},"layout":{"__isSmartRef__":true,"id":4186},"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"4104":{"submorphs":[],"scripts":[],"id":"24ED4DCF-E017-40AC-89E3-8839FC0E356E","shape":{"__isSmartRef__":true,"id":4105},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4111},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4112},"_Padding":{"__isSmartRef__":true,"id":4113},"owner":{"__isSmartRef__":true,"id":4103},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4114},"textChunks":[{"__isSmartRef__":true,"id":4115}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4117},"eventHandler":{"__isSmartRef__":true,"id":4118},"_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"},"4105":{"position":{"__isSmartRef__":true,"id":4106},"_Extent":{"__isSmartRef__":true,"id":4107},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4108},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4109},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4110},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4106":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4107":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4108":{"r":0,"g":0,"b":0,"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":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4112":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4113":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4114":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4115":{"style":{"__isSmartRef__":true,"id":4116},"chunkOwner":{"__isSmartRef__":true,"id":4104},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"4116":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4117":{"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"},"4118":{"morph":{"__isSmartRef__":true,"id":4104},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4119":{"position":{"__isSmartRef__":true,"id":4120},"_Extent":{"__isSmartRef__":true,"id":4121},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4122},"_Fill":{"__isSmartRef__":true,"id":4123},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4133},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4134},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4120":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4121":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4122":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4123":{"stops":[{"__isSmartRef__":true,"id":4124},{"__isSmartRef__":true,"id":4126},{"__isSmartRef__":true,"id":4128},{"__isSmartRef__":true,"id":4130}],"vector":{"__isSmartRef__":true,"id":4132},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4124":{"offset":0,"color":{"__isSmartRef__":true,"id":4125}},"4125":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4126":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4127}},"4127":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4128":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4129}},"4129":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4130":{"offset":1,"color":{"__isSmartRef__":true,"id":4131}},"4131":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4132":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4133":{"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"},"4134":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4135":{"stops":[{"__isSmartRef__":true,"id":4136},{"__isSmartRef__":true,"id":4138},{"__isSmartRef__":true,"id":4140},{"__isSmartRef__":true,"id":4142}],"vector":{"__isSmartRef__":true,"id":4132},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4136":{"offset":0,"color":{"__isSmartRef__":true,"id":4137}},"4137":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4138":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4139}},"4139":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4140":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4141}},"4141":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4142":{"offset":1,"color":{"__isSmartRef__":true,"id":4143}},"4143":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4144":{"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"},"4145":{"sourceObj":{"__isSmartRef__":true,"id":4103},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2306},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":4146},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4146":{"submorphs":[{"__isSmartRef__":true,"id":4147}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4162},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":4169},"eventHandler":{"__isSmartRef__":true,"id":4170},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":4171},{"__isSmartRef__":true,"id":4172}],"con":{"__isSmartRef__":true,"id":4145},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4173},"__LivelyClassName__":"lively.morphic.Path"},"4147":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4148},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":4159},"eventHandler":{"__isSmartRef__":true,"id":4160},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4161},"owner":{"__isSmartRef__":true,"id":4146},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"4148":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4149},{"__isSmartRef__":true,"id":4150},{"__isSmartRef__":true,"id":4151},{"__isSmartRef__":true,"id":4152}],"renderContextTable":{"__isSmartRef__":true,"id":4153},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4154},"_Extent":{"__isSmartRef__":true,"id":4155},"_Padding":{"__isSmartRef__":true,"id":4156},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4157},"_Fill":{"__isSmartRef__":true,"id":4158},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4149":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4150":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4151":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4152":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4153":{"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"},"4154":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4155":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4156":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4157":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4158":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4159":{"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"},"4160":{"morph":{"__isSmartRef__":true,"id":4147},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4161":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4162":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4163},{"__isSmartRef__":true,"id":4164}],"renderContextTable":{"__isSmartRef__":true,"id":4165},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4166},"_Extent":{"__isSmartRef__":true,"id":4167},"_Padding":{"__isSmartRef__":true,"id":4168},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4157},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4163":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4164":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4165":{"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"},"4166":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4167":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4168":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4169":{"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"},"4170":{"morph":{"__isSmartRef__":true,"id":4146},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4171":{"morph":{"__isSmartRef__":true,"id":4146},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4172":{"morph":{"__isSmartRef__":true,"id":4146},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":4147},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4173":{"morphMenuItems":{"__isSmartRef__":true,"id":4174}},"4174":{"varMapping":{"__isSmartRef__":true,"id":4175},"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":4180},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4175":{"this":{"__isSmartRef__":true,"id":4146},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4176}},"4176":{"$super":{"__isSmartRef__":true,"id":4177}},"4177":{"varMapping":{"__isSmartRef__":true,"id":4178},"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":4179},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4178":{"obj":{"__isSmartRef__":true,"id":4146},"name":"morphMenuItems"},"4179":{},"4180":{},"4181":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4182":{"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"},"4183":{"morph":{"__isSmartRef__":true,"id":4103},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4184":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4185":{"x":567.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4186":{"centeredHorizontal":false,"moveHorizontal":true},"4187":{"submorphs":[{"__isSmartRef__":true,"id":4188}],"scripts":[],"id":"32E0DFCB-778E-4421-BCBC-5B2150882486","shape":{"__isSmartRef__":true,"id":4203},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4207},"lighterFill":{"__isSmartRef__":true,"id":4219},"label":{"__isSmartRef__":true,"id":4188},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4228},"attributeConnections":[{"__isSmartRef__":true,"id":4229}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4265},"renderContextTable":{"__isSmartRef__":true,"id":4266},"eventHandler":{"__isSmartRef__":true,"id":4267},"distanceToDragEvent":{"__isSmartRef__":true,"id":4268},"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":4269},"_Position":{"__isSmartRef__":true,"id":4270},"owner":{"__isSmartRef__":true,"id":2306},"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"4188":{"submorphs":[],"scripts":[],"id":"B700B6B8-9DB5-4261-AA0E-5D6560979472","shape":{"__isSmartRef__":true,"id":4189},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4195},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4196},"_Padding":{"__isSmartRef__":true,"id":4197},"owner":{"__isSmartRef__":true,"id":4187},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4198},"textChunks":[{"__isSmartRef__":true,"id":4199}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4201},"eventHandler":{"__isSmartRef__":true,"id":4202},"_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"},"4189":{"position":{"__isSmartRef__":true,"id":4190},"_Extent":{"__isSmartRef__":true,"id":4191},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4192},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4193},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4194},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4190":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4191":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4192":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4193":{"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"},"4194":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4195":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4196":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4197":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4198":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4199":{"style":{"__isSmartRef__":true,"id":4200},"chunkOwner":{"__isSmartRef__":true,"id":4188},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4200":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4201":{"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"},"4202":{"morph":{"__isSmartRef__":true,"id":4188},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4203":{"position":{"__isSmartRef__":true,"id":4204},"_Extent":{"__isSmartRef__":true,"id":4205},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4206},"_Fill":{"__isSmartRef__":true,"id":4207},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4217},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4218},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4204":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4205":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4206":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4207":{"stops":[{"__isSmartRef__":true,"id":4208},{"__isSmartRef__":true,"id":4210},{"__isSmartRef__":true,"id":4212},{"__isSmartRef__":true,"id":4214}],"vector":{"__isSmartRef__":true,"id":4216},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4208":{"offset":0,"color":{"__isSmartRef__":true,"id":4209}},"4209":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4210":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4211}},"4211":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4212":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4213}},"4213":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4214":{"offset":1,"color":{"__isSmartRef__":true,"id":4215}},"4215":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4216":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4217":{"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"},"4218":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4219":{"stops":[{"__isSmartRef__":true,"id":4220},{"__isSmartRef__":true,"id":4222},{"__isSmartRef__":true,"id":4224},{"__isSmartRef__":true,"id":4226}],"vector":{"__isSmartRef__":true,"id":4216},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4220":{"offset":0,"color":{"__isSmartRef__":true,"id":4221}},"4221":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4222":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4223}},"4223":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4224":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4225}},"4225":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4226":{"offset":1,"color":{"__isSmartRef__":true,"id":4227}},"4227":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4228":{"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"},"4229":{"sourceObj":{"__isSmartRef__":true,"id":4187},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2802},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":4230},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4230":{"submorphs":[{"__isSmartRef__":true,"id":4231}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4246},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":4253},"eventHandler":{"__isSmartRef__":true,"id":4254},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":4255},{"__isSmartRef__":true,"id":4256}],"con":{"__isSmartRef__":true,"id":4229},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4257},"__LivelyClassName__":"lively.morphic.Path"},"4231":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4232},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":4243},"eventHandler":{"__isSmartRef__":true,"id":4244},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4245},"owner":{"__isSmartRef__":true,"id":4230},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"4232":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4233},{"__isSmartRef__":true,"id":4234},{"__isSmartRef__":true,"id":4235},{"__isSmartRef__":true,"id":4236}],"renderContextTable":{"__isSmartRef__":true,"id":4237},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4238},"_Extent":{"__isSmartRef__":true,"id":4239},"_Padding":{"__isSmartRef__":true,"id":4240},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4241},"_Fill":{"__isSmartRef__":true,"id":4242},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4233":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4234":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4235":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4236":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4237":{"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"},"4238":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4239":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4240":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4241":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4242":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"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":4231},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4245":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4246":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4247},{"__isSmartRef__":true,"id":4248}],"renderContextTable":{"__isSmartRef__":true,"id":4249},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4250},"_Extent":{"__isSmartRef__":true,"id":4251},"_Padding":{"__isSmartRef__":true,"id":4252},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4241},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4247":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4248":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4249":{"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"},"4250":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4251":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4252":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4253":{"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"},"4254":{"morph":{"__isSmartRef__":true,"id":4230},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4255":{"morph":{"__isSmartRef__":true,"id":4230},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4256":{"morph":{"__isSmartRef__":true,"id":4230},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":4231},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4257":{"morphMenuItems":{"__isSmartRef__":true,"id":4258}},"4258":{"varMapping":{"__isSmartRef__":true,"id":4259},"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":4264},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4259":{"this":{"__isSmartRef__":true,"id":4230},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4260}},"4260":{"$super":{"__isSmartRef__":true,"id":4261}},"4261":{"varMapping":{"__isSmartRef__":true,"id":4262},"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":4263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4262":{"obj":{"__isSmartRef__":true,"id":4230},"name":"morphMenuItems"},"4263":{},"4264":{},"4265":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4266":{"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"},"4267":{"morph":{"__isSmartRef__":true,"id":4187},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4268":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4269":{"centeredHorizontal":false,"moveHorizontal":true},"4270":{"x":454.41898534449683,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4271":{"target":{"__isSmartRef__":true,"id":2306},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":358207,"suspended":false,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TargetScript"},"4272":{"position":{"__isSmartRef__":true,"id":4273},"_Extent":{"__isSmartRef__":true,"id":4274},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4275},"_Fill":{"__isSmartRef__":true,"id":4276},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4277},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4278},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4273":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4274":{"x":688.0285365288845,"y":546.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4275":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4276":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4277":{"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"},"4278":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4279":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":4280}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4280":{"date":{"__isSmartRef__":true,"id":4281},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"4281":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:39:30 GMT-0700 (PDT)"},"4282":{"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"},"4283":{"morph":{"__isSmartRef__":true,"id":2306},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4284":{"x":688.0285365288845,"y":546.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4285":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"4286":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4287":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4288":{},"4289":{"displayInitialScript":{"__isSmartRef__":true,"id":4290},"displayJavaScriptSource":{"__isSmartRef__":true,"id":4294},"displaySourceForConnection":{"__isSmartRef__":true,"id":4298},"displaySourceForScript":{"__isSmartRef__":true,"id":4302},"generateSourceForConnection":{"__isSmartRef__":true,"id":4306},"generateSourceForScript":{"__isSmartRef__":true,"id":4310},"generateTargetCode":{"__isSmartRef__":true,"id":4314},"newConnection":{"__isSmartRef__":true,"id":4318},"newScript":{"__isSmartRef__":true,"id":4322},"reset":{"__isSmartRef__":true,"id":4326},"selectChangedContent":{"__isSmartRef__":true,"id":4330},"setTarget":{"__isSmartRef__":true,"id":4334},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":4338},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":4342},"updateLists":{"__isSmartRef__":true,"id":4346},"onShutdown":{"__isSmartRef__":true,"id":4350},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":4354},"update":{"__isSmartRef__":true,"id":4358},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":4362},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":4366},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":4370},"printTags":{"__isSmartRef__":true,"id":4378},"setTag":{"__isSmartRef__":true,"id":4382},"runScript":{"__isSmartRef__":true,"id":4386},"openPartTestRunner":{"__isSmartRef__":true,"id":4390}},"4290":{"varMapping":{"__isSmartRef__":true,"id":4291},"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":4292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4291":{"this":{"__isSmartRef__":true,"id":2306}},"4292":{"timestamp":{"__isSmartRef__":true,"id":4293},"user":"lauritz","tags":[]},"4293":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:13:43 GMT-0800 (PST)"},"4294":{"varMapping":{"__isSmartRef__":true,"id":4295},"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":4296},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4295":{"this":{"__isSmartRef__":true,"id":2306}},"4296":{"timestamp":{"__isSmartRef__":true,"id":4297},"user":"lauritz","tags":[]},"4297":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"4298":{"varMapping":{"__isSmartRef__":true,"id":4299},"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":4300},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4299":{"this":{"__isSmartRef__":true,"id":2306}},"4300":{"timestamp":{"__isSmartRef__":true,"id":4301},"user":"conradcalmez","tags":[]},"4301":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:59:30 GMT-0800 (PST)"},"4302":{"varMapping":{"__isSmartRef__":true,"id":4303},"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":4304},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4303":{"this":{"__isSmartRef__":true,"id":2306}},"4304":{"timestamp":{"__isSmartRef__":true,"id":4305},"user":"lauritz","tags":[]},"4305":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:51:37 GMT-0800 (PST)"},"4306":{"varMapping":{"__isSmartRef__":true,"id":4307},"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":4308},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4307":{"this":{"__isSmartRef__":true,"id":2306}},"4308":{"timestamp":{"__isSmartRef__":true,"id":4309},"user":"lauritz","tags":[]},"4309":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"4310":{"varMapping":{"__isSmartRef__":true,"id":4311},"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":4312},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4311":{"this":{"__isSmartRef__":true,"id":2306}},"4312":{"timestamp":{"__isSmartRef__":true,"id":4313},"user":"lauritz","tags":[]},"4313":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:32:42 GMT-0800 (PST)"},"4314":{"varMapping":{"__isSmartRef__":true,"id":4315},"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":4316},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4315":{"this":{"__isSmartRef__":true,"id":2306}},"4316":{"timestamp":{"__isSmartRef__":true,"id":4317},"user":"lauritz","tags":[]},"4317":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"4318":{"varMapping":{"__isSmartRef__":true,"id":4319},"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":4320},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4319":{"this":{"__isSmartRef__":true,"id":2306}},"4320":{"timestamp":{"__isSmartRef__":true,"id":4321},"user":"lauritz","tags":[]},"4321":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"4322":{"varMapping":{"__isSmartRef__":true,"id":4323},"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":4324},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4323":{"this":{"__isSmartRef__":true,"id":2306}},"4324":{"timestamp":{"__isSmartRef__":true,"id":4325},"user":"lauritz","tags":[]},"4325":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:24:25 GMT-0800 (PST)"},"4326":{"varMapping":{"__isSmartRef__":true,"id":4327},"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":4328},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4327":{"this":{"__isSmartRef__":true,"id":2306}},"4328":{"timestamp":{"__isSmartRef__":true,"id":4329},"user":"conradcalmez","tags":[]},"4329":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:57:50 GMT-0800 (PST)"},"4330":{"varMapping":{"__isSmartRef__":true,"id":4331},"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 2) {\n\t\t\t// Polylines become a mere blob for now...\n\t\t\tvar morph = this.makeRectangle(Rectangle.unionPts(verts));\n\t\t\tmorph.setBorderWidth(lineWidth);\n\t\t\tmorph.setBorderColor(lineColor);\n\t\t\tmorph.setFill(null);\n\t\t\treturn morph;\n\t\t} \n\t\t// Okay, it's a simple line...\n\t\tvar p1 = verts[0]; var p2 = verts[1];\n\t\tvar v = p2.subPt(p1);\n \n\t\t// First make a horizontal line of the same length with origin at (0, 0)\n\t\tvar morph = this.makeRectangle(Rectangle.unionPts([pt(0, -lineWidth/2), Point.polar(v.r(), 0).addXY(0, lineWidth/2)]));\n\n\t\t// *** Not right, but we want to make position and center of rot = (0, 0):\n\t\t// morph._Position = pt(0, 0);\n\n\t\tmorph.setBorderWidth(0);\n\t\tmorph.setFill(lineColor);\n\n\t\t// Then move and rotate, with first vertex being the rotation center\n\t\tmorph.moveBy(p1);\n\t\tmorph.setOrigin(pt(0, lineWidth/2));\n\t\tmorph.isLine = true;\n\t\treturn morph.rotateBy(v.theta());\n\t}\n});","textChunks":[{"__isSmartRef__":true,"id":4766},{"__isSmartRef__":true,"id":4769},{"__isSmartRef__":true,"id":4771},{"__isSmartRef__":true,"id":4774},{"__isSmartRef__":true,"id":4776},{"__isSmartRef__":true,"id":4779},{"__isSmartRef__":true,"id":4781},{"__isSmartRef__":true,"id":4783},{"__isSmartRef__":true,"id":4785},{"__isSmartRef__":true,"id":4788},{"__isSmartRef__":true,"id":4791},{"__isSmartRef__":true,"id":4793},{"__isSmartRef__":true,"id":4796},{"__isSmartRef__":true,"id":4798},{"__isSmartRef__":true,"id":4800},{"__isSmartRef__":true,"id":4802},{"__isSmartRef__":true,"id":4804},{"__isSmartRef__":true,"id":4806},{"__isSmartRef__":true,"id":4808},{"__isSmartRef__":true,"id":4810},{"__isSmartRef__":true,"id":4812},{"__isSmartRef__":true,"id":4814},{"__isSmartRef__":true,"id":4816}],"priorSelectionRange":[113,124],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":9,"owner":{"__isSmartRef__":true,"id":4604},"priorExtent":{"__isSmartRef__":true,"id":4818},"lastSyntaxHighlightTime":1333758160210,"renderContextTable":{"__isSmartRef__":true,"id":4819},"eventHandler":{"__isSmartRef__":true,"id":4820},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":843.6764200688274,"_MinTextHeight":null,"previousSelection":[306,325],"distanceToDragEvent":{"__isSmartRef__":true,"id":4821},"isBeingDragged":false,"derivationIds":[209,"04D0F127-514D-4BED-841E-6A4CEF4FFDDA","D40D5739-DE56-49F4-B02A-A4ED75AF054A","42528900-D082-4C7A-8E70-1E67923301D9","5167B7DC-8F45-4AD0-96D7-947FF3EE0BB7","D0BFE91E-6EF1-4165-A42C-CC81C9CD2050","04C1BABF-5514-417C-AE67-882A1252EB67","8B053B4D-76D1-4DCB-8E89-8E7ABA3EF3D1","CB2FFA38-BC16-4D98-A807-722CCCC26062","D19D6343-8887-4386-8B87-4560230A5D11","2FFE6CC8-A851-44E9-B6B7-9D9370DEB9C9","A1509C4A-C98B-44CF-ACF8-DA444E7A9B75"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4822},"__LivelyClassName__":"lively.morphic.Text"},"4758":{"position":{"__isSmartRef__":true,"id":4759},"_Extent":{"__isSmartRef__":true,"id":4760},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4609},"_Fill":{"__isSmartRef__":true,"id":4761},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4762},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":4763},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4759":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4760":{"x":848.6764200688274,"y":289.712710129692,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4761":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4762":{"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"},"4763":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4764":{"x":10,"y":230,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4765":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"4766":{"style":{"__isSmartRef__":true,"id":4767},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"// changes here only affect runtime","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4767":{"color":{"__isSmartRef__":true,"id":4768},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4768":{"r":0,"g":0.5019607843137255,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4769":{"style":{"__isSmartRef__":true,"id":4770},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4770":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4771":{"style":{"__isSmartRef__":true,"id":4772},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4772":{"color":{"__isSmartRef__":true,"id":4773},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4773":{"r":0,"g":0,"b":0.5019607843137255,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4774":{"style":{"__isSmartRef__":true,"id":4775},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":".","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4775":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4776":{"style":{"__isSmartRef__":true,"id":4777},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"addMethods","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4777":{"color":{"__isSmartRef__":true,"id":4778},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4778":{"r":0.5019607843137255,"g":0.5019607843137255,"b":0.5019607843137255,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4779":{"style":{"__isSmartRef__":true,"id":4780},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"(","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4780":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4781":{"style":{"__isSmartRef__":true,"id":4782},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"{","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4782":{"color":{"__isSmartRef__":true,"id":4768},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4783":{"style":{"__isSmartRef__":true,"id":4784},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"\n ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4784":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4785":{"style":{"__isSmartRef__":true,"id":4786},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"getText","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4786":{"color":{"__isSmartRef__":true,"id":4787},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4787":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4788":{"style":{"__isSmartRef__":true,"id":4789},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"String:","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4789":{"color":{"__isSmartRef__":true,"id":4790},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4790":{"r":0.5450980392156862,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4791":{"style":{"__isSmartRef__":true,"id":4792},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":" ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4792":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4793":{"style":{"__isSmartRef__":true,"id":4794},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"function","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4794":{"color":{"__isSmartRef__":true,"id":4795},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4795":{"r":0,"g":0,"b":0.5450980392156862,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4796":{"style":{"__isSmartRef__":true,"id":4797},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":" () ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4797":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4798":{"style":{"__isSmartRef__":true,"id":4799},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"{","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4799":{"color":{"__isSmartRef__":true,"id":4768},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4800":{"style":{"__isSmartRef__":true,"id":4801},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":" ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4801":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4802":{"style":{"__isSmartRef__":true,"id":4803},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"return","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4803":{"color":{"__isSmartRef__":true,"id":4773},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4804":{"style":{"__isSmartRef__":true,"id":4805},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":" ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4805":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4806":{"style":{"__isSmartRef__":true,"id":4807},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"this","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4807":{"color":{"__isSmartRef__":true,"id":4795},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4808":{"style":{"__isSmartRef__":true,"id":4809},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":".textString ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4809":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4810":{"style":{"__isSmartRef__":true,"id":4811},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"}","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4811":{"color":{"__isSmartRef__":true,"id":4768},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4812":{"style":{"__isSmartRef__":true,"id":4813},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4813":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4814":{"style":{"__isSmartRef__":true,"id":4815},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":"}","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4815":{"color":{"__isSmartRef__":true,"id":4768},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4816":{"style":{"__isSmartRef__":true,"id":4817},"chunkOwner":{"__isSmartRef__":true,"id":4757},"storedString":");","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4817":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4818":{"x":848.6764200688274,"y":289.712710129692,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4819":{"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"},"4820":{"morph":{"__isSmartRef__":true,"id":4757},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4821":{"x":582.0068382418127,"y":-20.48073201899024,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4822":{"doSave":{"__isSmartRef__":true,"id":4823},"getDoitContext":{"__isSmartRef__":true,"id":4830}},"4823":{"varMapping":{"__isSmartRef__":true,"id":4824},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":4829},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4824":{"this":{"__isSmartRef__":true,"id":4757},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4825}},"4825":{"$super":{"__isSmartRef__":true,"id":4826}},"4826":{"varMapping":{"__isSmartRef__":true,"id":4827},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":4828},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4827":{"obj":{"__isSmartRef__":true,"id":4757},"name":"doSave"},"4828":{},"4829":{},"4830":{"varMapping":{"__isSmartRef__":true,"id":4831},"source":"function getDoitContext() {\n\treturn this.owner.targetObject\n}","funcProperties":{"__isSmartRef__":true,"id":4836},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4831":{"this":{"__isSmartRef__":true,"id":4757},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4832}},"4832":{"$super":{"__isSmartRef__":true,"id":4833}},"4833":{"varMapping":{"__isSmartRef__":true,"id":4834},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":4835},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4834":{"obj":{"__isSmartRef__":true,"id":4757},"name":"getDoitContext"},"4835":{},"4836":{},"4837":{"submorphs":[],"scripts":[],"id":"4BCE4E30-03DA-400A-861F-E16DAF8A4B12","shape":{"__isSmartRef__":true,"id":4838},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4844},"_MaxTextWidth":844.6764200688274,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":4845},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"infoText","savedTextString":"// MethodFinder (this)\n\n// ** MethodFinder's Scripts **\nthis.addScript(function browse(fileFragment) {\n\tfileFragment && fileFragment.browseIt()\n});\n\nthis.addScript(function reset() {\n\tthis.get('searchResultList').updateList([]);\n\tthis.get('searchResultList').setSelection(null);\n\tthis.get('searchText').setTextString('enter search term here');\n});\n\n\nthis.addScript(function search(searchString) {\n\tvar finds = [];\n\tvar re = new RegExp(searchString)\n\tvar i=0;\n\tvar time = Functions.timeToRun(function() {\n\tGlobal.classes(true).forEach(function(eaClass) {\n\t\tFunctions.own(eaClass.prototype)\n\t\t\t.forEach(function(eaMethod) {\n\t\t\t\ti++;\n\t\t\t\tif (eaMethod.match(re)){\n\t\t\t\t\tfinds.push([eaClass, eaMethod])\n\t\t\t\t}\t\n\t\t\t})\t\n\t})})\n\talert(\"search \" + i + \" methods, found \" + finds.length + \" methods in \" + time + \"ms\")\n\n\tvar items = finds.collect(function(ea) {\n\t\treturn {\n\t\t\tisListItem: true,\n\t\t\tvalue: ea,\n\t\t\tstring: ea[0].name + \": \" + ea[1],\n\t\t}\n\t})\n\tthis.get('searchResultList').updateList(items);\n});","textChunks":[{"__isSmartRef__":true,"id":4846}],"priorSelectionRange":[37,37],"_ClipMode":"hidden","prevScroll":[0,0],"_FontSize":10,"priorExtent":{"__isSmartRef__":true,"id":4848},"owner":{"__isSmartRef__":true,"id":4604},"renderContextTable":{"__isSmartRef__":true,"id":4849},"eventHandler":{"__isSmartRef__":true,"id":4850},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":844.6764200688274,"_MinTextHeight":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":4851},"derivationIds":[210,"E20B9061-6128-4BD4-BE8B-4B50F9BC8EA1","FFFED58E-70A3-4945-A7C8-19E2C0754BB7","1B69878E-8E43-4E25-BAE7-3D64CAE35839","2770B759-8971-45F4-8291-6DA85EBD1155","B0E0F94A-1BB3-405B-87BB-3C1199A8EB79","8EF852C4-A375-4F84-873C-4277F9A99D52","AA10C5AE-8C29-45DA-8CA5-A0E286F80E82","4B3576CB-50DD-49DF-913C-88D34002B5DC","B9692647-A99C-4A20-9C6C-3DF722D48DDE","109C8B5F-DBAA-490E-A061-CB3004CD8634","6494496E-CBF0-4256-ACA4-D7E7B674F7CE"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4838":{"position":{"__isSmartRef__":true,"id":4839},"_Extent":{"__isSmartRef__":true,"id":4840},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4609},"_Fill":{"__isSmartRef__":true,"id":4841},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4842},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4843},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4839":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4840":{"x":848.6764200688274,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4841":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4842":{"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"},"4843":{"x":2,"y":1,"width":-2,"height":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4844":{"x":10,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4845":{"resizeWidth":true,"resizeHeight":false,"moveVertical":false,"moveHorizontal":false},"4846":{"style":{"__isSmartRef__":true,"id":4847},"chunkOwner":{"__isSmartRef__":true,"id":4837},"storedString":"module(Global.lively.morphic.TextCore)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4847":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4848":{"x":847.6764200688274,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4849":{"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"},"4850":{"morph":{"__isSmartRef__":true,"id":4837},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4851":{"x":587.0068382418127,"y":-13.480732018990238,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4852":{"submorphs":[{"__isSmartRef__":true,"id":4853}],"scripts":[],"id":"37B846FA-830D-43E4-AD53-48078404BD50","shape":{"__isSmartRef__":true,"id":4868},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4871},"lighterFill":{"__isSmartRef__":true,"id":4883},"label":{"__isSmartRef__":true,"id":4853},"showsHalos":false,"name":"browse","partsBinMetaInfo":{"__isSmartRef__":true,"id":4892},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[{"__isSmartRef__":true,"id":4893}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"priorExtent":{"__isSmartRef__":true,"id":4894},"renderContextTable":{"__isSmartRef__":true,"id":4895},"eventHandler":{"__isSmartRef__":true,"id":4896},"distanceToDragEvent":{"__isSmartRef__":true,"id":4897},"_Position":{"__isSmartRef__":true,"id":4898},"owner":{"__isSmartRef__":true,"id":4604},"derivationIds":[211,"72C2FBB1-F169-43CC-AC8A-C0889FCB1663","8CF07460-17AC-4EC3-83C4-E31D52336E14","BE09102D-553E-4BB6-84A6-4D428731DD1B","2D43F043-9567-4765-A19C-7C922F0DFFE7","A77836E8-3C83-4A1D-B37A-7DDBA7FE13DE","13EB973D-FF17-4A76-AD4B-13347D80B1A9","8A92D97E-6965-49F7-B2B0-8842FB9ADCDF","662F4742-3BD8-4D39-88CB-EE97BC2306D6","8F15DC2D-892E-4B0F-83CB-8E7012281BEB","57A38C48-8036-4D85-91C8-9F60FE72DACE","5F6BEEC4-A021-4428-AC2A-14F8A4F9B68C"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"4853":{"submorphs":[],"scripts":[],"id":"87C219F4-0906-4BE7-9E8F-D83689CB1A79","shape":{"__isSmartRef__":true,"id":4854},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4860},"_MaxTextWidth":78,"_MaxTextHeight":null,"padding":{"__isSmartRef__":true,"id":4861},"_Padding":{"__isSmartRef__":true,"id":4862},"owner":{"__isSmartRef__":true,"id":4852},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":4863}],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4865},"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4866},"eventHandler":{"__isSmartRef__":true,"id":4867},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":78,"_MinTextHeight":null,"derivationIds":[212,"054FD83F-508D-488D-A011-8769DCB647DF","834D337A-5619-4055-B103-7BDAA88CD7A9","3C85FBE2-5C85-4CCF-B86A-25E65015429B","001D6261-96E2-4ACC-880A-8540815DC8D3","90FFCC86-B995-4F2F-872F-55A8A74FC99E","766B1A00-7692-4CAB-B106-01876B4D5F77","C36FA883-C0F4-47DA-B1A9-CB8D82C1C6E4","91BD5A6B-4A46-43EA-8FA0-2A5C4EFDD1A7","B8CDD839-4085-4D54-B360-5F4DAC2DD83C","C25AEC86-A78F-4355-A843-3CACF03215A8","B28C6DEB-10EF-40BF-BA3F-3BFA8EB2B14D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4854":{"position":{"__isSmartRef__":true,"id":4855},"_Extent":{"__isSmartRef__":true,"id":4856},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4857},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4858},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4859},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4855":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4856":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4857":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4858":{"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"},"4859":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4860":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4861":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4862":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4863":{"style":{"__isSmartRef__":true,"id":4864},"morph":{"__isSmartRef__":true,"id":4853},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":4853},"storedString":"browse","__LivelyClassName__":"lively.morphic.TextChunk"},"4864":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4865":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4866":{"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"},"4867":{"morph":{"__isSmartRef__":true,"id":4853},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4868":{"position":{"__isSmartRef__":true,"id":4869},"_Extent":{"__isSmartRef__":true,"id":4870},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4641},"_Fill":{"__isSmartRef__":true,"id":4871},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4881},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4882},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4869":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4870":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4871":{"stops":[{"__isSmartRef__":true,"id":4872},{"__isSmartRef__":true,"id":4874},{"__isSmartRef__":true,"id":4876},{"__isSmartRef__":true,"id":4878}],"vector":{"__isSmartRef__":true,"id":4880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4872":{"offset":0,"color":{"__isSmartRef__":true,"id":4873}},"4873":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4874":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4875}},"4875":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4876":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4877}},"4877":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4878":{"offset":1,"color":{"__isSmartRef__":true,"id":4879}},"4879":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4880":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4881":{"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"},"4882":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4883":{"stops":[{"__isSmartRef__":true,"id":4884},{"__isSmartRef__":true,"id":4886},{"__isSmartRef__":true,"id":4888},{"__isSmartRef__":true,"id":4890}],"vector":{"__isSmartRef__":true,"id":4880},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4884":{"offset":0,"color":{"__isSmartRef__":true,"id":4885}},"4885":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4886":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4887}},"4887":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4888":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4889}},"4889":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4890":{"offset":1,"color":{"__isSmartRef__":true,"id":4891}},"4891":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4892":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4893":{"sourceObj":{"__isSmartRef__":true,"id":4852},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4604},"targetMethodName":"browseMethod","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4894":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4895":{"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"},"4896":{"morph":{"__isSmartRef__":true,"id":4852},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4897":{"x":53.66458745330033,"y":-17.22490844717396,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4898":{"x":400,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4899":{"submorphs":[{"__isSmartRef__":true,"id":4900}],"scripts":[],"id":"970C702F-7290-4010-852C-9AA79C8945ED","shape":{"__isSmartRef__":true,"id":4915},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4918},"lighterFill":{"__isSmartRef__":true,"id":4930},"label":{"__isSmartRef__":true,"id":4900},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4939},"attributeConnections":[{"__isSmartRef__":true,"id":4940}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":4976},"renderContextTable":{"__isSmartRef__":true,"id":4977},"eventHandler":{"__isSmartRef__":true,"id":4978},"distanceToDragEvent":{"__isSmartRef__":true,"id":4979},"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":4980},"owner":{"__isSmartRef__":true,"id":4604},"layout":{"__isSmartRef__":true,"id":4981},"derivationIds":[213,"EC7B60B8-A81F-4F24-A467-A661149CA045","DF2DEFBB-9271-4448-98A1-D2137526C2C3","EBFAF287-C65D-425B-910E-D6ADC7FA9D02","7F2E684F-7CC3-4CC4-8B18-920427491622","F7E9C68E-814B-4197-9D5B-556DCF0EC4F6","3DC305C0-5A87-4ED4-B263-5E5333B947FB","A8805225-9530-403B-977E-A2929A077DD0","0BF85746-8777-4195-949A-8733B4D79B02","8E485E0B-1832-4C7C-A5B1-D14057A7F5E3","4793FFDA-8803-44C7-97D4-27DE49B5D8D0","3FDA3264-B677-48AF-95D0-46DDD933EFBF"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"4900":{"submorphs":[],"scripts":[],"id":"74AE9EF4-11D2-4DA6-9485-FACC981EF5D1","shape":{"__isSmartRef__":true,"id":4901},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4907},"_MaxTextWidth":157.05605605605615,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4908},"_Padding":{"__isSmartRef__":true,"id":4909},"owner":{"__isSmartRef__":true,"id":4899},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4910},"textChunks":[{"__isSmartRef__":true,"id":4911}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4913},"eventHandler":{"__isSmartRef__":true,"id":4914},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":157.05605605605615,"_MinTextHeight":null,"derivationIds":[214,"D88E1591-8BE5-4F54-AEB5-71BC24E2014D","FE6955F2-3796-4030-BD54-73604562225B","0F07A5A7-E04B-412A-8D91-2AA448965A0E","634A262F-940F-4590-8DB1-0738A6DF355A","221F164E-FD6F-40ED-8E18-E055A638CE93","1320C4DD-9213-40AA-A107-5EF8EBE9B22A","098E1029-F36B-4434-B20F-A2100DCCBB9A","39D48D5A-BB94-40BA-AB93-09B3B787EC3D","27F752E4-9705-4F8B-9CC4-6E5131892552","78776F49-7628-4F29-81F1-7AFC77BDAFE0","5ACE871C-A220-4C51-A9E1-9315BE30BB0A"],"__LivelyClassName__":"lively.morphic.Text"},"4901":{"position":{"__isSmartRef__":true,"id":4902},"_Extent":{"__isSmartRef__":true,"id":4903},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4904},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4905},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4906},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4902":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4903":{"x":157.05605605605615,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4904":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4905":{"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"},"4906":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4907":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4908":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4909":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4910":{"x":157.05605605605615,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4911":{"style":{"__isSmartRef__":true,"id":4912},"chunkOwner":{"__isSmartRef__":true,"id":4900},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"search on server","__LivelyClassName__":"lively.morphic.TextChunk"},"4912":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4913":{"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"},"4914":{"morph":{"__isSmartRef__":true,"id":4900},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4915":{"position":{"__isSmartRef__":true,"id":4916},"_Extent":{"__isSmartRef__":true,"id":4917},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4641},"_Fill":{"__isSmartRef__":true,"id":4918},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4928},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4929},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4916":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4917":{"x":157.05605605605615,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4918":{"stops":[{"__isSmartRef__":true,"id":4919},{"__isSmartRef__":true,"id":4921},{"__isSmartRef__":true,"id":4923},{"__isSmartRef__":true,"id":4925}],"vector":{"__isSmartRef__":true,"id":4927},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4919":{"offset":0,"color":{"__isSmartRef__":true,"id":4920}},"4920":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4921":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4922}},"4922":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4923":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4924}},"4924":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4925":{"offset":1,"color":{"__isSmartRef__":true,"id":4926}},"4926":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4927":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4928":{"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"},"4929":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4930":{"stops":[{"__isSmartRef__":true,"id":4931},{"__isSmartRef__":true,"id":4933},{"__isSmartRef__":true,"id":4935},{"__isSmartRef__":true,"id":4937}],"vector":{"__isSmartRef__":true,"id":4927},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4931":{"offset":0,"color":{"__isSmartRef__":true,"id":4932}},"4932":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4933":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4934}},"4934":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4935":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4936}},"4936":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4937":{"offset":1,"color":{"__isSmartRef__":true,"id":4938}},"4938":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4939":{"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"},"4940":{"sourceObj":{"__isSmartRef__":true,"id":4899},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4604},"targetMethodName":"searchOnServer","visualConnector":{"__isSmartRef__":true,"id":4941},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4941":{"submorphs":[{"__isSmartRef__":true,"id":4942}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4957},"id":865,"renderContextTable":{"__isSmartRef__":true,"id":4964},"eventHandler":{"__isSmartRef__":true,"id":4965},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":4966},{"__isSmartRef__":true,"id":4967}],"con":{"__isSmartRef__":true,"id":4940},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4968},"__LivelyClassName__":"lively.morphic.Path"},"4942":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4943},"id":866,"renderContextTable":{"__isSmartRef__":true,"id":4954},"eventHandler":{"__isSmartRef__":true,"id":4955},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4956},"owner":{"__isSmartRef__":true,"id":4941},"_Rotation":-3.113822016996372,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"4943":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4944},{"__isSmartRef__":true,"id":4945},{"__isSmartRef__":true,"id":4946},{"__isSmartRef__":true,"id":4947}],"renderContextTable":{"__isSmartRef__":true,"id":4948},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4949},"_Extent":{"__isSmartRef__":true,"id":4950},"_Padding":{"__isSmartRef__":true,"id":4951},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4952},"_Fill":{"__isSmartRef__":true,"id":4953},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4944":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4945":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4946":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4947":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4948":{"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"},"4949":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4950":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4951":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4952":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4953":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4954":{"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"},"4955":{"morph":{"__isSmartRef__":true,"id":4942},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4956":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4957":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4958},{"__isSmartRef__":true,"id":4959}],"renderContextTable":{"__isSmartRef__":true,"id":4960},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":4961},"_Extent":{"__isSmartRef__":true,"id":4962},"_Padding":{"__isSmartRef__":true,"id":4963},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4952},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"4958":{"isAbsolute":true,"x":719.9999999999999,"y":20,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"4959":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"4960":{"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"},"4961":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4962":{"x":721,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4963":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4964":{"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"},"4965":{"morph":{"__isSmartRef__":true,"id":4941},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4966":{"morph":{"__isSmartRef__":true,"id":4941},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4967":{"morph":{"__isSmartRef__":true,"id":4941},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":4942},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"4968":{"morphMenuItems":{"__isSmartRef__":true,"id":4969}},"4969":{"varMapping":{"__isSmartRef__":true,"id":4970},"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":4975},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4970":{"this":{"__isSmartRef__":true,"id":4941},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4971}},"4971":{"$super":{"__isSmartRef__":true,"id":4972}},"4972":{"varMapping":{"__isSmartRef__":true,"id":4973},"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":4974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4973":{"obj":{"__isSmartRef__":true,"id":4941},"name":"morphMenuItems"},"4974":{},"4975":{},"4976":{"x":159.05805805805812,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4977":{"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"},"4978":{"morph":{"__isSmartRef__":true,"id":4899},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4979":{"x":111.36105352154709,"y":-11.352025158627953,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4980":{"x":490,"y":19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4981":{"moveHorizontal":false},"4982":{"submorphs":[{"__isSmartRef__":true,"id":4983}],"scripts":[],"id":"45F45C00-D787-4CA5-ACB4-EEE24343FDF4","shape":{"__isSmartRef__":true,"id":4998},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5013},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":5001},"lighterFill":{"__isSmartRef__":true,"id":5014},"label":{"__isSmartRef__":true,"id":4983},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":5023},"attributeConnections":[{"__isSmartRef__":true,"id":5024}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":5025},"renderContextTable":{"__isSmartRef__":true,"id":5026},"eventHandler":{"__isSmartRef__":true,"id":5027},"derivationIds":[2588,"8DA01C71-0A84-4A5A-8027-121F4684BB04","2F4904A6-2C6F-4A39-8C69-7C1E943F91B4","7F6F4EE1-856E-477B-8578-D99400031DBA","374C68BB-3D86-4DA0-9616-2B5320585D0E","23336C67-2F65-4D9F-9380-304876DC628F","8E57191F-E38B-4526-95AA-8D530FAC8156"],"owner":{"__isSmartRef__":true,"id":4604},"distanceToDragEvent":{"__isSmartRef__":true,"id":5028},"_Rotation":0,"_Scale":1.002003004005006,"layout":{"__isSmartRef__":true,"id":5029},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5030},"__LivelyClassName__":"lively.morphic.Button"},"4983":{"submorphs":[],"scripts":[],"id":"1E837FB7-B350-4A21-8BDC-EDEB6237973D","shape":{"__isSmartRef__":true,"id":4984},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4990},"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":4991},"_Padding":{"__isSmartRef__":true,"id":4992},"owner":{"__isSmartRef__":true,"id":4982},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":4993},"textChunks":[{"__isSmartRef__":true,"id":4994}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":4996},"eventHandler":{"__isSmartRef__":true,"id":4997},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"784F6E71-6365-4235-A0B6-69F992BB532B","54335D65-DB12-4322-84D0-BA8B85E7ED2F","2EF9D95D-4705-44B3-8D3C-446FEDC6346B","07108773-133C-4F4A-A740-33175849E789","E58C564E-D8F3-481A-821D-447F7C7556D8","D92DDD8E-7733-4909-A5E9-049EC55E90C0"],"_MinTextWidth":20,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"4984":{"position":{"__isSmartRef__":true,"id":4985},"_Extent":{"__isSmartRef__":true,"id":4986},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4987},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4988},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4989},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4985":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4986":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4987":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4988":{"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"},"4989":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4990":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4991":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4992":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4993":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4994":{"style":{"__isSmartRef__":true,"id":4995},"chunkOwner":{"__isSmartRef__":true,"id":4983},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"x","__LivelyClassName__":"lively.morphic.TextChunk"},"4995":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4996":{"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"},"4997":{"morph":{"__isSmartRef__":true,"id":4983},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4998":{"position":{"__isSmartRef__":true,"id":4999},"_Extent":{"__isSmartRef__":true,"id":5000},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":4641},"_Fill":{"__isSmartRef__":true,"id":5001},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5011},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5012},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4999":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5000":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5001":{"stops":[{"__isSmartRef__":true,"id":5002},{"__isSmartRef__":true,"id":5004},{"__isSmartRef__":true,"id":5006},{"__isSmartRef__":true,"id":5008}],"vector":{"__isSmartRef__":true,"id":5010},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5002":{"offset":0,"color":{"__isSmartRef__":true,"id":5003}},"5003":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5004":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5005}},"5005":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5006":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5007}},"5007":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5008":{"offset":1,"color":{"__isSmartRef__":true,"id":5009}},"5009":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5010":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5011":{"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"},"5012":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5013":{"x":839.8179038849663,"y":20.973229619022163,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5014":{"stops":[{"__isSmartRef__":true,"id":5015},{"__isSmartRef__":true,"id":5017},{"__isSmartRef__":true,"id":5019},{"__isSmartRef__":true,"id":5021}],"vector":{"__isSmartRef__":true,"id":5010},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"5015":{"offset":0,"color":{"__isSmartRef__":true,"id":5016}},"5016":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5017":{"offset":0.4,"color":{"__isSmartRef__":true,"id":5018}},"5018":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5019":{"offset":0.6,"color":{"__isSmartRef__":true,"id":5020}},"5020":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5021":{"offset":1,"color":{"__isSmartRef__":true,"id":5022}},"5022":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5023":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5024":{"sourceObj":{"__isSmartRef__":true,"id":4982},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4982},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5025":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5026":{"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"},"5027":{"morph":{"__isSmartRef__":true,"id":4982},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5028":{"x":34.37010312407733,"y":-11.180760580820959,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5029":{"moveHorizontal":true},"5030":{"onFire":{"__isSmartRef__":true,"id":5031}},"5031":{"varMapping":{"__isSmartRef__":true,"id":5032},"source":"function onFire() {\n var tab = this.owner.owner.tab\n var toolPane = this.get('ToolTabPane')\n toolPane.tabBar.removeTab(tab)\n if(toolPane.tabBar.getTabs().length == 0) {\n if (toolPane.owner instanceof lively.morphic.Window)\n toolPane.owner.remove();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5033},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5032":{"this":{"__isSmartRef__":true,"id":4982}},"5033":{"timestamp":{"__isSmartRef__":true,"id":5034},"user":"undefined","tags":[]},"5034":{"isSerializedDate":true,"string":"Fri Feb 03 2012 07:32:27 GMT-0800 (PST)"},"5035":{"position":{"__isSmartRef__":true,"id":5036},"_Extent":{"__isSmartRef__":true,"id":5037},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5038},"_Fill":{"__isSmartRef__":true,"id":5039},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5040},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5041},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5036":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5037":{"x":875.0934621532042,"y":534.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5038":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5039":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5040":{"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"},"5041":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5042":{"partsSpaceName":"PartsBin/Dialogs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"requiredModules":["lively.ide"],"partName":"MethodFinderPane","comment":"Pane for new ToolTabs","changes":[{"__isSmartRef__":true,"id":5043},{"__isSmartRef__":true,"id":5045},{"__isSmartRef__":true,"id":5047},{"__isSmartRef__":true,"id":5049},{"__isSmartRef__":true,"id":5051},{"__isSmartRef__":true,"id":5053},{"__isSmartRef__":true,"id":5055},{"__isSmartRef__":true,"id":5057}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":148699,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5043":{"date":{"__isSmartRef__":true,"id":5044},"author":"jenslincke","message":"- fixed browse Global definitions","id":"7DE86114-1D7E-4551-BC8F-E12A980A8EE9"},"5044":{"isSerializedDate":true,"string":"Thu Feb 09 2012 02:27:56 GMT-0800 (PST)"},"5045":{"date":{"__isSmartRef__":true,"id":5046},"author":"athomschke","message":"adjusted close button","id":"9EBA6297-7908-4B02-81F5-2B86B2E4B73D"},"5046":{"isSerializedDate":true,"string":"Fri Feb 03 2012 07:57:09 GMT-0800 (PST)"},"5047":{"date":{"__isSmartRef__":true,"id":5048},"author":"undefined","message":"","id":"47289007-8CB3-4B03-B9D1-3A8717E85DCB"},"5048":{"isSerializedDate":true,"string":"Fri Feb 03 2012 07:36:31 GMT-0800 (PST)"},"5049":{"date":{"__isSmartRef__":true,"id":5050},"author":"undefined","message":"- close button behavior","id":"0AD4C501-1DC4-4DD3-AFDC-A46F4ACD2CE1"},"5050":{"isSerializedDate":true,"string":"Fri Feb 03 2012 07:32:48 GMT-0800 (PST)"},"5051":{"date":{"__isSmartRef__":true,"id":5052},"author":"undefined","message":"","id":"CA16FEC1-49E5-4310-BDB6-F744F413F7EF"},"5052":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:48:35 GMT-0800 (PST)"},"5053":{"date":{"__isSmartRef__":true,"id":5054},"author":"undefined","message":"","id":"73F39208-58C9-4040-9948-516A104E5049"},"5054":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:42:18 GMT-0800 (PST)"},"5055":{"date":{"__isSmartRef__":true,"id":5056},"author":"undefined","message":"","id":"7A744B14-C057-4944-AFDD-CC78A910B35F"},"5056":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:40:30 GMT-0800 (PST)"},"5057":{"date":{"__isSmartRef__":true,"id":5058},"author":"undefined","message":"some style adjustments","id":"DA3EFD12-8A45-454C-993B-DB12847BEF94"},"5058":{"isSerializedDate":true,"string":"Mon Mar 26 2012 04:16:30 GMT-0700 (PDT)"},"5059":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"5060":{"x":875.0934621532042,"y":534.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5061":{"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"},"5062":{"morph":{"__isSmartRef__":true,"id":4604},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5063":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5064":{"x":583.4236186029176,"y":-13.858684727694055,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5065":{"search":{"__isSmartRef__":true,"id":5066},"browse":{"__isSmartRef__":true,"id":5070},"reset":{"__isSmartRef__":true,"id":5074},"setSearch":{"__isSmartRef__":true,"id":5078},"emphasizeStringIn":{"__isSmartRef__":true,"id":5081},"withAllMethodsDo":{"__isSmartRef__":true,"id":5084},"itemsFromFinds":{"__isSmartRef__":true,"id":5088},"browseMethod":{"__isSmartRef__":true,"id":5092},"openMethodInSystemBrowser":{"__isSmartRef__":true,"id":5096},"findSourceModule":{"__isSmartRef__":true,"id":5100},"searchOnServer":{"__isSmartRef__":true,"id":5104},"showLayerDefinition":{"__isSmartRef__":true,"id":5108}},"5066":{"varMapping":{"__isSmartRef__":true,"id":5067},"source":"function search(searchString) { \n this.get('searchResultList').updateList([]);\n this.get('sourceText').setTextString('');\n if (!searchString || (searchString.length < 2)) {\n this.get('sourceText').setTextString('\"' + searchString + '\" is to short');\n return;\n }\n var finds = [];\n var i=0;\n var matches = function(s) {\n return s.include(searchString)\n } \n\n // var re = new RegExp(searchString)\n var time = Functions.timeToRun(function() {\n this.withAllMethodsDo(function(object, eaMethod, type, optParent) {\n i++;\n var name;\n if (!object) return;\n\n if (object.constructor.prototype == object)\n name = object.constructor.name\n\n if (object.name) name = object.name;\n if (object.namespaceIdentifier)\n name = object.namespaceIdentifier\n\n if (object.constructor.prototype != object)\n name = name + \"(object)\"\n\n if ((object.constructor.prototype != object) && (object instanceof Morph))\n name = object.name + \"(\" + object.id + \")\"\n\n if (object === Global)\n name = \" \";\n\n if (type == \"layered\") {\n \n name = object._layered_object.constructor.type \n + \" (\" + optParent.name + \")\" \n \n }\n\n var string = name + \": \" + eaMethod; \n var item = {object: object, method: eaMethod, string: string, type: type};\n if (type == \"layered\") {\n item.layerName = optParent.name\n }\n\n if (matches(eaMethod)) {\n item.search= 'implementor',\n finds.push(item)\n return;\n } \n\n var f = object[eaMethod];\n if (!f || !f.getOriginal) return;\n var source = String(f.getOriginal())\n if (matches(source)){\n item.search = 'sender'\n finds.push(item)\n } \n })\n }.bind(this))\n this.get('sourceText').setTextString(\"search \" + i + \" methods, found \" \n + finds.length + \" methods in \" + time + \"ms\");\n var items = this.itemsFromFinds(finds)\n this.get('searchResultList').updateList(items);\n}","funcProperties":{"__isSmartRef__":true,"id":5068},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5067":{"this":{"__isSmartRef__":true,"id":4604}},"5068":{"timestamp":{"__isSmartRef__":true,"id":5069},"user":"undefined","tags":[]},"5069":{"isSerializedDate":true,"string":"Thu Jan 19 2012 05:46:43 GMT-0800 (PST)"},"5070":{"varMapping":{"__isSmartRef__":true,"id":5071},"source":"function browse(methodItem) {\n // methodItem = this.get('searchResultList').selection\n if (! methodItem) return;\n\n // deal with non method findings....\n if (methodItem.type == 'layer') {\n this.showLayerDefinition(methodItem)\n return\n } \n\n // methodItem = this.get('searchResultList').selection\n var methodName = methodItem.method;\n var object = methodItem.object;\n var orgFunc = object[methodName];\n\n if (!orgFunc || !orgFunc.getOriginal) {\n this.get('sourceText').setTextString('no source');\n return\n }\n orgFunc = orgFunc.getOriginal()\n \n this.targetFunction = orgFunc;\n this.targetObject = object;\n\n var source = \"// changes here only affect runtime\\n\", \n tab = lively.morphic.Text.prototype.tab;\n if (methodItem.layerName) {\n var partialMethod = object[methodName];\n source += methodItem.layerName + \".refineClass(\" + \n object._layered_object.constructor.type + \", {\\n\" + \n tab + methodName + \": \" + partialMethod +\"\\n})\";\n } else if (orgFunc.belongsToTrait) {\n source += \"Trait('\" + orgFunc.belongsToTrait.name + \"', {\\n\" \n + tab + methodName + \": \" + orgFunc +\"\\n})\";\n } else if (orgFunc.declaredClass) {\n source += orgFunc.declaredClass + \".addMethods({\\n\" \n + tab + methodName + \": \" \n + orgFunc + \"\\n});\"\n } else if(methodItem.type == 'extend') {\n // perhaps it is a an class object\n source += \"Object.extend(\" + (object.type || object.namespaceIdentifier) \n + \",{\\n\" + tab + methodName + \": \" \n + orgFunc + \"\\n});\"\n } else if(object.isMorph && (object.constructor.prototype !== object) ) {\n // display as script\n source = \"this.addScript(\" + orgFunc + \");\"\n } else if(object === Global) {\n // display as script\n source += \"Object.extend(Global, {\\n\" + tab + methodName + \": \" +\n orgFunc + \"\\n});\"\n }\n\n this.get('sourceText').setTextString(source)\n\n module('lively.ide.SyntaxHighlighting').load(true);\n this.get('sourceText').highlightJavaScriptSyntax();\n\n var searchText = this.get('searchText').textString;\n var m = searchText.match(/[^a-zA-Z0-9_\\.]/g)\n if(m) {\n m.forEach(function (each) {\n var escapedChar = '\\\\' + each;\n var position = searchText.search(\n new RegExp('[^\\\\\\\\]' + '\\\\' + each)) + 1;\n searchText = searchText.substring(0,position) \n + escapedChar + searchText.substr(position + 1);\n });\n }\n this.get('sourceText').emphasizeRegex(new RegExp(searchText, 'g'), {color: Color.red});\n\n var info = '' + this.findSourceModule(orgFunc);\n\n if (orgFunc.belongsToTrait)\n info += ' (' + orgFunc.belongsToTrait + \" in \" + orgFunc.belongsToTrait.sourceModule +\")\";\n\n this.get('infoText').setTextString(info)\n}","funcProperties":{"__isSmartRef__":true,"id":5072},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5071":{"this":{"__isSmartRef__":true,"id":4604}},"5072":{"timestamp":{"__isSmartRef__":true,"id":5073},"user":"undefined","tags":[]},"5073":{"isSerializedDate":true,"string":"Thu Feb 02 2012 04:55:34 GMT-0800 (PST)"},"5074":{"varMapping":{"__isSmartRef__":true,"id":5075},"source":"function reset() {\n this.doNotSerialize = ['targetFunction', 'targetObject']\n this.get('searchResultList').updateList([]);\n this.get('searchResultList').setSelection(null);\n this.get('searchText').setTextString('enter method name here');\n this.get('sourceText').setTextString('no code');\n this.get('infoText').setTextString('');\n this.targetFunction = null;\n this.targetObject = null;\n}","funcProperties":{"__isSmartRef__":true,"id":5076},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5075":{"this":{"__isSmartRef__":true,"id":4604}},"5076":{"timestamp":{"__isSmartRef__":true,"id":5077},"user":"undefined","tags":[]},"5077":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:30:14 GMT-0800 (PST)"},"5078":{"varMapping":{"__isSmartRef__":true,"id":5079},"source":"function setSearch(searchString) {\n this.get('searchText').setTextString(searchString);\n this.search(searchString)\n var list = this.get('searchResultList').getList();\n if (list.length > 0) this.get('searchResultList').setSelection(list[0])\n}","funcProperties":{"__isSmartRef__":true,"id":5080},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5079":{"this":{"__isSmartRef__":true,"id":4604}},"5080":{},"5081":{"varMapping":{"__isSmartRef__":true,"id":5082},"source":"function emphasizeStringIn(morph, string, style) {\n var m;\n var re = new RegExp(string, \"g\");\n while(m = re.exec(morph.textString)) {\n var from = m.index,\n to = m.index + m[0].length;\n morph.emphasize(style, from, to)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5083},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5082":{"this":{"__isSmartRef__":true,"id":4604}},"5083":{},"5084":{"varMapping":{"__isSmartRef__":true,"id":5085},"source":"function withAllMethodsDo(func) {\n var visited = [];\n\n cop.allLayers().forEach(function(layer) {\n func(eval(layer.namespaceName), layer.name, 'layer')\n layer.layeredObjects().forEach(function(obj) {\n var layerDef = cop.getLayerDefinitionForObject(layer, obj)\n Functions.own(layerDef).forEach(function(eaMethod) {\n func(layerDef, eaMethod, 'layered', layer)\n });\n });\n }); \n\n\n Functions.own(Global).forEach(function(eaMethod) {\n func(Global, eaMethod, 'global')\n }); \n\n this.world().withAllSubmorphsDo(function(ea) {\n Functions.own(ea).forEach(function(eaMethod) {\n func(ea, eaMethod, 'script')\n }); \n });\n\n Global.subNamespaces(true).forEach(function(ea) {\n Functions.own(ea).forEach(function(eaMethod) {\n func(ea, eaMethod, 'extend')\n }); \n });\n\n Global.classes(true).uniq().forEach(function(eaClass) {\n Functions.own(eaClass).forEach(function(eaMethod) {\n func(eaClass, eaMethod, 'extend')\n }); \n\n Functions.own(eaClass.prototype).forEach(function(eaMethod) {\n func(eaClass.prototype, eaMethod, 'class')\n }) \n })\n}","funcProperties":{"__isSmartRef__":true,"id":5086},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5085":{"this":{"__isSmartRef__":true,"id":4604}},"5086":{"timestamp":{"__isSmartRef__":true,"id":5087},"user":"undefined","tags":[]},"5087":{"isSerializedDate":true,"string":"Thu Jan 19 2012 05:41:57 GMT-0800 (PST)"},"5088":{"varMapping":{"__isSmartRef__":true,"id":5089},"source":"function itemsFromFinds(finds) {\n var searchString = this.get('searchText').textString;\n var items = finds.collect(function(ea) {\n var pref = \"\" + ea.type + \" \";\n if (ea.search == \"sender\") pref += \"full: \"\n if (ea.search == \"implementor\") pref += \"name: \"\n var string = pref + ea.string;\n var func = ea.object[ea.method];\n if (func.belongsToTrait) \n string += ' / ' + func.belongsToTrait + '' \n\n var result = {\n isListItem: true,\n value: ea,\n string: string,\n doNotSerialize: ['value'],\n priority: {implementor: \"B\", sender: \"C\"}[ea.search] || \"D\",\n };\n if (ea.method == searchString) result.priority = \"A\"\n return result\n })\n items = items.sortBy(function(ea) {return ea.priority + ea.string})\n return items\n}","funcProperties":{"__isSmartRef__":true,"id":5090},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5089":{"this":{"__isSmartRef__":true,"id":4604}},"5090":{"timestamp":{"__isSmartRef__":true,"id":5091},"user":"undefined","tags":[]},"5091":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:31:52 GMT-0800 (PST)"},"5092":{"varMapping":{"__isSmartRef__":true,"id":5093},"source":"function browseMethod() {\n alertOK('browseMethod')\n var methodItem = this.get('searchResultList').selection;\n if (methodItem.type == 'layer') {\n var layer = methodItem.object[methodItem.method];\n this.openMethodInSystemBrowser(methodItem.method, \n undefined, layer.sourceModule);\n return\n }\n\n if (!this.targetFunction) return;\n var methodName = this.targetFunction.methodName || this.targetFunction.displayName; \n if(this.targetFunction.declaredClass) {\n var classObj = eval(this.targetFunction.declaredClass)\n this.openMethodInSystemBrowser(classObj.type, methodName);\n return;\n }\n if(this.targetFunction.belongsToTrait) {\n this.openMethodInSystemBrowser(this.targetFunction.belongsToTrait.name, methodName);\n return;\n }\n if(Class.isClass(this.targetObject)) {\n this.openMethodInSystemBrowser(this.targetObject.type, methodName);\n return;\n }\n if(this.targetObject.namespaceIdentifier) {\n this.openMethodInSystemBrowser(this.targetObject.namespaceIdentifier, methodName);\n return;\n }\n if(this.targetObject instanceof lively.morphic.Morph) {\n var editor = this.world().openObjectEditorFor(this.targetObject);\n editor.align(editor.bounds().center(), this.world().visibleBounds().center());\n return;\n }\n if (Class.isClass(this.targetFunction)) {\n // constructor\n this.openMethodInSystemBrowser(this.targetFunction.displayName);\n return;\n }\n \n alertOK('not implemented yet for ' + this.targetFunction)\n}","funcProperties":{"__isSmartRef__":true,"id":5094},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5093":{"this":{"__isSmartRef__":true,"id":4604}},"5094":{"timestamp":{"__isSmartRef__":true,"id":5095},"user":"undefined","tags":[]},"5095":{"isSerializedDate":true,"string":"Thu Jan 19 2012 07:54:12 GMT-0800 (PST)"},"5096":{"varMapping":{"__isSmartRef__":true,"id":5097},"source":"function openMethodInSystemBrowser(objectName, methodName, optSourceModule) {\n if (objectName)\n objectName = objectName.replace(/^Global\\./,\"\");\n // alertOK(\"browse \" + objectName + \":\" + methodName)\n // objectName = 'SelectionMorphTrait', methodName = 'onDrag'\n var sourceModule = optSourceModule ||\n this.findSourceModule(this.targetFunction);\n if (!sourceModule) \n alert('could not browse, since no source module found!')\n var uri = new URL(sourceModule.uri()),\n relative = uri.relativePathFrom(new URL(Config.codeBase)),\n moduleNode = lively.ide.startSourceControl().addModule(relative),\n rootNode = moduleNode.ast();\n\n var fileFragments = rootNode.subElements(10).select(function(ea) {\n var path = ea.getOwnerNamePath()\n if (objectName == \"Global\")\n return path.include(methodName);\n return path.include(objectName) && (!methodName || path.include(methodName)) \n });\n \n\n\n // alertOK(\"found following places to browse: \" + fileFragments)\n if (fileFragments.length > 0) {\n fileFragments[0].browseIt()\n } else {\n alert(\"browse failed. Nothing found for \" + objectName + \">>\" + methodName + \" in \" + sourceModule.uri());\n rootNode.browseIt();\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":5098},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5097":{"this":{"__isSmartRef__":true,"id":4604}},"5098":{"timestamp":{"__isSmartRef__":true,"id":5099},"user":"jenslincke","tags":[]},"5099":{"isSerializedDate":true,"string":"Thu Feb 09 2012 02:27:23 GMT-0800 (PST)"},"5100":{"varMapping":{"__isSmartRef__":true,"id":5101},"source":"function findSourceModule(funcObj) {\n if (this.targetFunction.belongsToTrait) \n return this.targetFunction.belongsToTrait.sourceModule\n if (funcObj.sourceModule)\n return funcObj.sourceModule;\n // look in the class\n if (!funcObj.sourceModule && funcObj.declaredClass) {\n var classObj = eval(funcObj.declaredClass)\n return classObj.sourceModule\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5102},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5101":{"this":{"__isSmartRef__":true,"id":4604}},"5102":{"user":"jenslincke","timestamp":{"__isSmartRef__":true,"id":5103}},"5103":{"isSerializedDate":true,"string":"Fri Nov 04 2011 07:27:13 GMT-0700 (PDT)"},"5104":{"varMapping":{"__isSmartRef__":true,"id":5105},"source":"function searchOnServer() {\n var serverSearch = this.world().openPartItem('ServerSearch', 'PartsBin/Tools'); \n serverSearch.setSearch(this.get('searchText').textString)\n}","funcProperties":{"__isSmartRef__":true,"id":5106},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5105":{"this":{"__isSmartRef__":true,"id":4604}},"5106":{"timestamp":{"__isSmartRef__":true,"id":5107},"user":"jenslincke","categories":[]},"5107":{"isSerializedDate":true,"string":"Fri Nov 18 2011 02:40:23 GMT-0800 (PST)"},"5108":{"varMapping":{"__isSmartRef__":true,"id":5109},"source":"function showLayerDefinition(methodItem) {\n var info = \"layer definition\" \n var source = \"TODO: print layer def here...\"\n this.get('infoText').setTextString(info)\n this.get('sourceText').setTextString(source)\n}","funcProperties":{"__isSmartRef__":true,"id":5110},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5109":{"this":{"__isSmartRef__":true,"id":4604}},"5110":{"timestamp":{"__isSmartRef__":true,"id":5111},"user":"undefined","tags":[]},"5111":{"isSerializedDate":true,"string":"Thu Jan 19 2012 06:30:43 GMT-0800 (PST)"},"5112":{"_Position":{"__isSmartRef__":true,"id":5113},"renderContextTable":{"__isSmartRef__":true,"id":5114},"_Extent":{"__isSmartRef__":true,"id":5115},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5116},"_Fill":{"__isSmartRef__":true,"id":5117},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4600},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5113":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5114":{"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"},"5115":{"x":875.0934621532042,"y":534.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5116":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5117":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5118":{"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"},"5119":{"morph":{"__isSmartRef__":true,"id":4603},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5120":{"x":875.0934621532042,"y":534.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5121":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"5122":{"x":0,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5123":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5124":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5125":{"_Position":{"__isSmartRef__":true,"id":5126},"renderContextTable":{"__isSmartRef__":true,"id":5127},"_Extent":{"__isSmartRef__":true,"id":5128},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5129},"_Fill":{"__isSmartRef__":true,"id":5130},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5131},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5126":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5127":{"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"},"5128":{"x":875.0934621532042,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5129":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5130":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5131":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5132":{"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"},"5133":{"morph":{"__isSmartRef__":true,"id":4549},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5134":{"x":875.0934621532042,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5135":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5136":{"resizeWidth":true,"adjustForNewBounds":true},"5137":{"_Position":{"__isSmartRef__":true,"id":5138},"renderContextTable":{"__isSmartRef__":true,"id":5139},"_Extent":{"__isSmartRef__":true,"id":5140},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5141},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5142},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5138":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5139":{"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"},"5140":{"x":875.0934621532042,"y":564.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5141":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5142":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5143":{"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"},"5144":{"morph":{"__isSmartRef__":true,"id":4548},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5145":{"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.TabStrategyTop"},"5146":{"x":875.0934621532042,"y":564.714715139713,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5147":{"requiredModules":[],"partsSpaceName":"PartsBin/Dialogs","comment":"A tabbed tool pane (under development): Supports MethodFinder","changes":[{"__isSmartRef__":true,"id":5148},{"__isSmartRef__":true,"id":5150},{"__isSmartRef__":true,"id":5152},{"__isSmartRef__":true,"id":5154},{"__isSmartRef__":true,"id":5156}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","partName":"ToolTabPane","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"revisionOnLoad":148717,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5148":{"date":{"__isSmartRef__":true,"id":5149},"author":"athomschke","message":"","id":"CADBD788-8F41-4046-BCED-6CF1172CF93D"},"5149":{"isSerializedDate":true,"string":"Thu Feb 09 2012 03:51:59 GMT-0800 (PST)"},"5150":{"date":{"__isSmartRef__":true,"id":5151},"author":"fabian","message":"initial","id":"EA1E7C49-D79B-461B-ACD7-126E1902F6FF"},"5151":{"isSerializedDate":true,"string":"Wed Jan 25 2012 23:08:17 GMT-0800 (PST)"},"5152":{"date":{"__isSmartRef__":true,"id":5153},"author":"undefined","message":"initial version ","id":"61DC98FC-D0AA-43D7-A579-7649657A81B4"},"5153":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:55:32 GMT-0800 (PST)"},"5154":{"date":{"__isSmartRef__":true,"id":5155},"author":"undefined","message":"- white and S:","id":"9CC8444F-8D6A-476B-904F-1BC27EB9F6E4"},"5155":{"isSerializedDate":true,"string":"Fri Feb 03 2012 07:24:10 GMT-0800 (PST)"},"5156":{"date":{"__isSmartRef__":true,"id":5157},"author":"undefined","message":"added a resize corner","id":"69E8407B-8700-4E9B-8558-C54AF5D9D65F"},"5157":{"isSerializedDate":true,"string":"Mon Mar 26 2012 03:52:49 GMT-0700 (PDT)"},"5158":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5159":{"x":581.0853111335786,"y":-13.240456448482064,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5160":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"5161":{"onrestore":{"__isSmartRef__":true,"id":5162},"installLayers":{"__isSmartRef__":true,"id":5170},"openMethodFinderFor":{"__isSmartRef__":true,"id":5174}},"5162":{"varMapping":{"__isSmartRef__":true,"id":5163},"source":"function onrestore() {\n this.installLayers();\n $super()\n}","funcProperties":{"__isSmartRef__":true,"id":5168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5163":{"this":{"__isSmartRef__":true,"id":4548},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5164}},"5164":{"$super":{"__isSmartRef__":true,"id":5165}},"5165":{"varMapping":{"__isSmartRef__":true,"id":5166},"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":5167},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5166":{"obj":{"__isSmartRef__":true,"id":4548},"name":"onrestore"},"5167":{},"5168":{"timestamp":{"__isSmartRef__":true,"id":5169},"user":"undefined","tags":[]},"5169":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:18:55 GMT-0800 (PST)"},"5170":{"varMapping":{"__isSmartRef__":true,"id":5171},"source":"function installLayers() {\n \ncop.create(\"TabbedMethodFinderLayer\").refineClass(lively.morphic.Text, {\n doBrowseImplementors: function () {\n var toolTabPane = this.get(\"ToolTabPane\");\n var searchString = this.getSelectionOrLineString();\n if (toolTabPane) {\n toolTabPane.openMethodFinderFor(searchString);\n return;\n }\n this.world().openMethodFinderFor(searchString)\n }\n})\n\n\nthis.setWithLayers([TabbedMethodFinderLayer])\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":5172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5171":{"this":{"__isSmartRef__":true,"id":4548}},"5172":{"timestamp":{"__isSmartRef__":true,"id":5173},"user":"undefined","tags":[]},"5173":{"isSerializedDate":true,"string":"Fri Feb 03 2012 06:20:31 GMT-0800 (PST)"},"5174":{"varMapping":{"__isSmartRef__":true,"id":5175},"source":"function openMethodFinderFor(searchString) {\n // this.openMethodFinderFor(\"onMouseDown\")\n var tab = this.addTabLabeled(\"S:\" + searchString)\n var part = this.world().openPartItem('MethodFinderPane', 'PartsBin/Dialogs');\n part.setExtent(this.tabPaneExtent)\n tab.pane.addMorph(part);\n tab.pane.layout = tab.pane.layout || {};\n tab.pane.layout.resizeWidth = true;\n tab.pane.layout.resizeHeight = true;\n part.setSearch(searchString);\n part.setPosition(pt(0,0))\n $world.addMorph(this.owner);\n return part;\n}","funcProperties":{"__isSmartRef__":true,"id":5176},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5175":{"this":{"__isSmartRef__":true,"id":4548}},"5176":{"timestamp":{"__isSmartRef__":true,"id":5177},"user":"undefined","tags":[]},"5177":{"isSerializedDate":true,"string":"Wed Mar 28 2012 04:53:26 GMT-0700 (PDT)"},"5178":{"a":1,"b":0,"c":0,"d":1,"e":352.5020030040049,"f":662.1712207003235,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"5179":{"x":876.9959939919901,"y":586.6575585993531,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5180":{"x":700,"y":370,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5181":{"x":542,"y":679,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5182":{"submorphs":[],"scripts":[],"id":"5F7BD442-687D-4EA5-B599-2F4D3B03F4D4","shape":{"__isSmartRef__":true,"id":5183},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5190},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":5191},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":5192},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":5193},"eventHandler":{"__isSmartRef__":true,"id":5194},"priorExtent":{"__isSmartRef__":true,"id":5195},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","C13BE625-F1AC-4401-AB63-BA50CE744CB6","291119F3-1D44-4861-BAE4-5F142861083D","E10B97BB-8029-4AFE-97F4-D7DEA3EA000F","3BA898DA-1519-4FF8-A0BF-09E180382D50","1D1F4D10-DB39-481C-93FD-21520463295A","92761179-5047-4C14-979F-29A9CF056641","E7B73231-7E5A-4788-81EC-6077698D93B5","6CEE8BC8-59C9-4C03-B5FD-77D84EB324B5"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":5196}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"owner":null,"cornerName":"bottomRight","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5197},"__LivelyClassName__":"lively.morphic.Box"},"5183":{"position":{"__isSmartRef__":true,"id":5184},"_Extent":{"__isSmartRef__":true,"id":5185},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5186},"_Fill":{"__isSmartRef__":true,"id":5187},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5188},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5189},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5184":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5185":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5186":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5187":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5188":{"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"},"5189":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5190":{"x":866.9959939919901,"y":576.6575585993531,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5191":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5192":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5193":{"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"},"5194":{"morph":{"__isSmartRef__":true,"id":5182},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5195":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5196":{"sourceObj":{"__isSmartRef__":true,"id":5182},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":5182},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"5197":{"onDrag":{"__isSmartRef__":true,"id":5198},"onDragEnd":{"__isSmartRef__":true,"id":5206},"onDragStart":{"__isSmartRef__":true,"id":5214},"reset":{"__isSmartRef__":true,"id":5222},"morphMenuItems":{"__isSmartRef__":true,"id":5225},"alignToOwner":{"__isSmartRef__":true,"id":5232}},"5198":{"varMapping":{"__isSmartRef__":true,"id":5199},"source":"function onDrag(evt) {\n // alert(\"onDrag\")\n // this.owner.setPosition(pt(0,0))\n // this.owner.setOrigin(pt(0,0))\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n \n // moveDelta = moveDelta.maxPt(pt(0,0))\n var ownerExtent = this.owner.getExtent();\n\n // TODO does not work\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n if (maxDelta == 0) return;\n var factor = ownerExtent.x / ownerExtent.y\n moveDelta = pt(maxDelta * factor, maxDelta )\n }\n var accessor = \"with\" + this.cornerName.charAt(0).toUpperCase() + this.cornerName.substring(1);\n\n var newCorner = this.originalTargetBounds[this.cornerName]().addPt(moveDelta);\n var newBounds = this.originalTargetBounds[accessor ](newCorner);\n\n this.owner.setBounds(newBounds);\n \n // var newExtent = this.originalTargetExtent.addPt(moveDelta)\n // alertOK(\"new extent\" + newExtent)\n // this.owner.setExtent(newExtent);\n this.owner.submorphs.select(function(ea) {\n return ea.isResizeCorner\n }).invoke('alignToOwner');\n if (this.owner.halos) {\n this.owner.halos.invoke('alignAtTarget')\n }\n // alertOK(\"relative \" + this.relativeOrigin)\n var newOrigin = pt(0,0).extent(this.owner.getExtent()).relativeToAbsPoint(this.relativeOrigin)\n\n // TODO IMPLEMENT updating the origin does not work yet\n // this.owner.setOrigin(newOrigin);\n // alertOK(\"new origin \" + newOrigin)\n\n}","funcProperties":{"__isSmartRef__":true,"id":5204},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5199":{"this":{"__isSmartRef__":true,"id":5182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5200}},"5200":{"$super":{"__isSmartRef__":true,"id":5201}},"5201":{"varMapping":{"__isSmartRef__":true,"id":5202},"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":5203},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5202":{"obj":{"__isSmartRef__":true,"id":5182},"name":"onDrag"},"5203":{},"5204":{"timestamp":{"__isSmartRef__":true,"id":5205},"user":"sstamm","tags":[]},"5205":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:08:52 GMT-0800 (PST)"},"5206":{"varMapping":{"__isSmartRef__":true,"id":5207},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":5212},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5207":{"this":{"__isSmartRef__":true,"id":5182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5208}},"5208":{"$super":{"__isSmartRef__":true,"id":5209}},"5209":{"varMapping":{"__isSmartRef__":true,"id":5210},"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":5211},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5210":{"obj":{"__isSmartRef__":true,"id":5182},"name":"onDragEnd"},"5211":{},"5212":{"timestamp":{"__isSmartRef__":true,"id":5213},"user":"sstamm","tags":[]},"5213":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:09:00 GMT-0800 (PST)"},"5214":{"varMapping":{"__isSmartRef__":true,"id":5215},"source":"function onDragStart(evt) {\n var absToRelativePoint = function (r, absPt) {\n\t\treturn new Point(\n\t\t\t(absPt.x - r.x) / r.width,\n\t\t\t(absPt.y - r.y) / r.height)\n\t}\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(20,20))\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(0,0))\n // absToRelativePoint(new Rectangle(-100,-100,200,200), pt(0,0))\n\n\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetBounds= this.owner.bounds();\n this.relativeOrigin = absToRelativePoint(pt(0,0).extent(this.owner.getExtent()), this.owner.getOrigin())\n}","funcProperties":{"__isSmartRef__":true,"id":5220},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5215":{"this":{"__isSmartRef__":true,"id":5182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5216}},"5216":{"$super":{"__isSmartRef__":true,"id":5217}},"5217":{"varMapping":{"__isSmartRef__":true,"id":5218},"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":5219},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5218":{"obj":{"__isSmartRef__":true,"id":5182},"name":"onDragStart"},"5219":{},"5220":{"timestamp":{"__isSmartRef__":true,"id":5221},"user":"sstamm","tags":[]},"5221":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:08:40 GMT-0800 (PST)"},"5222":{"varMapping":{"__isSmartRef__":true,"id":5223},"source":"function reset() {\n this.isResizeCorner = true\n this.cornerName = 'bottomRight'\n this.setExtent(pt(10,10));\n this.setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":5224},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5223":{"this":{"__isSmartRef__":true,"id":5182}},"5224":{},"5225":{"varMapping":{"__isSmartRef__":true,"id":5226},"source":"function morphMenuItems() {\n return $super().concat([\n [\"corner\", [\n [\"top left\", function() { this.cornerName = 'topLeft'}.bind(this)],\n [\"top right\", function() { this.cornerName = 'topRight'}.bind(this)],\n [\"bottom right\", function() { this.cornerName = 'bottomRight'}.bind(this)],\n [\"bottom left\", function() { this.cornerName = 'bottomLeft'}.bind(this)],\n ]]\n ])\t\n}","funcProperties":{"__isSmartRef__":true,"id":5231},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5226":{"this":{"__isSmartRef__":true,"id":5182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5227}},"5227":{"$super":{"__isSmartRef__":true,"id":5228}},"5228":{"varMapping":{"__isSmartRef__":true,"id":5229},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":5230},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5229":{"obj":{"__isSmartRef__":true,"id":5182},"name":"morphMenuItems"},"5230":{},"5231":{},"5232":{"varMapping":{"__isSmartRef__":true,"id":5233},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":5234},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5233":{"this":{"__isSmartRef__":true,"id":5182}},"5234":{},"5235":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":5236},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":5242},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"renderContextTable":{"__isSmartRef__":true,"id":5243},"eventHandler":{"__isSmartRef__":true,"id":5244},"_Rotation":0,"internalClickedOnMorph":{"__isSmartRef__":true,"id":5245},"lastScrollTime":1334003716055,"scrollFocusMorph":{"__isSmartRef__":true,"id":5245},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"5236":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5237},"_Extent":{"__isSmartRef__":true,"id":5238},"_Fill":{"__isSmartRef__":true,"id":5239},"renderContextTable":{"__isSmartRef__":true,"id":5240},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5241},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5237":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5238":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5239":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5240":{"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"},"5241":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5242":{"x":119,"y":445,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5243":{"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"},"5244":{"morph":{"__isSmartRef__":true,"id":5235},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5245":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5246},"derivationIds":[null],"id":"ECD60C33-B9D7-49CB-AAD3-9A7FE87D160F","renderContextTable":{"__isSmartRef__":true,"id":5257},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5258}],"eventHandler":{"__isSmartRef__":true,"id":5260},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":5261},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":1275},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5262},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5246":{"_Position":{"__isSmartRef__":true,"id":5247},"renderContextTable":{"__isSmartRef__":true,"id":5248},"_Extent":{"__isSmartRef__":true,"id":5249},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":5250},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5251},"_Fill":{"__isSmartRef__":true,"id":5252},"_BorderRadius":4,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5247":{"x":0,"y":184,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5248":{"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"},"5249":{"x":184,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5250":{"x":3,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5251":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5252":{"stops":[{"__isSmartRef__":true,"id":5253},{"__isSmartRef__":true,"id":5255}],"vector":{"__isSmartRef__":true,"id":1278},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5253":{"offset":0,"color":{"__isSmartRef__":true,"id":5254}},"5254":{"r":0.39215686274509803,"g":0.5137254901960784,"b":0.9725490196078431,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5255":{"offset":1,"color":{"__isSmartRef__":true,"id":5256}},"5256":{"r":0.13333333333333333,"g":0.3333333333333333,"b":0.9607843137254902,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5257":{"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"},"5258":{"style":{"__isSmartRef__":true,"id":5259},"chunkOwner":{"__isSmartRef__":true,"id":5245},"storedString":"save world","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5259":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5260":{"morph":{"__isSmartRef__":true,"id":5245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5261":{"x":180,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5262":{"onMouseWheel":{"__isSmartRef__":true,"id":5263},"onSelectStart":{"__isSmartRef__":true,"id":5270}},"5263":{"varMapping":{"__isSmartRef__":true,"id":5264},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":5269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5264":{"this":{"__isSmartRef__":true,"id":5245},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5265}},"5265":{"$super":{"__isSmartRef__":true,"id":5266}},"5266":{"varMapping":{"__isSmartRef__":true,"id":5267},"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":5268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5267":{"obj":{"__isSmartRef__":true,"id":5245},"name":"onMouseWheel"},"5268":{},"5269":{},"5270":{"varMapping":{"__isSmartRef__":true,"id":5271},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":5276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5271":{"this":{"__isSmartRef__":true,"id":5245},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5272}},"5272":{"$super":{"__isSmartRef__":true,"id":5273}},"5273":{"varMapping":{"__isSmartRef__":true,"id":5274},"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":5275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5274":{"obj":{"__isSmartRef__":true,"id":5245},"name":"onSelectStart"},"5275":{},"5276":{},"5277":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5278},"_Extent":{"__isSmartRef__":true,"id":5279},"_Fill":{"__isSmartRef__":true,"id":5280},"renderContextTable":{"__isSmartRef__":true,"id":5281},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5282},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5278":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5279":{"x":2800,"y":2900,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5280":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5281":{"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"},"5282":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5283":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5284":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"5285":{"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","setScroll":"setScrollHTML"},"5286":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5287":{"x":117,"y":443,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5288":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":5289},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5290},"__LivelyClassName__":"AttributeConnection"},"5289":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"5290":{"updater":{"__isSmartRef__":true,"id":5291}},"5291":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":5289},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5292":{},"5293":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/TedKaehler/DBJr.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"5294":{"submorphs":[{"__isSmartRef__":true,"id":5295}],"scripts":[],"id":"D9B052FB-89C9-4C54-A67B-313281060F5F","shape":{"__isSmartRef__":true,"id":5324},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5331},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":5332},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5429},"eventHandler":{"__isSmartRef__":true,"id":5430},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":5431},"layout":{"__isSmartRef__":true,"id":5432},"distanceToDragEvent":{"__isSmartRef__":true,"id":5433},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5434},"__LivelyClassName__":"lively.morphic.Box"},"5295":{"submorphs":[{"__isSmartRef__":true,"id":5296}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5312},"id":"242D56A1-481C-43E2-B3CA-67EEF46FDB0E","renderContextTable":{"__isSmartRef__":true,"id":5317},"eventHandler":{"__isSmartRef__":true,"id":5318},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5319},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":5320},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":5321},"partsBinMetaInfo":{"__isSmartRef__":true,"id":5322},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":5294},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":5323},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"5296":{"submorphs":[],"scripts":[],"id":"5B8546B7-D467-43E4-9DED-5732D653B54D","shape":{"__isSmartRef__":true,"id":5297},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5303},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5300},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":5304},"textChunks":[{"__isSmartRef__":true,"id":5305}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5307},"renderContextTable":{"__isSmartRef__":true,"id":5308},"eventHandler":{"__isSmartRef__":true,"id":5309},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5310},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":5295},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":5311},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5297":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5298},"_Extent":{"__isSmartRef__":true,"id":5299},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5300},"renderContextTable":{"__isSmartRef__":true,"id":5301},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5302},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5298":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5299":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5300":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5301":{"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"},"5302":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5303":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5304":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5305":{"style":{"__isSmartRef__":true,"id":5306},"chunkOwner":{"__isSmartRef__":true,"id":5296},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"5306":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5307":{"x":257,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5308":{"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"},"5309":{"morph":{"__isSmartRef__":true,"id":5296},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5310":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5311":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5312":{"_Position":{"__isSmartRef__":true,"id":5313},"renderContextTable":{"__isSmartRef__":true,"id":5314},"_Extent":{"__isSmartRef__":true,"id":5315},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5316},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"5313":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5314":{"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","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"5315":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5316":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5317":{"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"},"5318":{"morph":{"__isSmartRef__":true,"id":5295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5319":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5320":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5321":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5322":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5323":{"centeredHorizontal":true,"centeredVertical":true},"5324":{"position":{"__isSmartRef__":true,"id":5325},"_Extent":{"__isSmartRef__":true,"id":5326},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5327},"_Fill":{"__isSmartRef__":true,"id":5328},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5329},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5330},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5326":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5327":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5328":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5329":{"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"},"5330":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5331":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5332":{"partsSpaceName":"PartsBin/iPad Widgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":5333},{"__isSmartRef__":true,"id":5335},{"__isSmartRef__":true,"id":5337},{"__isSmartRef__":true,"id":5339},{"__isSmartRef__":true,"id":5341},{"__isSmartRef__":true,"id":5343},{"__isSmartRef__":true,"id":5345},{"__isSmartRef__":true,"id":5347},{"__isSmartRef__":true,"id":5349},{"__isSmartRef__":true,"id":5351},{"__isSmartRef__":true,"id":5353},{"__isSmartRef__":true,"id":5355},{"__isSmartRef__":true,"id":5357},{"__isSmartRef__":true,"id":5359},{"__isSmartRef__":true,"id":5361},{"__isSmartRef__":true,"id":5363},{"__isSmartRef__":true,"id":5365},{"__isSmartRef__":true,"id":5367},{"__isSmartRef__":true,"id":5369},{"__isSmartRef__":true,"id":5371},{"__isSmartRef__":true,"id":5373},{"__isSmartRef__":true,"id":5375},{"__isSmartRef__":true,"id":5377},{"__isSmartRef__":true,"id":5379},{"__isSmartRef__":true,"id":5381},{"__isSmartRef__":true,"id":5383},{"__isSmartRef__":true,"id":5385},{"__isSmartRef__":true,"id":5387},{"__isSmartRef__":true,"id":5389},{"__isSmartRef__":true,"id":5391},{"__isSmartRef__":true,"id":5393},{"__isSmartRef__":true,"id":5395},{"__isSmartRef__":true,"id":5397},{"__isSmartRef__":true,"id":5399},{"__isSmartRef__":true,"id":5401},{"__isSmartRef__":true,"id":5403},{"__isSmartRef__":true,"id":5405},{"__isSmartRef__":true,"id":5407},{"__isSmartRef__":true,"id":5409},{"__isSmartRef__":true,"id":5411},{"__isSmartRef__":true,"id":5413},{"__isSmartRef__":true,"id":5415},{"__isSmartRef__":true,"id":5417},{"__isSmartRef__":true,"id":5419},{"__isSmartRef__":true,"id":5421},{"__isSmartRef__":true,"id":5423},{"__isSmartRef__":true,"id":5425},{"__isSmartRef__":true,"id":5427}],"revisionOnLoad":146474,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5333":{"date":{"__isSmartRef__":true,"id":5334},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"5334":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:02:04 GMT-0800 (PST)"},"5335":{"date":{"__isSmartRef__":true,"id":5336},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"5336":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:43:10 GMT-0800 (PST)"},"5337":{"date":{"__isSmartRef__":true,"id":5338},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"5338":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:36:14 GMT-0800 (PST)"},"5339":{"date":{"__isSmartRef__":true,"id":5340},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"5340":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:23:04 GMT-0800 (PST)"},"5341":{"date":{"__isSmartRef__":true,"id":5342},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"5342":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:45 GMT-0800 (PST)"},"5343":{"date":{"__isSmartRef__":true,"id":5344},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"5344":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:10 GMT-0800 (PST)"},"5345":{"date":{"__isSmartRef__":true,"id":5346},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"5346":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:56:54 GMT-0800 (PST)"},"5347":{"date":{"__isSmartRef__":true,"id":5348},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"5348":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:51:05 GMT-0800 (PST)"},"5349":{"date":{"__isSmartRef__":true,"id":5350},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"5350":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:47:19 GMT-0800 (PST)"},"5351":{"date":{"__isSmartRef__":true,"id":5352},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"5352":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:46:25 GMT-0800 (PST)"},"5353":{"date":{"__isSmartRef__":true,"id":5354},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"5354":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:45:05 GMT-0800 (PST)"},"5355":{"date":{"__isSmartRef__":true,"id":5356},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"5356":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:37:15 GMT-0800 (PST)"},"5357":{"date":{"__isSmartRef__":true,"id":5358},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"5358":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:35:29 GMT-0800 (PST)"},"5359":{"date":{"__isSmartRef__":true,"id":5360},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"5360":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:31:52 GMT-0800 (PST)"},"5361":{"date":{"__isSmartRef__":true,"id":5362},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"5362":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:14:10 GMT-0800 (PST)"},"5363":{"date":{"__isSmartRef__":true,"id":5364},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"5364":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:02:56 GMT-0800 (PST)"},"5365":{"date":{"__isSmartRef__":true,"id":5366},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"5366":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:01:50 GMT-0800 (PST)"},"5367":{"date":{"__isSmartRef__":true,"id":5368},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"5368":{"isSerializedDate":true,"string":"Wed Feb 22 2012 01:55:44 GMT-0800 (PST)"},"5369":{"date":{"__isSmartRef__":true,"id":5370},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"5370":{"isSerializedDate":true,"string":"Fri Feb 10 2012 00:45:55 GMT-0800 (PST)"},"5371":{"date":{"__isSmartRef__":true,"id":5372},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"5372":{"isSerializedDate":true,"string":"Wed Feb 08 2012 02:41:50 GMT-0800 (PST)"},"5373":{"date":{"__isSmartRef__":true,"id":5374},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"5374":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:13:49 GMT-0800 (PST)"},"5375":{"date":{"__isSmartRef__":true,"id":5376},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"5376":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:22:07 GMT-0800 (PST)"},"5377":{"date":{"__isSmartRef__":true,"id":5378},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"5378":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:14 GMT-0800 (PST)"},"5379":{"date":{"__isSmartRef__":true,"id":5380},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"5380":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:54:35 GMT-0800 (PST)"},"5381":{"date":{"__isSmartRef__":true,"id":5382},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"5382":{"isSerializedDate":true,"string":"Thu Feb 02 2012 04:26:01 GMT-0800 (PST)"},"5383":{"date":{"__isSmartRef__":true,"id":5384},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"5384":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:04:01 GMT-0800 (PST)"},"5385":{"date":{"__isSmartRef__":true,"id":5386},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"5386":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:28:30 GMT-0800 (PST)"},"5387":{"date":{"__isSmartRef__":true,"id":5388},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"5388":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:32:58 GMT-0800 (PST)"},"5389":{"date":{"__isSmartRef__":true,"id":5390},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"5390":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:41:00 GMT-0800 (PST)"},"5391":{"date":{"__isSmartRef__":true,"id":5392},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"5392":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:24:30 GMT-0800 (PST)"},"5393":{"date":{"__isSmartRef__":true,"id":5394},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"5394":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:26:23 GMT-0800 (PST)"},"5395":{"date":{"__isSmartRef__":true,"id":5396},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"5396":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:48:04 GMT-0800 (PST)"},"5397":{"date":{"__isSmartRef__":true,"id":5398},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"5398":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:53:49 GMT-0800 (PST)"},"5399":{"date":{"__isSmartRef__":true,"id":5400},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"5400":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:49:48 GMT-0800 (PST)"},"5401":{"date":{"__isSmartRef__":true,"id":5402},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"5402":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:58:43 GMT-0800 (PST)"},"5403":{"date":{"__isSmartRef__":true,"id":5404},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"5404":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:04:28 GMT-0800 (PST)"},"5405":{"date":{"__isSmartRef__":true,"id":5406},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"5406":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:10:27 GMT-0800 (PST)"},"5407":{"date":{"__isSmartRef__":true,"id":5408},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"5408":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:31:50 GMT-0800 (PST)"},"5409":{"date":{"__isSmartRef__":true,"id":5410},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"5410":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:38:26 GMT-0800 (PST)"},"5411":{"date":{"__isSmartRef__":true,"id":5412},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"5412":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:44:11 GMT-0800 (PST)"},"5413":{"date":{"__isSmartRef__":true,"id":5414},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"5414":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:48:14 GMT-0800 (PST)"},"5415":{"date":{"__isSmartRef__":true,"id":5416},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"5416":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:49:47 GMT-0800 (PST)"},"5417":{"date":{"__isSmartRef__":true,"id":5418},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"5418":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:59:48 GMT-0800 (PST)"},"5419":{"date":{"__isSmartRef__":true,"id":5420},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"5420":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:02:33 GMT-0800 (PST)"},"5421":{"date":{"__isSmartRef__":true,"id":5422},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"5422":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:03:42 GMT-0800 (PST)"},"5423":{"date":{"__isSmartRef__":true,"id":5424},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"5424":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:20:11 GMT-0800 (PST)"},"5425":{"date":{"__isSmartRef__":true,"id":5426},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"5426":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:37:34 GMT-0700 (PDT)"},"5427":{"date":{"__isSmartRef__":true,"id":5428},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"5428":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:29 GMT-0700 (PDT)"},"5429":{"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"},"5430":{"morph":{"__isSmartRef__":true,"id":5294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5431":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5432":{"adjustForNewBounds":true},"5433":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5434":{"loadPart":{"__isSmartRef__":true,"id":5435},"loadFinished":{"__isSmartRef__":true,"id":5439},"loadPartByName":{"__isSmartRef__":true,"id":5443}},"5435":{"varMapping":{"__isSmartRef__":true,"id":5436},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5437},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5436":{"this":{"__isSmartRef__":true,"id":5294}},"5437":{"timestamp":{"__isSmartRef__":true,"id":5438},"user":"sstamm","tags":[]},"5438":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:18 GMT-0700 (PDT)"},"5439":{"varMapping":{"__isSmartRef__":true,"id":5440},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5441},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5440":{"this":{"__isSmartRef__":true,"id":5294}},"5441":{"timestamp":{"__isSmartRef__":true,"id":5442},"user":"sstamm","tags":[]},"5442":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:01:53 GMT-0800 (PST)"},"5443":{"varMapping":{"__isSmartRef__":true,"id":5444},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":5445},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5444":{"this":{"__isSmartRef__":true,"id":5294}},"5445":{"timestamp":{"__isSmartRef__":true,"id":5446},"user":"sstamm","tags":[]},"5446":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:03:18 GMT-0800 (PST)"},"isSimplifiedRegistry":true}}]]>