is not a function\nTypeError: Property 'position' of object # is not a function\n at ConstraintMorph.eval (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:33862:60), :1:41)\n at ConstraintMorph.interactiveEval (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:33862:55)\n at Text.lively.morphic.Morph.subclass.boundEval (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:33863:32)\n at Namespace.Object.extend.proceed (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:22859:48)\n at Text.cop.create.refineClass.boundEval (http://lively-kernel.org/repository/webwerkstatt/core/lively/ast/IDESupport.js?1359201775945:29:20)\n at Text.Object.extend.proceed (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:22859:48)\n at Text.wrapped_function (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:22614:36)\n at eval (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:16080:29), :4:60)\n at eval (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:16080:29), :7:18)\n at withLayers (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?d09a0baefaed6eee05a0f97433d825a7:22799:20)","__layered_draggingEnabled__":true,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":2429},"draggingEnabled":true,"worldMenuOpened":true,"clickedOnMorphTime":1359202117252,"prevScroll":[0,111],"attributeConnections":[{"__isSmartRef__":true,"id":2430}],"doNotSerialize":["$$savedWorldAsURL","$$baseThemeStyleSheet"],"doNotCopyProperties":["$$savedWorldAsURL"],"_Scroll":[0,111],"loadingMorph":{"__isSmartRef__":true,"id":2432},"savedWorldAsURL":{"__isSmartRef__":true,"id":2558},"_ClipMode":"visible","lastModified":{"__isSmartRef__":true,"id":2559},"__serializedExpressions__":["eventStartPos","_Position"],"__LivelyClassName__":"lively.morphic.World","__SourceModuleName__":"Global.lively.morphic.Core","eventStartPos":"lively.pt(634.0,316.0)","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2},"eventHandler":{"__isSmartRef__":true,"id":3},"_ClipMode":"visible","derivationIds":[],"id":"2D662B24-0F81-4049-923E-C0FC6B89AF6B","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":4},"owner":{"__isSmartRef__":true,"id":0},"showsHalos":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,0.0)"},"2":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"3":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4":{"position":{"__isSmartRef__":true,"id":5},"center":{"__isSmartRef__":true,"id":66}},"5":{"onChangeHandlers":[{"__isSmartRef__":true,"id":6}],"constraints":{"__isSmartRef__":true,"id":7},"determinedBy":{"__isSmartRef__":true,"id":61},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,0.0)"},"6":{"morph":{"__isSmartRef__":true,"id":1},"func":"setPositionGlobal"},"7":{"elems":[{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":64}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"8":{"direction":1,"dist":100,"p1":{"__isSmartRef__":true,"id":5},"p2":{"__isSmartRef__":true,"id":9},"strength":{"__isSmartRef__":true,"id":60},"v1":{"__isSmartRef__":true,"id":5},"v2":{"__isSmartRef__":true,"id":9},"__serializedExpressions__":["oldP1","oldP2"],"__LivelyClassName__":"projects.SWD12.deltablue.PointDistanceConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue","oldP1":"lively.pt(0.0,0.0)","oldP2":"lively.pt(0.0,100.0)"},"9":{"onChangeHandlers":[{"__isSmartRef__":true,"id":10}],"constraints":{"__isSmartRef__":true,"id":18},"determinedBy":{"__isSmartRef__":true,"id":8},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,100.0)"},"10":{"morph":{"__isSmartRef__":true,"id":11},"func":"setPositionGlobal"},"11":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":12},"eventHandler":{"__isSmartRef__":true,"id":13},"_ClipMode":"visible","derivationIds":[],"id":"A800B338-EC92-4F1F-8AC3-7D077B87438C","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":14},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,100.0)"},"12":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"13":{"morph":{"__isSmartRef__":true,"id":11},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14":{"position":{"__isSmartRef__":true,"id":9},"center":{"__isSmartRef__":true,"id":15}},"15":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":16},"determinedBy":null,"mark":302096,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,125.0)"},"16":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"17":{"strengthValue":6,"name":"weakest","__LivelyClassName__":"projects.SWD12.deltablue.Strength","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"18":{"elems":[{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":19}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"19":{"direction":1,"dist":100,"p1":{"__isSmartRef__":true,"id":9},"p2":{"__isSmartRef__":true,"id":20},"strength":{"__isSmartRef__":true,"id":60},"v1":{"__isSmartRef__":true,"id":9},"v2":{"__isSmartRef__":true,"id":20},"__serializedExpressions__":["oldP1","oldP2"],"__LivelyClassName__":"projects.SWD12.deltablue.PointDistanceConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue","oldP1":"lively.pt(0.0,100.0)","oldP2":"lively.pt(0.0,200.0)"},"20":{"onChangeHandlers":[{"__isSmartRef__":true,"id":21}],"constraints":{"__isSmartRef__":true,"id":28},"determinedBy":{"__isSmartRef__":true,"id":19},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,200.0)"},"21":{"morph":{"__isSmartRef__":true,"id":22},"func":"setPositionGlobal"},"22":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":23},"eventHandler":{"__isSmartRef__":true,"id":24},"_ClipMode":"visible","derivationIds":[],"id":"CAA77082-0DA0-44A3-A73B-5862A964155D","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":25},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,200.0)"},"23":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"24":{"morph":{"__isSmartRef__":true,"id":22},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"25":{"position":{"__isSmartRef__":true,"id":20},"center":{"__isSmartRef__":true,"id":26}},"26":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":27},"determinedBy":null,"mark":302099,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,225.0)"},"27":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"28":{"elems":[{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":29}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"29":{"direction":1,"dist":100,"p1":{"__isSmartRef__":true,"id":20},"p2":{"__isSmartRef__":true,"id":30},"strength":{"__isSmartRef__":true,"id":60},"v1":{"__isSmartRef__":true,"id":20},"v2":{"__isSmartRef__":true,"id":30},"__serializedExpressions__":["oldP1","oldP2"],"__LivelyClassName__":"projects.SWD12.deltablue.PointDistanceConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue","oldP1":"lively.pt(0.0,200.0)","oldP2":"lively.pt(0.0,300.0)"},"30":{"onChangeHandlers":[{"__isSmartRef__":true,"id":31}],"constraints":{"__isSmartRef__":true,"id":38},"determinedBy":{"__isSmartRef__":true,"id":29},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,300.0)"},"31":{"morph":{"__isSmartRef__":true,"id":32},"func":"setPositionGlobal"},"32":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":33},"eventHandler":{"__isSmartRef__":true,"id":34},"_ClipMode":"visible","derivationIds":[],"id":"5F2C9013-7475-4E6A-A5CF-782851635847","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":35},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,300.0)"},"33":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"34":{"morph":{"__isSmartRef__":true,"id":32},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"35":{"position":{"__isSmartRef__":true,"id":30},"center":{"__isSmartRef__":true,"id":36}},"36":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":37},"determinedBy":null,"mark":302102,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,325.0)"},"37":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"38":{"elems":[{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":29},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":39}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"39":{"direction":1,"dist":100,"p1":{"__isSmartRef__":true,"id":30},"p2":{"__isSmartRef__":true,"id":40},"strength":{"__isSmartRef__":true,"id":60},"v1":{"__isSmartRef__":true,"id":30},"v2":{"__isSmartRef__":true,"id":40},"__serializedExpressions__":["oldP1","oldP2"],"__LivelyClassName__":"projects.SWD12.deltablue.PointDistanceConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue","oldP1":"lively.pt(0.0,300.0)","oldP2":"lively.pt(0.0,400.0)"},"40":{"onChangeHandlers":[{"__isSmartRef__":true,"id":41}],"constraints":{"__isSmartRef__":true,"id":48},"determinedBy":{"__isSmartRef__":true,"id":39},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,400.0)"},"41":{"morph":{"__isSmartRef__":true,"id":42},"func":"setPositionGlobal"},"42":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":43},"eventHandler":{"__isSmartRef__":true,"id":44},"_ClipMode":"visible","derivationIds":[],"id":"95167E5A-68E1-428E-B42B-ACB0F4DDE0C8","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":45},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,400.0)"},"43":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"44":{"morph":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"45":{"position":{"__isSmartRef__":true,"id":40},"center":{"__isSmartRef__":true,"id":46}},"46":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":47},"determinedBy":null,"mark":302105,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,425.0)"},"47":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"48":{"elems":[{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":49}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"49":{"direction":1,"dist":100,"p1":{"__isSmartRef__":true,"id":40},"p2":{"__isSmartRef__":true,"id":50},"strength":{"__isSmartRef__":true,"id":60},"v1":{"__isSmartRef__":true,"id":40},"v2":{"__isSmartRef__":true,"id":50},"__serializedExpressions__":["oldP1","oldP2"],"__LivelyClassName__":"projects.SWD12.deltablue.PointDistanceConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue","oldP1":"lively.pt(0.0,400.0)","oldP2":"lively.pt(0.0,500.0)"},"50":{"onChangeHandlers":[{"__isSmartRef__":true,"id":51}],"constraints":{"__isSmartRef__":true,"id":58},"determinedBy":{"__isSmartRef__":true,"id":49},"mark":2,"walkStrength":{"__isSmartRef__":true,"id":59},"stay":false,"name":"undefined.position","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(0.0,500.0)"},"51":{"morph":{"__isSmartRef__":true,"id":52},"func":"setPositionGlobal"},"52":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":53},"eventHandler":{"__isSmartRef__":true,"id":54},"_ClipMode":"visible","derivationIds":[],"id":"161179D1-3AFE-4C0D-BDFB-97DD3E82AE3C","droppingEnabled":true,"halosEnabled":true,"isConstraintMorph":true,"constraints":{"__isSmartRef__":true,"id":55},"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"projects.SWD12.physics.ConstraintMorph","__SourceModuleName__":"Global.projects.SWD12.physics","_Position":"lively.pt(0.0,500.0)"},"53":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(50.0,50.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(191,191,243)"},"54":{"morph":{"__isSmartRef__":true,"id":52},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"55":{"position":{"__isSmartRef__":true,"id":50},"center":{"__isSmartRef__":true,"id":56}},"56":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":57},"determinedBy":null,"mark":302108,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,525.0)"},"57":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"58":{"elems":[{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":49}],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"59":{"strengthValue":2,"name":"preferred","__LivelyClassName__":"projects.SWD12.deltablue.Strength","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"60":{"strengthValue":0,"name":"required","__LivelyClassName__":"projects.SWD12.deltablue.Strength","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"61":{"strength":{"__isSmartRef__":true,"id":59},"myOutput":{"__isSmartRef__":true,"id":5},"satisfied":true,"__LivelyClassName__":"projects.SWD12.deltablue.EditConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"62":{"strength":{"__isSmartRef__":true,"id":63},"myOutput":{"__isSmartRef__":true,"id":5},"satisfied":false,"__LivelyClassName__":"projects.SWD12.deltablue.StayConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"63":{"strengthValue":4,"name":"normal","__LivelyClassName__":"projects.SWD12.deltablue.Strength","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"64":{"strength":{"__isSmartRef__":true,"id":65},"myOutput":{"__isSmartRef__":true,"id":5},"satisfied":false,"__LivelyClassName__":"projects.SWD12.deltablue.EditConstraint","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"65":{"strengthValue":2,"name":"preferred","__LivelyClassName__":"projects.SWD12.deltablue.Strength","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"66":{"onChangeHandlers":[],"constraints":{"__isSmartRef__":true,"id":67},"determinedBy":null,"mark":301983,"walkStrength":{"__isSmartRef__":true,"id":17},"stay":true,"name":"undefined.center","__serializedExpressions__":["_value"],"__LivelyClassName__":"projects.SWD12.deltablue.PointVariable","__SourceModuleName__":"Global.projects.SWD12.deltablue","_value":"lively.pt(25.0,25.0)"},"67":{"elems":[],"__LivelyClassName__":"projects.SWD12.deltablue.OrderedCollection","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"68":{"submorphs":[{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":781},{"__isSmartRef__":true,"id":806},{"__isSmartRef__":true,"id":854},{"__isSmartRef__":true,"id":897},{"__isSmartRef__":true,"id":922}],"scripts":[],"shape":{"__isSmartRef__":true,"id":947},"eventHandler":{"__isSmartRef__":true,"id":948},"_ClipMode":"visible","derivationIds":[],"id":"C51D65CB-C62B-4D2C-B820-26EC54882564","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":949},"LK2":true,"__serializedExpressions__":["_Position","contentOffset","minExtent","prevDragPos"],"targetMorph":{"__isSmartRef__":true,"id":69},"reframeHandle":{"__isSmartRef__":true,"id":922},"bottomReframeHandle":{"__isSmartRef__":true,"id":897},"rightReframeHandle":{"__isSmartRef__":true,"id":781},"titleBar":{"__isSmartRef__":true,"id":806},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"partsBinMetaInfo":{"__isSmartRef__":true,"id":749},"name":"ToolTabPaneWindow","highlighted":false,"isBeingDragged":false,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(141.9,492.1)","contentOffset":"lively.pt(4.0,22.0)","minExtent":"lively.pt(700.0,370.0)","prevDragPos":"lively.pt(327.0,501.0)"},"69":{"submorphs":[{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":448},{"__isSmartRef__":true,"id":91}],"scripts":[],"shape":{"__isSmartRef__":true,"id":746},"derivationIds":[null,"87FAF55E-F71E-4F69-A29F-5DAF28EF42C0","33449239-EF48-41FE-9BFD-EA211884F247","956938FD-7466-4DD2-A6E4-1FB8477A3306","652178C9-70DE-4F60-9FB7-D37D23D04AEA","7733B961-E644-4906-B640-0B30E06276C7","5CC81DD5-CA62-4F35-8F26-2C1F6DD22CC3","03B60241-98AB-4310-ACEA-E7687E706CA5","3B38BAEC-7179-4451-BB8B-106F92AEA32B","5859188C-662D-4322-90F0-E2997F91C989","D8777C0F-419F-4C8C-9073-863F67431AB0","B1AEE8B2-4F0E-400A-9C44-84E55118F5A4","EB59F5AA-11EA-4160-A380-33883FCBFC12","1BEBE524-9499-4E24-84C4-E8F9F7A86663","1826D64D-5CE8-4BB8-8AA3-1785854B22C3","EB298904-0A41-4BF3-B52F-3B1ECB88F0FD","C789029E-30DD-4135-8E16-639314A545D0"],"id":"DD3034DB-232B-48F8-A884-454ACE76AB15","eventHandler":{"__isSmartRef__":true,"id":747},"droppingEnabled":true,"halosEnabled":true,"tabBarStrategy":{"__isSmartRef__":true,"id":748},"__serializedExpressions__":["tabPaneExtent","_Position","distanceToDragEvent"],"tabBar":{"__isSmartRef__":true,"id":70},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":749},"name":"ToolTabPane","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":763},"moved":true,"_Rotation":0,"_Scale":1,"_ClipMode":"visible","#startLetters":"","owner":{"__isSmartRef__":true,"id":68},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":764},"__LivelyClassName__":"lively.morphic.TabContainer","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","withLayers":["Global.TabbedMethodFinderLayer"],"tabPaneExtent":"lively.pt(927.1,559.7)","_Position":"lively.pt(4.0,22.0)","distanceToDragEvent":"lively.pt(581.1,-13.2)"},"70":{"submorphs":[{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":428}],"scripts":[],"shape":{"__isSmartRef__":true,"id":743},"derivationIds":[null,"C9AFDCE0-7E36-4F4A-A4FD-ADF539D3F3BE","45EA8685-1562-433C-9510-7D387C52D50D","68FD3A27-03F4-41EE-A019-24EECD4B9D4D","8E706A37-51F2-434A-8488-92F5487BE77E","D7EF478F-C07F-4C57-8E84-C7FA15901B78","65508D46-12CC-4A6F-9CA5-AA1E26EAA9EA","03757FEA-1979-424E-8EA1-7231E038BD91","D8EB800F-9FF7-406C-B42A-FD51AA5C9390","5892030A-109B-40A4-8484-382B6F34EFA3","5623D1FD-B4D3-47A0-AC1F-67B3388DEC19","3BF7A333-B725-4A4E-AF76-8D1DAAD1FD40","492FA464-292A-4E4B-AF05-0F34F7329A1E","C875DD96-0677-43FF-9942-16AD478F3A82","16D4C43F-D991-4289-BBAF-A1FD33535698","AF32CC15-CF1B-46FE-A464-11EE27613F61","5EE59C94-8C8A-4055-866A-C7BB048088D9"],"id":"D890089C-3BAA-46D3-A4CC-58DB084672AA","eventHandler":{"__isSmartRef__":true,"id":744},"droppingEnabled":true,"halosEnabled":true,"tabContainer":{"__isSmartRef__":true,"id":69},"grabbingEnabled":false,"draggingEnabled":false,"tabs":[{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":428}],"owner":{"__isSmartRef__":true,"id":69},"__serializedExpressions__":["_Position"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":745},"_Rotation":0,"_ClipMode":"visible","_Scale":1,"adjustedTabSizes":true,"__LivelyClassName__":"lively.morphic.TabBar","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"71":{"submorphs":[{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":77}],"scripts":[],"shape":{"__isSmartRef__":true,"id":88},"eventHandler":{"__isSmartRef__":true,"id":89},"_ClipMode":"visible","derivationIds":[],"id":"34B46B1C-6F5E-4781-90F1-E10A269B116F","droppingEnabled":true,"halosEnabled":true,"tabBar":{"__isSmartRef__":true,"id":70},"tabBarOffset":0,"layout":{"__isSmartRef__":true,"id":90},"pane":{"__isSmartRef__":true,"id":91},"label":{"__isSmartRef__":true,"id":72},"name":"S:extractPlanFromConstraints","grabbingEnabled":false,"draggingEnabled":false,"closeButton":{"__isSmartRef__":true,"id":77},"owner":{"__isSmartRef__":true,"id":70},"__serializedExpressions__":["_Position"],"isActive":true,"__LivelyClassName__":"lively.morphic.Tab","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"72":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":73},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":74}],"eventHandler":{"__isSmartRef__":true,"id":76},"_ClipMode":"hidden","derivationIds":[],"id":"43E4413E-944C-4DF7-AC69-15FE1BA6DB71","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"eventsAreDisabled":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":71},"_FontWeight":"bold","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(5.0,5.0)"},"73":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(195.0,20.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"74":{"style":{"__isSmartRef__":true,"id":75},"chunkOwner":{"__isSmartRef__":true,"id":72},"_id":"_66","storedString":"S:extractPlanFromConstraints","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"75":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"76":{"morph":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"77":{"submorphs":[{"__isSmartRef__":true,"id":78}],"scripts":[],"shape":{"__isSmartRef__":true,"id":83},"eventHandler":{"__isSmartRef__":true,"id":84},"_ClipMode":"visible","derivationIds":[],"id":"198A3F0A-B6D5-4F77-A679-9EF8FE5E5575","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":78},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":71},"__serializedExpressions__":["_Position"],"layout":{"__isSmartRef__":true,"id":85},"attributeConnections":[{"__isSmartRef__":true,"id":86}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(67.0,6.0)"},"78":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":79},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":80}],"eventHandler":{"__isSmartRef__":true,"id":82},"_ClipMode":"hidden","derivationIds":[],"id":"8F6B0B53-CAE9-408E-B696-BEE69FDD3B72","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":77},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"79":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"80":{"style":{"__isSmartRef__":true,"id":81},"chunkOwner":{"__isSmartRef__":true,"id":78},"_id":"_65","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"81":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"82":{"morph":{"__isSmartRef__":true,"id":78},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"83":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"84":{"morph":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"85":{"moveHorizontal":true},"86":{"sourceObj":{"__isSmartRef__":true,"id":77},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":71},"targetMethodName":"closeTab","varMapping":{"__isSmartRef__":true,"id":87},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"87":{"source":{"__isSmartRef__":true,"id":77},"target":{"__isSmartRef__":true,"id":71}},"88":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill","_BorderColor"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(90.0,30.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(255,255,255)","_BorderColor":"Color.rgb(204,204,204)"},"89":{"morph":{"__isSmartRef__":true,"id":71},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"90":{"adjustForNewBounds":true},"91":{"submorphs":[{"__isSmartRef__":true,"id":92}],"scripts":[],"shape":{"__isSmartRef__":true,"id":425},"eventHandler":{"__isSmartRef__":true,"id":426},"_ClipMode":"visible","derivationIds":[],"id":"9F861344-ECAD-4D14-A9A2-BE795CB4BBE4","grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":427},"tab":{"__isSmartRef__":true,"id":71},"tabBar":{"__isSmartRef__":true,"id":70},"name":"S:extractPlanFromConstraints - Pane","owner":{"__isSmartRef__":true,"id":69},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TabPane","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,30.0)"},"92":{"submorphs":[{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":256},{"__isSmartRef__":true,"id":262},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":325}],"scripts":[],"id":"BDB301C1-982D-47EF-B7A0-8CDF6B8BFC5C","shape":{"__isSmartRef__":true,"id":351},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"MethodFinderPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":352},"isCopyMorphRef":true,"morphRefId":1,"layout":{"__isSmartRef__":true,"id":374},"eventHandler":{"__isSmartRef__":true,"id":375},"doNotSerialize":["targetFunction","targetObject"],"prevScroll":[0,0],"isBeingDragged":false,"derivationIds":[204,"90F6ED76-D56E-436C-96E7-CBFE7106283E","53162F18-6DD1-4230-B30F-EC4BA7B7A9ED","73F374A9-9CEE-4D2E-8BA6-030971E02396","0859BA09-FE36-4B7E-85B5-A141B84A252C","AB402971-988F-4D01-AE49-87C1AFEAA1C3","A80F8C19-12D2-49AF-941A-2454433D2A59","9370F962-CBB6-42C0-8F15-79D0F66045FD","2F24C0FF-1360-4C35-BE22-B5DE5FFAB3F4","81FC43AC-A19A-48A5-B854-601A302E5585","BBF2876B-A928-4012-A9BD-A39052E30483","3E2C739C-3BA6-4C2C-B7FB-A726AA7015BB","B55E78F3-F8DB-4034-91E7-0D1B364B82DA","FF257E99-B7E7-4837-8F67-965F5DAEC58F"],"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":91},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":376},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(583.4,-13.9)"},"93":{"submorphs":[],"scripts":[],"id":"2D232DDD-8282-466B-93ED-57B7908A33AA","shape":{"__isSmartRef__":true,"id":94},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":287,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":13,"name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":95},"owner":{"__isSmartRef__":true,"id":92},"charsReplaced":"extractPlanFromConstraints","lastFindLoc":26,"attributeConnections":[{"__isSmartRef__":true,"id":96}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_WhiteSpaceHandling":"pre-wrap","allowInput":true,"textChunks":[{"__isSmartRef__":true,"id":97}],"prevScroll":[0,0],"_ClipMode":"hidden","lastSearchString":"prev","eventHandler":{"__isSmartRef__":true,"id":99},"_MinTextWidth":287,"_MinTextHeight":null,"previousSelection":[19,19],"isBeingDragged":false,"derivationIds":[205,"63CD6525-ECE4-4F52-A84B-27633C22F3F9","D7B775A2-513B-4768-AB24-6718580E61A9","FE8FA703-C984-4702-8139-2C4E9353FB41","2C124317-773E-498D-BB6D-9BEC99637AF3","BFDC0BE7-0289-4FA0-A2EC-14EF2BA09445","E16771FE-0062-4803-9678-9625DB0CFBFA","B9D2EC7D-E050-4D3D-8ABC-52D8ACA55936","196DC9F1-78FF-488F-80AB-8129A171A1C9","F2FB3FCC-8AE2-4DFB-AD6F-3DE2513762B0","4897081D-DCA7-4D33-B262-00412C9821FD","9DEE84F9-6727-4802-BD51-456C40E212F1","3868C69C-36F7-42FF-95C8-191FBE40BCA2","E8E15F14-A537-4CCB-8603-2B7814C74B21"],"savedTextString":"makePlan","_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"priorSelectionRange":[5,5],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,17.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(199.7,-15.5)"},"94":{"fill":null,"_BorderWidth":1,"_ClipMode":"hidden","_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(292.0,25.0)","_BorderColor":"Color.rgb(102,102,102)","_Padding":"lively.rect(3,3,-3,-3)"},"95":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"96":{"sourceObj":{"__isSmartRef__":true,"id":93},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":92},"targetMethodName":"search","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"97":{"style":{"__isSmartRef__":true,"id":98},"chunkOwner":{"__isSmartRef__":true,"id":93},"_id":"_67","storedString":"makePlan","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"98":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"99":{"morph":{"__isSmartRef__":true,"id":93},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"100":{"submorphs":[{"__isSmartRef__":true,"id":101}],"scripts":[],"id":"3167533E-03C8-4050-B14C-D42242FA162A","shape":{"__isSmartRef__":true,"id":106},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":107},"lighterFill":{"__isSmartRef__":true,"id":112},"label":{"__isSmartRef__":true,"id":101},"showsHalos":false,"name":"searchButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":117},"owner":{"__isSmartRef__":true,"id":92},"attributeConnections":[{"__isSmartRef__":true,"id":118}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":119},"derivationIds":[206,"CB9026E7-BAD5-49AB-B6E0-88B46D561743","C2FEDA8A-ABCE-426D-BB39-F8B4C0CCBE5F","21DC60CF-D1A0-4B54-9B91-F82A50CF8D3A","6E0B3DCD-9AD6-4AAF-A854-252E628FC222","457022C0-0CD0-426F-89B8-DAA8E3AA15C0","AE87A8FC-A7FF-40D5-B8B3-351194957A1B","0107A29A-C954-43A8-82FD-CEE77E946A25","E82E1B35-1C20-4BE4-A5CB-0936E7D4AD20","7485F277-13B5-4FF4-9B90-10385A227006","216A87FA-4CA8-4657-886E-D2EE1398E86F","051E1CDB-3E9B-41A7-89A7-24E539E5FA37","94585AAD-3EC1-42EB-9974-C981FF5A4539","9B4E4399-5243-44AB-A0E1-0C79DC36B095"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(310.0,20.0)","distanceToDragEvent":"lively.pt(53.7,-21.5)"},"101":{"submorphs":[],"scripts":[],"id":"310D0591-F71D-470B-9C86-80726B3EDA48","shape":{"__isSmartRef__":true,"id":102},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"owner":{"__isSmartRef__":true,"id":100},"isLabel":true,"eventsAreIgnored":true,"textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":103}],"prevScroll":[0,0],"_ClipMode":"hidden","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":105},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":77,"_MinTextHeight":null,"derivationIds":[207,"9A623BA1-A240-454B-B0DD-53932A371FB3","9E828467-210E-44D4-8E3D-17C5F92B1AAE","75AF52F1-0E7E-419A-BC00-5CCC0D52CEDC","F3C81240-9550-45C3-8B7A-8A3C0ED15BE6","70D8CC33-5AEE-45B5-AC0B-B9A6350C7F51","C80D2176-BA4F-4DCF-88D8-540ADE03E6B9","CB9FE42C-61BF-409D-9CC7-1F1B094C61FA","BF7D1270-418D-46A3-95E5-991F82DAD8C6","CDA433D8-442B-4D3A-A58E-F9C5FCED9086","039DDED5-FFAA-423A-99F2-2236BB594511","E618043F-74DF-4D4A-991F-5AA47FD766F8","B41F9418-E248-400B-AD6D-4963C128AB45","E16D344F-E777-424E-A4D0-8EB94CF53A44"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"102":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(77.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"103":{"style":{"__isSmartRef__":true,"id":104},"morph":{"__isSmartRef__":true,"id":101},"chunkOwner":{"__isSmartRef__":true,"id":101},"storedString":"search","_id":"_150","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"104":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"105":{"morph":{"__isSmartRef__":true,"id":101},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"106":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":107},"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(77.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"107":{"stops":[{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":110},{"__isSmartRef__":true,"id":111}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"108":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"109":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"110":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"111":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"112":{"stops":[{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":116}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"113":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"114":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"115":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"116":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"117":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"118":{"sourceObj":{"__isSmartRef__":true,"id":100},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":93},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"119":{"morph":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"120":{"submorphs":[],"scripts":[],"id":"4436B813-E22F-4393-800F-3F8145FD4EA5","shape":{"__isSmartRef__":true,"id":121},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"itemList":[{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":124}],"showsHalos":false,"name":"searchResultList","partsBinMetaInfo":{"__isSmartRef__":true,"id":125},"owner":{"__isSmartRef__":true,"id":92},"attributeConnections":[{"__isSmartRef__":true,"id":126}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,192],"resizeHeight":true,"resizeWidth":true,"layout":{"__isSmartRef__":true,"id":127},"eventHandler":{"__isSmartRef__":true,"id":128},"isBeingDragged":false,"derivationIds":[208,"884F3C31-F47F-4325-B01C-55796601323C","AF542C45-CFC5-475A-B28E-37B7FC51E468","C6B09735-9683-446C-A39C-E4924083B282","7860DCD2-EC25-4F34-B79B-18C47FBEE925","7ACC50AB-EE77-4AD9-8731-20150C616D1C","6A21BD7F-EC45-467D-BDA4-F218B9407920","0B0BFDF5-91C4-4369-AB7F-07CDAE8813BF","0D9A4870-E562-4C17-A057-3DB8D1C9234C","854096E7-42E2-48F4-B656-D1AE606FAEBF","659ABB8A-3E6D-4E1C-864B-CE8459AD730A","1A73ECB5-B976-457C-8138-8385DBD45070","2A6C9E8E-DFFC-4DE3-A9F0-2624BE97EB96","5CE28027-78AA-4148-84D2-7B4305C0BE89"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"selection":{"__isSmartRef__":true,"id":129},"selectedLineNo":0,"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,50.0)","distanceToDragEvent":"lively.pt(589.7,-14.5)"},"121":{"_BorderWidth":0,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,140.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"122":{"isListItem":true,"string":"class name: Planner: makePlan","doNotSerialize":["value"],"priority":"A"},"123":{"isListItem":true,"string":"class full: Planner: extractPlanFromConstraints","doNotSerialize":["value"],"priority":"C"},"124":{"isListItem":true,"string":"script full: MethodFinderPane(BDB301C1-982D-47EF-B7A0-8CDF6B8BFC5C): targetFunction","doNotSerialize":["value"],"priority":"C"},"125":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"126":{"sourceObj":{"__isSmartRef__":true,"id":120},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":92},"targetMethodName":"browse","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"127":{"resizeWidth":true},"128":{"morph":{"__isSmartRef__":true,"id":120},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"129":{"object":{"__isSmartRef__":true,"id":130},"method":"makePlan","string":"Planner: makePlan","type":"class","search":"implementor"},"130":{"__LivelyClassName__":"projects.SWD12.deltablue.Planner","__SourceModuleName__":"Global.projects.SWD12.deltablue"},"131":{"submorphs":[],"scripts":[],"id":"8D887A65-C801-4BB4-B7BE-79AD69920F28","shape":{"__isSmartRef__":true,"id":132},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_MaxTextWidth":845.9484727040478,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":133},"doitContext":{"__isSmartRef__":true,"id":92},"charsReplaced":"","lastFindLoc":130,"showsHalos":false,"name":"sourceText","savedTextString":"// changes here only affect runtime\nObject.extend(lively.morphic.Morph,{\n\tmakeLine:function (verts, lineWidth, lineColor) {\n\t\tif (verts.length < 2) return null;\n\t\tif (verts.length > 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":134},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":184},{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":188},{"__isSmartRef__":true,"id":190},{"__isSmartRef__":true,"id":192},{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":196},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":208},{"__isSmartRef__":true,"id":210},{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":218},{"__isSmartRef__":true,"id":220},{"__isSmartRef__":true,"id":222},{"__isSmartRef__":true,"id":224},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":228},{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":236},{"__isSmartRef__":true,"id":238}],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":9,"owner":{"__isSmartRef__":true,"id":92},"lastSyntaxHighlightTime":1328782848221,"eventHandler":{"__isSmartRef__":true,"id":240},"_MinTextWidth":845.9484727040478,"_MinTextHeight":null,"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","3013EDB1-7370-48ED-BF86-BFEFC8B71878","C779EE23-CB40-48E9-AFBE-B0595B1A3A6A"],"_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"parseErrors":null,"_lastSyntaxHighlightTime":42,"previousSelection":[489,489],"priorSelectionRange":[476,501],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":241},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,230.0)","distanceToDragEvent":"lively.pt(582.0,-20.5)"},"132":{"_BorderWidth":1,"_ClipMode":"auto","_BorderRadius":4,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,314.7)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(3,3,-3,-3)"},"133":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"134":{"style":{"__isSmartRef__":true,"id":135},"chunkOwner":{"__isSmartRef__":true,"id":131},"_id":"_198","storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"136":{"_id":"_202","style":{"__isSmartRef__":true,"id":137},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" changes here only affect runtime","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"137":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"138":{"_id":"_203","style":{"__isSmartRef__":true,"id":139},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"139":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"140":{"_id":"_249","style":{"__isSmartRef__":true,"id":141},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"projects","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"141":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"142":{"_id":"_250","style":{"__isSmartRef__":true,"id":143},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".SWD12","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"143":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"144":{"_id":"_204","style":{"__isSmartRef__":true,"id":145},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".deltablue.Planner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"145":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"146":{"_id":"_205","style":{"__isSmartRef__":true,"id":147},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"147":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"148":{"_id":"_206","style":{"__isSmartRef__":true,"id":149},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"addMethods","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"149":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,128,128)"},"150":{"_id":"_207","style":{"__isSmartRef__":true,"id":151},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"151":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"152":{"_id":"_208","style":{"__isSmartRef__":true,"id":153},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"153":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"154":{"_id":"_209","style":{"__isSmartRef__":true,"id":155},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"155":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"156":{"_id":"_199","style":{"__isSmartRef__":true,"id":157},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"makePlan:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"157":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"158":{"_id":"_210","style":{"__isSmartRef__":true,"id":159},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"159":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"160":{"_id":"_211","style":{"__isSmartRef__":true,"id":161},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"161":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"162":{"_id":"_212","style":{"__isSmartRef__":true,"id":163},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" (sources) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"163":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"164":{"_id":"_213","style":{"__isSmartRef__":true,"id":165},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"165":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"166":{"_id":"_214","style":{"__isSmartRef__":true,"id":167},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"167":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"168":{"_id":"_215","style":{"__isSmartRef__":true,"id":169},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"169":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"170":{"_id":"_216","style":{"__isSmartRef__":true,"id":171},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" mark = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"171":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"172":{"_id":"_217","style":{"__isSmartRef__":true,"id":173},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"173":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"174":{"_id":"_218","style":{"__isSmartRef__":true,"id":175},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".newMark();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"175":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"176":{"_id":"_219","style":{"__isSmartRef__":true,"id":177},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"177":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"178":{"_id":"_220","style":{"__isSmartRef__":true,"id":179},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" plan = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"179":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"180":{"_id":"_221","style":{"__isSmartRef__":true,"id":181},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"181":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"182":{"_id":"_222","style":{"__isSmartRef__":true,"id":183},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"183":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"184":{"_id":"_251","style":{"__isSmartRef__":true,"id":185},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"projects","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"185":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"186":{"_id":"_252","style":{"__isSmartRef__":true,"id":187},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".SWD12.deltablue.Plan();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"187":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"188":{"_id":"_223","style":{"__isSmartRef__":true,"id":189},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"189":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"190":{"_id":"_224","style":{"__isSmartRef__":true,"id":191},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" todo = sources;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"191":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"192":{"_id":"_225","style":{"__isSmartRef__":true,"id":193},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"while","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"193":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"194":{"_id":"_226","style":{"__isSmartRef__":true,"id":195},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" (todo.size() > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"195":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"196":{"_id":"_227","style":{"__isSmartRef__":true,"id":197},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"197":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"198":{"_id":"_228","style":{"__isSmartRef__":true,"id":199},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"199":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"200":{"_id":"_229","style":{"__isSmartRef__":true,"id":201},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"201":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"202":{"_id":"_230","style":{"__isSmartRef__":true,"id":203},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"203":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"204":{"_id":"_231","style":{"__isSmartRef__":true,"id":205},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"205":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"206":{"_id":"_232","style":{"__isSmartRef__":true,"id":207},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" c = todo.removeFirst();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"207":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"208":{"_id":"_233","style":{"__isSmartRef__":true,"id":209},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"209":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"210":{"_id":"_234","style":{"__isSmartRef__":true,"id":211},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" (c.output().mark != mark && c.inputsKnown(mark)) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"211":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"212":{"_id":"_235","style":{"__isSmartRef__":true,"id":213},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"213":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"214":{"_id":"_236","style":{"__isSmartRef__":true,"id":215},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n plan.addConstraint(c);\n c.output().mark = mark;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"215":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"216":{"_id":"_237","style":{"__isSmartRef__":true,"id":217},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"217":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"218":{"_id":"_238","style":{"__isSmartRef__":true,"id":219},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":".addConstraintsConsumingTo(c.output(), todo);\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"219":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"220":{"_id":"_239","style":{"__isSmartRef__":true,"id":221},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"221":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"222":{"_id":"_240","style":{"__isSmartRef__":true,"id":223},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"223":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"224":{"_id":"_241","style":{"__isSmartRef__":true,"id":225},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"225":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"226":{"_id":"_242","style":{"__isSmartRef__":true,"id":227},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"227":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"228":{"_id":"_243","style":{"__isSmartRef__":true,"id":229},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"229":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"230":{"_id":"_244","style":{"__isSmartRef__":true,"id":231},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":" plan;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"231":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"232":{"_id":"_245","style":{"__isSmartRef__":true,"id":233},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"233":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"234":{"_id":"_246","style":{"__isSmartRef__":true,"id":235},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"235":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"236":{"_id":"_247","style":{"__isSmartRef__":true,"id":237},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"238":{"_id":"_248","style":{"__isSmartRef__":true,"id":239},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":");","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"239":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"240":{"morph":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"241":{"doSave":{"__isSmartRef__":true,"id":242},"getDoitContext":{"__isSmartRef__":true,"id":249}},"242":{"varMapping":{"__isSmartRef__":true,"id":243},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"243":{"this":{"__isSmartRef__":true,"id":131},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":244}},"244":{"$super":{"__isSmartRef__":true,"id":245}},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"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":247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"obj":{"__isSmartRef__":true,"id":131},"name":"doSave"},"247":{},"248":{},"249":{"varMapping":{"__isSmartRef__":true,"id":250},"source":"function getDoitContext() {\n\treturn this.owner.targetObject\n}","funcProperties":{"__isSmartRef__":true,"id":255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"250":{"this":{"__isSmartRef__":true,"id":131},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":251}},"251":{"$super":{"__isSmartRef__":true,"id":252}},"252":{"varMapping":{"__isSmartRef__":true,"id":253},"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":254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"253":{"obj":{"__isSmartRef__":true,"id":131},"name":"getDoitContext"},"254":{},"255":{},"256":{"submorphs":[],"scripts":[],"id":"85DBCDD9-8B6A-43FD-80F9-BFEE7327F16C","shape":{"__isSmartRef__":true,"id":257},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_MaxTextWidth":846.9484727040478,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":258},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"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":259}],"_ClipMode":"hidden","prevScroll":[0,0],"_FontSize":10,"owner":{"__isSmartRef__":true,"id":92},"eventHandler":{"__isSmartRef__":true,"id":261},"_MinTextWidth":846.9484727040478,"_MinTextHeight":null,"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","7B312F1D-97DF-400B-B6A2-F871E0D93348","705B3C30-29F1-486C-AF08-7E7D03078BAF"],"_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,200.0)","distanceToDragEvent":"lively.pt(587.0,-13.5)"},"257":{"_BorderWidth":1,"_ClipMode":"hidden","_BorderRadius":4,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,20.0)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(2,1,-2,-1)"},"258":{"resizeWidth":true,"resizeHeight":false,"moveVertical":false,"moveHorizontal":false},"259":{"style":{"__isSmartRef__":true,"id":260},"chunkOwner":{"__isSmartRef__":true,"id":256},"_id":"_201","storedString":"module(Global.projects.SWD12.deltablue)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"260":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"morph":{"__isSmartRef__":true,"id":256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"262":{"submorphs":[{"__isSmartRef__":true,"id":263}],"scripts":[],"id":"71225CDD-94D6-4084-B99F-EC8E92AA6EEC","shape":{"__isSmartRef__":true,"id":268},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":269},"lighterFill":{"__isSmartRef__":true,"id":274},"label":{"__isSmartRef__":true,"id":263},"showsHalos":false,"name":"browse","partsBinMetaInfo":{"__isSmartRef__":true,"id":279},"attributeConnections":[{"__isSmartRef__":true,"id":280}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":281},"owner":{"__isSmartRef__":true,"id":92},"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","BF69FE04-AF9D-48BC-B4F9-5B9CFB4720D3","1B2B2CB4-3ABA-4387-A3D2-E8436B9DC849"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(53.7,-17.2)","_Position":"lively.pt(400.0,20.0)"},"263":{"submorphs":[],"scripts":[],"id":"A7741751-8E4E-4803-9C95-F5A454650991","shape":{"__isSmartRef__":true,"id":264},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":78,"_MaxTextHeight":null,"owner":{"__isSmartRef__":true,"id":262},"isLabel":true,"eventsAreIgnored":true,"textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":265}],"prevScroll":[0,0],"_ClipMode":"hidden","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":267},"_HandStyle":"default","_PointerEvents":"none","_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","6943F355-5B63-4DAD-8A39-14319936A0E0","81DC2508-85EB-4052-AFA2-44CF083A45C5"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"264":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(78.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"265":{"style":{"__isSmartRef__":true,"id":266},"morph":{"__isSmartRef__":true,"id":263},"chunkOwner":{"__isSmartRef__":true,"id":263},"storedString":"browse","_id":"_152","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"266":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"267":{"morph":{"__isSmartRef__":true,"id":263},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"268":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":269},"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(78.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"269":{"stops":[{"__isSmartRef__":true,"id":270},{"__isSmartRef__":true,"id":271},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":273}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"270":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"271":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"272":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"273":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"274":{"stops":[{"__isSmartRef__":true,"id":275},{"__isSmartRef__":true,"id":276},{"__isSmartRef__":true,"id":277},{"__isSmartRef__":true,"id":278}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"275":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"276":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"277":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"278":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"279":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"280":{"sourceObj":{"__isSmartRef__":true,"id":262},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":92},"targetMethodName":"browseMethod","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"281":{"morph":{"__isSmartRef__":true,"id":262},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"282":{"submorphs":[{"__isSmartRef__":true,"id":283}],"scripts":[],"id":"FDAE97B9-8938-4740-A897-DFB1C3F5EA59","shape":{"__isSmartRef__":true,"id":288},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":289},"lighterFill":{"__isSmartRef__":true,"id":294},"label":{"__isSmartRef__":true,"id":283},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":299},"attributeConnections":[{"__isSmartRef__":true,"id":300}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":323},"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":92},"layout":{"__isSmartRef__":true,"id":324},"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","3350B214-FDFD-4143-8AB5-4E475C31F760","332F671C-E259-47B3-B31D-F86A48741FAF"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(111.4,-11.4)","_Position":"lively.pt(490.0,19.0)"},"283":{"submorphs":[],"scripts":[],"id":"C806C374-D59B-4EFC-AE26-BBE66103E52A","shape":{"__isSmartRef__":true,"id":284},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":157.05605605605615,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":282},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":285}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":287},"_HandStyle":"default","_PointerEvents":"none","_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","D596A84E-3FB1-4A59-B12D-12FF54B0B37F","C7CF5CE2-FA69-432F-B05A-A8FDE7273491"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"284":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(157.1,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"285":{"style":{"__isSmartRef__":true,"id":286},"chunkOwner":{"__isSmartRef__":true,"id":283},"storedString":"search on server","_id":"_153","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"286":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"287":{"morph":{"__isSmartRef__":true,"id":283},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"288":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":289},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(157.1,21.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"289":{"stops":[{"__isSmartRef__":true,"id":290},{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":293}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"290":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"291":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"292":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"293":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"294":{"stops":[{"__isSmartRef__":true,"id":295},{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":297},{"__isSmartRef__":true,"id":298}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"295":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"296":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"297":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"298":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"299":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"300":{"sourceObj":{"__isSmartRef__":true,"id":282},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":92},"targetMethodName":"searchOnServer","visualConnector":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"301":{"submorphs":[{"__isSmartRef__":true,"id":302}],"scripts":[],"shape":{"__isSmartRef__":true,"id":309},"id":865,"eventHandler":{"__isSmartRef__":true,"id":312},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":313},{"__isSmartRef__":true,"id":314}],"con":{"__isSmartRef__":true,"id":300},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":303},"id":866,"eventHandler":{"__isSmartRef__":true,"id":308},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":301},"_Rotation":-3.113822016996372,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"303":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":304},{"__isSmartRef__":true,"id":305},{"__isSmartRef__":true,"id":306},{"__isSmartRef__":true,"id":307}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"304":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"305":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"306":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"307":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"308":{"morph":{"__isSmartRef__":true,"id":302},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"309":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":310},{"__isSmartRef__":true,"id":311}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(721.0,21.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"310":{"isAbsolute":true,"x":719.9999999999999,"y":20,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"311":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"312":{"morph":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"313":{"morph":{"__isSmartRef__":true,"id":301},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"314":{"morph":{"__isSmartRef__":true,"id":301},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":302},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"315":{"morphMenuItems":{"__isSmartRef__":true,"id":316}},"316":{"varMapping":{"__isSmartRef__":true,"id":317},"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":322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"317":{"this":{"__isSmartRef__":true,"id":301},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":318}},"318":{"$super":{"__isSmartRef__":true,"id":319}},"319":{"varMapping":{"__isSmartRef__":true,"id":320},"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":321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"320":{"obj":{"__isSmartRef__":true,"id":301},"name":"morphMenuItems"},"321":{},"322":{},"323":{"morph":{"__isSmartRef__":true,"id":282},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"324":{"moveHorizontal":false},"325":{"submorphs":[{"__isSmartRef__":true,"id":326}],"scripts":[],"id":"109BD108-A27A-447D-81E7-F0D94A39B949","shape":{"__isSmartRef__":true,"id":331},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":332},"lighterFill":{"__isSmartRef__":true,"id":337},"label":{"__isSmartRef__":true,"id":326},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":342},"attributeConnections":[{"__isSmartRef__":true,"id":343}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":344},"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","7146BE6C-6AB9-4A41-89F9-0D6C1906F22C","D5614241-97DF-41BC-B4F2-D3704916AAE0"],"owner":{"__isSmartRef__":true,"id":92},"layout":{"__isSmartRef__":true,"id":345},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(891.8,21.0)","distanceToDragEvent":"lively.pt(34.4,-11.2)"},"326":{"submorphs":[],"scripts":[],"id":"F1B7F160-6AD8-4A29-A2E7-C43409146769","shape":{"__isSmartRef__":true,"id":327},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":325},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":328}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":330},"_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","5349ED28-AA73-4C7E-8241-575E1A050868","59B9249F-DA37-4FB9-85D2-ABBCFE3AA101"],"_MinTextWidth":20,"_MinTextHeight":null,"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"327":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"328":{"style":{"__isSmartRef__":true,"id":329},"chunkOwner":{"__isSmartRef__":true,"id":326},"storedString":"x","_id":"_154","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"329":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"330":{"morph":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"331":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":332},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"332":{"stops":[{"__isSmartRef__":true,"id":333},{"__isSmartRef__":true,"id":334},{"__isSmartRef__":true,"id":335},{"__isSmartRef__":true,"id":336}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"333":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"334":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"335":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"336":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"337":{"stops":[{"__isSmartRef__":true,"id":338},{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":340},{"__isSmartRef__":true,"id":341}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"338":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"339":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"340":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"341":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"342":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"343":{"sourceObj":{"__isSmartRef__":true,"id":325},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":325},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"344":{"morph":{"__isSmartRef__":true,"id":325},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"345":{"moveHorizontal":true},"346":{"onFire":{"__isSmartRef__":true,"id":347}},"347":{"varMapping":{"__isSmartRef__":true,"id":348},"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":349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"348":{"this":{"__isSmartRef__":true,"id":325}},"349":{"timestamp":{"__isSmartRef__":true,"id":350},"user":"undefined","tags":[]},"350":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:32:27 GMT+0100 (CET)"},"351":{"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,559.7)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"352":{"partsSpaceName":"PartsBin/Dialogs","migrationLevel":4,"requiredModules":["lively.ide"],"partName":"MethodFinderPane","comment":"Pane for new ToolTabs","changes":[{"__isSmartRef__":true,"id":353},{"__isSmartRef__":true,"id":355},{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":363},{"__isSmartRef__":true,"id":365},{"__isSmartRef__":true,"id":367},{"__isSmartRef__":true,"id":369},{"__isSmartRef__":true,"id":371}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastModifiedDate":{"__isSmartRef__":true,"id":373},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"353":{"date":{"__isSmartRef__":true,"id":354},"author":"robertkrahn","message":"fixed scaling","id":"AF2B30BB-64BB-427B-AEF7-FDE01E1B2202"},"354":{"isSerializedDate":true,"string":"Sat Jun 16 2012 13:51:14 GMT+0200 (CEST)"},"355":{"date":{"__isSmartRef__":true,"id":356},"author":"undefined","message":"some style adjustments","id":"DA3EFD12-8A45-454C-993B-DB12847BEF94"},"356":{"isSerializedDate":true,"string":"Mon Mar 26 2012 13:16:30 GMT+0200 (CEST)"},"357":{"date":{"__isSmartRef__":true,"id":358},"author":"undefined","message":"","id":"7A744B14-C057-4944-AFDD-CC78A910B35F"},"358":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:40:30 GMT+0100 (CET)"},"359":{"date":{"__isSmartRef__":true,"id":360},"author":"undefined","message":"","id":"73F39208-58C9-4040-9948-516A104E5049"},"360":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:42:18 GMT+0100 (CET)"},"361":{"date":{"__isSmartRef__":true,"id":362},"author":"undefined","message":"","id":"CA16FEC1-49E5-4310-BDB6-F744F413F7EF"},"362":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:48:35 GMT+0100 (CET)"},"363":{"date":{"__isSmartRef__":true,"id":364},"author":"undefined","message":"- close button behavior","id":"0AD4C501-1DC4-4DD3-AFDC-A46F4ACD2CE1"},"364":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:32:48 GMT+0100 (CET)"},"365":{"date":{"__isSmartRef__":true,"id":366},"author":"undefined","message":"","id":"47289007-8CB3-4B03-B9D1-3A8717E85DCB"},"366":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:36:31 GMT+0100 (CET)"},"367":{"date":{"__isSmartRef__":true,"id":368},"author":"athomschke","message":"adjusted close button","id":"9EBA6297-7908-4B02-81F5-2B86B2E4B73D"},"368":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:57:09 GMT+0100 (CET)"},"369":{"date":{"__isSmartRef__":true,"id":370},"author":"jenslincke","message":"- fixed browse Global definitions","id":"7DE86114-1D7E-4551-BC8F-E12A980A8EE9"},"370":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:27:56 GMT+0100 (CET)"},"371":{"date":{"__isSmartRef__":true,"id":372},"author":"athomschke","message":"removed a code inconvenience (Morph soon will not be available anymore, used lively.morphic.Morph instead)","id":"EB3D8402-7A89-4720-AB82-1009BC22096B"},"372":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:19:40 GMT+0100 (CET)"},"373":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:17:31 GMT+0100 (CET)"},"374":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"375":{"morph":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"376":{"search":{"__isSmartRef__":true,"id":377},"browse":{"__isSmartRef__":true,"id":381},"reset":{"__isSmartRef__":true,"id":385},"setSearch":{"__isSmartRef__":true,"id":389},"emphasizeStringIn":{"__isSmartRef__":true,"id":393},"withAllMethodsDo":{"__isSmartRef__":true,"id":397},"itemsFromFinds":{"__isSmartRef__":true,"id":401},"browseMethod":{"__isSmartRef__":true,"id":405},"openMethodInSystemBrowser":{"__isSmartRef__":true,"id":409},"findSourceModule":{"__isSmartRef__":true,"id":413},"searchOnServer":{"__isSmartRef__":true,"id":417},"showLayerDefinition":{"__isSmartRef__":true,"id":421}},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"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 lively.morphic.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":379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"378":{"this":{"__isSmartRef__":true,"id":92}},"379":{"timestamp":{"__isSmartRef__":true,"id":380},"tags":[]},"380":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"381":{"varMapping":{"__isSmartRef__":true,"id":382},"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":383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"382":{"this":{"__isSmartRef__":true,"id":92}},"383":{"timestamp":{"__isSmartRef__":true,"id":384},"user":"undefined","tags":[]},"384":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:55:34 GMT+0100 (CET)"},"385":{"varMapping":{"__isSmartRef__":true,"id":386},"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":387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"386":{"this":{"__isSmartRef__":true,"id":92}},"387":{"timestamp":{"__isSmartRef__":true,"id":388},"user":"undefined","tags":[]},"388":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:30:14 GMT+0100 (CET)"},"389":{"varMapping":{"__isSmartRef__":true,"id":390},"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":391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"390":{"this":{"__isSmartRef__":true,"id":92}},"391":{"timestamp":{"__isSmartRef__":true,"id":392},"tags":[]},"392":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"393":{"varMapping":{"__isSmartRef__":true,"id":394},"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":395},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"394":{"this":{"__isSmartRef__":true,"id":92}},"395":{"timestamp":{"__isSmartRef__":true,"id":396},"tags":[]},"396":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"397":{"varMapping":{"__isSmartRef__":true,"id":398},"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":399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"398":{"this":{"__isSmartRef__":true,"id":92}},"399":{"timestamp":{"__isSmartRef__":true,"id":400},"user":"undefined","tags":[]},"400":{"isSerializedDate":true,"string":"Thu Jan 19 2012 14:41:57 GMT+0100 (CET)"},"401":{"varMapping":{"__isSmartRef__":true,"id":402},"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":403},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"402":{"this":{"__isSmartRef__":true,"id":92}},"403":{"timestamp":{"__isSmartRef__":true,"id":404},"user":"undefined","tags":[]},"404":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:31:52 GMT+0100 (CET)"},"405":{"varMapping":{"__isSmartRef__":true,"id":406},"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":407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"406":{"this":{"__isSmartRef__":true,"id":92}},"407":{"timestamp":{"__isSmartRef__":true,"id":408},"user":"undefined","tags":[]},"408":{"isSerializedDate":true,"string":"Thu Jan 19 2012 16:54:12 GMT+0100 (CET)"},"409":{"varMapping":{"__isSmartRef__":true,"id":410},"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":411},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"410":{"this":{"__isSmartRef__":true,"id":92}},"411":{"timestamp":{"__isSmartRef__":true,"id":412},"user":"jenslincke","tags":[]},"412":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:27:23 GMT+0100 (CET)"},"413":{"varMapping":{"__isSmartRef__":true,"id":414},"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":415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"414":{"this":{"__isSmartRef__":true,"id":92}},"415":{"timestamp":{"__isSmartRef__":true,"id":416},"user":"jenslincke","tags":[]},"416":{"isSerializedDate":true,"string":"Fri Nov 04 2011 15:27:13 GMT+0100 (CET)"},"417":{"varMapping":{"__isSmartRef__":true,"id":418},"source":"function searchOnServer() {\n var serverSearch = this.world().openPartItem('ServerSearch', 'PartsBin/Tools'); \n serverSearch.setSearch(this.get('searchText').textString)\n}","funcProperties":{"__isSmartRef__":true,"id":419},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"418":{"this":{"__isSmartRef__":true,"id":92}},"419":{"timestamp":{"__isSmartRef__":true,"id":420},"user":"jenslincke","tags":[]},"420":{"isSerializedDate":true,"string":"Fri Nov 18 2011 11:40:23 GMT+0100 (CET)"},"421":{"varMapping":{"__isSmartRef__":true,"id":422},"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":423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"422":{"this":{"__isSmartRef__":true,"id":92}},"423":{"timestamp":{"__isSmartRef__":true,"id":424},"user":"undefined","tags":[]},"424":{"isSerializedDate":true,"string":"Thu Jan 19 2012 15:30:43 GMT+0100 (CET)"},"425":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,559.7)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(204,204,204)","_Fill":"Color.rgb(255,255,255)"},"426":{"morph":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"427":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"428":{"submorphs":[{"__isSmartRef__":true,"id":429},{"__isSmartRef__":true,"id":434}],"scripts":[],"shape":{"__isSmartRef__":true,"id":445},"eventHandler":{"__isSmartRef__":true,"id":446},"_ClipMode":"visible","derivationIds":[],"id":"FF917D6F-D278-4FCE-B662-4ED57E82DB3B","droppingEnabled":true,"halosEnabled":true,"tabBar":{"__isSmartRef__":true,"id":70},"tabBarOffset":90,"layout":{"__isSmartRef__":true,"id":447},"pane":{"__isSmartRef__":true,"id":448},"label":{"__isSmartRef__":true,"id":429},"name":"S:addConstraintsConsumingTo","grabbingEnabled":false,"draggingEnabled":false,"closeButton":{"__isSmartRef__":true,"id":434},"owner":{"__isSmartRef__":true,"id":70},"__serializedExpressions__":["_Position"],"isActive":false,"__LivelyClassName__":"lively.morphic.Tab","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(90.0,0.0)"},"429":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":430},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":431}],"eventHandler":{"__isSmartRef__":true,"id":433},"_ClipMode":"hidden","derivationIds":[],"id":"F61BD260-0BBC-4CBF-9E9C-4B32461443F0","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"eventsAreDisabled":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":428},"_FontWeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(5.0,5.0)"},"430":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(205.0,20.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"431":{"style":{"__isSmartRef__":true,"id":432},"chunkOwner":{"__isSmartRef__":true,"id":429},"_id":"_259","storedString":"S:addConstraintsConsumingTo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"432":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"433":{"morph":{"__isSmartRef__":true,"id":429},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"434":{"submorphs":[{"__isSmartRef__":true,"id":435}],"scripts":[],"shape":{"__isSmartRef__":true,"id":440},"eventHandler":{"__isSmartRef__":true,"id":441},"_ClipMode":"visible","derivationIds":[],"id":"51E1340B-3EA7-4656-8FA3-98AAFB997B7C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":435},"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":428},"__serializedExpressions__":["_Position"],"layout":{"__isSmartRef__":true,"id":442},"attributeConnections":[{"__isSmartRef__":true,"id":443}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"isPressed":false,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(67.0,6.0)"},"435":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":436},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":437}],"eventHandler":{"__isSmartRef__":true,"id":439},"_ClipMode":"hidden","derivationIds":[],"id":"84FD931B-5C50-40E8-ABF9-226C878949F0","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":434},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"436":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"437":{"style":{"__isSmartRef__":true,"id":438},"chunkOwner":{"__isSmartRef__":true,"id":435},"_id":"_258","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"438":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"439":{"morph":{"__isSmartRef__":true,"id":435},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"440":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"441":{"morph":{"__isSmartRef__":true,"id":434},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"442":{"moveHorizontal":true},"443":{"sourceObj":{"__isSmartRef__":true,"id":434},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":428},"targetMethodName":"closeTab","varMapping":{"__isSmartRef__":true,"id":444},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"444":{"source":{"__isSmartRef__":true,"id":434},"target":{"__isSmartRef__":true,"id":428}},"445":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill","_BorderColor"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(90.0,30.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(204,204,204)","_BorderColor":"Color.rgb(204,204,204)"},"446":{"morph":{"__isSmartRef__":true,"id":428},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"447":{"adjustForNewBounds":true},"448":{"submorphs":[{"__isSmartRef__":true,"id":449}],"scripts":[],"shape":{"__isSmartRef__":true,"id":740},"eventHandler":{"__isSmartRef__":true,"id":741},"_ClipMode":"scroll","derivationIds":[],"id":"D646273C-C4B9-4CB7-9B13-4D528DA8873D","grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":742},"tab":{"__isSmartRef__":true,"id":428},"tabBar":{"__isSmartRef__":true,"id":70},"name":"S:addConstraintsConsumingTo - Pane","owner":{"__isSmartRef__":true,"id":69},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TabPane","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,30.0)"},"449":{"submorphs":[{"__isSmartRef__":true,"id":450},{"__isSmartRef__":true,"id":457},{"__isSmartRef__":true,"id":477},{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":593},{"__isSmartRef__":true,"id":599},{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":662}],"scripts":[],"id":"3305F35E-EC12-4872-AC51-F3EDC289CC8A","shape":{"__isSmartRef__":true,"id":688},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"MethodFinderPane1","partsBinMetaInfo":{"__isSmartRef__":true,"id":352},"isCopyMorphRef":true,"morphRefId":1,"layout":{"__isSmartRef__":true,"id":689},"eventHandler":{"__isSmartRef__":true,"id":690},"doNotSerialize":["targetFunction","targetObject"],"prevScroll":[0,0],"isBeingDragged":false,"derivationIds":[204,"90F6ED76-D56E-436C-96E7-CBFE7106283E","53162F18-6DD1-4230-B30F-EC4BA7B7A9ED","73F374A9-9CEE-4D2E-8BA6-030971E02396","0859BA09-FE36-4B7E-85B5-A141B84A252C","AB402971-988F-4D01-AE49-87C1AFEAA1C3","A80F8C19-12D2-49AF-941A-2454433D2A59","9370F962-CBB6-42C0-8F15-79D0F66045FD","2F24C0FF-1360-4C35-BE22-B5DE5FFAB3F4","81FC43AC-A19A-48A5-B854-601A302E5585","BBF2876B-A928-4012-A9BD-A39052E30483","3E2C739C-3BA6-4C2C-B7FB-A726AA7015BB","B55E78F3-F8DB-4034-91E7-0D1B364B82DA","FF257E99-B7E7-4837-8F67-965F5DAEC58F"],"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"owner":{"__isSmartRef__":true,"id":448},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":691},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(583.4,-13.9)"},"450":{"submorphs":[],"scripts":[],"id":"7E378F86-6335-45F0-8221-52017575BD2C","shape":{"__isSmartRef__":true,"id":451},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":287,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":13,"name":"searchText","partsBinMetaInfo":{"__isSmartRef__":true,"id":452},"owner":{"__isSmartRef__":true,"id":449},"charsReplaced":"enter method name here","lastFindLoc":22,"attributeConnections":[{"__isSmartRef__":true,"id":453}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"isInputLine":true,"_WhiteSpaceHandling":"pre-wrap","allowInput":true,"textChunks":[{"__isSmartRef__":true,"id":454}],"prevScroll":[0,0],"_ClipMode":"hidden","lastSearchString":"prev","eventHandler":{"__isSmartRef__":true,"id":456},"_MinTextWidth":287,"_MinTextHeight":null,"previousSelection":[0,0],"isBeingDragged":false,"derivationIds":[205,"63CD6525-ECE4-4F52-A84B-27633C22F3F9","D7B775A2-513B-4768-AB24-6718580E61A9","FE8FA703-C984-4702-8139-2C4E9353FB41","2C124317-773E-498D-BB6D-9BEC99637AF3","BFDC0BE7-0289-4FA0-A2EC-14EF2BA09445","E16771FE-0062-4803-9678-9625DB0CFBFA","B9D2EC7D-E050-4D3D-8ABC-52D8ACA55936","196DC9F1-78FF-488F-80AB-8129A171A1C9","F2FB3FCC-8AE2-4DFB-AD6F-3DE2513762B0","4897081D-DCA7-4D33-B262-00412C9821FD","9DEE84F9-6727-4802-BD51-456C40E212F1","3868C69C-36F7-42FF-95C8-191FBE40BCA2","E8E15F14-A537-4CCB-8603-2B7814C74B21"],"savedTextString":"bla","_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,17.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(199.7,-15.5)"},"451":{"fill":null,"_BorderWidth":1,"_ClipMode":"hidden","_BorderRadius":4,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(292.0,25.0)","_BorderColor":"Color.rgb(102,102,102)","_Padding":"lively.rect(3,3,-3,-3)"},"452":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"453":{"sourceObj":{"__isSmartRef__":true,"id":450},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":449},"targetMethodName":"search","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"454":{"style":{"__isSmartRef__":true,"id":455},"chunkOwner":{"__isSmartRef__":true,"id":450},"_id":"_260","storedString":"addConstraintsConsumingTo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"455":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"456":{"morph":{"__isSmartRef__":true,"id":450},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"457":{"submorphs":[{"__isSmartRef__":true,"id":458}],"scripts":[],"id":"1856ADAC-DA51-47D8-B946-2D8A49217CE2","shape":{"__isSmartRef__":true,"id":463},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":464},"lighterFill":{"__isSmartRef__":true,"id":469},"label":{"__isSmartRef__":true,"id":458},"showsHalos":false,"name":"searchButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":474},"owner":{"__isSmartRef__":true,"id":449},"attributeConnections":[{"__isSmartRef__":true,"id":475}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":476},"derivationIds":[206,"CB9026E7-BAD5-49AB-B6E0-88B46D561743","C2FEDA8A-ABCE-426D-BB39-F8B4C0CCBE5F","21DC60CF-D1A0-4B54-9B91-F82A50CF8D3A","6E0B3DCD-9AD6-4AAF-A854-252E628FC222","457022C0-0CD0-426F-89B8-DAA8E3AA15C0","AE87A8FC-A7FF-40D5-B8B3-351194957A1B","0107A29A-C954-43A8-82FD-CEE77E946A25","E82E1B35-1C20-4BE4-A5CB-0936E7D4AD20","7485F277-13B5-4FF4-9B90-10385A227006","216A87FA-4CA8-4657-886E-D2EE1398E86F","051E1CDB-3E9B-41A7-89A7-24E539E5FA37","94585AAD-3EC1-42EB-9974-C981FF5A4539","9B4E4399-5243-44AB-A0E1-0C79DC36B095"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(310.0,20.0)","distanceToDragEvent":"lively.pt(53.7,-21.5)"},"458":{"submorphs":[],"scripts":[],"id":"7FF21DF9-8A77-418B-959F-6483262CA8D3","shape":{"__isSmartRef__":true,"id":459},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"owner":{"__isSmartRef__":true,"id":457},"isLabel":true,"eventsAreIgnored":true,"textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":460}],"prevScroll":[0,0],"_ClipMode":"hidden","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":462},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":77,"_MinTextHeight":null,"derivationIds":[207,"9A623BA1-A240-454B-B0DD-53932A371FB3","9E828467-210E-44D4-8E3D-17C5F92B1AAE","75AF52F1-0E7E-419A-BC00-5CCC0D52CEDC","F3C81240-9550-45C3-8B7A-8A3C0ED15BE6","70D8CC33-5AEE-45B5-AC0B-B9A6350C7F51","C80D2176-BA4F-4DCF-88D8-540ADE03E6B9","CB9FE42C-61BF-409D-9CC7-1F1B094C61FA","BF7D1270-418D-46A3-95E5-991F82DAD8C6","CDA433D8-442B-4D3A-A58E-F9C5FCED9086","039DDED5-FFAA-423A-99F2-2236BB594511","E618043F-74DF-4D4A-991F-5AA47FD766F8","B41F9418-E248-400B-AD6D-4963C128AB45","E16D344F-E777-424E-A4D0-8EB94CF53A44"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"459":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(77.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"460":{"style":{"__isSmartRef__":true,"id":461},"morph":{"__isSmartRef__":true,"id":458},"chunkOwner":{"__isSmartRef__":true,"id":458},"storedString":"search","_id":"_150","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"461":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"462":{"morph":{"__isSmartRef__":true,"id":458},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"463":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":464},"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(77.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"464":{"stops":[{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":468}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"465":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"466":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"467":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"468":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"469":{"stops":[{"__isSmartRef__":true,"id":470},{"__isSmartRef__":true,"id":471},{"__isSmartRef__":true,"id":472},{"__isSmartRef__":true,"id":473}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"470":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"471":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"472":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"473":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"474":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"475":{"sourceObj":{"__isSmartRef__":true,"id":457},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":450},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"476":{"morph":{"__isSmartRef__":true,"id":457},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"477":{"submorphs":[],"scripts":[],"id":"D1A85B21-9B3B-48BD-9132-0EAE785525B9","shape":{"__isSmartRef__":true,"id":478},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"itemList":[{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":480},{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":482}],"showsHalos":false,"name":"searchResultList","partsBinMetaInfo":{"__isSmartRef__":true,"id":483},"owner":{"__isSmartRef__":true,"id":449},"attributeConnections":[{"__isSmartRef__":true,"id":484}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,192],"resizeHeight":true,"resizeWidth":true,"layout":{"__isSmartRef__":true,"id":485},"eventHandler":{"__isSmartRef__":true,"id":486},"isBeingDragged":false,"derivationIds":[208,"884F3C31-F47F-4325-B01C-55796601323C","AF542C45-CFC5-475A-B28E-37B7FC51E468","C6B09735-9683-446C-A39C-E4924083B282","7860DCD2-EC25-4F34-B79B-18C47FBEE925","7ACC50AB-EE77-4AD9-8731-20150C616D1C","6A21BD7F-EC45-467D-BDA4-F218B9407920","0B0BFDF5-91C4-4369-AB7F-07CDAE8813BF","0D9A4870-E562-4C17-A057-3DB8D1C9234C","854096E7-42E2-48F4-B656-D1AE606FAEBF","659ABB8A-3E6D-4E1C-864B-CE8459AD730A","1A73ECB5-B976-457C-8138-8385DBD45070","2A6C9E8E-DFFC-4DE3-A9F0-2624BE97EB96","5CE28027-78AA-4148-84D2-7B4305C0BE89"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"selection":{"__isSmartRef__":true,"id":487},"selectedLineNo":0,"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,50.0)","distanceToDragEvent":"lively.pt(589.7,-14.5)"},"478":{"_BorderWidth":0,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,140.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"479":{"isListItem":true,"string":"class name: Planner: addConstraintsConsumingTo","doNotSerialize":["value"],"priority":"A"},"480":{"isListItem":true,"string":"class full: Planner: addPropagate","doNotSerialize":["value"],"priority":"C"},"481":{"isListItem":true,"string":"class full: Planner: makePlan","doNotSerialize":["value"],"priority":"C"},"482":{"isListItem":true,"string":"script full: MethodFinderPane(BDB301C1-982D-47EF-B7A0-8CDF6B8BFC5C): targetFunction","doNotSerialize":["value"],"priority":"C"},"483":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"484":{"sourceObj":{"__isSmartRef__":true,"id":477},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":449},"targetMethodName":"browse","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"485":{"resizeWidth":true},"486":{"morph":{"__isSmartRef__":true,"id":477},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"487":{"object":{"__isSmartRef__":true,"id":130},"method":"addConstraintsConsumingTo","string":"Planner: addConstraintsConsumingTo","type":"class","search":"implementor"},"488":{"submorphs":[],"scripts":[],"id":"11DC3434-499D-446A-A1F7-E002E6C6F913","shape":{"__isSmartRef__":true,"id":489},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_MaxTextWidth":845.9484727040478,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":490},"doitContext":{"__isSmartRef__":true,"id":449},"charsReplaced":"","lastFindLoc":130,"showsHalos":false,"name":"sourceText","savedTextString":"// changes here only affect runtime\nObject.extend(lively.morphic.Morph,{\n\tmakeLine:function (verts, lineWidth, lineColor) {\n\t\tif (verts.length < 2) return null;\n\t\tif (verts.length > 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":491},{"__isSmartRef__":true,"id":493},{"__isSmartRef__":true,"id":495},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":499},{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":503},{"__isSmartRef__":true,"id":505},{"__isSmartRef__":true,"id":507},{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":511},{"__isSmartRef__":true,"id":513},{"__isSmartRef__":true,"id":515},{"__isSmartRef__":true,"id":517},{"__isSmartRef__":true,"id":519},{"__isSmartRef__":true,"id":521},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":525},{"__isSmartRef__":true,"id":527},{"__isSmartRef__":true,"id":529},{"__isSmartRef__":true,"id":531},{"__isSmartRef__":true,"id":533},{"__isSmartRef__":true,"id":535},{"__isSmartRef__":true,"id":537},{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":541},{"__isSmartRef__":true,"id":543},{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":547},{"__isSmartRef__":true,"id":549},{"__isSmartRef__":true,"id":551},{"__isSmartRef__":true,"id":553},{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":561},{"__isSmartRef__":true,"id":563},{"__isSmartRef__":true,"id":565},{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":573},{"__isSmartRef__":true,"id":575}],"_ClipMode":"auto","prevScroll":[0,0],"_FontSize":9,"owner":{"__isSmartRef__":true,"id":449},"lastSyntaxHighlightTime":1328782848221,"eventHandler":{"__isSmartRef__":true,"id":577},"_MinTextWidth":845.9484727040478,"_MinTextHeight":null,"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","3013EDB1-7370-48ED-BF86-BFEFC8B71878","C779EE23-CB40-48E9-AFBE-B0595B1A3A6A"],"_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"parseErrors":null,"_lastSyntaxHighlightTime":64,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":578},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,230.0)","distanceToDragEvent":"lively.pt(582.0,-20.5)"},"489":{"_BorderWidth":1,"_ClipMode":"auto","_BorderRadius":4,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,314.7)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(3,3,-3,-3)"},"490":{"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false},"491":{"style":{"__isSmartRef__":true,"id":492},"chunkOwner":{"__isSmartRef__":true,"id":488},"_id":"_263","storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"492":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"493":{"_id":"_267","style":{"__isSmartRef__":true,"id":494},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" changes here only affect runtime","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"494":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"495":{"_id":"_268","style":{"__isSmartRef__":true,"id":496},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"496":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"497":{"_id":"_306","style":{"__isSmartRef__":true,"id":498},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"projects","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"498":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"499":{"_id":"_307","style":{"__isSmartRef__":true,"id":500},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":".SWD12","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"500":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"501":{"_id":"_269","style":{"__isSmartRef__":true,"id":502},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":".deltablue.Planner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"502":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"503":{"_id":"_270","style":{"__isSmartRef__":true,"id":504},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":".","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"504":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"505":{"_id":"_271","style":{"__isSmartRef__":true,"id":506},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"addMethods","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"506":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,128,128)"},"507":{"_id":"_272","style":{"__isSmartRef__":true,"id":508},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"508":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"509":{"_id":"_273","style":{"__isSmartRef__":true,"id":510},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"510":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"511":{"_id":"_274","style":{"__isSmartRef__":true,"id":512},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"512":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"513":{"_id":"_264","style":{"__isSmartRef__":true,"id":514},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"addConstraintsConsumingTo:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"514":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"515":{"_id":"_275","style":{"__isSmartRef__":true,"id":516},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"516":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"517":{"_id":"_276","style":{"__isSmartRef__":true,"id":518},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"518":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"519":{"_id":"_277","style":{"__isSmartRef__":true,"id":520},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" (v, coll) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"520":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"521":{"_id":"_278","style":{"__isSmartRef__":true,"id":522},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"522":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"523":{"_id":"_279","style":{"__isSmartRef__":true,"id":524},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"524":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"525":{"_id":"_280","style":{"__isSmartRef__":true,"id":526},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"526":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"527":{"_id":"_281","style":{"__isSmartRef__":true,"id":528},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" determining = v.determinedBy;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"528":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"529":{"_id":"_282","style":{"__isSmartRef__":true,"id":530},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"530":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"531":{"_id":"_283","style":{"__isSmartRef__":true,"id":532},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" cc = v.constraints;\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"532":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"533":{"_id":"_284","style":{"__isSmartRef__":true,"id":534},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"for","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"534":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"535":{"_id":"_285","style":{"__isSmartRef__":true,"id":536},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"536":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"537":{"_id":"_286","style":{"__isSmartRef__":true,"id":538},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"538":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"539":{"_id":"_287","style":{"__isSmartRef__":true,"id":540},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" i = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"540":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"541":{"_id":"_288","style":{"__isSmartRef__":true,"id":542},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"542":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"543":{"_id":"_289","style":{"__isSmartRef__":true,"id":544},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"; i < cc.size(); i++) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"544":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"545":{"_id":"_290","style":{"__isSmartRef__":true,"id":546},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"546":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"547":{"_id":"_291","style":{"__isSmartRef__":true,"id":548},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"548":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"549":{"_id":"_292","style":{"__isSmartRef__":true,"id":550},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"550":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"551":{"_id":"_293","style":{"__isSmartRef__":true,"id":552},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" c = cc.at(i);\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"552":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"553":{"_id":"_294","style":{"__isSmartRef__":true,"id":554},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"554":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"555":{"_id":"_295","style":{"__isSmartRef__":true,"id":556},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":" (c != determining && c.isSatisfied()) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"556":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"557":{"_id":"_296","style":{"__isSmartRef__":true,"id":558},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"558":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"559":{"_id":"_297","style":{"__isSmartRef__":true,"id":560},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n coll.add(c);\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"560":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"561":{"_id":"_298","style":{"__isSmartRef__":true,"id":562},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"562":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"563":{"_id":"_299","style":{"__isSmartRef__":true,"id":564},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"564":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"565":{"_id":"_300","style":{"__isSmartRef__":true,"id":566},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"566":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"567":{"_id":"_301","style":{"__isSmartRef__":true,"id":568},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"568":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"569":{"_id":"_302","style":{"__isSmartRef__":true,"id":570},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"570":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"571":{"_id":"_303","style":{"__isSmartRef__":true,"id":572},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"572":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"573":{"_id":"_304","style":{"__isSmartRef__":true,"id":574},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"574":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"575":{"_id":"_305","style":{"__isSmartRef__":true,"id":576},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":");","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"576":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"577":{"morph":{"__isSmartRef__":true,"id":488},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"578":{"doSave":{"__isSmartRef__":true,"id":579},"getDoitContext":{"__isSmartRef__":true,"id":586}},"579":{"varMapping":{"__isSmartRef__":true,"id":580},"source":"function doSave() {\n\t$super()\n\talertOK(\"eval all for \" + this.getDoitContext())\n\tthis.boundEval(this.textString)\n}","funcProperties":{"__isSmartRef__":true,"id":585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"580":{"this":{"__isSmartRef__":true,"id":488},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":581}},"581":{"$super":{"__isSmartRef__":true,"id":582}},"582":{"varMapping":{"__isSmartRef__":true,"id":583},"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":584},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"583":{"obj":{"__isSmartRef__":true,"id":488},"name":"doSave"},"584":{},"585":{},"586":{"varMapping":{"__isSmartRef__":true,"id":587},"source":"function getDoitContext() {\n\treturn this.owner.targetObject\n}","funcProperties":{"__isSmartRef__":true,"id":592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"587":{"this":{"__isSmartRef__":true,"id":488},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":588}},"588":{"$super":{"__isSmartRef__":true,"id":589}},"589":{"varMapping":{"__isSmartRef__":true,"id":590},"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":591},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"590":{"obj":{"__isSmartRef__":true,"id":488},"name":"getDoitContext"},"591":{},"592":{},"593":{"submorphs":[],"scripts":[],"id":"8E8A809C-7B37-476D-974A-E6A7C9EB97CF","shape":{"__isSmartRef__":true,"id":594},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco, Courier","registeredForMouseEvents":true,"_MaxTextWidth":846.9484727040478,"_MaxTextHeight":null,"textStyle":null,"layout":{"__isSmartRef__":true,"id":595},"charsReplaced":"","lastFindLoc":697,"showsHalos":false,"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":596}],"_ClipMode":"hidden","prevScroll":[0,0],"_FontSize":10,"owner":{"__isSmartRef__":true,"id":449},"eventHandler":{"__isSmartRef__":true,"id":598},"_MinTextWidth":846.9484727040478,"_MinTextHeight":null,"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","7B312F1D-97DF-400B-B6A2-F871E0D93348","705B3C30-29F1-486C-AF08-7E7D03078BAF"],"_WordBreak":"break-all","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,200.0)","distanceToDragEvent":"lively.pt(587.0,-13.5)"},"594":{"_BorderWidth":1,"_ClipMode":"hidden","_BorderRadius":4,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(900.6,20.0)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(2,1,-2,-1)"},"595":{"resizeWidth":true,"resizeHeight":false,"moveVertical":false,"moveHorizontal":false},"596":{"style":{"__isSmartRef__":true,"id":597},"chunkOwner":{"__isSmartRef__":true,"id":593},"_id":"_266","storedString":"module(Global.projects.SWD12.deltablue)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"597":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"598":{"morph":{"__isSmartRef__":true,"id":593},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"599":{"submorphs":[{"__isSmartRef__":true,"id":600}],"scripts":[],"id":"92D6AD43-5A60-4EEB-9C4E-E198616B1BF6","shape":{"__isSmartRef__":true,"id":605},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":606},"lighterFill":{"__isSmartRef__":true,"id":611},"label":{"__isSmartRef__":true,"id":600},"showsHalos":false,"name":"browse","partsBinMetaInfo":{"__isSmartRef__":true,"id":616},"attributeConnections":[{"__isSmartRef__":true,"id":617}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":618},"owner":{"__isSmartRef__":true,"id":449},"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","BF69FE04-AF9D-48BC-B4F9-5B9CFB4720D3","1B2B2CB4-3ABA-4387-A3D2-E8436B9DC849"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(53.7,-17.2)","_Position":"lively.pt(400.0,20.0)"},"600":{"submorphs":[],"scripts":[],"id":"C492DC77-E3CF-4197-98AB-AD71D4B55E1F","shape":{"__isSmartRef__":true,"id":601},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":78,"_MaxTextHeight":null,"owner":{"__isSmartRef__":true,"id":599},"isLabel":true,"eventsAreIgnored":true,"textStyle":null,"textChunks":[{"__isSmartRef__":true,"id":602}],"prevScroll":[0,0],"_ClipMode":"hidden","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":604},"_HandStyle":"default","_PointerEvents":"none","_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","6943F355-5B63-4DAD-8A39-14319936A0E0","81DC2508-85EB-4052-AFA2-44CF083A45C5"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"601":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(78.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"602":{"style":{"__isSmartRef__":true,"id":603},"morph":{"__isSmartRef__":true,"id":600},"chunkOwner":{"__isSmartRef__":true,"id":600},"storedString":"browse","_id":"_152","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"603":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"604":{"morph":{"__isSmartRef__":true,"id":600},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"605":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":606},"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(78.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"606":{"stops":[{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":610}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"607":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"608":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"609":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"610":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"611":{"stops":[{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":615}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"612":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"613":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"614":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"615":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"616":{"partsSpaceName":"PartsBin/NewWorld","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"617":{"sourceObj":{"__isSmartRef__":true,"id":599},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":449},"targetMethodName":"browseMethod","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"618":{"morph":{"__isSmartRef__":true,"id":599},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"619":{"submorphs":[{"__isSmartRef__":true,"id":620}],"scripts":[],"id":"64229604-A147-4097-BD6D-3CC930E0A456","shape":{"__isSmartRef__":true,"id":625},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":626},"lighterFill":{"__isSmartRef__":true,"id":631},"label":{"__isSmartRef__":true,"id":620},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":636},"attributeConnections":[{"__isSmartRef__":true,"id":637}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":660},"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":449},"layout":{"__isSmartRef__":true,"id":661},"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","3350B214-FDFD-4143-8AB5-4E475C31F760","332F671C-E259-47B3-B31D-F86A48741FAF"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(111.4,-11.4)","_Position":"lively.pt(490.0,19.0)"},"620":{"submorphs":[],"scripts":[],"id":"20488424-D3E7-46EE-A963-9A8DB3DB70E5","shape":{"__isSmartRef__":true,"id":621},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":157.05605605605615,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":619},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":622}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":624},"_HandStyle":"default","_PointerEvents":"none","_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","D596A84E-3FB1-4A59-B12D-12FF54B0B37F","C7CF5CE2-FA69-432F-B05A-A8FDE7273491"],"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"621":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(157.1,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"622":{"style":{"__isSmartRef__":true,"id":623},"chunkOwner":{"__isSmartRef__":true,"id":620},"storedString":"search on server","_id":"_153","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"623":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"624":{"morph":{"__isSmartRef__":true,"id":620},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"625":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":626},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(157.1,21.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"626":{"stops":[{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":630}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"627":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"628":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"629":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"630":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"631":{"stops":[{"__isSmartRef__":true,"id":632},{"__isSmartRef__":true,"id":633},{"__isSmartRef__":true,"id":634},{"__isSmartRef__":true,"id":635}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"632":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"633":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"634":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"635":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"636":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"637":{"sourceObj":{"__isSmartRef__":true,"id":619},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":449},"targetMethodName":"searchOnServer","visualConnector":{"__isSmartRef__":true,"id":638},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"638":{"submorphs":[{"__isSmartRef__":true,"id":639}],"scripts":[],"shape":{"__isSmartRef__":true,"id":646},"id":865,"eventHandler":{"__isSmartRef__":true,"id":649},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":651}],"con":{"__isSmartRef__":true,"id":637},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":652},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"639":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":640},"id":866,"eventHandler":{"__isSmartRef__":true,"id":645},"__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":638},"_Rotation":-3.113822016996372,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"640":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":641},{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":643},{"__isSmartRef__":true,"id":644}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"641":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"642":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"643":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"644":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"645":{"morph":{"__isSmartRef__":true,"id":639},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"646":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":647},{"__isSmartRef__":true,"id":648}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(721.0,21.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"647":{"isAbsolute":true,"x":719.9999999999999,"y":20,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"648":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"649":{"morph":{"__isSmartRef__":true,"id":638},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"650":{"morph":{"__isSmartRef__":true,"id":638},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"651":{"morph":{"__isSmartRef__":true,"id":638},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":639},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"652":{"morphMenuItems":{"__isSmartRef__":true,"id":653}},"653":{"varMapping":{"__isSmartRef__":true,"id":654},"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":659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"654":{"this":{"__isSmartRef__":true,"id":638},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":655}},"655":{"$super":{"__isSmartRef__":true,"id":656}},"656":{"varMapping":{"__isSmartRef__":true,"id":657},"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":658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"657":{"obj":{"__isSmartRef__":true,"id":638},"name":"morphMenuItems"},"658":{},"659":{},"660":{"morph":{"__isSmartRef__":true,"id":619},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"661":{"moveHorizontal":false},"662":{"submorphs":[{"__isSmartRef__":true,"id":663}],"scripts":[],"id":"AFE57921-92D7-4F3A-89ED-17FF92E5D5A0","shape":{"__isSmartRef__":true,"id":668},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":669},"lighterFill":{"__isSmartRef__":true,"id":674},"label":{"__isSmartRef__":true,"id":663},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":679},"attributeConnections":[{"__isSmartRef__":true,"id":680}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":681},"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","7146BE6C-6AB9-4A41-89F9-0D6C1906F22C","D5614241-97DF-41BC-B4F2-D3704916AAE0"],"owner":{"__isSmartRef__":true,"id":449},"layout":{"__isSmartRef__":true,"id":682},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":683},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(891.8,21.0)","distanceToDragEvent":"lively.pt(34.4,-11.2)"},"663":{"submorphs":[],"scripts":[],"id":"517E5DD4-9C04-46FC-81F9-17D417D29F86","shape":{"__isSmartRef__":true,"id":664},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":662},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":665}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":667},"_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","5349ED28-AA73-4C7E-8241-575E1A050868","59B9249F-DA37-4FB9-85D2-ABBCFE3AA101"],"_MinTextWidth":20,"_MinTextHeight":null,"_WordBreak":"break-all","_Scale":1,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"664":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"665":{"style":{"__isSmartRef__":true,"id":666},"chunkOwner":{"__isSmartRef__":true,"id":663},"storedString":"x","_id":"_154","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"666":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"667":{"morph":{"__isSmartRef__":true,"id":663},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"668":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":669},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(20.0,20.0)","_BorderColor":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"669":{"stops":[{"__isSmartRef__":true,"id":670},{"__isSmartRef__":true,"id":671},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":673}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"670":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"671":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"672":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"673":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"674":{"stops":[{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":678}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"675":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"676":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"677":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"678":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"679":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"ScriptableButton","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"680":{"sourceObj":{"__isSmartRef__":true,"id":662},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":662},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"681":{"morph":{"__isSmartRef__":true,"id":662},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"682":{"moveHorizontal":true},"683":{"onFire":{"__isSmartRef__":true,"id":684}},"684":{"varMapping":{"__isSmartRef__":true,"id":685},"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":686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"685":{"this":{"__isSmartRef__":true,"id":662}},"686":{"timestamp":{"__isSmartRef__":true,"id":687},"user":"undefined","tags":[]},"687":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:32:27 GMT+0100 (CET)"},"688":{"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,559.7)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"689":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"690":{"morph":{"__isSmartRef__":true,"id":449},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"691":{"search":{"__isSmartRef__":true,"id":692},"browse":{"__isSmartRef__":true,"id":696},"reset":{"__isSmartRef__":true,"id":700},"setSearch":{"__isSmartRef__":true,"id":704},"emphasizeStringIn":{"__isSmartRef__":true,"id":708},"withAllMethodsDo":{"__isSmartRef__":true,"id":712},"itemsFromFinds":{"__isSmartRef__":true,"id":716},"browseMethod":{"__isSmartRef__":true,"id":720},"openMethodInSystemBrowser":{"__isSmartRef__":true,"id":724},"findSourceModule":{"__isSmartRef__":true,"id":728},"searchOnServer":{"__isSmartRef__":true,"id":732},"showLayerDefinition":{"__isSmartRef__":true,"id":736}},"692":{"varMapping":{"__isSmartRef__":true,"id":693},"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 lively.morphic.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":694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"693":{"this":{"__isSmartRef__":true,"id":449}},"694":{"timestamp":{"__isSmartRef__":true,"id":695},"tags":[]},"695":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"696":{"varMapping":{"__isSmartRef__":true,"id":697},"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":698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"697":{"this":{"__isSmartRef__":true,"id":449}},"698":{"timestamp":{"__isSmartRef__":true,"id":699},"user":"undefined","tags":[]},"699":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:55:34 GMT+0100 (CET)"},"700":{"varMapping":{"__isSmartRef__":true,"id":701},"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":702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"701":{"this":{"__isSmartRef__":true,"id":449}},"702":{"timestamp":{"__isSmartRef__":true,"id":703},"user":"undefined","tags":[]},"703":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:30:14 GMT+0100 (CET)"},"704":{"varMapping":{"__isSmartRef__":true,"id":705},"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":706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"705":{"this":{"__isSmartRef__":true,"id":449}},"706":{"timestamp":{"__isSmartRef__":true,"id":707},"tags":[]},"707":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"708":{"varMapping":{"__isSmartRef__":true,"id":709},"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":710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"709":{"this":{"__isSmartRef__":true,"id":449}},"710":{"timestamp":{"__isSmartRef__":true,"id":711},"tags":[]},"711":{"isSerializedDate":true,"string":"Thu Jan 10 2013 00:18:25 GMT+0100 (CET)"},"712":{"varMapping":{"__isSmartRef__":true,"id":713},"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":714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"713":{"this":{"__isSmartRef__":true,"id":449}},"714":{"timestamp":{"__isSmartRef__":true,"id":715},"user":"undefined","tags":[]},"715":{"isSerializedDate":true,"string":"Thu Jan 19 2012 14:41:57 GMT+0100 (CET)"},"716":{"varMapping":{"__isSmartRef__":true,"id":717},"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":718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"717":{"this":{"__isSmartRef__":true,"id":449}},"718":{"timestamp":{"__isSmartRef__":true,"id":719},"user":"undefined","tags":[]},"719":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:31:52 GMT+0100 (CET)"},"720":{"varMapping":{"__isSmartRef__":true,"id":721},"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":722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"721":{"this":{"__isSmartRef__":true,"id":449}},"722":{"timestamp":{"__isSmartRef__":true,"id":723},"user":"undefined","tags":[]},"723":{"isSerializedDate":true,"string":"Thu Jan 19 2012 16:54:12 GMT+0100 (CET)"},"724":{"varMapping":{"__isSmartRef__":true,"id":725},"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":726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"725":{"this":{"__isSmartRef__":true,"id":449}},"726":{"timestamp":{"__isSmartRef__":true,"id":727},"user":"jenslincke","tags":[]},"727":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:27:23 GMT+0100 (CET)"},"728":{"varMapping":{"__isSmartRef__":true,"id":729},"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":730},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"729":{"this":{"__isSmartRef__":true,"id":449}},"730":{"timestamp":{"__isSmartRef__":true,"id":731},"user":"jenslincke","tags":[]},"731":{"isSerializedDate":true,"string":"Fri Nov 04 2011 15:27:13 GMT+0100 (CET)"},"732":{"varMapping":{"__isSmartRef__":true,"id":733},"source":"function searchOnServer() {\n var serverSearch = this.world().openPartItem('ServerSearch', 'PartsBin/Tools'); \n serverSearch.setSearch(this.get('searchText').textString)\n}","funcProperties":{"__isSmartRef__":true,"id":734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"733":{"this":{"__isSmartRef__":true,"id":449}},"734":{"timestamp":{"__isSmartRef__":true,"id":735},"user":"jenslincke","tags":[]},"735":{"isSerializedDate":true,"string":"Fri Nov 18 2011 11:40:23 GMT+0100 (CET)"},"736":{"varMapping":{"__isSmartRef__":true,"id":737},"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":738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"737":{"this":{"__isSmartRef__":true,"id":449}},"738":{"timestamp":{"__isSmartRef__":true,"id":739},"user":"undefined","tags":[]},"739":{"isSerializedDate":true,"string":"Thu Jan 19 2012 15:30:43 GMT+0100 (CET)"},"740":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"_BorderWidth":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,559.7)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(204,204,204)","_Fill":"Color.rgb(255,255,255)"},"741":{"morph":{"__isSmartRef__":true,"id":448},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"742":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"743":{"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill","_BorderColor"],"_ClipMode":"visible","_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,30.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(255,255,255)","_BorderColor":"Color.rgb(204,204,204)"},"744":{"morph":{"__isSmartRef__":true,"id":70},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"745":{"adjustForNewBounds":true,"resizeWidth":true},"746":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_ClipMode":"visible","_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(927.1,589.7)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(95,94,95)"},"747":{"morph":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"748":{"__LivelyClassName__":"lively.morphic.TabStrategyTop","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"749":{"requiredModules":[],"partsSpaceName":"PartsBin/Dialogs","comment":"A tabbed tool pane (under development): Supports MethodFinder","changes":[{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":758},{"__isSmartRef__":true,"id":760}],"migrationLevel":4,"partName":"ToolTabPane","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastModifiedDate":{"__isSmartRef__":true,"id":762},"revisionOnLoad":171464,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"750":{"date":{"__isSmartRef__":true,"id":751},"author":"undefined","message":"added a resize corner","id":"69E8407B-8700-4E9B-8558-C54AF5D9D65F"},"751":{"isSerializedDate":true,"string":"Mon Mar 26 2012 12:52:49 GMT+0200 (CEST)"},"752":{"date":{"__isSmartRef__":true,"id":753},"author":"undefined","message":"- white and S:","id":"9CC8444F-8D6A-476B-904F-1BC27EB9F6E4"},"753":{"isSerializedDate":true,"string":"Fri Feb 03 2012 16:24:10 GMT+0100 (CET)"},"754":{"date":{"__isSmartRef__":true,"id":755},"author":"undefined","message":"initial version ","id":"61DC98FC-D0AA-43D7-A579-7649657A81B4"},"755":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:55:32 GMT+0100 (CET)"},"756":{"date":{"__isSmartRef__":true,"id":757},"author":"fabian","message":"initial","id":"EA1E7C49-D79B-461B-ACD7-126E1902F6FF"},"757":{"isSerializedDate":true,"string":"Thu Jan 26 2012 08:08:17 GMT+0100 (CET)"},"758":{"date":{"__isSmartRef__":true,"id":759},"author":"athomschke","message":"","id":"CADBD788-8F41-4046-BCED-6CF1172CF93D"},"759":{"isSerializedDate":true,"string":"Thu Feb 09 2012 12:51:59 GMT+0100 (CET)"},"760":{"date":{"__isSmartRef__":true,"id":761},"author":"robertkrahn","message":"fixing scale","id":"D405372C-153F-4A5F-850A-C068C39ED4D9"},"761":{"isSerializedDate":true,"string":"Sat Jun 16 2012 13:48:36 GMT+0200 (CEST)"},"762":{"isSerializedDate":true,"string":"Fri Sep 07 2012 04:04:46 GMT+0200 (CEST)"},"763":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"764":{"onrestore":{"__isSmartRef__":true,"id":765},"installLayers":{"__isSmartRef__":true,"id":773},"openMethodFinderFor":{"__isSmartRef__":true,"id":777}},"765":{"varMapping":{"__isSmartRef__":true,"id":766},"source":"function onrestore() {\n this.installLayers();\n $super()\n}","funcProperties":{"__isSmartRef__":true,"id":771},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"766":{"this":{"__isSmartRef__":true,"id":69},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":767}},"767":{"$super":{"__isSmartRef__":true,"id":768}},"768":{"varMapping":{"__isSmartRef__":true,"id":769},"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":770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"769":{"obj":{"__isSmartRef__":true,"id":69},"name":"onrestore"},"770":{},"771":{"timestamp":{"__isSmartRef__":true,"id":772},"user":"undefined","tags":[]},"772":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:18:55 GMT+0100 (CET)"},"773":{"varMapping":{"__isSmartRef__":true,"id":774},"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":775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"774":{"this":{"__isSmartRef__":true,"id":69}},"775":{"timestamp":{"__isSmartRef__":true,"id":776},"user":"undefined","tags":[]},"776":{"isSerializedDate":true,"string":"Fri Feb 03 2012 15:20:31 GMT+0100 (CET)"},"777":{"varMapping":{"__isSmartRef__":true,"id":778},"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":779},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"778":{"this":{"__isSmartRef__":true,"id":69}},"779":{"timestamp":{"__isSmartRef__":true,"id":780},"user":"undefined","tags":[]},"780":{"isSerializedDate":true,"string":"Wed Mar 28 2012 13:53:26 GMT+0200 (CEST)"},"781":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":782},"eventHandler":{"__isSmartRef__":true,"id":783},"_ClipMode":"visible","derivationIds":[],"id":"B902C71A-8AAD-4B13-8E1F-9FAF92596E6A","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle right"],"owner":{"__isSmartRef__":true,"id":68},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":784},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(931.3,0.0)"},"782":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,601.7)","_Padding":"lively.rect(0,0,0,0)"},"783":{"morph":{"__isSmartRef__":true,"id":781},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"784":{"onDragStart":{"__isSmartRef__":true,"id":785},"onDrag":{"__isSmartRef__":true,"id":792},"onDragEnd":{"__isSmartRef__":true,"id":799}},"785":{"varMapping":{"__isSmartRef__":true,"id":786},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":791},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"786":{"this":{"__isSmartRef__":true,"id":781},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":787}},"787":{"$super":{"__isSmartRef__":true,"id":788}},"788":{"varMapping":{"__isSmartRef__":true,"id":789},"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":790},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"789":{"obj":{"__isSmartRef__":true,"id":781},"name":"onDragStart"},"790":{},"791":{},"792":{"varMapping":{"__isSmartRef__":true,"id":793},"source":"function onDrag(evt) {\n var moveDelta = pt(evt.mousePoint.subPt(this.dragStartPoint).x,0);\n var newExtent = this.originalTargetExtent.addPt(moveDelta);\n if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n\n this.owner.setExtent(newExtent);\n this.align(this.bounds().topRight(), pt(this.owner.getExtent().x,0));\n }","funcProperties":{"__isSmartRef__":true,"id":798},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"793":{"this":{"__isSmartRef__":true,"id":781},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":794}},"794":{"$super":{"__isSmartRef__":true,"id":795}},"795":{"varMapping":{"__isSmartRef__":true,"id":796},"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":797},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"796":{"obj":{"__isSmartRef__":true,"id":781},"name":"onDrag"},"797":{},"798":{},"799":{"varMapping":{"__isSmartRef__":true,"id":800},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n this.owner.alignReframeHandle();\n this.owner.alignBottomReframeHandle();\n }","funcProperties":{"__isSmartRef__":true,"id":805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"800":{"this":{"__isSmartRef__":true,"id":781},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":801}},"801":{"$super":{"__isSmartRef__":true,"id":802}},"802":{"varMapping":{"__isSmartRef__":true,"id":803},"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":804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"803":{"obj":{"__isSmartRef__":true,"id":781},"name":"onDragEnd"},"804":{},"805":{},"806":{"submorphs":[{"__isSmartRef__":true,"id":807},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":826},{"__isSmartRef__":true,"id":838}],"scripts":[],"shape":{"__isSmartRef__":true,"id":851},"eventHandler":{"__isSmartRef__":true,"id":852},"_ClipMode":"visible","derivationIds":[],"id":"4D5BE549-7865-4A44-BF95-DF00B0230319","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":853},"__serializedExpressions__":["_Position"],"windowMorph":{"__isSmartRef__":true,"id":68},"label":{"__isSmartRef__":true,"id":807},"closeButton":{"__isSmartRef__":true,"id":813},"menuButton":{"__isSmartRef__":true,"id":826},"collapseButton":{"__isSmartRef__":true,"id":838},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"807":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":808},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":809}],"eventHandler":{"__isSmartRef__":true,"id":811},"_ClipMode":"hidden","derivationIds":[],"id":"1C68D02D-6EEB-4205-8100-0398479FCB75","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":812},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":806},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(21.0,3.0)"},"808":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(875.3,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"809":{"style":{"__isSmartRef__":true,"id":810},"chunkOwner":{"__isSmartRef__":true,"id":807},"_id":"_59","storedString":"ToolTabPane","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"810":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"811":{"morph":{"__isSmartRef__":true,"id":807},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"812":{"resizeWidth":true},"813":{"submorphs":[{"__isSmartRef__":true,"id":814}],"scripts":[],"shape":{"__isSmartRef__":true,"id":819},"eventHandler":{"__isSmartRef__":true,"id":820},"_ClipMode":"visible","derivationIds":[],"id":"5B6D54AE-C138-479C-93AB-B04EE9514EC9","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":814},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":806},"layout":{"__isSmartRef__":true,"id":821},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":822},{"__isSmartRef__":true,"id":824}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(915.3,3.0)"},"814":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":815},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":816}],"eventHandler":{"__isSmartRef__":true,"id":818},"_ClipMode":"hidden","derivationIds":[],"id":"ED77858A-6652-417E-8C87-7F5CC7739178","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":813},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"815":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"816":{"style":{"__isSmartRef__":true,"id":817},"chunkOwner":{"__isSmartRef__":true,"id":814},"_id":"_54","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"817":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"818":{"morph":{"__isSmartRef__":true,"id":814},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"819":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"820":{"morph":{"__isSmartRef__":true,"id":813},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"821":{"moveHorizontal":true},"822":{"sourceObj":{"__isSmartRef__":true,"id":813},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":823},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"823":{"source":{"__isSmartRef__":true,"id":813},"target":{"__isSmartRef__":true,"id":68}},"824":{"sourceObj":{"__isSmartRef__":true,"id":813},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":825},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"825":{"source":{"__isSmartRef__":true,"id":813},"target":{"__isSmartRef__":true,"id":68}},"826":{"submorphs":[{"__isSmartRef__":true,"id":827}],"scripts":[],"shape":{"__isSmartRef__":true,"id":832},"eventHandler":{"__isSmartRef__":true,"id":833},"_ClipMode":"visible","derivationIds":[],"id":"17B6A28D-05F2-4E79-8289-B5A662FBA8B8","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":827},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":806},"attributeConnections":[{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":836}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"827":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":828},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":829}],"eventHandler":{"__isSmartRef__":true,"id":831},"_ClipMode":"hidden","derivationIds":[],"id":"E86357B8-ABDD-43A4-B0D6-8B6641B840D6","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":826},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"828":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"829":{"style":{"__isSmartRef__":true,"id":830},"chunkOwner":{"__isSmartRef__":true,"id":827},"_id":"_56","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"830":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"831":{"morph":{"__isSmartRef__":true,"id":827},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"832":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"833":{"morph":{"__isSmartRef__":true,"id":826},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"834":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":835},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"835":{"source":{"__isSmartRef__":true,"id":826},"target":{"__isSmartRef__":true,"id":68}},"836":{"sourceObj":{"__isSmartRef__":true,"id":826},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"837":{"source":{"__isSmartRef__":true,"id":826},"target":{"__isSmartRef__":true,"id":68}},"838":{"submorphs":[{"__isSmartRef__":true,"id":839}],"scripts":[],"shape":{"__isSmartRef__":true,"id":844},"eventHandler":{"__isSmartRef__":true,"id":845},"_ClipMode":"visible","derivationIds":[],"id":"80EB93C2-C685-4F9E-B187-24E63A4C51B4","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"__serializedExpressions__":["_Position"],"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":839},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":806},"layout":{"__isSmartRef__":true,"id":846},"attributeConnections":[{"__isSmartRef__":true,"id":847},{"__isSmartRef__":true,"id":849}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(896.3,3.0)"},"839":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":840},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":841}],"eventHandler":{"__isSmartRef__":true,"id":843},"_ClipMode":"hidden","derivationIds":[],"id":"B9B9856B-9349-481D-BDF3-75442F226130","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"_WordBreak":null,"fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"__serializedExpressions__":["_TextColor","_Position"],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":838},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"840":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"841":{"style":{"__isSmartRef__":true,"id":842},"chunkOwner":{"__isSmartRef__":true,"id":839},"_id":"_58","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"842":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"843":{"morph":{"__isSmartRef__":true,"id":839},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"844":{"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"845":{"morph":{"__isSmartRef__":true,"id":838},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"846":{"moveHorizontal":true},"847":{"sourceObj":{"__isSmartRef__":true,"id":838},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":848},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"848":{"source":{"__isSmartRef__":true,"id":838},"target":{"__isSmartRef__":true,"id":68}},"849":{"sourceObj":{"__isSmartRef__":true,"id":838},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":68},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":850},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"850":{"source":{"__isSmartRef__":true,"id":838},"target":{"__isSmartRef__":true,"id":68}},"851":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(935.3,22.0)","_Padding":"lively.rect(0,0,0,0)"},"852":{"morph":{"__isSmartRef__":true,"id":806},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"853":{"resizeWidth":true,"adjustForNewBounds":true},"854":{"submorphs":[],"scripts":[],"id":"11DC5C91-6655-46A9-91E2-C5F34759305F","shape":{"__isSmartRef__":true,"id":855},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"__serializedExpressions__":["_Position","originalExtent"],"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":856},"draggingEnabled":true,"dragStartPoint":null,"originalTargetExtent":null,"eventHandler":{"__isSmartRef__":true,"id":857},"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","C6C92CCD-4786-4C40-AABF-7716D9FCC08A"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":858}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"owner":{"__isSmartRef__":true,"id":68},"cornerName":"bottomRight","_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":859},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(866.3,482.1)","originalExtent":"lively.pt(239.0,138.0)"},"855":{"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"_BorderWidth":0,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(10.0,10.0)","_BorderColor":"Color.rgb(145,145,145)","_Fill":"Color.rgb(66,66,66)","_Padding":"lively.rect(0,0,0,0)"},"856":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"857":{"morph":{"__isSmartRef__":true,"id":854},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"858":{"sourceObj":{"__isSmartRef__":true,"id":854},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":854},"targetMethodName":"alignToOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"859":{"onDrag":{"__isSmartRef__":true,"id":860},"onDragEnd":{"__isSmartRef__":true,"id":868},"onDragStart":{"__isSmartRef__":true,"id":876},"reset":{"__isSmartRef__":true,"id":884},"morphMenuItems":{"__isSmartRef__":true,"id":887},"alignToOwner":{"__isSmartRef__":true,"id":894}},"860":{"varMapping":{"__isSmartRef__":true,"id":861},"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":866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"861":{"this":{"__isSmartRef__":true,"id":854},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":862}},"862":{"$super":{"__isSmartRef__":true,"id":863}},"863":{"varMapping":{"__isSmartRef__":true,"id":864},"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":865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"864":{"obj":{"__isSmartRef__":true,"id":854},"name":"onDrag"},"865":{},"866":{"timestamp":{"__isSmartRef__":true,"id":867},"user":"sstamm","tags":[]},"867":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)"},"868":{"varMapping":{"__isSmartRef__":true,"id":869},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"869":{"this":{"__isSmartRef__":true,"id":854},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":870}},"870":{"$super":{"__isSmartRef__":true,"id":871}},"871":{"varMapping":{"__isSmartRef__":true,"id":872},"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":873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"872":{"obj":{"__isSmartRef__":true,"id":854},"name":"onDragEnd"},"873":{},"874":{"timestamp":{"__isSmartRef__":true,"id":875},"user":"sstamm","tags":[]},"875":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)"},"876":{"varMapping":{"__isSmartRef__":true,"id":877},"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":882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"877":{"this":{"__isSmartRef__":true,"id":854},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":878}},"878":{"$super":{"__isSmartRef__":true,"id":879}},"879":{"varMapping":{"__isSmartRef__":true,"id":880},"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":881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"880":{"obj":{"__isSmartRef__":true,"id":854},"name":"onDragStart"},"881":{},"882":{"timestamp":{"__isSmartRef__":true,"id":883},"user":"sstamm","tags":[]},"883":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)"},"884":{"varMapping":{"__isSmartRef__":true,"id":885},"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":886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"885":{"this":{"__isSmartRef__":true,"id":854}},"886":{},"887":{"varMapping":{"__isSmartRef__":true,"id":888},"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":893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"888":{"this":{"__isSmartRef__":true,"id":854},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":889}},"889":{"$super":{"__isSmartRef__":true,"id":890}},"890":{"varMapping":{"__isSmartRef__":true,"id":891},"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":892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"891":{"obj":{"__isSmartRef__":true,"id":854},"name":"morphMenuItems"},"892":{},"893":{},"894":{"varMapping":{"__isSmartRef__":true,"id":895},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":896},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"895":{"this":{"__isSmartRef__":true,"id":854}},"896":{},"897":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":898},"eventHandler":{"__isSmartRef__":true,"id":899},"_ClipMode":"visible","derivationIds":[],"id":"0F7BB30C-43A7-4BBE-9ED4-E8DE13892BD7","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle bottom"],"owner":{"__isSmartRef__":true,"id":68},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":900},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,611.7)"},"898":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(921.3,4.0)","_Padding":"lively.rect(0,0,0,0)"},"899":{"morph":{"__isSmartRef__":true,"id":897},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"900":{"onDragStart":{"__isSmartRef__":true,"id":901},"onDrag":{"__isSmartRef__":true,"id":908},"onDragEnd":{"__isSmartRef__":true,"id":915}},"901":{"varMapping":{"__isSmartRef__":true,"id":902},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":907},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"902":{"this":{"__isSmartRef__":true,"id":897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":903}},"903":{"$super":{"__isSmartRef__":true,"id":904}},"904":{"varMapping":{"__isSmartRef__":true,"id":905},"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":906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"905":{"obj":{"__isSmartRef__":true,"id":897},"name":"onDragStart"},"906":{},"907":{},"908":{"varMapping":{"__isSmartRef__":true,"id":909},"source":"function onDrag(evt) {\n var moveDelta = pt(0,evt.mousePoint.subPt(this.dragStartPoint).y);\n var newExtent = this.originalTargetExtent.addPt(moveDelta);\n if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n this.owner.setExtent(newExtent);\n\n this.align(this.bounds().bottomLeft(), pt(0,this.owner.getExtent().y));\n }","funcProperties":{"__isSmartRef__":true,"id":914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"909":{"this":{"__isSmartRef__":true,"id":897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":910}},"910":{"$super":{"__isSmartRef__":true,"id":911}},"911":{"varMapping":{"__isSmartRef__":true,"id":912},"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":913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"912":{"obj":{"__isSmartRef__":true,"id":897},"name":"onDrag"},"913":{},"914":{},"915":{"varMapping":{"__isSmartRef__":true,"id":916},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n this.owner.alignReframeHandle();\n this.owner.alignRightReframeHandle();\n }","funcProperties":{"__isSmartRef__":true,"id":921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"916":{"this":{"__isSmartRef__":true,"id":897},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":917}},"917":{"$super":{"__isSmartRef__":true,"id":918}},"918":{"varMapping":{"__isSmartRef__":true,"id":919},"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":920},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"919":{"obj":{"__isSmartRef__":true,"id":897},"name":"onDragEnd"},"920":{},"921":{},"922":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":923},"eventHandler":{"__isSmartRef__":true,"id":924},"_ClipMode":"visible","derivationIds":[],"id":"6D01910E-5D12-4DB8-B361-17EA49E7A410","droppingEnabled":true,"halosEnabled":true,"__serializedExpressions__":["_Position"],"_StyleClassNames":["reframe-handle corner"],"owner":{"__isSmartRef__":true,"id":68},"dragStartPoint":null,"originalTargetExtent":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":925},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(921.3,601.7)"},"923":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"924":{"morph":{"__isSmartRef__":true,"id":922},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"925":{"onDragStart":{"__isSmartRef__":true,"id":926},"onDrag":{"__isSmartRef__":true,"id":933},"onDragEnd":{"__isSmartRef__":true,"id":940}},"926":{"varMapping":{"__isSmartRef__":true,"id":927},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"927":{"this":{"__isSmartRef__":true,"id":922},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":928}},"928":{"$super":{"__isSmartRef__":true,"id":929}},"929":{"varMapping":{"__isSmartRef__":true,"id":930},"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":931},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"930":{"obj":{"__isSmartRef__":true,"id":922},"name":"onDragStart"},"931":{},"932":{},"933":{"varMapping":{"__isSmartRef__":true,"id":934},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n var newExtent = this.originalTargetExtent.addPt(moveDelta);\n if (newExtent.x < this.owner.minWidth) newExtent.x = this.owner.minWidth;\n if (newExtent.y < this.owner.minHeight) newExtent.y = this.owner.minHeight;\n this.owner.setExtent(newExtent);\n //console.log(\"WindowExtent: \"+this.owner.getExtent().x+\" , \"+this.owner.getExtent().y);\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":939},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"934":{"this":{"__isSmartRef__":true,"id":922},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":935}},"935":{"$super":{"__isSmartRef__":true,"id":936}},"936":{"varMapping":{"__isSmartRef__":true,"id":937},"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":938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"937":{"obj":{"__isSmartRef__":true,"id":922},"name":"onDrag"},"938":{},"939":{},"940":{"varMapping":{"__isSmartRef__":true,"id":941},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n this.owner.alignBottomReframeHandle();\n this.owner.alignRightReframeHandle();\n }","funcProperties":{"__isSmartRef__":true,"id":946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"941":{"this":{"__isSmartRef__":true,"id":922},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":942}},"942":{"$super":{"__isSmartRef__":true,"id":943}},"943":{"varMapping":{"__isSmartRef__":true,"id":944},"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":945},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"944":{"obj":{"__isSmartRef__":true,"id":922},"name":"onDragEnd"},"945":{},"946":{},"947":{"__serializedExpressions__":["_Padding","_Extent"],"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(935.3,615.7)"},"948":{"morph":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"949":{"adjustForNewBounds":true},"950":{"submorphs":[{"__isSmartRef__":true,"id":951},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2187}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2235},"id":"83403FEF-B605-4483-B46E-597989D0ED12","eventHandler":{"__isSmartRef__":true,"id":2236},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":2237},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":951},"titleBar":{"__isSmartRef__":true,"id":2187},"collapsedTransform":{"__isSmartRef__":true,"id":2238},"expandedTransform":{"__isSmartRef__":true,"id":2239},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2240},"name":"ObjectEditor","highlighted":true,"cameForward":false,"showsHalos":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"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","FF731ED6-5217-4053-9B85-77F1BF344BF3","496332F8-A328-4625-A7D5-0DCE90C3D2AE","E57F1D4E-AE08-4CAA-A62D-4E69FC0BFF47","94783CDE-55B0-4198-8477-C0756F2C812F","F03206B8-2964-470C-A335-FF321C7743E5","C60ABA94-4D2A-4524-9239-9B7EA074A0B5","D3FBB0FA-2BFF-4D8C-9632-41EEEDB053AE","FDF9A68D-1149-4666-9946-600CCA238B76","118B9F76-0089-47CC-9C18-9F9FF646339B","B0FFB231-7805-4F89-B4B3-4ACD87687613","76631A8F-F752-4DB8-93ED-1496BC458DF0","04D3062E-744B-4E3D-8B25-5602772A307B","89687ECD-A53A-4C95-B6E8-235EBB9198E9","612A25B8-60DC-488D-AD81-1BFA6E48A0D4","08ED6CF8-0A8B-4DC5-AA4D-6499033DFCEC","9771786C-46ED-4C4F-A876-F8CF0B84E769","5DCB36B2-C2B7-49A2-AB12-014B2944C328","D05AAF5D-5660-4158-8BBA-3F564F04AF6F","885F1822-564C-4189-9B13-6D3D8D7CEFCF","8BEEB84F-C547-44B8-9A1E-4586D5236462","5F90A8DF-CB92-4CD6-803F-F082D3A5C1E1","75E80C8F-4DC1-4C89-8CA2-23A70FDEB44F","776DB695-E9C5-410B-9B3D-A492EE5196F1"],"moved":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1.0100552207170073,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition","minSize","minExtent","_Position"],"_StyleClassNames":["highlighted"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2388},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"contentOffset":"lively.pt(0.0,22.0)","collapsedExtent":"lively.pt(723.0,268.0)","expandedExtent":"lively.pt(729.0,365.0)","prevDragPos":"lively.pt(1898.2,4098.7)","expandedPosition":"lively.pt(26.0,125.0)","collapsedPosition":"lively.pt(21.0,92.9)","minSize":"lively.pt(500.0,300.0)","minExtent":"lively.pt(455.0,268.0)","_Position":"lively.pt(191.5,120.2)"},"951":{"submorphs":[{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":1516},{"__isSmartRef__":true,"id":1351},{"__isSmartRef__":true,"id":1522},{"__isSmartRef__":true,"id":1529},{"__isSmartRef__":true,"id":1551},{"__isSmartRef__":true,"id":1572},{"__isSmartRef__":true,"id":1599},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1630},{"__isSmartRef__":true,"id":1721},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1789},{"__isSmartRef__":true,"id":1832},{"__isSmartRef__":true,"id":1875},{"__isSmartRef__":true,"id":1896}],"scripts":[{"__isSmartRef__":true,"id":2043}],"id":"47930E50-8E2C-46DC-AAA3-59E949B393E0","shape":{"__isSmartRef__":true,"id":2044},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":2045},"eventHandler":{"__isSmartRef__":true,"id":2048},"layout":{"__isSmartRef__":true,"id":2049},"target":{"__isSmartRef__":true,"id":1},"scriptPane":{"__isSmartRef__":true,"id":1186},"scriptList":{"__isSmartRef__":true,"id":952},"connectionList":{"__isSmartRef__":true,"id":1351},"morphSelector":{"__isSmartRef__":true,"id":1630},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":1272},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"tagChooser":{"__isSmartRef__":true,"id":1727},"currentTag":null,"derivationIds":[206,"3BDE080D-3D60-4BB9-A690-E6001350F596","00E28CBF-E803-4BC0-93CC-651AC21008A5","1B7E7936-0145-47E4-8433-DFE58134E74B","422B98E3-E52B-4057-9C28-865873682DE1","BCDE8D30-ECC2-4883-9587-2518B6822233","BA6D5198-5AC2-4A63-9597-D4CF98A99CA9","17E22972-5EBC-4511-9779-05E9E665D899","C6F34039-F423-4223-8D6A-85611A138372","7EC3BECE-1BDA-471D-B14C-C4FB822AA55C","88F702A6-6067-4160-8561-54FAD27ADB17","738F5E09-C109-4CD0-B5F5-418A6227ABA0","0DC59884-6397-4391-A9A7-FB6F9F97E5AD","14C76016-3134-4E27-8E8F-AF9EE6ACCF4E","FEB1641E-DEA0-449B-B5E5-D3946457A986","5A09E61D-0939-46DD-B099-6337F45EAD81","42A37CDC-8F21-49BA-A701-B98418EF4AEC","FCE84B47-1667-482B-B035-D2C3C7F53837","F49E6D79-2AEB-41FC-8057-A25A4C7D4F92","7B115C74-E409-42A1-9FCB-2DEB53C88CD6","1D3B45A6-5E60-4FD3-900A-288DB80F5262","5BC7B59B-3F80-49C6-BF71-F3777B7D4867","22651992-9C38-474F-B720-F2FC4B1D9A0E","80BF85C2-6727-4766-861C-09C225341FEA","ADC6838F-0BD6-456E-8BD7-A62A9A80285C","9BBAD88A-5DC6-4051-A7CA-4C3F918DD733","0C73D724-E7A5-4AAE-9449-D414B1F3E04E","B341D9BF-D6FF-4ED9-A0AE-A8BDA4C1C35F","19CCEF38-2A49-48DF-BEFD-D5096BA3A758","CB78359F-A158-4EA7-8E3D-8F2C1B6580E5","AB0C1CCE-1EC7-4625-84BF-C9306D62D81B"],"owner":{"__isSmartRef__":true,"id":950},"partTests":{"__isSmartRef__":true,"id":2050},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2051},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(350.2,-3.2)","_Position":"lively.pt(1.0,21.5)"},"952":{"submorphs":[],"scripts":[],"id":"D9D71976-976D-48DA-AE07-0F51AF27B6BB","shape":{"__isSmartRef__":true,"id":953},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --"],"selectedLineNo":0,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":954},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":951},"prevScroll":[0,16],"attributeConnections":[{"__isSmartRef__":true,"id":955}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":957},"doitContext":{"__isSmartRef__":true,"id":958},"eventHandler":{"__isSmartRef__":true,"id":1507},"_FontSize":10,"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":17,"currentCategory":null,"derivationIds":[207,"D87334B5-DFB8-438D-8038-D2C55A798E3B","4242A24B-D284-4130-BB19-C1AB8C7E96CB","1F2230C1-4745-4EED-8827-5D3FC0EA8D8A","1260A8AA-AD41-451A-A761-BE75A33282E8","11AABB24-1595-4EDC-95DF-8BC66785F47A","CA99FFE7-13DD-4721-8DE2-6A587B0C65D9","E01A3DAA-0001-4C7C-A6A7-449C3945A3E6","8C3C70BF-E1CE-4FB9-8407-24EA990D4E49","D70897C1-82FA-42AD-9D81-A0698E9072CC","69BB0838-2830-4831-A681-185E03308396","434D4493-4DD6-466F-A202-7364A5829C52","93D99F39-CC07-45EB-9459-5230A80A20D2","4756DE7D-3422-46FC-B24B-5565F597D490","7AF59BEC-20A9-4451-AD6E-39E86979D18D","07109F49-B19B-4C20-8632-697478AA1FFB","DD6C1E85-89E4-4619-A9B8-6CF6A5E7AD71","C9C566DA-2167-4866-B606-6D9467CC5763","43A75FC1-E0E6-4B7B-84B5-382D18881361","1EE4A800-07BC-4687-B972-0360A139A335","52766A7B-F1AC-4B5D-AFA9-3CBEC45A4175","500ABFF2-CC61-403C-B40B-C38B13EB829E","CCC6F1D7-B08E-4106-A54C-3CB27FAE885A","DD77BBCF-FA2D-4EEF-80E5-DFD0CFAC257E","FBF51FE1-3F15-48F1-9968-35CE0F17558A","0435127D-922E-4618-BBE2-72674C58772C","7A26603F-1566-41BE-B32D-6B17A7FAF107","236EA689-19AE-4C3D-BA95-EA5786184C70","331932E3-0E70-4FF1-8CD0-11921E2FF30E","B826CD75-9134-4A06-BC7D-791974BC6735","63898451-C4BE-41C7-B09C-31F71CA4B63C"],"selection":"-- ALL --","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1508},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,63.0)","distanceToDragEvent":"lively.pt(126.0,-14.4)"},"953":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(180.0,242.8)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"954":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"955":{"sourceObj":{"__isSmartRef__":true,"id":952},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":956},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"956":{"source":{"__isSmartRef__":true,"id":952},"target":{"__isSmartRef__":true,"id":951}},"957":{"resizeHeight":true},"958":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":959},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":960},"titleBar":{"__isSmartRef__":true,"id":961},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":1026},"highlighted":true,"_Rotation":0,"_Scale":1,"showsHalos":false,"name":"ObjectEditor","target":{"__isSmartRef__":true,"id":1027},"partsBinMetaInfo":{"__isSmartRef__":true,"id":1185},"scriptList":{"__isSmartRef__":true,"id":952},"scriptPane":{"__isSmartRef__":true,"id":1186},"classButton":{"__isSmartRef__":true,"id":1331},"connectionList":{"__isSmartRef__":true,"id":1351},"targetButton":{"__isSmartRef__":true,"id":1363},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"morphSelector":{"__isSmartRef__":true,"id":1381},"eventHandler":{"__isSmartRef__":true,"id":1454},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["contentOffset","expandedExtent","prevDragPos","expandedPosition","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1455},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"contentOffset":"lively.pt(0.0,22.0)","expandedExtent":"lively.pt(861.5,575.2)","prevDragPos":"lively.pt(613.0,129.0)","expandedPosition":"lively.pt(377.7,419.5)","_Position":"lively.pt(715.5,73.9)"},"959":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":9.25,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Fill","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(255,255,255)","_Extent":"lively.pt(981.0,585.2)","_BorderColor":"Color.rgb(0,0,0)"},"960":{"adjustForNewBounds":true},"961":{"submorphs":[{"__isSmartRef__":true,"id":962},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":988},{"__isSmartRef__":true,"id":1003}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":1019},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1024},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":958},"label":{"__isSmartRef__":true,"id":962},"closeButton":{"__isSmartRef__":true,"id":967},"menuButton":{"__isSmartRef__":true,"id":988},"collapseButton":{"__isSmartRef__":true,"id":1003},"owner":null,"name":"ObjectEditorTitleBar","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":1025},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"962":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":963},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":964}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":961},"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":966},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"963":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(922.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"964":{"style":{"__isSmartRef__":true,"id":965},"chunkOwner":{"__isSmartRef__":true,"id":962},"storedString":"","_id":"_1341","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"965":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"966":{"morph":{"__isSmartRef__":true,"id":962},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"967":{"submorphs":[{"__isSmartRef__":true,"id":968}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":973},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":974},"lighterFill":{"__isSmartRef__":true,"id":979},"label":{"__isSmartRef__":true,"id":968},"owner":{"__isSmartRef__":true,"id":961},"layout":{"__isSmartRef__":true,"id":984},"attributeConnections":[{"__isSmartRef__":true,"id":985},{"__isSmartRef__":true,"id":986}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":987},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(961.0,3.0)"},"968":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":969},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":970}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":967},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":972},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"969":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"970":{"style":{"__isSmartRef__":true,"id":971},"chunkOwner":{"__isSmartRef__":true,"id":968},"storedString":"","_id":"_1342","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"971":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"972":{"morph":{"__isSmartRef__":true,"id":968},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"973":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":974},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"974":{"stops":[{"__isSmartRef__":true,"id":975},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":978}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"975":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"976":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"977":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"978":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"979":{"stops":[{"__isSmartRef__":true,"id":980},{"__isSmartRef__":true,"id":981},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":983}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"980":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"981":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"982":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"983":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"984":{"moveHorizontal":true},"985":{"sourceObj":{"__isSmartRef__":true,"id":967},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"986":{"sourceObj":{"__isSmartRef__":true,"id":967},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"987":{"morph":{"__isSmartRef__":true,"id":967},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"988":{"submorphs":[{"__isSmartRef__":true,"id":989}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":994},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":974},"lighterFill":{"__isSmartRef__":true,"id":995},"label":{"__isSmartRef__":true,"id":989},"owner":{"__isSmartRef__":true,"id":961},"attributeConnections":[{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1001}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":1002},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"989":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":990},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":991}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":988},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":993},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"990":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"991":{"style":{"__isSmartRef__":true,"id":992},"chunkOwner":{"__isSmartRef__":true,"id":989},"storedString":"","_id":"_1343","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"992":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"993":{"morph":{"__isSmartRef__":true,"id":989},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"994":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":974},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"995":{"stops":[{"__isSmartRef__":true,"id":996},{"__isSmartRef__":true,"id":997},{"__isSmartRef__":true,"id":998},{"__isSmartRef__":true,"id":999}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"996":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"997":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"998":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"999":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1000":{"sourceObj":{"__isSmartRef__":true,"id":988},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1001":{"sourceObj":{"__isSmartRef__":true,"id":988},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1002":{"morph":{"__isSmartRef__":true,"id":988},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1003":{"submorphs":[{"__isSmartRef__":true,"id":1004}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":1009},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":974},"lighterFill":{"__isSmartRef__":true,"id":1010},"label":{"__isSmartRef__":true,"id":1004},"owner":{"__isSmartRef__":true,"id":961},"layout":{"__isSmartRef__":true,"id":1015},"attributeConnections":[{"__isSmartRef__":true,"id":1016},{"__isSmartRef__":true,"id":1017}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":1018},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(942.0,3.0)"},"1004":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":1005},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":null,"_MaxTextHeight":17,"textChunks":[{"__isSmartRef__":true,"id":1006}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1003},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":1008},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(5,0,0,0)","_Position":"lively.pt(0.0,0.0)"},"1005":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1006":{"style":{"__isSmartRef__":true,"id":1007},"chunkOwner":{"__isSmartRef__":true,"id":1004},"storedString":"","_id":"_1344","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1007":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1008":{"morph":{"__isSmartRef__":true,"id":1004},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1009":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":974},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1010":{"stops":[{"__isSmartRef__":true,"id":1011},{"__isSmartRef__":true,"id":1012},{"__isSmartRef__":true,"id":1013},{"__isSmartRef__":true,"id":1014}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1011":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1012":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1013":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1014":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1015":{"moveHorizontal":true},"1016":{"sourceObj":{"__isSmartRef__":true,"id":1003},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1017":{"sourceObj":{"__isSmartRef__":true,"id":1003},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1018":{"morph":{"__isSmartRef__":true,"id":1003},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1019":{"_BorderWidth":2,"_Fill":{"__isSmartRef__":true,"id":1020},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(981.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"1020":{"stops":[{"__isSmartRef__":true,"id":1021},{"__isSmartRef__":true,"id":1022},{"__isSmartRef__":true,"id":1023}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,1,0,-1)"},"1021":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"1022":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"1023":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"1024":{"resizeWidth":true,"adjustForNewBounds":true},"1025":{"morph":{"__isSmartRef__":true,"id":961},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1026":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1027":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1028},"id":394,"textChunks":[{"__isSmartRef__":true,"id":1029}],"eventHandler":{"__isSmartRef__":true,"id":1031},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_MaxTextWidth":500,"_MaxTextHeight":200,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1032},"layout":{"__isSmartRef__":true,"id":1104},"doitContext":{"__isSmartRef__":true,"id":1105},"priorSelectionRange":[0,36],"charsReplaced":"","lastFindLoc":20,"showsHalos":false,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","_Position":"lively.pt(0.0,22.0)"},"1028":{"_BorderWidth":2,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,200.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"1029":{"style":{"__isSmartRef__":true,"id":1030},"chunkOwner":{"__isSmartRef__":true,"id":1027},"storedString":"","_id":"_1353","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1030":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1031":{"morph":{"__isSmartRef__":true,"id":1027},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1032":{"submorphs":[{"__isSmartRef__":true,"id":1027},{"__isSmartRef__":true,"id":1033}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1101},"id":395,"eventHandler":{"__isSmartRef__":true,"id":1102},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1103},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":1027},"titleBar":{"__isSmartRef__":true,"id":1033},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"_Rotation":0,"_Scale":1,"cameForward":false,"showsHalos":false,"__serializedExpressions__":["_Position","contentOffset","prevDragPos"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1234.0,448.0)","contentOffset":"lively.pt(0.0,22.0)","prevDragPos":"lively.pt(1478.0,453.0)"},"1033":{"submorphs":[{"__isSmartRef__":true,"id":1034},{"__isSmartRef__":true,"id":1040},{"__isSmartRef__":true,"id":1063},{"__isSmartRef__":true,"id":1080}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1098},"id":396,"eventHandler":{"__isSmartRef__":true,"id":1099},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1100},"windowMorph":{"__isSmartRef__":true,"id":1032},"label":{"__isSmartRef__":true,"id":1034},"closeButton":{"__isSmartRef__":true,"id":1040},"menuButton":{"__isSmartRef__":true,"id":1063},"collapseButton":{"__isSmartRef__":true,"id":1080},"owner":{"__isSmartRef__":true,"id":1032},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"1034":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1035},"id":397,"textChunks":[{"__isSmartRef__":true,"id":1036}],"eventHandler":{"__isSmartRef__":true,"id":1038},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1039},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1033},"_MaxTextWidth":441,"_MaxTextHeight":17,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"1035":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(441.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1036":{"style":{"__isSmartRef__":true,"id":1037},"chunkOwner":{"__isSmartRef__":true,"id":1034},"storedString":"","_id":"_1345","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1037":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1038":{"morph":{"__isSmartRef__":true,"id":1034},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1039":{"resizeWidth":true},"1040":{"submorphs":[{"__isSmartRef__":true,"id":1041}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1046},"id":398,"eventHandler":{"__isSmartRef__":true,"id":1052},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1053},"label":{"__isSmartRef__":true,"id":1041},"owner":{"__isSmartRef__":true,"id":1033},"layout":{"__isSmartRef__":true,"id":1058},"attributeConnections":[{"__isSmartRef__":true,"id":1059},{"__isSmartRef__":true,"id":1061}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"1041":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1042},"id":399,"textChunks":[{"__isSmartRef__":true,"id":1043}],"eventHandler":{"__isSmartRef__":true,"id":1045},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1040},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1042":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1043":{"style":{"__isSmartRef__":true,"id":1044},"chunkOwner":{"__isSmartRef__":true,"id":1041},"storedString":"","_id":"_1346","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1044":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1045":{"morph":{"__isSmartRef__":true,"id":1041},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1046":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1047":{"stops":[{"__isSmartRef__":true,"id":1048},{"__isSmartRef__":true,"id":1049},{"__isSmartRef__":true,"id":1050},{"__isSmartRef__":true,"id":1051}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1048":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1049":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1050":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1051":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1052":{"morph":{"__isSmartRef__":true,"id":1040},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1053":{"stops":[{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1055},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1057}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1054":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1055":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1056":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1057":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1058":{"moveHorizontal":true},"1059":{"sourceObj":{"__isSmartRef__":true,"id":1040},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1060},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1060":{"source":{"__isSmartRef__":true,"id":1040},"target":{"__isSmartRef__":true,"id":1032}},"1061":{"sourceObj":{"__isSmartRef__":true,"id":1040},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1062},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1062":{"source":{"__isSmartRef__":true,"id":1040},"target":{"__isSmartRef__":true,"id":1032}},"1063":{"submorphs":[{"__isSmartRef__":true,"id":1064}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1069},"id":400,"eventHandler":{"__isSmartRef__":true,"id":1070},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1071},"label":{"__isSmartRef__":true,"id":1064},"owner":{"__isSmartRef__":true,"id":1033},"attributeConnections":[{"__isSmartRef__":true,"id":1076},{"__isSmartRef__":true,"id":1078}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"1064":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1065},"id":401,"textChunks":[{"__isSmartRef__":true,"id":1066}],"eventHandler":{"__isSmartRef__":true,"id":1068},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1063},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1065":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1066":{"style":{"__isSmartRef__":true,"id":1067},"chunkOwner":{"__isSmartRef__":true,"id":1064},"storedString":"","_id":"_1347","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1067":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1068":{"morph":{"__isSmartRef__":true,"id":1064},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1069":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1070":{"morph":{"__isSmartRef__":true,"id":1063},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1071":{"stops":[{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1075}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1072":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1073":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1074":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1075":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1076":{"sourceObj":{"__isSmartRef__":true,"id":1063},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1077},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1077":{"source":{"__isSmartRef__":true,"id":1063},"target":{"__isSmartRef__":true,"id":1032}},"1078":{"sourceObj":{"__isSmartRef__":true,"id":1063},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1079":{"source":{"__isSmartRef__":true,"id":1063},"target":{"__isSmartRef__":true,"id":1032}},"1080":{"submorphs":[{"__isSmartRef__":true,"id":1081}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1086},"id":402,"eventHandler":{"__isSmartRef__":true,"id":1087},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1088},"label":{"__isSmartRef__":true,"id":1081},"owner":{"__isSmartRef__":true,"id":1033},"layout":{"__isSmartRef__":true,"id":1093},"attributeConnections":[{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1096}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"1081":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1082},"id":403,"textChunks":[{"__isSmartRef__":true,"id":1083}],"eventHandler":{"__isSmartRef__":true,"id":1085},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1080},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1082":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1083":{"style":{"__isSmartRef__":true,"id":1084},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"","_id":"_1348","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1084":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1085":{"morph":{"__isSmartRef__":true,"id":1081},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1086":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1087":{"morph":{"__isSmartRef__":true,"id":1080},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1088":{"stops":[{"__isSmartRef__":true,"id":1089},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1091},{"__isSmartRef__":true,"id":1092}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1089":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1090":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1091":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1092":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1093":{"moveHorizontal":true},"1094":{"sourceObj":{"__isSmartRef__":true,"id":1080},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1095},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1095":{"source":{"__isSmartRef__":true,"id":1080},"target":{"__isSmartRef__":true,"id":1032}},"1096":{"sourceObj":{"__isSmartRef__":true,"id":1080},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1032},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1097},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1097":{"source":{"__isSmartRef__":true,"id":1080},"target":{"__isSmartRef__":true,"id":1032}},"1098":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":1020},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"1099":{"morph":{"__isSmartRef__":true,"id":1033},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1100":{"resizeWidth":true,"adjustForNewBounds":true},"1101":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(500.0,222.0)"},"1102":{"morph":{"__isSmartRef__":true,"id":1032},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1103":{"adjustForNewBounds":true},"1104":{"resizeWidth":true,"resizeHeight":true},"1105":{"submorphs":[{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1113}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1180},"id":361,"eventHandler":{"__isSmartRef__":true,"id":1181},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1182},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":1106},"titleBar":{"__isSmartRef__":true,"id":1113},"collapsedTransform":{"__isSmartRef__":true,"id":1183},"expandedTransform":{"__isSmartRef__":true,"id":1184},"ignoreEventsOnExpand":false,"owner":null,"showsHalos":false,"highlighted":true,"_Rotation":0,"_Scale":1,"state":"shutdown","__serializedExpressions__":["_Position","contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition"],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1131.0,79.0)","contentOffset":"lively.pt(0.0,22.0)","collapsedExtent":"lively.pt(500.0,22.0)","expandedExtent":"lively.pt(500.0,222.0)","prevDragPos":"lively.pt(1507.0,76.0)","expandedPosition":"lively.pt(1131.0,79.0)","collapsedPosition":"lively.pt(1131.0,79.0)"},"1106":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1107},"id":360,"textChunks":[{"__isSmartRef__":true,"id":1108}],"eventHandler":{"__isSmartRef__":true,"id":1110},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_MaxTextWidth":500,"_MaxTextHeight":0,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1105},"layout":{"__isSmartRef__":true,"id":1111},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1112}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":1307282796737,"accessibleInInactiveWindow":true,"eventsAreIgnored":false,"_HandStyle":"default","_PointerEvents":"auto","_Visible":true,"charsReplaced":"","lastFindLoc":15,"__serializedExpressions__":["_Padding","_Position"],"textString":"undefined","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","_Position":"lively.pt(0.0,22.0)"},"1107":{"_BorderWidth":2,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)"},"1108":{"style":{"__isSmartRef__":true,"id":1109},"chunkOwner":{"__isSmartRef__":true,"id":1106},"_id":"_1","storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1109":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1110":{"morph":{"__isSmartRef__":true,"id":1106},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1111":{"resizeWidth":true,"resizeHeight":true},"1112":{"sourceObj":{"__isSmartRef__":true,"id":1106},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1106},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1113":{"submorphs":[{"__isSmartRef__":true,"id":1114},{"__isSmartRef__":true,"id":1120},{"__isSmartRef__":true,"id":1138},{"__isSmartRef__":true,"id":1155}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1173},"id":362,"eventHandler":{"__isSmartRef__":true,"id":1178},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1179},"windowMorph":{"__isSmartRef__":true,"id":1105},"label":{"__isSmartRef__":true,"id":1114},"closeButton":{"__isSmartRef__":true,"id":1120},"menuButton":{"__isSmartRef__":true,"id":1138},"collapseButton":{"__isSmartRef__":true,"id":1155},"owner":{"__isSmartRef__":true,"id":1105},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"1114":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1115},"id":363,"textChunks":[{"__isSmartRef__":true,"id":1116}],"eventHandler":{"__isSmartRef__":true,"id":1118},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1119},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":1113},"_MaxTextWidth":441,"_MaxTextHeight":17,"__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(20.0,3.0)"},"1115":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(441.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1116":{"style":{"__isSmartRef__":true,"id":1117},"chunkOwner":{"__isSmartRef__":true,"id":1114},"storedString":"","_id":"_1349","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1117":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1118":{"morph":{"__isSmartRef__":true,"id":1114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1119":{"resizeWidth":true},"1120":{"submorphs":[{"__isSmartRef__":true,"id":1121}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1126},"id":364,"eventHandler":{"__isSmartRef__":true,"id":1127},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1128},"label":{"__isSmartRef__":true,"id":1121},"owner":{"__isSmartRef__":true,"id":1113},"layout":{"__isSmartRef__":true,"id":1133},"attributeConnections":[{"__isSmartRef__":true,"id":1134},{"__isSmartRef__":true,"id":1136}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"1121":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1122},"id":365,"textChunks":[{"__isSmartRef__":true,"id":1123}],"eventHandler":{"__isSmartRef__":true,"id":1125},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1120},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1122":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1123":{"style":{"__isSmartRef__":true,"id":1124},"chunkOwner":{"__isSmartRef__":true,"id":1121},"storedString":"","_id":"_1350","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1124":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1125":{"morph":{"__isSmartRef__":true,"id":1121},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1126":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1127":{"morph":{"__isSmartRef__":true,"id":1120},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1128":{"stops":[{"__isSmartRef__":true,"id":1129},{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1132}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1129":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1130":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1131":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1132":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1133":{"moveHorizontal":true},"1134":{"sourceObj":{"__isSmartRef__":true,"id":1120},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1135},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1135":{"source":{"__isSmartRef__":true,"id":1120},"target":{"__isSmartRef__":true,"id":1105}},"1136":{"sourceObj":{"__isSmartRef__":true,"id":1120},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1137},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1137":{"source":{"__isSmartRef__":true,"id":1120},"target":{"__isSmartRef__":true,"id":1105}},"1138":{"submorphs":[{"__isSmartRef__":true,"id":1139}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1144},"id":366,"eventHandler":{"__isSmartRef__":true,"id":1145},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1146},"label":{"__isSmartRef__":true,"id":1139},"owner":{"__isSmartRef__":true,"id":1113},"attributeConnections":[{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1153}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"1139":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1140},"id":367,"textChunks":[{"__isSmartRef__":true,"id":1141}],"eventHandler":{"__isSmartRef__":true,"id":1143},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1138},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1140":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1141":{"style":{"__isSmartRef__":true,"id":1142},"chunkOwner":{"__isSmartRef__":true,"id":1139},"storedString":"","_id":"_1351","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1142":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1143":{"morph":{"__isSmartRef__":true,"id":1139},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1144":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1145":{"morph":{"__isSmartRef__":true,"id":1138},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1146":{"stops":[{"__isSmartRef__":true,"id":1147},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1149},{"__isSmartRef__":true,"id":1150}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1147":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1148":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1149":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1150":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1151":{"sourceObj":{"__isSmartRef__":true,"id":1138},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1152},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1152":{"source":{"__isSmartRef__":true,"id":1138},"target":{"__isSmartRef__":true,"id":1105}},"1153":{"sourceObj":{"__isSmartRef__":true,"id":1138},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1154},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1154":{"source":{"__isSmartRef__":true,"id":1138},"target":{"__isSmartRef__":true,"id":1105}},"1155":{"submorphs":[{"__isSmartRef__":true,"id":1156}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1161},"id":368,"eventHandler":{"__isSmartRef__":true,"id":1162},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1047},"lighterFill":{"__isSmartRef__":true,"id":1163},"label":{"__isSmartRef__":true,"id":1156},"owner":{"__isSmartRef__":true,"id":1113},"layout":{"__isSmartRef__":true,"id":1168},"attributeConnections":[{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1171}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"1156":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1157},"id":369,"textChunks":[{"__isSmartRef__":true,"id":1158}],"eventHandler":{"__isSmartRef__":true,"id":1160},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_MaxTextWidth":17,"_MaxTextHeight":17,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1155},"isLabel":true,"_HandStyle":"default","_FontSize":8,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__serializedExpressions__":["_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(0,3,0,0)","_Position":"lively.pt(0.0,0.0)"},"1157":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(0,0,0)"},"1158":{"style":{"__isSmartRef__":true,"id":1159},"chunkOwner":{"__isSmartRef__":true,"id":1156},"storedString":"","_id":"_1352","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1159":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1160":{"morph":{"__isSmartRef__":true,"id":1156},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1161":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":1047},"_StrokeOpacity":0,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(17.0,17.0)","_BorderColor":"Color.rgb(189,190,192)"},"1162":{"morph":{"__isSmartRef__":true,"id":1155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1163":{"stops":[{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1165},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1167}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1164":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1165":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1166":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1167":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1168":{"moveHorizontal":true},"1169":{"sourceObj":{"__isSmartRef__":true,"id":1155},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1170},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1170":{"source":{"__isSmartRef__":true,"id":1155},"target":{"__isSmartRef__":true,"id":1105}},"1171":{"sourceObj":{"__isSmartRef__":true,"id":1155},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1105},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1172},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1172":{"source":{"__isSmartRef__":true,"id":1155},"target":{"__isSmartRef__":true,"id":1105}},"1173":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":1174},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(500.0,22.0)","_BorderColor":"Color.rgb(102,102,102)"},"1174":{"stops":[{"__isSmartRef__":true,"id":1175},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1177}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1175":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"1176":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(243,243,243)"},"1177":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"1178":{"morph":{"__isSmartRef__":true,"id":1113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1179":{"resizeWidth":true,"adjustForNewBounds":true},"1180":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Extent","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(500.0,222.0)","_Position":"lively.pt(0.0,0.0)"},"1181":{"morph":{"__isSmartRef__":true,"id":1105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1182":{"adjustForNewBounds":true},"1183":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1184":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1185":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Tools","comment":"Edit scripts and connections of a specific morph. Early version.","partName":"ObjectEditor","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1186":{"submorphs":[],"scripts":[],"id":"B399BBF9-39CE-431A-909F-3FE9123CE5C9","shape":{"__isSmartRef__":true,"id":1187},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":588.0166612695056,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1196},{"__isSmartRef__":true,"id":1198},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1204},{"__isSmartRef__":true,"id":1206},{"__isSmartRef__":true,"id":1208},{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1214},{"__isSmartRef__":true,"id":1216},{"__isSmartRef__":true,"id":1218},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1222},{"__isSmartRef__":true,"id":1224},{"__isSmartRef__":true,"id":1226},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1232},{"__isSmartRef__":true,"id":1234},{"__isSmartRef__":true,"id":1236},{"__isSmartRef__":true,"id":1238},{"__isSmartRef__":true,"id":1240},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1244},{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1266}],"layout":{"__isSmartRef__":true,"id":1268},"showsHalos":false,"prevScroll":[0,0],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":259,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1269},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1,"doitContext":{"__isSmartRef__":true,"id":1},"savedTextString":"// changed at Thu Nov 22 2012 14:37:14 GMT+0100 (CET) by jenslincke \nthis.addScript(function updateRecursive(url, nextFunc) {\n this.log(\"recursive update \" + url.relativePathFrom(URL.root)\n)\n this.updateSearchIndex(url, 1, function() {\n url.asWebResource().getSubElements(1).subCollections\n .doAndContinue(function(next, ea) {\n this.updateRecursive(ea, 1, next)\n }.bind(this), nextFunc)\n }.bind(this))\n\n}).tag([]);","_Align":"left","lastSearchString":"migrate","eventHandler":{"__isSmartRef__":true,"id":1270},"attributeConnections":[{"__isSmartRef__":true,"id":1271},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1287}],"doNotSerialize":["$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$textString"],"_MinTextWidth":588.0166612695056,"_MinTextHeight":null,"lastSaveSource":"","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":951},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":1289},"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","0D66FA39-01E7-4F16-840C-4FA0FA14DD10","B0A74693-DE3F-4867-8DC0-61B098A8F0D1","3547765B-E224-48EC-B58F-278C1DC7422E","8561ACCF-315A-46EC-9412-BC5D4C55D437","533D6602-9E1A-414A-9646-0FEF9ECCEBF7","5141CF81-6EA1-419B-97AC-62C22FEFC658","B9E83FD9-9781-4F00-8A07-0C96E0D29D3D","034F48B5-B4B1-4DF5-9FA5-9A9CFB99F43A","70FBC800-1914-4F9C-A8E4-2190F72E2902","64465644-E389-4AA2-BE05-93FB591B45D0","E80928FE-6AC8-4FE0-B0A2-7C7A0C7D5E85","E24E50AD-DCA6-4D01-A523-CC1E4FB09222","27E050B0-3192-426E-B01D-907ECF280A68","A241F064-0186-4F84-A037-84CBD9E0D24D","829776FC-15F2-466D-B5F4-88CC9444B1B8","22E56E25-3268-413C-B033-1DB2D96AFA9B","FD5B6693-EB83-4E16-BEA6-D5E23C7E3D48","0A2AD01B-8B4E-4779-9FDF-A504DBC86B5D","EBDFA302-80A1-48E9-B1B3-6143F685CCFF","AB62E3F9-D889-47F9-922A-C440E6382005","6675A7FB-925B-4D65-9CBE-77F2760A6040","122CA78C-89E9-45CE-ADE1-33219233E35A","0A19446A-7C58-465E-9B96-6D7E1CFCDEC5"],"owner":{"__isSmartRef__":true,"id":951},"syntaxHighlightingWhileTyping":true,"#startLetters":"enable","_Rotation":0,"_Scale":1,"_syntaxHighlightTimeout":null,"lastSyntaxHighlightTimes":[1,5,7,3,4,5,5,11,10,10],"_lastSyntaxHighlightTime":41,"_WordBreak":"break-all","__serializedExpressions__":["_Padding","distanceToDragEvent","_Position"],"textString":"e = new EditConstraint(this.constraints.position, Strength.PREFERRED)\n\no = new projects.SWD12.deltablue.OrderedCollection()\no.add(e)\n\np = planner.extractPlanFromConstraints(o)\n\n\ninspect(p)\n\ns = new StayConstraint(this.constraints.position, Strength.NORMAL);\n\n\n","priorSelectionRange":[123,123],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1294},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Padding":"lively.rect(2,1,0,0)","distanceToDragEvent":"lively.pt(341.2,-18.3)","_Position":"lively.pt(200.0,40.0)"},"1187":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(590.0,380.8)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"1188":{"style":{"__isSmartRef__":true,"id":1189},"chunkOwner":{"__isSmartRef__":true,"id":1186},"_id":"_4","storedString":"e","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1189":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1190":{"_id":"_1103","style":{"__isSmartRef__":true,"id":1191},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1191":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1192":{"_id":"_9","style":{"__isSmartRef__":true,"id":1193},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1193":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1194":{"_id":"_10","style":{"__isSmartRef__":true,"id":1195},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1195":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1196":{"_id":"_1081","style":{"__isSmartRef__":true,"id":1197},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"EditConstraint","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1197":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1198":{"_id":"_1082","style":{"__isSmartRef__":true,"id":1199},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1199":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1200":{"_id":"_11","style":{"__isSmartRef__":true,"id":1201},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1201":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1202":{"_id":"_12","style":{"__isSmartRef__":true,"id":1203},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".constraints.position, ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1203":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1204":{"_id":"_1083","style":{"__isSmartRef__":true,"id":1205},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"Strength","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1205":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1206":{"_id":"_1084","style":{"__isSmartRef__":true,"id":1207},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".PREFERRED)\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1207":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1208":{"_id":"_1104","style":{"__isSmartRef__":true,"id":1209},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"o","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1209":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1210":{"_id":"_1105","style":{"__isSmartRef__":true,"id":1211},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1211":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1212":{"_id":"_13","style":{"__isSmartRef__":true,"id":1213},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1213":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1214":{"_id":"_14","style":{"__isSmartRef__":true,"id":1215},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1215":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1216":{"_id":"_1085","style":{"__isSmartRef__":true,"id":1217},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"projects","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1217":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1218":{"_id":"_1086","style":{"__isSmartRef__":true,"id":1219},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".SWD12.deltablue.OrderedCollection()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1219":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1220":{"_id":"_1087","style":{"__isSmartRef__":true,"id":1221},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"o","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1221":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1222":{"_id":"_1088","style":{"__isSmartRef__":true,"id":1223},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".add(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1223":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1224":{"_id":"_1089","style":{"__isSmartRef__":true,"id":1225},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"e","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1225":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1226":{"_id":"_1090","style":{"__isSmartRef__":true,"id":1227},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":")\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1227":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1228":{"_id":"_1106","style":{"__isSmartRef__":true,"id":1229},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"p","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1229":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1230":{"_id":"_1107","style":{"__isSmartRef__":true,"id":1231},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1231":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1232":{"_id":"_1091","style":{"__isSmartRef__":true,"id":1233},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"planner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1233":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1234":{"_id":"_1092","style":{"__isSmartRef__":true,"id":1235},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".extractPlanFromConstraints(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1235":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1236":{"_id":"_1093","style":{"__isSmartRef__":true,"id":1237},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"o","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1237":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1238":{"_id":"_1094","style":{"__isSmartRef__":true,"id":1239},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":")\n\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1239":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1240":{"_id":"_1095","style":{"__isSmartRef__":true,"id":1241},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"inspect","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1241":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1242":{"_id":"_1096","style":{"__isSmartRef__":true,"id":1243},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1243":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1244":{"_id":"_1097","style":{"__isSmartRef__":true,"id":1245},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"p","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1245":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1246":{"_id":"_1098","style":{"__isSmartRef__":true,"id":1247},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":")\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1247":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1248":{"_id":"_1108","style":{"__isSmartRef__":true,"id":1249},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"s","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1249":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1250":{"_id":"_1109","style":{"__isSmartRef__":true,"id":1251},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1251":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1252":{"_id":"_498","style":{"__isSmartRef__":true,"id":1253},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1253":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1254":{"_id":"_499","style":{"__isSmartRef__":true,"id":1255},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1255":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1256":{"_id":"_1099","style":{"__isSmartRef__":true,"id":1257},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"StayConstraint","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1257":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1258":{"_id":"_1100","style":{"__isSmartRef__":true,"id":1259},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1259":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1260":{"_id":"_502","style":{"__isSmartRef__":true,"id":1261},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1261":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1262":{"_id":"_503","style":{"__isSmartRef__":true,"id":1263},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".constraints.position, ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1263":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1264":{"_id":"_1101","style":{"__isSmartRef__":true,"id":1265},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":"Strength","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1265":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1266":{"_id":"_1102","style":{"__isSmartRef__":true,"id":1267},"chunkOwner":{"__isSmartRef__":true,"id":1186},"storedString":".NORMAL);\n\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1267":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1268":{"resizeWidth":true,"resizeHeight":true},"1269":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1270":{"morph":{"__isSmartRef__":true,"id":1186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1271":{"sourceObj":{"__isSmartRef__":true,"id":1186},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1272},"targetMethodName":"indicateUnsavedChanges","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1272":{"submorphs":[],"scripts":[],"id":"4DCB2A53-C686-4F4D-B334-671A765348AC","shape":{"__isSmartRef__":true,"id":1273},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":1274},"eventHandler":{"__isSmartRef__":true,"id":1275},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":951},"layout":{"__isSmartRef__":true,"id":1276},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"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","AF2BEE76-C34F-457E-8699-9896327A4C07","5EC39FF0-602F-44A2-BE3A-04FCA127E5D1","44CEBF61-9A92-4E36-9576-425D5054B471","E9ACF86B-B775-4125-83BC-7E4500597D40","FE62294A-F891-45E4-AAE7-6F386B5A8CB5","8771140D-0D57-4CAF-A57B-857F858CCC73","BE774795-5889-4DB8-A366-1C774555761B","89DA16ED-5636-4C0D-B52F-A327A5526DD6","94DAC0EC-79E9-48E5-90D5-2BB59495BD0B","048AE915-30CF-4DE4-819B-F7D41CE99585","0417EEDD-6B12-4AF1-B7BC-875E32521980","5DFAFB2A-C915-429E-A58C-030C229C9AB8","BD996DFA-D248-4D9C-AF33-C5BA2511A09E","9F92F095-A6B5-46E8-ADA1-051904ABE386","214CA9C7-6225-49ED-A484-C2D8D92B35ED","7258922C-C991-4EF3-A09B-318D8B6A1306","1F8069E8-E7D5-4153-AE2C-96F1782F041F","74FBBDBC-44BA-4111-B3DB-58142522023F","91D6D585-64D8-491A-AAAB-AF0A99533DEC","1761630D-17E9-4E04-A73C-9D15C26E19E3","B8E628C4-20D6-4B26-B820-A8D07194CE6F","6511B508-3FE2-4BDC-906A-D4E827163B0D","9016491A-C768-4B45-9321-45C78BCEE4A6"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","savedColor","alarmColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1277},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(782.0,40.0)","savedColor":"Color.rgb(0,0,0)","alarmColor":"Color.rgb(240,0,0)","distanceToDragEvent":"lively.pt(37.3,-17.5)"},"1273":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(8.6,9.7)","_BorderColor":"Color.rgb(240,0,0)","_Fill":"Color.rgb(240,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1274":{"partsSpaceName":"PartsBin/Basic","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","__SourceModuleName__":"Global.lively.PartsBin"},"1275":{"morph":{"__isSmartRef__":true,"id":1272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1276":{"moveHorizontal":true,"adjustForNewBounds":true},"1277":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":1278},"setColors":{"__isSmartRef__":true,"id":1282}},"1278":{"varMapping":{"__isSmartRef__":true,"id":1279},"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":1280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1279":{"this":{"__isSmartRef__":true,"id":1272}},"1280":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1281}},"1281":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"1282":{"varMapping":{"__isSmartRef__":true,"id":1283},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":1284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1283":{"this":{"__isSmartRef__":true,"id":1272}},"1284":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":1285}},"1285":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"1286":{"sourceObj":{"__isSmartRef__":true,"id":1186},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1186},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1287":{"sourceObj":{"__isSmartRef__":true,"id":1186},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1186},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1288},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1288":{"source":{"__isSmartRef__":true,"id":1186},"target":{"__isSmartRef__":true,"id":1186}},"1289":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1290},"id":553,"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1291}],"eventHandler":{"__isSmartRef__":true,"id":1293},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","owner":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(275.5,224.3)","_TextColor":"Color.rgb(0,204,0)"},"1290":{"_ClipMode":"visible","_BorderWidth":1,"_StrokeOpacity":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(100.0,25.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(204,204,204)","_Fill":"Color.rgb(255,255,255)"},"1291":{"style":{"__isSmartRef__":true,"id":1292},"chunkOwner":{"__isSmartRef__":true,"id":1289},"_id":"_1099","storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1292":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1293":{"morph":{"__isSmartRef__":true,"id":1289},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1294":{"doSave":{"__isSmartRef__":true,"id":1295},"boundEval":{"__isSmartRef__":true,"id":1303},"reset":{"__isSmartRef__":true,"id":1311},"display":{"__isSmartRef__":true,"id":1315},"hasChanged":{"__isSmartRef__":true,"id":1319},"displayStatus":{"__isSmartRef__":true,"id":1323},"updateTarget":{"__isSmartRef__":true,"id":1327}},"1295":{"varMapping":{"__isSmartRef__":true,"id":1296},"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":1301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1296":{"this":{"__isSmartRef__":true,"id":1186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1297}},"1297":{"$super":{"__isSmartRef__":true,"id":1298}},"1298":{"varMapping":{"__isSmartRef__":true,"id":1299},"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":1300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1299":{"obj":{"__isSmartRef__":true,"id":1186},"name":"doSave"},"1300":{},"1301":{"timestamp":{"__isSmartRef__":true,"id":1302},"user":"lauritz"},"1302":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"1303":{"varMapping":{"__isSmartRef__":true,"id":1304},"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":1309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1304":{"this":{"__isSmartRef__":true,"id":1186},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1305}},"1305":{"$super":{"__isSmartRef__":true,"id":1306}},"1306":{"varMapping":{"__isSmartRef__":true,"id":1307},"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":1308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1307":{"obj":{"__isSmartRef__":true,"id":1186},"name":"boundEval"},"1308":{},"1309":{"timestamp":{"__isSmartRef__":true,"id":1310},"user":"lauritz","categories":[]},"1310":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"1311":{"varMapping":{"__isSmartRef__":true,"id":1312},"source":"function reset() {\n this.doitContext = null;\n this.lastSaveSource = \"\";\n this.textString = \"\";\n this.lastSaveSource = this.textString;\n this.enableSyntaxHighlighting();\n}","funcProperties":{"__isSmartRef__":true,"id":1313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1312":{"this":{"__isSmartRef__":true,"id":1186}},"1313":{"timestamp":{"__isSmartRef__":true,"id":1314},"user":"cschuster","tags":[]},"1314":{"isSerializedDate":true,"string":"Wed May 16 2012 20:52:57 GMT+0200 (CEST)"},"1315":{"varMapping":{"__isSmartRef__":true,"id":1316},"source":"function display(jsCode) {\n this.lastSaveSource = jsCode;\n this.setTextString(jsCode);\n this.enableSyntaxHighlighting();\n this.highlightJavaScriptSyntax();\n this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":1317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1316":{"this":{"__isSmartRef__":true,"id":1186}},"1317":{"timestamp":{"__isSmartRef__":true,"id":1318},"user":"lauritz","tags":[]},"1318":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:02:26 GMT+0200 (CEST)"},"1319":{"varMapping":{"__isSmartRef__":true,"id":1320},"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":1321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1320":{"this":{"__isSmartRef__":true,"id":1186}},"1321":{"timestamp":{"__isSmartRef__":true,"id":1322},"user":"lauritz","categories":[]},"1322":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"1323":{"varMapping":{"__isSmartRef__":true,"id":1324},"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":1325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1324":{"this":{"__isSmartRef__":true,"id":1186}},"1325":{"timestamp":{"__isSmartRef__":true,"id":1326},"user":"lauritz","categories":[]},"1326":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"1327":{"varMapping":{"__isSmartRef__":true,"id":1328},"source":"function updateTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":1329},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1328":{"this":{"__isSmartRef__":true,"id":1186}},"1329":{"timestamp":{"__isSmartRef__":true,"id":1330},"user":"lauritz","tags":[]},"1330":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:07:42 GMT+0200 (CEST)"},"1331":{"submorphs":[{"__isSmartRef__":true,"id":1332}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":1337},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1338},"lighterFill":{"__isSmartRef__":true,"id":1343},"label":{"__isSmartRef__":true,"id":1332},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1348},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":1349},"eventHandler":{"__isSmartRef__":true,"id":1350},"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(820.0,9.0)","padding":"lively.rect(5,0,0,0)"},"1332":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":1333},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":1331},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":1334}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":1336},"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1333":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,18.0)","_BorderColor":"Color.rgb(0,0,0)"},"1334":{"style":{"__isSmartRef__":true,"id":1335},"chunkOwner":{"__isSmartRef__":true,"id":1332},"storedString":"","_id":"_1355","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1335":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1336":{"morph":{"__isSmartRef__":true,"id":1332},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1337":{"_Fill":{"__isSmartRef__":true,"id":1338},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"1338":{"stops":[{"__isSmartRef__":true,"id":1339},{"__isSmartRef__":true,"id":1340},{"__isSmartRef__":true,"id":1341},{"__isSmartRef__":true,"id":1342}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1339":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1340":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1341":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1342":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1343":{"stops":[{"__isSmartRef__":true,"id":1344},{"__isSmartRef__":true,"id":1345},{"__isSmartRef__":true,"id":1346},{"__isSmartRef__":true,"id":1347}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1344":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1345":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1346":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1347":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1348":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1349":{"moveHorizontal":true},"1350":{"morph":{"__isSmartRef__":true,"id":1331},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1351":{"submorphs":[],"scripts":[],"id":"13F277FF-A515-44BE-9587-08A309484242","shape":{"__isSmartRef__":true,"id":1352},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":1353},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":951},"attributeConnections":[{"__isSmartRef__":true,"id":1354}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":1356},"eventHandler":{"__isSmartRef__":true,"id":1357},"_FontSize":10,"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","D2B607C6-A89B-4B3F-91BB-720451EAB98D","CC361093-FF73-479B-9431-C645CB48F518","307D3B7C-C0E1-484F-8D7E-39FBA9D8EDA5","038AF132-861E-4A77-8756-E6B476413639","65B6CA87-98DE-4473-B4DD-F8763BC3B06A","0AA0E45B-6DCC-4AE0-938C-E53794A511DF","806ACC1C-1353-436B-B1FE-568846777C17","C74AE022-1184-4FDF-A53D-A17627FF61EA","686AF565-EEB0-4AB7-A12E-26727DAD9291","1102A5B3-9973-4471-9EDD-FD7AB802DEA6","BEB06225-53D0-4ACC-9154-DC2DEB5728B7","E32FE34B-7520-4612-B927-C8F9EDFC69BB","D21F598A-4E44-4752-B205-9595DF0E9AE3","FD6670F8-44F6-436A-960F-8BE8890F8B75","C5522110-E6CA-4F96-B33E-BEBF6978088A","BC9AC080-8315-49F1-B6CB-42F3B802F7D9","242A0967-D906-4396-9326-3CC0C9C3EA60","39C09174-63A5-421F-AB88-7A98755661E5","40C2C766-248F-451F-9D85-D1E4DCCB559D","C89F1632-FADA-4B3E-B2D9-1C1020ACB29A","F78E083D-993E-4963-8A7F-CB7182DE3931","CA8FBD0F-D14E-42E6-A6D4-803B9EE12264","06822A39-C077-4531-B3A6-3DAC393B6E04"],"selection":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1358},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,346.7)","distanceToDragEvent":"lively.pt(125.0,-17.1)"},"1352":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(180.0,74.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"1353":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1354":{"sourceObj":{"__isSmartRef__":true,"id":1351},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1355},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1355":{"source":{"__isSmartRef__":true,"id":1351},"target":{"__isSmartRef__":true,"id":951}},"1356":{"resizeHeight":false,"moveVertical":true},"1357":{"morph":{"__isSmartRef__":true,"id":1351},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1358":{"preselectItem":{"__isSmartRef__":true,"id":1359}},"1359":{"varMapping":{"__isSmartRef__":true,"id":1360},"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":1361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1360":{"this":{"__isSmartRef__":true,"id":1351}},"1361":{"timestamp":{"__isSmartRef__":true,"id":1362},"user":"lauritz"},"1362":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"1363":{"submorphs":[{"__isSmartRef__":true,"id":1364}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":1368},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1369},"lighterFill":{"__isSmartRef__":true,"id":1374},"label":{"__isSmartRef__":true,"id":1364},"attributeConnections":[{"__isSmartRef__":true,"id":1379}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1380},"_Scale":1,"owner":null,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","padding"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(215.0,35.0)","padding":"lively.rect(5,0,0,0)"},"1364":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":1365},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":1363},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":1366}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"__serializedExpressions__":["_Position","textColor","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1365":{"borderWidth":0,"fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(0,0,0)"},"1366":{"style":{"__isSmartRef__":true,"id":1367},"chunkOwner":{"__isSmartRef__":true,"id":1364},"storedString":"","_id":"_1356","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1367":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1368":{"_Fill":{"__isSmartRef__":true,"id":1369},"_BorderWidth":1,"_BorderRadius":5,"__serializedExpressions__":["_Position","_Extent","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(116.0,20.0)","_BorderColor":"Color.rgb(214,214,214)"},"1369":{"stops":[{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1371},{"__isSmartRef__":true,"id":1372},{"__isSmartRef__":true,"id":1373}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1370":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1371":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1372":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1373":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1374":{"stops":[{"__isSmartRef__":true,"id":1375},{"__isSmartRef__":true,"id":1376},{"__isSmartRef__":true,"id":1377},{"__isSmartRef__":true,"id":1378}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1375":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1376":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1377":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1378":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1379":{"sourceObj":{"__isSmartRef__":true,"id":1363},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":958},"targetMethodName":"chooseTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1380":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1381":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":1382},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":218,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":12,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1383},"textChunks":[{"__isSmartRef__":true,"id":1384}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":1386}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"_Align":"left","eventHandler":{"__isSmartRef__":true,"id":1388},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":1389},"selection":{"__isSmartRef__":true,"id":950},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":1408},"_Rotation":0,"_Scale":1,"savedTextString":"100","__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1409},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(200.0,10.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(153.9,-23.7)"},"1382":{"fill":null,"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(192,192,192)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(244,244,244)"},"1383":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1384":{"style":{"__isSmartRef__":true,"id":1385},"chunkOwner":{"__isSmartRef__":true,"id":1381},"storedString":"","_id":"_1357","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1385":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1386":{"sourceObj":{"__isSmartRef__":true,"id":1381},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"setTarget","converterString":"function (name) { return $world.get(name)}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1387},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1387":{"source":{"__isSmartRef__":true,"id":1381},"target":{"__isSmartRef__":true,"id":951}},"1388":{"morph":{"__isSmartRef__":true,"id":1381},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1389":{"createListMorph":{"__isSmartRef__":true,"id":1390},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1392},"onMouseUp":{"__isSmartRef__":true,"id":1394},"resetConnections":{"__isSmartRef__":true,"id":1396},"setTargetToListSelection":{"__isSmartRef__":true,"id":1398},"setTargetOfPane":{"__isSmartRef__":true,"id":1400},"onBlur":{"__isSmartRef__":true,"id":1402},"reset":{"__isSmartRef__":true,"id":1404},"onMouseDown":{"__isSmartRef__":true,"id":1406}},"1390":{"time":{"__isSmartRef__":true,"id":1391},"user":"lauritz"},"1391":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"1392":{"time":{"__isSmartRef__":true,"id":1393},"user":"lauritz"},"1393":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"1394":{"time":{"__isSmartRef__":true,"id":1395},"user":"lauritz"},"1395":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"1396":{"time":{"__isSmartRef__":true,"id":1397},"user":"lauritz"},"1397":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"1398":{"time":{"__isSmartRef__":true,"id":1399},"user":"lauritz"},"1399":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"1400":{"time":{"__isSmartRef__":true,"id":1401},"user":"lauritz"},"1401":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"1402":{"time":{"__isSmartRef__":true,"id":1403},"user":"lauritz"},"1403":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"1404":{"time":{"__isSmartRef__":true,"id":1405},"user":"lauritz"},"1405":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"1406":{"time":{"__isSmartRef__":true,"id":1407},"user":"lauritz"},"1407":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"1408":{},"1409":{"getList":{"__isSmartRef__":true,"id":1410},"setList":{"__isSmartRef__":true,"id":1413},"reset":{"__isSmartRef__":true,"id":1416},"example":{"__isSmartRef__":true,"id":1419},"removeList":{"__isSmartRef__":true,"id":1422},"onBlur":{"__isSmartRef__":true,"id":1425},"createListMorph":{"__isSmartRef__":true,"id":1432},"resetConnections":{"__isSmartRef__":true,"id":1435},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1438},"setTargetToListSelection":{"__isSmartRef__":true,"id":1441},"setTargetOfPane":{"__isSmartRef__":true,"id":1444},"onMouseDown":{"__isSmartRef__":true,"id":1447}},"1410":{"varMapping":{"__isSmartRef__":true,"id":1411},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":1412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1411":{"this":{"__isSmartRef__":true,"id":1381}},"1412":{},"1413":{"varMapping":{"__isSmartRef__":true,"id":1414},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1414":{"this":{"__isSmartRef__":true,"id":1381}},"1415":{},"1416":{"varMapping":{"__isSmartRef__":true,"id":1417},"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":1418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1417":{"this":{"__isSmartRef__":true,"id":1381}},"1418":{},"1419":{"varMapping":{"__isSmartRef__":true,"id":1420},"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":1421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1420":{"this":{"__isSmartRef__":true,"id":1381}},"1421":{},"1422":{"varMapping":{"__isSmartRef__":true,"id":1423},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1423":{"this":{"__isSmartRef__":true,"id":1381}},"1424":{},"1425":{"varMapping":{"__isSmartRef__":true,"id":1426},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1431},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1426":{"this":{"__isSmartRef__":true,"id":1381},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1427}},"1427":{"$super":{"__isSmartRef__":true,"id":1428}},"1428":{"varMapping":{"__isSmartRef__":true,"id":1429},"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":1430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1429":{"obj":{"__isSmartRef__":true,"id":1381},"name":"onBlur"},"1430":{},"1431":{},"1432":{"varMapping":{"__isSmartRef__":true,"id":1433},"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":1434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1433":{"this":{"__isSmartRef__":true,"id":1381}},"1434":{},"1435":{"varMapping":{"__isSmartRef__":true,"id":1436},"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":1437},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1436":{"this":{"__isSmartRef__":true,"id":1381}},"1437":{},"1438":{"varMapping":{"__isSmartRef__":true,"id":1439},"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":1440},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1439":{"this":{"__isSmartRef__":true,"id":1381}},"1440":{},"1441":{"varMapping":{"__isSmartRef__":true,"id":1442},"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":1443},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1442":{"this":{"__isSmartRef__":true,"id":1381}},"1443":{},"1444":{"varMapping":{"__isSmartRef__":true,"id":1445},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":1446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1445":{"this":{"__isSmartRef__":true,"id":1381}},"1446":{},"1447":{"varMapping":{"__isSmartRef__":true,"id":1448},"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":1453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1448":{"this":{"__isSmartRef__":true,"id":1381},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1449}},"1449":{"$super":{"__isSmartRef__":true,"id":1450}},"1450":{"varMapping":{"__isSmartRef__":true,"id":1451},"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":1452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1451":{"obj":{"__isSmartRef__":true,"id":1381},"name":"onMouseDown"},"1452":{},"1453":{},"1454":{"morph":{"__isSmartRef__":true,"id":958},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1455":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1456},"setTarget":{"__isSmartRef__":true,"id":1459},"generateSourceForScript":{"__isSmartRef__":true,"id":1462},"generateSourceForConnection":{"__isSmartRef__":true,"id":1465},"generateTargetCode":{"__isSmartRef__":true,"id":1468},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1471},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1474},"displaySourceForScript":{"__isSmartRef__":true,"id":1477},"displaySourceForConnection":{"__isSmartRef__":true,"id":1480},"newScript":{"__isSmartRef__":true,"id":1483},"newConnection":{"__isSmartRef__":true,"id":1486},"deleteSelectedScript":{"__isSmartRef__":true,"id":1489},"disconnectConnection":{"__isSmartRef__":true,"id":1492},"updateLists":{"__isSmartRef__":true,"id":1495},"displayInitialScript":{"__isSmartRef__":true,"id":1498},"reset":{"__isSmartRef__":true,"id":1501},"selectChangedContent":{"__isSmartRef__":true,"id":1504}},"1456":{"varMapping":{"__isSmartRef__":true,"id":1457},"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":1458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1457":{"this":{"__isSmartRef__":true,"id":958}},"1458":{},"1459":{"varMapping":{"__isSmartRef__":true,"id":1460},"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":1461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1460":{"this":{"__isSmartRef__":true,"id":958}},"1461":{},"1462":{"varMapping":{"__isSmartRef__":true,"id":1463},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":1464},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1463":{"this":{"__isSmartRef__":true,"id":958}},"1464":{},"1465":{"varMapping":{"__isSmartRef__":true,"id":1466},"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":1467},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1466":{"this":{"__isSmartRef__":true,"id":958}},"1467":{},"1468":{"varMapping":{"__isSmartRef__":true,"id":1469},"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":1470},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1469":{"this":{"__isSmartRef__":true,"id":958}},"1470":{},"1471":{"varMapping":{"__isSmartRef__":true,"id":1472},"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":1473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1472":{"this":{"__isSmartRef__":true,"id":958}},"1473":{},"1474":{"varMapping":{"__isSmartRef__":true,"id":1475},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":1476},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1475":{"this":{"__isSmartRef__":true,"id":958}},"1476":{},"1477":{"varMapping":{"__isSmartRef__":true,"id":1478},"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":1479},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1478":{"this":{"__isSmartRef__":true,"id":958}},"1479":{},"1480":{"varMapping":{"__isSmartRef__":true,"id":1481},"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":1482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1481":{"this":{"__isSmartRef__":true,"id":958}},"1482":{},"1483":{"varMapping":{"__isSmartRef__":true,"id":1484},"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":1485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1484":{"this":{"__isSmartRef__":true,"id":958}},"1485":{},"1486":{"varMapping":{"__isSmartRef__":true,"id":1487},"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":1488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1487":{"this":{"__isSmartRef__":true,"id":958}},"1488":{},"1489":{"varMapping":{"__isSmartRef__":true,"id":1490},"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":1491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1490":{"this":{"__isSmartRef__":true,"id":958}},"1491":{},"1492":{"varMapping":{"__isSmartRef__":true,"id":1493},"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":1494},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1493":{"this":{"__isSmartRef__":true,"id":958}},"1494":{},"1495":{"varMapping":{"__isSmartRef__":true,"id":1496},"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":1497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1496":{"this":{"__isSmartRef__":true,"id":958}},"1497":{},"1498":{"varMapping":{"__isSmartRef__":true,"id":1499},"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":1500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1499":{"this":{"__isSmartRef__":true,"id":958}},"1500":{},"1501":{"varMapping":{"__isSmartRef__":true,"id":1502},"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":1503},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1502":{"this":{"__isSmartRef__":true,"id":958}},"1503":{},"1504":{"varMapping":{"__isSmartRef__":true,"id":1505},"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":1597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1596":{"this":{"__isSmartRef__":true,"id":1572}},"1597":{"timestamp":{"__isSmartRef__":true,"id":1598},"user":"lauritz","categories":[]},"1598":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"1599":{"submorphs":[{"__isSmartRef__":true,"id":1600}],"scripts":[],"id":"D8B50F2F-7B03-4FF3-A1A1-F640EA57F73C","shape":{"__isSmartRef__":true,"id":1605},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1611},"lighterFill":{"__isSmartRef__":true,"id":1616},"label":{"__isSmartRef__":true,"id":1600},"attributeConnections":[{"__isSmartRef__":true,"id":1621}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1623},"owner":{"__isSmartRef__":true,"id":951},"eventHandler":{"__isSmartRef__":true,"id":1624},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":951},"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","7DDF7175-34FC-4521-A7C3-580A8BE63351","DEA39C05-FAD7-4882-AB3D-0EE12C3408F9","99186A50-1411-4B6F-B1CB-FF0742C20D7D","10F3E467-6BB8-4D07-BD17-8C50593FD6B8","7260818C-6472-4288-8BDD-1E7798A543F3","DEBB5BDB-018D-4BA1-9FB9-73DC84C51D89","D75BCAED-3029-46EB-B944-4A102BB1BC0F","9A977DA2-B325-4DFA-9683-3DC9ECEFAAC0","48A5078F-B4A5-4F4E-884D-84CCDFFBE6F0","33905494-AA01-4311-8398-1F6C3D4F1BAC","5D7201A7-1374-49AD-851F-E3167EFED99E","9B69B6C6-71F2-402E-89D1-E97FC2D3AE13","DA1B3A74-F4A6-427B-8FBD-3D2E9D8CD866","DBFC4A4F-8601-4C32-9460-53902C3B0F37","ED51CA7C-CE32-4CF5-9398-0BA9B791FF5E","4F7A7C1A-3788-478C-AFF5-BA62C7FCB01D","FCEFF15E-E5B8-4C7E-A139-302649441119","3674B8DC-F4E5-4A5C-ACEC-96D743BB6050","33E0336F-FD6A-4AAB-AECB-B7D6C7C80631","761015EE-47CF-40F6-A403-8A959B2DB0A6","361B531D-7A1C-441A-BE8B-0B503543FF6C","E283DDFD-1D8F-4E3D-A0BC-40C30221FFDC","0EC23EA3-7B34-429A-922D-5D139F127D1E"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1625},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(160.0,40.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(33.4,-21.3)"},"1600":{"submorphs":[],"scripts":[],"id":"51838EE3-CDA2-433D-BB07-21D9B00E6E41","shape":{"__isSmartRef__":true,"id":1601},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":1599},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":1602}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1604},"_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","B4C4F09B-F663-47A1-B85F-461D5452F5F8","FD966AB1-4685-4151-9A38-B1B21B0237EF","CA91FC2C-D7CC-4123-AFD2-108F8F0C2E97","88F1581A-7AEF-4646-B7F9-3890CDDB8494","DC577877-7F00-4238-9246-08C2A10C0CC9","818C9467-71A2-44D6-B01F-1523A0CD5476","C0CF3DDB-AA12-49E0-B12A-6B620552BB47","853E19A1-E97D-463D-A24F-0148671EB696","0203CA4C-E523-4F7D-824B-F09BA3914BDD","18B98A59-6C8E-4386-B3EF-A17259C51C0F","24D84E0A-FA16-47DE-934D-E60729EEB227","7035F1EB-4B8C-4F20-B3AC-966403F55C0A","69831817-0662-4848-8481-44558987D21D","BA13E4C6-DF2A-4059-9174-7725FA3FE514","3E989A29-2A8F-4AFE-B312-A0852B746605","7B675033-945D-4AE1-B85F-DBD35C7B02AA","E0D76A08-70F9-4710-907E-B2D83D60D29A","495F5D43-B450-45B7-B238-FC12AA8F6488","B551041D-4E6E-44F3-8405-1DCE5344BCCD","0A287650-EC32-45AA-8504-0513B196727F","717B0EFA-1422-4224-9A53-5A494F6191A4","C86C167E-8A7D-43BE-AFED-AAEDA70B95EE","97247E8A-2818-4B44-BCDD-348126BD380C"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"1601":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"1602":{"style":{"__isSmartRef__":true,"id":1603},"chunkOwner":{"__isSmartRef__":true,"id":1600},"storedString":"-","_id":"_1363","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1603":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1604":{"morph":{"__isSmartRef__":true,"id":1600},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1605":{"_Fill":{"__isSmartRef__":true,"id":1606},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1606":{"stops":[{"__isSmartRef__":true,"id":1607},{"__isSmartRef__":true,"id":1608},{"__isSmartRef__":true,"id":1609},{"__isSmartRef__":true,"id":1610}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1607":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1608":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1609":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1610":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"1611":{"stops":[{"__isSmartRef__":true,"id":1612},{"__isSmartRef__":true,"id":1613},{"__isSmartRef__":true,"id":1614},{"__isSmartRef__":true,"id":1615}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1612":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1613":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1614":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1615":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1616":{"stops":[{"__isSmartRef__":true,"id":1617},{"__isSmartRef__":true,"id":1618},{"__isSmartRef__":true,"id":1619},{"__isSmartRef__":true,"id":1620}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1617":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1618":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1619":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1620":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1621":{"sourceObj":{"__isSmartRef__":true,"id":1599},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1599},"targetMethodName":"deleteSelectedScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1622":{"source":{"__isSmartRef__":true,"id":1599},"target":{"__isSmartRef__":true,"id":1599}},"1623":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1624":{"morph":{"__isSmartRef__":true,"id":1599},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1625":{"deleteSelectedScript":{"__isSmartRef__":true,"id":1626}},"1626":{"varMapping":{"__isSmartRef__":true,"id":1627},"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":1628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1627":{"this":{"__isSmartRef__":true,"id":1599}},"1628":{"timestamp":{"__isSmartRef__":true,"id":1629},"user":"lauritz"},"1629":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"1630":{"submorphs":[{"__isSmartRef__":true,"id":1631}],"scripts":[],"id":"B91BC310-200A-404C-8DB3-52F57D8B14CC","shape":{"__isSmartRef__":true,"id":1637},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1638},"lighterFill":{"__isSmartRef__":true,"id":1643},"label":{"__isSmartRef__":true,"id":1631},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1648},"list":[],"eventHandler":{"__isSmartRef__":true,"id":1649},"owner":{"__isSmartRef__":true,"id":951},"textString":"","selection":{"__isSmartRef__":true,"id":1650},"_ClipMode":"visible","prevScroll":[0,0],"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","A50C1893-4138-4E29-865B-92F53F76D08A","1EC5D2B9-3539-419A-8DD6-CE82DEABB02C","95DC06D5-F4C7-49E2-8A01-110D1B0AFBD0","672DEFAB-2BE5-4C60-9779-3B44694FBEB1","E3476213-5872-492C-BE29-0C6A5A150ED8","AA2F6ABE-1CCB-403D-94DD-8FB371F3DDCE","54B67D51-AB19-40A0-A2A6-EC51F3171CAC","1CF44342-896F-4ACB-847F-7CB3CD10ED5A","279A9257-1667-4E0C-844B-A4E0D02462F0","DDCBD835-4B3F-4B8F-9623-696DA76C3A2C","D2CB17F3-5DD0-4E97-BF99-40A95ABF976B","FA519665-2394-43D3-8DCF-802A158F3291","90519BB5-7419-46E0-B7E3-4C26304F3414","0B7FC23C-C63C-4F20-8BAF-1BD1B7205762","B54FAD70-E598-4B06-8F41-00843A06D4B0","5A8ECBD6-ADDE-43FA-8D9E-BC483898DF8A","69DD3160-FAD3-4AD8-9B1C-CB9229AD8034","2C8AD368-8815-41D5-8C8D-CD36ECCF4A96","80C5655D-B03D-413B-A84C-D59A60D8EEEC","BA8066E4-5B8E-4048-97C5-332953805999","E27E2CB2-789E-4269-B5E8-2631B5D2840B","0EDAA37B-E8BA-4DE7-820A-17A44E299F5C","81F15272-5E6E-4544-B6FE-96BDD357A17C"],"_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1656},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(200.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(122.9,-11.6)"},"1631":{"submorphs":[],"scripts":[],"id":"231A70AE-F6BF-46F3-8F8C-5C28DBEDD365","shape":{"__isSmartRef__":true,"id":1632},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":1630},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":1633}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1635}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":1636},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","74158C3D-B79E-43E7-B111-48701B10ACE2","B19E117B-E40F-4B9F-86AC-BFB2AAFD5336","4E3B3D72-E52C-44ED-AE32-78939BA1ECFD","2459D1F0-E49C-4882-AB4C-D78C1A496962","3D8D3B02-0459-45C1-A606-D0DB4B07958C","78AAE288-D261-4BEA-9436-C8C31B890B44","2E10F795-9892-4BF7-9A46-BCB90FD6112E","DE32EFA9-C920-42F6-9F2E-7EDABEC006AF","23FBFC79-1927-48FD-8C1C-09FFD7539784","3409506C-9BAE-43DA-BCAF-94392F9646DF","ED94289E-98FC-4126-9EED-25FDC98D5BFC","63C2F1D8-3A1B-464B-9945-1F661D4CFE26","782AAB82-32E9-4A37-9DC0-3118636C2CCE","D564B3C8-D9B5-4D7D-80DD-16715ED878F6","D9344242-9F26-4A5D-B86D-6FAEA43B439C","E7E3A5EE-8F82-4F04-9E65-771E2E4AC9D1","55BF0D1C-FCDF-4D8B-9E42-8EF0F36074A3","B3BE05E0-5704-45B4-8B1D-E7FDA5CE6235","9A503124-0F1D-4390-B668-E4457CBC1376","26D1AD85-C129-4C24-A16A-B6863FC35F41","7425ED3B-1418-47C8-A2EE-52CDF3C4D860","C4B9C269-4F6E-4EA2-A6EA-38C21A011591","952BC06E-5007-4618-9289-931E66292E9D"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"1632":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"1633":{"style":{"__isSmartRef__":true,"id":1634},"chunkOwner":{"__isSmartRef__":true,"id":1631},"_id":"_391","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1634":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1635":{"sourceObj":{"__isSmartRef__":true,"id":1631},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1630},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1636":{"morph":{"__isSmartRef__":true,"id":1631},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1637":{"_Fill":{"__isSmartRef__":true,"id":1638},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(220.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1638":{"stops":[{"__isSmartRef__":true,"id":1639},{"__isSmartRef__":true,"id":1640},{"__isSmartRef__":true,"id":1641},{"__isSmartRef__":true,"id":1642}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1639":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1640":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1641":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1642":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1643":{"stops":[{"__isSmartRef__":true,"id":1644},{"__isSmartRef__":true,"id":1645},{"__isSmartRef__":true,"id":1646},{"__isSmartRef__":true,"id":1647}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1644":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1645":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1646":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1647":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1648":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1649":{"morph":{"__isSmartRef__":true,"id":1630},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1650":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":1651},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":580,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":28,"name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1652},"textChunks":[{"__isSmartRef__":true,"id":1653}],"eventHandler":{"__isSmartRef__":true,"id":1655},"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,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__serializedExpressions__":["_Position","textColor","_TextColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(37.0,23.0)","textColor":"Color.rgb(0,0,0)","_TextColor":"Color.rgb(0,79,152)","distanceToDragEvent":"lively.pt(221.0,-12.0)"},"1651":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(580.0,43.0)","_BorderColor":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"1652":{"partsSpaceName":"PartsBin/Worlds/","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1653":{"style":{"__isSmartRef__":true,"id":1654},"chunkOwner":{"__isSmartRef__":true,"id":1650},"storedString":"","_id":"_1365","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1654":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1655":{"morph":{"__isSmartRef__":true,"id":1650},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1656":{"reset":{"__isSmartRef__":true,"id":1657},"onMouseDown":{"__isSmartRef__":true,"id":1661},"onBlur":{"__isSmartRef__":true,"id":1669},"createScenePresentation":{"__isSmartRef__":true,"id":1677},"presentTargetChooser":{"__isSmartRef__":true,"id":1681},"removeTargetChooser":{"__isSmartRef__":true,"id":1685},"removeHighlight":{"__isSmartRef__":true,"id":1689},"highlightCurrentTarget":{"__isSmartRef__":true,"id":1693},"updateTargetFromSelection":{"__isSmartRef__":true,"id":1697},"currentMorphicScene":{"__isSmartRef__":true,"id":1701},"highlightTarget":{"__isSmartRef__":true,"id":1705},"setLabel":{"__isSmartRef__":true,"id":1709},"updateTargetFromOwner":{"__isSmartRef__":true,"id":1717}},"1657":{"varMapping":{"__isSmartRef__":true,"id":1658},"source":"function reset() {\n this.removeTargetChooser();\n this.setLabel('empty');\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":1659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1658":{"this":{"__isSmartRef__":true,"id":1630}},"1659":{"timestamp":{"__isSmartRef__":true,"id":1660},"user":"lauritz","tags":[]},"1660":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"1661":{"varMapping":{"__isSmartRef__":true,"id":1662},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) {\n return $super(evt);\n }\n \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.removeTargetChooser();\n } else {\n this.presentTargetChooser();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1662":{"this":{"__isSmartRef__":true,"id":1630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1663}},"1663":{"$super":{"__isSmartRef__":true,"id":1664}},"1664":{"varMapping":{"__isSmartRef__":true,"id":1665},"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":1666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1665":{"obj":{"__isSmartRef__":true,"id":1630},"name":"onMouseDown"},"1666":{},"1667":{"timestamp":{"__isSmartRef__":true,"id":1668},"user":"lauritz","tags":[]},"1668":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:44:10 GMT+0200 (CEST)"},"1669":{"varMapping":{"__isSmartRef__":true,"id":1670},"source":"function onBlur(evt) {\n $super(evt);\n \n // remove the scene presentation when clicked elsewhere\n var target = evt.world.clickedOnMorph;\n if (!this.listMorph || !this.listMorph.isAncestorOf(target)) {\n this.removeTargetChooser();\n } else {\n this.focus();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1670":{"this":{"__isSmartRef__":true,"id":1630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1671}},"1671":{"$super":{"__isSmartRef__":true,"id":1672}},"1672":{"varMapping":{"__isSmartRef__":true,"id":1673},"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":1674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1673":{"obj":{"__isSmartRef__":true,"id":1630},"name":"onBlur"},"1674":{},"1675":{"timestamp":{"__isSmartRef__":true,"id":1676},"user":"lauritz","tags":[]},"1676":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:05 GMT+0200 (CEST)"},"1677":{"varMapping":{"__isSmartRef__":true,"id":1678},"source":"function createScenePresentation() {\n var that = this,\n items = this.currentMorphicScene(),\n height = this.owner.getExtent().y,\n bounds = new Rectangle(0, this.getExtent().y, this.getExtent().x * 2, height),\n treeMorph = new lively.morphic.Tree(),\n rect = lively.morphic.Morph.makeRectangle(bounds),\n currentTarget = null;\n \n treeMorph.childrenPerPage = 10000;\n treeMorph.setName(\"MorphSelectorTree\");\n treeMorph.getLayouter().defer();\n treeMorph.setItem(items);\n treeMorph.childNodes.each(function (n) {\n n.expand();\n })\n \n currentTarget = this.highlightCurrentTarget(treeMorph);\n \n rect.setFill(Color.white);\n rect.beClip(true);\n rect.disableGrabbing();\n rect.disableDragging();\n rect.setBorderWidth(1);\n rect.setBorderColor(Color.rgb(150,150,150));\n rect.addMorph(treeMorph);\n rect.treeMorph = treeMorph;\n rect.currentTarget = currentTarget;\n\n return rect;\n}","funcProperties":{"__isSmartRef__":true,"id":1679},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1678":{"this":{"__isSmartRef__":true,"id":1630}},"1679":{"timestamp":{"__isSmartRef__":true,"id":1680},"user":"lauritz","tags":[]},"1680":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:56 GMT+0200 (CEST)"},"1681":{"varMapping":{"__isSmartRef__":true,"id":1682},"source":"function presentTargetChooser() {\n var list = this.createScenePresentation(),\n tree = list.treeMorph,\n target = list.currentTarget\n \n list.setVisible(false)\n this.addMorph(list)\n this.listMorph = list\n list.focus()\n\n // need temp here, doesn't work otherwise, strange errors... Javascript WAT\n var layouting = function() {\n list.setVisible(true)\n \n if (target) {\n var globalTransform = new lively.morphic.Similitude()\n for (var morph = target; (morph != list) && \n (morph != undefined); morph = morph.owner) {\n globalTransform.preConcatenate(morph.getTransform());\n } \n \n list.scrollRectIntoView(target.getBounds().\n translatedBy(globalTransform.getTranslation()));\n tree.getLayouter().resume();\n }\n }\n layouting.morphicDelay(1);\n}","funcProperties":{"__isSmartRef__":true,"id":1683},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1682":{"this":{"__isSmartRef__":true,"id":1630}},"1683":{"timestamp":{"__isSmartRef__":true,"id":1684},"user":"lauritz","tags":[]},"1684":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:13:22 GMT+0200 (CEST)"},"1685":{"varMapping":{"__isSmartRef__":true,"id":1686},"source":"function removeTargetChooser() {\n if (this.listMorph) {\n this.listMorph.remove();\n delete this.listMorph; \n }\n}","funcProperties":{"__isSmartRef__":true,"id":1687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1686":{"this":{"__isSmartRef__":true,"id":1630}},"1687":{"timestamp":{"__isSmartRef__":true,"id":1688},"user":"lauritz","tags":[]},"1688":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:43:38 GMT+0200 (CEST)"},"1689":{"varMapping":{"__isSmartRef__":true,"id":1690},"source":"function removeHighlight(node) {\n node.submorphs[0].setFill(Color.rgb(255,255,255))\n}","funcProperties":{"__isSmartRef__":true,"id":1691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1690":{"this":{"__isSmartRef__":true,"id":1630}},"1691":{"timestamp":{"__isSmartRef__":true,"id":1692},"user":"lauritz","tags":[]},"1692":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:15 GMT+0200 (CEST)"},"1693":{"varMapping":{"__isSmartRef__":true,"id":1694},"source":"function highlightCurrentTarget(tree) {\n var target = this.owner.target,\n nodes = tree.childNodes,\n highlightNode;\n\n if (!target) {\n return\n } else if (target.isMorph) {\n var expandables = [target],\n nextOwner = target,\n currentNode\n while (nextOwner.owner) {\n expandables.push(nextOwner.owner)\n nextOwner = nextOwner.owner\n }\n expandables.reverse().each(function (m) {\n currentNode = nodes.detect(function (n) {\n return n.item.value === m;\n })\n if (currentNode) {\n nodes = currentNode.childNodes\n if (!nodes && currentNode.item.children) {\n currentNode.expand();\n nodes = currentNode.childNodes;\n }\n } else {\n return;\n }\n })\n if (currentNode && currentNode.item.value === target) {\n highlightNode = currentNode;\n }\n } else {\n var groupNodes = nodes.detect(function (n) {\n return n.item.value === 'groups';\n }).childNodes\n highlightNode = groupNodes.detect(function (n) {\n // group names are unique\n return n.item.value.name === target.name;\n })\n }\n\n if (highlightNode) {\n this.highlightTarget(highlightNode);\n }\n return highlightNode;\n}","funcProperties":{"__isSmartRef__":true,"id":1695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1694":{"this":{"__isSmartRef__":true,"id":1630}},"1695":{"timestamp":{"__isSmartRef__":true,"id":1696},"user":"lauritz","tags":[]},"1696":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:31:39 GMT+0200 (CEST)"},"1697":{"varMapping":{"__isSmartRef__":true,"id":1698},"source":"function updateTargetFromSelection(selection) { \n var that = this;\n var update = function(confirmed) {\n if (confirmed) {\n that.owner.setTarget(selection);\n that.setLabel(selection.getName() || selection.toString());\n }\n }\n \n this.removeTargetChooser();\n if (this.owner.hasUnsavedChanges && this.owner.hasUnsavedChanges()) {\n this.owner.confirmUnsavedChanges(update);\n } else {\n update(true);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1698":{"this":{"__isSmartRef__":true,"id":1630}},"1699":{"timestamp":{"__isSmartRef__":true,"id":1700},"user":"lauritz","tags":[]},"1700":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"1701":{"varMapping":{"__isSmartRef__":true,"id":1702},"source":"function currentMorphicScene() {\n var onSelect = function onSelect(tree) {\n this.selector.updateTargetFromSelection(this.value);\n }\n var properties = {\n editorPane: this.owner,\n selector: this\n }\n \n return {children: [{ \n name: 'World',\n value: this.world(),\n selector: this,\n onSelect: onSelect,\n children: this.world().submorphs.invoke('treeItemsOfMorphNames',\n {scripts: [onSelect],\n properties: properties,\n showUnnamed: true}).compact()\n }]};\n}","funcProperties":{"__isSmartRef__":true,"id":1703},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1702":{"this":{"__isSmartRef__":true,"id":1630}},"1703":{"timestamp":{"__isSmartRef__":true,"id":1704},"user":"lauritz","tags":[]},"1704":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:43 GMT+0200 (CEST)"},"1705":{"varMapping":{"__isSmartRef__":true,"id":1706},"source":"function highlightTarget(node) {\n node.submorphs[0].setFill(Color.rgb(218,218,218))\n}","funcProperties":{"__isSmartRef__":true,"id":1707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1706":{"this":{"__isSmartRef__":true,"id":1630}},"1707":{"timestamp":{"__isSmartRef__":true,"id":1708},"user":"lauritz","tags":[]},"1708":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:12 GMT+0200 (CEST)"},"1709":{"varMapping":{"__isSmartRef__":true,"id":1710},"source":"function setLabel(label) {\n this.label.setTextString(label);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":1715},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1710":{"this":{"__isSmartRef__":true,"id":1630},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1711}},"1711":{"$super":{"__isSmartRef__":true,"id":1712}},"1712":{"varMapping":{"__isSmartRef__":true,"id":1713},"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":1714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1713":{"obj":{"__isSmartRef__":true,"id":1630},"name":"setLabel"},"1714":{},"1715":{"timestamp":{"__isSmartRef__":true,"id":1716},"user":"lauritz","tags":[]},"1716":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:31 GMT+0200 (CEST)"},"1717":{"varMapping":{"__isSmartRef__":true,"id":1718},"source":"function updateTargetFromOwner() {\n this.setLabel(this.owner.target);\n}","funcProperties":{"__isSmartRef__":true,"id":1719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1718":{"this":{"__isSmartRef__":true,"id":1630}},"1719":{"timestamp":{"__isSmartRef__":true,"id":1720},"user":"lauritz","tags":[]},"1720":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:24:24 GMT+0200 (CEST)"},"1721":{"submorphs":[],"scripts":[],"id":"F3833034-E66F-40CC-9054-BDED1CA3909C","shape":{"__isSmartRef__":true,"id":1722},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":64.8979476392384,"showsHalos":false,"_FontSize":9,"name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1723},"textChunks":[{"__isSmartRef__":true,"id":1724}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1726},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":951},"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","75C07D11-AE5D-4A36-B2D0-F2A6EA414E72","494AB1C0-2C09-49DE-B4AA-1F24DC7495FF","25199967-E3BA-4763-A704-37BD3152A5F7","8E4A5937-D1FA-4AF7-BD8D-B542C636CEF9","DDB23EF0-540C-4046-AD4D-C001E8A5F20C","FF45AAB3-E5C7-42A0-A704-F068DB2E2AF9","52850E3E-BE46-467C-A381-902F5E4859FD","147F9160-7168-44A4-9EA4-A36466EE1F52","8E4FB238-FC20-4DA7-AC9F-6921EBBD5609","3D09A998-5E60-4E94-9C6A-B08E7D98F02A","B8986B95-68A4-4212-8560-C86C8F7B3B3C","81BAFCDC-090F-4A92-8AD6-C3127620CCF4","3663625F-2BB0-494C-A467-04148A441F42","8F0EE2A4-3C90-4F71-A04E-2B285D2543CD","B5F10B61-9C89-4903-BD4C-DF3B9D283432","7005184B-8CE8-4DB8-82D8-D75E16ADE428","B8106E33-B470-45C3-916E-6E92CAFDD854","3013F6C8-9D86-49F3-9EB0-AA42B27F1DC6","A49BA117-B9D4-43F4-82EA-458B9D16FDBA","9FB9DF10-FCEC-44FE-9614-6DFC4B814576","54F9AFFD-B235-48AC-85E0-57921251546E","7A472A4B-7292-49B5-9F03-DE2E3A096714","C8629DF3-424B-47D3-A3FD-68201FFFC455"],"_Rotation":0,"_Scale":1,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,12.9)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(45.8,-27.8)"},"1722":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(64.9,15.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1723":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1724":{"style":{"__isSmartRef__":true,"id":1725},"chunkOwner":{"__isSmartRef__":true,"id":1721},"storedString":"Tag:","_id":"_1367","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1725":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1726":{"morph":{"__isSmartRef__":true,"id":1721},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1727":{"submorphs":[{"__isSmartRef__":true,"id":1728}],"scripts":[],"id":"6619FFC9-DCDE-4AA5-97B3-434303E39AB7","shape":{"__isSmartRef__":true,"id":1734},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1740},"lighterFill":{"__isSmartRef__":true,"id":1745},"label":{"__isSmartRef__":true,"id":1728},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":1750},"listMorph":null,"list":[],"eventHandler":{"__isSmartRef__":true,"id":1751},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":951},"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","C66EBEEC-B7CE-4DD9-8BDF-905F071F965D","D68B143A-A712-4FD0-8803-62CCB4C7F763","ED802271-AE5C-4BE9-AC4E-7CED44BC864B","1BD989CB-146C-431F-8B15-9199C4CD5D32","42172AA4-1B06-4C5B-9BB7-FAED1206CF34","32DFAF99-E6F8-426B-829D-FD6C2BCB8FAA","9B4BF2BE-49D5-4B9D-8F38-1692443069A9","FCAB3690-731A-45E7-984F-843DFE705AF1","94B10A66-8219-43AD-B902-DA999A66222D","BB0E2EB7-ABCE-44C7-96E7-6679FB2981D1","2FCEE551-302B-46C9-B646-3B9BE9187182","B4267F52-1ACC-42A1-904D-E9F7D485D8AB","14770110-045A-4BE4-BCF2-7C886DF70F7D","5387EA76-6B03-426A-B385-9C4231B66352","23545203-A969-439B-8761-E83A810696D0","C5467F6E-CBD7-4AF4-94BE-D0D62E4F7DDD","2FC5F9D1-B611-4273-BD5B-107350364579","318398B6-6689-4DE7-88FD-636BD968773D","3241459F-2019-4BD2-A0CF-BD2A174DDA76","69022916-A511-4A6C-8220-5B4CCD34FCEF","E772C128-C42D-4B13-A3DB-3EC0DFDC9FC5","4DD223AA-79FC-4FB3-9301-F197D9D6B358","46929EDB-248B-41D6-AC15-410A659C24A5"],"_Rotation":0,"_Scale":1,"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1752},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(39.1,10.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(85.7,-11.6)"},"1728":{"submorphs":[],"scripts":[],"id":"431BC5E3-4441-4635-84AC-DA4831D182E0","shape":{"__isSmartRef__":true,"id":1729},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":1727},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":1730}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1732}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":1733},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":10,"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","567FC668-A57C-41CB-8252-8912826B3144","D0B0775F-C8E7-49EB-BBB2-C7BB7DD464BF","AABED87D-D7C0-494A-8803-26F4601E35FF","696C3A2A-C695-4D17-A044-41A73436AB8D","206A0BFD-6997-4E0E-9193-089D1F66B22A","F2F1F966-6C41-4EBA-AFCE-FAE8C79AA696","64A754E9-7083-4CAE-B5C2-7B436EFFE4BA","64737503-A352-42CC-A249-667DA2B42746","9218F1CA-E23F-4E1A-89C3-DB19DE720861","CF7EAC38-1041-4B83-B087-359885B8528B","84469C7C-C93D-4F16-ACAA-0045A4A37FCA","9D3DD447-66A0-4B4A-B378-FB864D8C1468","163D1C2B-EDE9-4F8F-B466-EF9F4CB14384","50DCF8C9-23AA-4241-AC5B-724CC11950DA","CCACCC51-0109-4F73-B122-AA60E40EC54B","285D1797-A21F-4439-81AD-932B45F54879","7354C28D-A54E-48B6-913E-4949B5F4625E","68EAB78C-AAA8-4EC3-8493-CFD23672B5B3","2AD9DBC6-BDBD-4022-AFE1-B6D94D6860BF","5D634617-10A2-45FE-A453-D3452456AB07","EE3AF0A1-F42E-4AE8-A115-3458AA56DAF3","D8A87F07-FBE8-4C1E-ADE9-3AF6EE15FCD3","72270145-A97E-4B0C-BA7D-1B68CE1A0841"],"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(2.0,1.0)","textColor":"Color.rgb(0,0,0)","padding":"lively.rect(5,0,0,0)","_Padding":"lively.rect(5,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"1729":{"borderWidth":0,"fill":null,"_ClipMode":"hidden","_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"1730":{"style":{"__isSmartRef__":true,"id":1731},"chunkOwner":{"__isSmartRef__":true,"id":1728},"_id":"_986","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1731":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1732":{"sourceObj":{"__isSmartRef__":true,"id":1728},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1727},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1733":{"morph":{"__isSmartRef__":true,"id":1728},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1734":{"_Fill":{"__isSmartRef__":true,"id":1735},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(130.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1735":{"stops":[{"__isSmartRef__":true,"id":1736},{"__isSmartRef__":true,"id":1737},{"__isSmartRef__":true,"id":1738},{"__isSmartRef__":true,"id":1739}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1736":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(230,243,253)"},"1737":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"1738":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"1739":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(157,198,229)"},"1740":{"stops":[{"__isSmartRef__":true,"id":1741},{"__isSmartRef__":true,"id":1742},{"__isSmartRef__":true,"id":1743},{"__isSmartRef__":true,"id":1744}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1741":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1742":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1743":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1744":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1745":{"stops":[{"__isSmartRef__":true,"id":1746},{"__isSmartRef__":true,"id":1747},{"__isSmartRef__":true,"id":1748},{"__isSmartRef__":true,"id":1749}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1746":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1747":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1748":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1749":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1750":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1751":{"morph":{"__isSmartRef__":true,"id":1727},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1752":{"createListMorph":{"__isSmartRef__":true,"id":1753},"getList":{"__isSmartRef__":true,"id":1757},"removeList":{"__isSmartRef__":true,"id":1761},"reset":{"__isSmartRef__":true,"id":1765},"onMouseUp":{"__isSmartRef__":true,"id":1769},"onBlur":{"__isSmartRef__":true,"id":1777},"setTag":{"__isSmartRef__":true,"id":1785}},"1753":{"varMapping":{"__isSmartRef__":true,"id":1754},"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":1755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1754":{"this":{"__isSmartRef__":true,"id":1727}},"1755":{"timestamp":{"__isSmartRef__":true,"id":1756},"user":"lauritz","categories":[]},"1756":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"1757":{"varMapping":{"__isSmartRef__":true,"id":1758},"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":1759},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1758":{"this":{"__isSmartRef__":true,"id":1727}},"1759":{"timestamp":{"__isSmartRef__":true,"id":1760},"user":"lauritz","tags":[]},"1760":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"1761":{"varMapping":{"__isSmartRef__":true,"id":1762},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1763},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1762":{"this":{"__isSmartRef__":true,"id":1727}},"1763":{"timestamp":{"__isSmartRef__":true,"id":1764},"user":"lauritz","categories":[]},"1764":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"1765":{"varMapping":{"__isSmartRef__":true,"id":1766},"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":1767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1766":{"this":{"__isSmartRef__":true,"id":1727}},"1767":{"timestamp":{"__isSmartRef__":true,"id":1768},"user":"lauritz","tags":[]},"1768":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"1769":{"varMapping":{"__isSmartRef__":true,"id":1770},"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":1775},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1770":{"this":{"__isSmartRef__":true,"id":1727},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1771}},"1771":{"$super":{"__isSmartRef__":true,"id":1772}},"1772":{"varMapping":{"__isSmartRef__":true,"id":1773},"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":1774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1773":{"obj":{"__isSmartRef__":true,"id":1727},"name":"onMouseUp"},"1774":{},"1775":{"timestamp":{"__isSmartRef__":true,"id":1776},"user":"lauritz","categories":[]},"1776":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"1777":{"varMapping":{"__isSmartRef__":true,"id":1778},"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":1783},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1778":{"this":{"__isSmartRef__":true,"id":1727},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1779}},"1779":{"$super":{"__isSmartRef__":true,"id":1780}},"1780":{"varMapping":{"__isSmartRef__":true,"id":1781},"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":1782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1781":{"obj":{"__isSmartRef__":true,"id":1727},"name":"onBlur"},"1782":{},"1783":{"timestamp":{"__isSmartRef__":true,"id":1784},"user":"lauritz","categories":[]},"1784":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"1785":{"varMapping":{"__isSmartRef__":true,"id":1786},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":1787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1786":{"this":{"__isSmartRef__":true,"id":1727}},"1787":{"timestamp":{"__isSmartRef__":true,"id":1788},"user":"lauritz","categories":[]},"1788":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"1789":{"submorphs":[{"__isSmartRef__":true,"id":1790}],"scripts":[],"id":"11886441-FC27-4B37-8711-FF2561028749","shape":{"__isSmartRef__":true,"id":1795},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1796},"lighterFill":{"__isSmartRef__":true,"id":1801},"label":{"__isSmartRef__":true,"id":1790},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1806},"attributeConnections":[{"__isSmartRef__":true,"id":1807}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1830},"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","1C6D1DC9-2F9B-4DC4-B453-1CA45B17C516","0E8EC0BF-934B-410B-AEC2-0ECA8C8F774D","97086CE7-CD46-4035-A371-02A41D555A66","E342B91D-F54B-4DA8-8AE7-10C59CE22B41","A838C48E-4033-4688-8DCF-20659BD824FF","E9BBC453-FFF6-4EE8-BDB0-605D5D4557AE","B6FB81D1-145B-40F9-ACF1-17276DA45EBA","09C79781-5461-4815-88DE-22FB67558136","85A5FA10-01D9-4051-8D56-29DB02CF8817","6E2F44D0-D69A-4DD7-91AD-0B0E1E871633","66FB4A47-82E6-417D-8248-4038D0CBBF5A","3CDC67E7-CAC7-4636-B7FF-50D008C6EB0D","4475CB12-8CFB-41DB-9399-EC6B68E18BA3","6175C505-1BCA-42E9-9C4C-07A4A309A245","B4FEE8FD-E680-459F-A82E-7606A48170D5","AC0B6630-E189-474B-A5E2-13726C1E0E6A","B5559DA4-1483-446C-8332-23DC886B44A5","955AF1F4-5BF5-4129-BA11-0DC54E21E510","6646015F-BD0A-4FEB-85F0-557FB8EC655A","A5682378-2307-447E-AD50-1DEC1AAC9FCB","1A04209F-A70E-4385-A6E2-D508EABC2DFC","EDA53C4F-765D-4424-9DBF-C62388440C46","C877D292-B4FE-42F3-AD5D-11AC5F084977"],"owner":{"__isSmartRef__":true,"id":951},"layout":{"__isSmartRef__":true,"id":1831},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"isPressed":false,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(72.0,-13.0)","_Position":"lively.pt(687.7,9.5)"},"1790":{"submorphs":[],"scripts":[],"id":"883A5486-8E65-4D39-9C38-720EA0D6029D","shape":{"__isSmartRef__":true,"id":1791},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1789},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1792}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1794},"_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","81041CF7-31DB-4F65-BB39-FE438A4F266F","D03829B3-268E-40A0-A440-3E4BAC344F30","714637F0-714A-4833-909B-BA4AF1B4628B","DC956E73-7398-4CAF-B6F2-9A226E344396","C1F72D31-1F49-4C0C-ACF3-C3AD7E698D2F","39386C7E-9099-4159-BFE9-80AD37319211","2764FB6E-70D1-4BC5-B3CB-9979A48B8205","C55C8A7C-412C-453E-A99F-CE78C2AADB94","4BD9A8D4-2EC1-40AC-A1CE-5F1347B0152D","3450EAEB-E3D2-4FAF-98DF-354B3B8715D6","C906736E-48DF-4054-BA5A-A089610456D7","DE5C59FB-90A6-4DD4-AC39-5CC8B3912969","5830FB93-49A1-4A31-A687-69C4579D5FA7","AE9038D5-0EBD-40A0-8043-9689D163D108","13E47AE3-8FA4-4D33-B6D0-DC9AB9E63590","330AAB8C-6D17-4763-AACC-669FC5DD3A91","CA04BB7A-205C-412D-9900-C2DE7C5FAD36","37AADE55-77DE-4E93-9A3E-241BB5002F88","60EB450E-29D4-42B9-8FF7-CA138515052E","7D5C0196-98BF-4CCD-9142-3D29E68EE180","0F70CA1F-07A9-4EFA-872A-3255F9C850DC","7A2FAFFA-9A09-40FB-B04A-80B0B34C696B","85768439-7424-4BFE-8191-BCA51F70FE26"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1791":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(2,2,0,0)"},"1792":{"style":{"__isSmartRef__":true,"id":1793},"chunkOwner":{"__isSmartRef__":true,"id":1790},"storedString":"run","_id":"_1369","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1793":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1794":{"morph":{"__isSmartRef__":true,"id":1790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1795":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1796},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1796":{"stops":[{"__isSmartRef__":true,"id":1797},{"__isSmartRef__":true,"id":1798},{"__isSmartRef__":true,"id":1799},{"__isSmartRef__":true,"id":1800}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1797":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1798":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1799":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1800":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1801":{"stops":[{"__isSmartRef__":true,"id":1802},{"__isSmartRef__":true,"id":1803},{"__isSmartRef__":true,"id":1804},{"__isSmartRef__":true,"id":1805}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1802":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1803":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1804":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1805":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1806":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1807":{"sourceObj":{"__isSmartRef__":true,"id":1789},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":1808},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1808":{"submorphs":[{"__isSmartRef__":true,"id":1809}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1816},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","eventHandler":{"__isSmartRef__":true,"id":1819},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1820},{"__isSmartRef__":true,"id":1821}],"con":{"__isSmartRef__":true,"id":1807},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1822},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1809":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1810},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","eventHandler":{"__isSmartRef__":true,"id":1815},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1808},"_Rotation":-3.130064002485303,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"1810":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1811},{"__isSmartRef__":true,"id":1812},{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1814}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"1811":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1812":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1813":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1814":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1815":{"morph":{"__isSmartRef__":true,"id":1809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1816":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1817},{"__isSmartRef__":true,"id":1818}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(831.0,11.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1817":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1818":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1819":{"morph":{"__isSmartRef__":true,"id":1808},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1820":{"morph":{"__isSmartRef__":true,"id":1808},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1821":{"morph":{"__isSmartRef__":true,"id":1808},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1809},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1822":{"morphMenuItems":{"__isSmartRef__":true,"id":1823}},"1823":{"varMapping":{"__isSmartRef__":true,"id":1824},"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":1829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1824":{"this":{"__isSmartRef__":true,"id":1808},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1825}},"1825":{"$super":{"__isSmartRef__":true,"id":1826}},"1826":{"varMapping":{"__isSmartRef__":true,"id":1827},"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":1828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1827":{"obj":{"__isSmartRef__":true,"id":1808},"name":"morphMenuItems"},"1828":{},"1829":{},"1830":{"morph":{"__isSmartRef__":true,"id":1789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1831":{"centeredHorizontal":false,"moveHorizontal":true},"1832":{"submorphs":[{"__isSmartRef__":true,"id":1833}],"scripts":[],"id":"07C59314-AC1A-4B7A-B8A1-B3EBFD678341","shape":{"__isSmartRef__":true,"id":1838},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1839},"lighterFill":{"__isSmartRef__":true,"id":1844},"label":{"__isSmartRef__":true,"id":1833},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1849},"attributeConnections":[{"__isSmartRef__":true,"id":1850}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1873},"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","B05829EB-D452-4D81-983B-E2CE425C8260","32B117E5-52D8-4843-B80E-090B9817E099","49AC923E-5272-4E3C-8F02-4F2AED2BC4E9","85AAEA9C-5E12-4DEC-8994-9A5FE655A740","2A7FF9BF-85D3-4962-8EB4-0F7016C672EB","3BB17748-B91B-43F5-84BE-2537402A6382","8BA10BD3-43C5-4A41-B9D9-DCD8C74EA208","8BADA640-EDC1-41B2-BEF3-0F2520EA25DD","CAFB5342-EFD3-483E-AE4A-343D211653EF","C3DC8C6F-A36C-4456-AF34-B0A318C1AAD8","88093937-29BB-43FC-AD82-4A0A4BDC349F","27E1FA12-CE4A-4C1F-891F-EEEF92BD672F","A12311D6-23C1-4711-9271-5B582F89F15B","F615015A-8BAE-4FC4-B9A4-D1D1122AC0A2","77333AB0-F43F-45D7-BAEE-8B9FF7865CAF","6A0E622E-4C99-42C1-8EEE-E659BFC2996E","D0264D42-222E-4900-908B-4EA13729B6AA","CC6A8A07-5A2D-407A-B540-6BA0C73356C5","FA68B30F-8583-41B2-898D-8DAFE1A75F15","D5C01E0F-F7DF-4896-8CEF-099C9F3E6CB8","B521A25F-FA55-4F6B-BAC1-0B2544DF98C1","C567F039-E57C-4C5E-AFAA-D05B2C481A69","3D4A4A11-9E45-4C87-9398-C3EBD8A53468"],"layout":{"__isSmartRef__":true,"id":1874},"owner":{"__isSmartRef__":true,"id":951},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"isPressed":false,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(68.8,-14.5)","_Position":"lively.pt(574.4,9.5)"},"1833":{"submorphs":[],"scripts":[],"id":"93528E1F-7AC0-486C-9FE9-A3365B23065F","shape":{"__isSmartRef__":true,"id":1834},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1832},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1835}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1837},"_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","4529D79B-4CC5-467E-91F8-661C3A5F49F8","1E5E570C-FD42-45E3-A7F6-768BB14ACD14","A13FB4E0-72F2-4E7C-A861-EDCBA1393860","B8E4C964-4FFF-4A9F-B0A9-612546B1DC8C","002A2173-D26D-4EED-8906-A489C1E158C0","63362D04-B829-41E6-9E68-5B8DB03D382F","996B60A4-8698-448F-A35F-79C768B4976B","F0727398-A1F0-47F5-92CF-BB9677FA05FA","38707063-D664-49A0-B2FB-F0666EC532D5","0402FB51-915F-4491-8FA1-553F0D8F7F35","5A35285D-C6A5-4830-97D9-0890A3F33F39","53121F0B-7DA5-4622-AC08-DD4805D53374","6C84E15D-112D-4C04-87C1-937691E296A7","4ECBD7E4-8B18-4331-8A37-07F4D8DCDCA0","3D4B43A2-AD74-4131-A939-D680216EDA6B","B22327BB-C876-4084-BEFA-4D06AE2B2849","2D34C2E9-76B8-49DC-9FCC-39B523CD0EF4","F098174A-AABC-4F95-8193-C29CA85D6188","714713CE-F5E8-4817-835F-99EA27075558","532DCEDE-C300-48C9-9DBA-58A1E02E1632","2F1C117F-2507-446D-8B43-9BD30AC726FB","74DABF7B-1E90-4D21-93D1-802BC208E9C7","4829579F-88C9-4E62-BE7F-E085AD1EC231"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1834":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(2,2,0,0)"},"1835":{"style":{"__isSmartRef__":true,"id":1836},"chunkOwner":{"__isSmartRef__":true,"id":1833},"storedString":"save","_id":"_1370","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1836":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1837":{"morph":{"__isSmartRef__":true,"id":1833},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1838":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1839},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1839":{"stops":[{"__isSmartRef__":true,"id":1840},{"__isSmartRef__":true,"id":1841},{"__isSmartRef__":true,"id":1842},{"__isSmartRef__":true,"id":1843}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1840":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1841":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1842":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1843":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1844":{"stops":[{"__isSmartRef__":true,"id":1845},{"__isSmartRef__":true,"id":1846},{"__isSmartRef__":true,"id":1847},{"__isSmartRef__":true,"id":1848}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1845":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1846":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1847":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1848":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1849":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1850":{"sourceObj":{"__isSmartRef__":true,"id":1832},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1186},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":1851},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1851":{"submorphs":[{"__isSmartRef__":true,"id":1852}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1859},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","eventHandler":{"__isSmartRef__":true,"id":1862},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1863},{"__isSmartRef__":true,"id":1864}],"con":{"__isSmartRef__":true,"id":1850},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1865},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1852":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1853},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","eventHandler":{"__isSmartRef__":true,"id":1858},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1851},"_Rotation":3.077607197692381,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(201.2,40.2)"},"1853":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1854},{"__isSmartRef__":true,"id":1855},{"__isSmartRef__":true,"id":1856},{"__isSmartRef__":true,"id":1857}],"_ClipMode":"visible","_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-12.0,-6.0)","_Extent":"lively.pt(16.0,12.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,0)"},"1854":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1855":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1856":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1857":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1858":{"morph":{"__isSmartRef__":true,"id":1852},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1859":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1860},{"__isSmartRef__":true,"id":1861}],"_ClipMode":"visible","_BorderWidth":1,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(200.0,9.0)","_Extent":"lively.pt(480.0,32.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1860":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1861":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1862":{"morph":{"__isSmartRef__":true,"id":1851},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1863":{"morph":{"__isSmartRef__":true,"id":1851},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1864":{"morph":{"__isSmartRef__":true,"id":1851},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1852},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1865":{"morphMenuItems":{"__isSmartRef__":true,"id":1866}},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"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":1872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1851},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1868}},"1868":{"$super":{"__isSmartRef__":true,"id":1869}},"1869":{"varMapping":{"__isSmartRef__":true,"id":1870},"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":1871},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1870":{"obj":{"__isSmartRef__":true,"id":1851},"name":"morphMenuItems"},"1871":{},"1872":{},"1873":{"morph":{"__isSmartRef__":true,"id":1832},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1874":{"centeredHorizontal":false,"moveHorizontal":true},"1875":{"submorphs":[{"__isSmartRef__":true,"id":1876}],"scripts":[],"id":"655A7AE0-C667-4686-9435-ABD794E847B2","shape":{"__isSmartRef__":true,"id":1881},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1882},"lighterFill":{"__isSmartRef__":true,"id":1887},"label":{"__isSmartRef__":true,"id":1876},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1892},"attributeConnections":[{"__isSmartRef__":true,"id":1893}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1894},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3","FF38CA79-C0DF-4F2F-8FC3-407571EF6A54","B1D50332-9F4F-4F7C-AC3F-95DC6C73EAA4","5B8D7C39-987A-4849-BFFD-3F316CE03852","F7C30F5C-7270-44B1-ADFF-7473F2012DB0","5142302E-3E9A-476B-AB24-B2448DA6D3E4","FEA3C508-593D-4BC7-B645-8B5630CF2EDE","34DBC442-E1DE-42D7-8C63-BA9A1890C994","4F9067A3-5A5C-4637-A76F-7E590CEE2BDA","ADF74818-537A-4669-A455-9509BA7BD7E5","AFCD7FA7-5429-4B1A-B8B8-AB03C18ABA08","604C352D-0347-4329-A299-EAA3FF90B543","46C5ED11-DE03-428F-A758-5308B3D323B5","7C978B2A-9109-42E1-95C5-A59CC74BD31B","2D34E370-3EA6-48DD-B3A7-FE7EB1CCD78D","A0B7F880-0D72-475C-A002-2EAA7D20C004","1146967F-5295-4931-9637-CF72A6A6D724","775F3066-BB4B-4673-B529-500522EF5165","F01F4895-6DEF-4C26-9CEC-A569AEDD22E6","DDD1C856-9C9F-4CB1-A795-E083B7214E82","51E21302-B2D2-49D0-82D9-D964A6B3C54F","BC9DA8C7-933D-4140-96D3-1E7ADEEC8D69","26FA6101-FD83-4A6D-BA08-839ADCA2E33A","43BD3A17-F549-4B6B-8D78-0F84AFE3A168"],"owner":{"__isSmartRef__":true,"id":951},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"isPressed":false,"layout":{"__isSmartRef__":true,"id":1895},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(468.5,9.0)","distanceToDragEvent":"lively.pt(72.1,-12.5)"},"1876":{"submorphs":[],"scripts":[],"id":"5A99BC56-4282-4D13-A586-BF10E3870C48","shape":{"__isSmartRef__":true,"id":1877},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":97,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1875},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1878}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1880},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718","6BB077CE-92E6-47BE-BE88-9A48488562D1","9E359973-2FDB-417B-BB06-AB34D52BD310","58F098ED-A190-44F2-B73E-80802B2CF2F6","AEA84B35-B349-4307-92C6-8F229705DFC2","A677CADF-24FF-4177-9A3A-FE9AAE7D60FE","0F875AD9-E54C-4735-9BA9-7B89574233A1","840EBE92-3BC2-42EC-819E-3CD002576490","78C4969D-2C33-4B17-9027-89B411B9F496","C9A3D112-C2BC-43A3-A3CA-A68F41A0E4CF","78CF2F1A-6697-4D03-AB2B-CAF862B4EDD6","8B416918-CA4B-46D1-8A3C-40F8A754E44D","01510710-A85B-4054-B0ED-7F2F02434806","8ABD23FB-E90C-4EEB-BF53-DF3C6ACF2BD4","87607080-4A72-484D-A5BD-5F67D468505F","F0E39FE9-F71C-4587-B25A-C4D2C29FE579","BA2AB73A-3967-4F9E-8828-8A638E521B31","5ECC4D2F-4996-403F-AF14-BD1F4BB720F6","54B08934-6893-4B80-8625-B60ABCE9CBC6","4808CF23-17EA-43D8-AE10-DAB21C642FA8","0813DF8A-CC9E-435B-B5A1-DF68BF226F37","047C4EE2-26A1-4AA7-9CE9-E8FF9A9D863B","728334BD-34B0-44FA-A778-2696AA82FEFA","7354635C-DC38-4BE3-9F56-070CE37B65EF"],"_MinTextWidth":97,"_MinTextHeight":null,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1877":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(2,2,0,0)"},"1878":{"style":{"__isSmartRef__":true,"id":1879},"chunkOwner":{"__isSmartRef__":true,"id":1876},"storedString":"Tests","_id":"_1371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1879":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1880":{"morph":{"__isSmartRef__":true,"id":1876},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1881":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1882},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1882":{"stops":[{"__isSmartRef__":true,"id":1883},{"__isSmartRef__":true,"id":1884},{"__isSmartRef__":true,"id":1885},{"__isSmartRef__":true,"id":1886}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1883":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1884":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1885":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1886":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1887":{"stops":[{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":1890},{"__isSmartRef__":true,"id":1891}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1888":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1889":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1890":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1891":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1892":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1893":{"sourceObj":{"__isSmartRef__":true,"id":1875},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"openPartTestRunner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1894":{"morph":{"__isSmartRef__":true,"id":1875},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1895":{"moveHorizontal":true},"1896":{"submorphs":[{"__isSmartRef__":true,"id":1897},{"__isSmartRef__":true,"id":1904}],"scripts":[],"id":"45D99CA4-00FA-40E6-9AB3-B67AF27CCEE1","shape":{"__isSmartRef__":true,"id":1907},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1913},"lighterFill":{"__isSmartRef__":true,"id":1918},"label":{"__isSmartRef__":true,"id":1897},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1923},"attributeConnections":[{"__isSmartRef__":true,"id":1926}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1927},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F","797EC165-A639-42D9-A059-669F6BEB92A7","FA498EFD-E50E-4CE0-9FA8-9AE2E8AE9580","4B68C371-CB37-45B4-910A-611E5FFC23DD","94E374B9-7ED4-4E39-96F1-6FD4E7AC3428","34D63515-7CC7-43FB-B7BB-87AFCA377D63","7E0B172C-0AF5-4C6E-B184-25A8FAE4FAB8","12239D52-D3D3-4713-BC3E-F0B95C488CB7","72559D92-4616-45A9-A0F2-72BA4147C0FB","E86C7328-AF24-4881-84AF-B7C7CEFEAE14","22D731CF-38F0-41CC-B125-74D2842ED847","B58A1A30-782E-4675-A276-2C01D35BEC70","ACEABA6D-071C-46C2-A325-BE30189AA45F","686443AE-DCDC-4998-8A39-48BC57D64FDC","8D660766-7C93-404C-9D92-B12CBF59A3CE","20DF1A18-6F2B-4D66-9110-75EB343C3C61"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":951},"_Rotation":0,"_Scale":0.9920279440699439,"highlightRectangle":{"__isSmartRef__":true,"id":1928},"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2002},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(424.5,8.5)","distanceToDragEvent":"lively.pt(37.9,-7.9)"},"1897":{"submorphs":[],"scripts":[],"id":"C77DC555-D9A9-4CEE-AFCD-87B1285FEDCB","shape":{"__isSmartRef__":true,"id":1898},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":1896},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1899},{"__isSmartRef__":true,"id":1901}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1903},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4","CA8596D3-2D4F-453B-BE1B-DCEC8F85389B","4D7DC32F-79CB-4AF8-8B21-AB4F1809D4A8","439DE430-7651-470E-97D8-00E7F96B04DA","DAC920E6-217B-4515-AC09-2F9DCBA7375C","BD48C003-0502-451D-B6AA-7369FF3D1030","C3B8F4EA-3F44-47F4-B569-A0D5AB263BA0","BF7F0FA3-3F2A-4EEF-9687-BE2B0635DF13","3D7AEAC1-C9DD-4941-BA46-16F6783F5699","E04A78F9-3D6E-403F-BA8D-2583FCFFCE53","47E1F29B-6896-467D-8654-CA18929AE57A","509D86FF-5400-4374-BE79-90F0A7E3E90C","C7E53EE0-065A-4C59-8D13-311566722BB7","BA078BAC-7263-4B10-AFD3-3C4EA0DD8707","BCFE28D1-A115-453E-9116-EECC8FE1D50F","A354FF2E-BD85-429A-97C2-254D6033F50C"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"1898":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"1899":{"style":{"__isSmartRef__":true,"id":1900},"chunkOwner":{"__isSmartRef__":true,"id":1897},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1900":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1901":{"style":{"__isSmartRef__":true,"id":1902},"chunkOwner":{"__isSmartRef__":true,"id":1897},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1902":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1903":{"morph":{"__isSmartRef__":true,"id":1897},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1904":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1905},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA","85BA370B-966E-41F7-8C2F-F3A926EC2AA2","1652172B-339A-43A1-9589-70E68B35A28E","705524F7-129B-4102-834E-2A1A45985BB5","5707DF70-CD77-4D53-96ED-5A0AEB227FB7","257E62CE-C668-4317-B5B7-8D394BDC3F6C","2DD4BEA5-E85A-4CD0-953E-9EB2E0735654","BB96B696-7BD4-44C4-9D60-B1551B89D6FA","FCAABC48-FBAF-4E12-8BC9-AC4ACB5A167B","EB81C4D7-5BD8-4DAC-BD70-8675E2338AAC","1DBAE3FF-B2F6-4348-8E06-81139C138D6E","49E7D450-EF74-4E94-B33B-B888D952F3BD","F0B267C4-54BA-4E6F-BFDD-4B047F4FF41A","36B8611D-B449-4F6E-8D0F-B5FD6406D45D","779DB518-01BD-4D32-AD65-BFED801E5D06","F47D501C-3750-4F0D-A2E1-E1B9CDA8368C"],"id":"C0144C92-126F-440E-80EF-5A04816E298D","eventHandler":{"__isSmartRef__":true,"id":1906},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1896},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"1905":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(29.0,29.0)","_Padding":"lively.rect(0,0,0,0)"},"1906":{"morph":{"__isSmartRef__":true,"id":1904},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1907":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1908},"_BorderRadius":5.2,"__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,24.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"1908":{"stops":[{"__isSmartRef__":true,"id":1909},{"__isSmartRef__":true,"id":1910},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1912}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1909":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1910":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1911":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1912":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"1913":{"stops":[{"__isSmartRef__":true,"id":1914},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1917}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1914":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1915":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1916":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1917":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1918":{"stops":[{"__isSmartRef__":true,"id":1919},{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1921},{"__isSmartRef__":true,"id":1922}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1919":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1920":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1921":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1922":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1923":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":1924}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1924":{"date":{"__isSmartRef__":true,"id":1925},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"1925":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"1926":{"sourceObj":{"__isSmartRef__":true,"id":1896},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1896},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1927":{"morph":{"__isSmartRef__":true,"id":1896},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1928":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":1929},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1930},"eventHandler":{"__isSmartRef__":true,"id":1971},"attributeConnections":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1974}],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","6FECB598-D130-4242-BF1B-E18767608129","0B23F218-078F-4912-A262-31B957885F41","C56BA290-B836-4946-B4EF-DBB6FBA2368C","61176BAF-CFE6-4F2C-9F0A-971AAD6595A1","CB4127B2-0AA5-4B50-9978-F1FF39924A82","113050BB-CF0E-4193-91C6-9C25FC857EE8","EFF939E4-317B-4662-943F-77A6E6F65BD0","AA288E7F-3972-4F0D-87DD-61E4BD9C9C97","903E8C60-1158-42D5-85D2-DF134DA6CEC1","28FD6210-A549-4A11-9178-04E77FF556C0","B3312E29-D786-469F-865E-91FD69475A52","D947A1C1-DCBE-4485-A33D-DF549F6978E0","56CE0E60-45BE-43FF-9C6C-296D8AC326B6","CC61E3F8-8C8D-4F24-A591-023D3C88DEC8"],"partTests":{"__isSmartRef__":true,"id":1976},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"","eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_Rotation":0,"_Scale":1.0060210561262526,"owner":null,"magnifierButton":{"__isSmartRef__":true,"id":1896},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1981},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(40.0,4131.0)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"1929":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.2597,"_BorderStyle":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(775.0,471.0)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"1930":{"partsSpaceName":"PartsBin/Tools","comment":"A rectangle which highlights the object under the first hand of the world","migrationLevel":4,"partName":"HighlightRectangle","changes":[{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1941},{"__isSmartRef__":true,"id":1943},{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1953},{"__isSmartRef__":true,"id":1955},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1963},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1967},{"__isSmartRef__":true,"id":1969}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1931":{"date":{"__isSmartRef__":true,"id":1932},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"1932":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"1933":{"date":{"__isSmartRef__":true,"id":1934},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"1934":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"1935":{"date":{"__isSmartRef__":true,"id":1936},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"1936":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"1937":{"date":{"__isSmartRef__":true,"id":1938},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"1938":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"1939":{"date":{"__isSmartRef__":true,"id":1940},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"1940":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"1941":{"date":{"__isSmartRef__":true,"id":1942},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1942":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1943":{"date":{"__isSmartRef__":true,"id":1944},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1944":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1945":{"date":{"__isSmartRef__":true,"id":1946},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1946":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1947":{"date":{"__isSmartRef__":true,"id":1948},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1948":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1949":{"date":{"__isSmartRef__":true,"id":1950},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1950":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1951":{"date":{"__isSmartRef__":true,"id":1952},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1952":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1953":{"date":{"__isSmartRef__":true,"id":1954},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"1954":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"1955":{"date":{"__isSmartRef__":true,"id":1956},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"1956":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"1957":{"date":{"__isSmartRef__":true,"id":1958},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"1958":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"1959":{"date":{"__isSmartRef__":true,"id":1960},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"1960":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"1961":{"date":{"__isSmartRef__":true,"id":1962},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"1962":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"1963":{"date":{"__isSmartRef__":true,"id":1964},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"1964":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"1965":{"date":{"__isSmartRef__":true,"id":1966},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"1966":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"1967":{"date":{"__isSmartRef__":true,"id":1968},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"1968":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"1969":{"date":{"__isSmartRef__":true,"id":1970},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"1970":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"1971":{"morph":{"__isSmartRef__":true,"id":1928},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1972":{"sourceObj":{"__isSmartRef__":true,"id":1928},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":1928},"targetMethodName":"updateOnMove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1973":{"sourceObj":{"__isSmartRef__":true,"id":1928},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":1896},"targetMethodName":"removeHighlighting","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1974":{"sourceObj":{"__isSmartRef__":true,"id":1928},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":951},"targetMethodName":"setTarget","converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1975},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1975":{"source":{"__isSmartRef__":true,"id":1928},"target":{"__isSmartRef__":true,"id":951}},"1976":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1977}},"1977":{"test01IsMorph":{"__isSmartRef__":true,"id":1978}},"1978":{"varMapping":{"__isSmartRef__":true,"id":1979},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1980},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1979":{"this":{"__isSmartRef__":true,"id":1976}},"1980":{},"1981":{"update":{"__isSmartRef__":true,"id":1982},"updateOnMove":{"__isSmartRef__":true,"id":1986},"bringToFront":{"__isSmartRef__":true,"id":1990},"morphUnderCursor":{"__isSmartRef__":true,"id":1998}},"1982":{"varMapping":{"__isSmartRef__":true,"id":1983},"source":"function update(morphUnderCursor) {\n if (morphUnderCursor === this.magnifierButton ||\n this.magnifierButton.submorphs.include(morphUnderCursor)) {\n morphToHighlight = this.magnifierButton.currentTarget();\n } else {\n morphToHighlight = morphUnderCursor;\n }\n\n if (morphToHighlight && morphToHighlight.world()) {\n this.setPosition(morphToHighlight.getPositionInWorld());\n this.setExtent(morphToHighlight.getExtent());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1983":{"this":{"__isSmartRef__":true,"id":1928}},"1984":{"timestamp":{"__isSmartRef__":true,"id":1985},"user":"lauritz","tags":[]},"1985":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"1986":{"varMapping":{"__isSmartRef__":true,"id":1987},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":1988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1987":{"this":{"__isSmartRef__":true,"id":1928}},"1988":{"timestamp":{"__isSmartRef__":true,"id":1989},"user":"lauritz","tags":[]},"1989":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"1990":{"varMapping":{"__isSmartRef__":true,"id":1991},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":1996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1991":{"this":{"__isSmartRef__":true,"id":1928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1992}},"1992":{"$super":{"__isSmartRef__":true,"id":1993}},"1993":{"varMapping":{"__isSmartRef__":true,"id":1994},"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":1995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1994":{"obj":{"__isSmartRef__":true,"id":1928},"name":"bringToFront"},"1995":{},"1996":{"timestamp":{"__isSmartRef__":true,"id":1997},"user":"lauritz","tags":[]},"1997":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"1998":{"varMapping":{"__isSmartRef__":true,"id":1999},"source":"function morphUnderCursor() {\n var that = this,\n world = lively.morphic.World.current(); \n \n return world.morphsContainingPoint(world.firstHand().getPosition()).detect(\n function(ea) {\n return !ea.isPlaceholder &&\n !ea.isHalo &&\n (!ea.owner || !ea.owner.isHalo) &&\n !(ea === that);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1999":{"this":{"__isSmartRef__":true,"id":1928}},"2000":{"timestamp":{"__isSmartRef__":true,"id":2001},"user":"lauritz","tags":[]},"2001":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"2002":{"onFire":{"__isSmartRef__":true,"id":2003},"removeHighlighting":{"__isSmartRef__":true,"id":2007},"onMouseMove":{"__isSmartRef__":true,"id":2011},"onMouseOut":{"__isSmartRef__":true,"id":2019},"reset":{"__isSmartRef__":true,"id":2027},"isTracking":{"__isSmartRef__":true,"id":2031},"isHighlighting":{"__isSmartRef__":true,"id":2035},"currentTarget":{"__isSmartRef__":true,"id":2039}},"2003":{"varMapping":{"__isSmartRef__":true,"id":2004},"source":"function onFire() {\n var hand = lively.morphic.World.current().firstHand(),\n highlight = this.highlightRectangle,\n that = this;\n\n if (this.isTracking()) {\n this.removeHighlighting();\n } else {\n this.world().addMorph(highlight);\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", highlight, \"update\");\n highlight.bringToFront();\n if (!this.currentTarget() || !this.currentTarget().world()) {\n highlight.setExtent(pt(0,0));\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2004":{"this":{"__isSmartRef__":true,"id":1896}},"2005":{"timestamp":{"__isSmartRef__":true,"id":2006},"user":"lauritz","tags":[]},"2006":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"2007":{"varMapping":{"__isSmartRef__":true,"id":2008},"source":"function removeHighlighting() {\n var hand = this.world().firstHand();\n \n if (this.highlightRectangle) {\n this.highlightRectangle.remove();\n }\n \n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection));\n hand.highlightConnection = null;\n}","funcProperties":{"__isSmartRef__":true,"id":2009},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2008":{"this":{"__isSmartRef__":true,"id":1896}},"2009":{"timestamp":{"__isSmartRef__":true,"id":2010},"user":"lauritz","tags":[]},"2010":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:30 GMT+0200 (CEST)"},"2011":{"varMapping":{"__isSmartRef__":true,"id":2012},"source":"function onMouseMove(evt) {\n var target = this.currentTarget();\n if (target && target.world() && !this.isHighlighting()) {\n this.highlightRectangle.update(target);\n this.world().addMorph(this.highlightRectangle);\n this.highlightRectangle.bringToFront();\n this.targetHighlight = this.highlightRectangle;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2017},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2012":{"this":{"__isSmartRef__":true,"id":1896},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2013}},"2013":{"$super":{"__isSmartRef__":true,"id":2014}},"2014":{"varMapping":{"__isSmartRef__":true,"id":2015},"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":2016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2015":{"obj":{"__isSmartRef__":true,"id":1896},"name":"onMouseMove"},"2016":{},"2017":{"timestamp":{"__isSmartRef__":true,"id":2018},"user":"lauritz","tags":[]},"2018":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"2019":{"varMapping":{"__isSmartRef__":true,"id":2020},"source":"function onMouseOut() {\n if (this.isHighlighting()) {\n if (!this.isTracking()) {\n this.targetHighlight.remove();\n }\n delete this.targetHighlight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2020":{"this":{"__isSmartRef__":true,"id":1896},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2021}},"2021":{"$super":{"__isSmartRef__":true,"id":2022}},"2022":{"varMapping":{"__isSmartRef__":true,"id":2023},"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":2024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2023":{"obj":{"__isSmartRef__":true,"id":1896},"name":"onMouseOut"},"2024":{},"2025":{"timestamp":{"__isSmartRef__":true,"id":2026},"user":"lauritz","tags":[]},"2026":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"2027":{"varMapping":{"__isSmartRef__":true,"id":2028},"source":"function reset() {\n this.highlightRectangle.attributeConnections = [];\n \n connect(rect, \"onMouseMove\", this.highlightRectangle, \"updateOnMove\")\n connect(rect, \"onMouseUp\", this, \"removeHighlighting\")\n connect(rect, \"onMouseUp\", this.owner, \"setTarget\",\n {converter: function () {\n return this.sourceObj.morphUnderCursor();\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2028":{"this":{"__isSmartRef__":true,"id":1896}},"2029":{"timestamp":{"__isSmartRef__":true,"id":2030},"user":"lauritz","tags":[]},"2030":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:55 GMT+0200 (CEST)"},"2031":{"varMapping":{"__isSmartRef__":true,"id":2032},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":2033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2032":{"this":{"__isSmartRef__":true,"id":1896}},"2033":{"timestamp":{"__isSmartRef__":true,"id":2034},"user":"lauritz","tags":[]},"2034":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"2035":{"varMapping":{"__isSmartRef__":true,"id":2036},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":2037},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2036":{"this":{"__isSmartRef__":true,"id":1896}},"2037":{"timestamp":{"__isSmartRef__":true,"id":2038},"user":"lauritz","tags":[]},"2038":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"2039":{"varMapping":{"__isSmartRef__":true,"id":2040},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":2041},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2040":{"this":{"__isSmartRef__":true,"id":1896}},"2041":{"timestamp":{"__isSmartRef__":true,"id":2042},"user":"lauritz","tags":[]},"2042":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"2043":{"target":{"__isSmartRef__":true,"id":951},"selector":"update","args":[],"stopped":false,"tickTime":500,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"2044":{"_BorderWidth":1,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(808.0,431.8)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2045":{"partsSpaceName":"PartsBin/Basic","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":2046}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2046":{"date":{"__isSmartRef__":true,"id":2047},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"2047":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"2048":{"morph":{"__isSmartRef__":true,"id":951},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2049":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2050":{},"2051":{"displayInitialScript":{"__isSmartRef__":true,"id":2052},"displayJavaScriptSource":{"__isSmartRef__":true,"id":2056},"displaySourceForConnection":{"__isSmartRef__":true,"id":2060},"displaySourceForScript":{"__isSmartRef__":true,"id":2064},"generateSourceForConnection":{"__isSmartRef__":true,"id":2068},"generateSourceForScript":{"__isSmartRef__":true,"id":2072},"generateTargetCode":{"__isSmartRef__":true,"id":2076},"newConnection":{"__isSmartRef__":true,"id":2080},"newScript":{"__isSmartRef__":true,"id":2084},"reset":{"__isSmartRef__":true,"id":2088},"selectChangedContent":{"__isSmartRef__":true,"id":2092},"setTarget":{"__isSmartRef__":true,"id":2096},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":2100},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":2104},"updateLists":{"__isSmartRef__":true,"id":2108},"onShutdown":{"__isSmartRef__":true,"id":2112},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":2116},"update":{"__isSmartRef__":true,"id":2120},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":2124},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2128},"printTags":{"__isSmartRef__":true,"id":2136},"setTag":{"__isSmartRef__":true,"id":2140},"runScript":{"__isSmartRef__":true,"id":2144},"openPartTestRunner":{"__isSmartRef__":true,"id":2148},"hasUnsavedChanges":{"__isSmartRef__":true,"id":2152}},"2052":{"varMapping":{"__isSmartRef__":true,"id":2053},"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":2054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2053":{"this":{"__isSmartRef__":true,"id":951}},"2054":{"timestamp":{"__isSmartRef__":true,"id":2055},"user":"lauritz","tags":[]},"2055":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"2056":{"varMapping":{"__isSmartRef__":true,"id":2057},"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":2058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2057":{"this":{"__isSmartRef__":true,"id":951}},"2058":{"timestamp":{"__isSmartRef__":true,"id":2059},"user":"lauritz","tags":[]},"2059":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"2060":{"varMapping":{"__isSmartRef__":true,"id":2061},"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":2062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2061":{"this":{"__isSmartRef__":true,"id":951}},"2062":{"timestamp":{"__isSmartRef__":true,"id":2063},"user":"conradcalmez","tags":[]},"2063":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"2064":{"varMapping":{"__isSmartRef__":true,"id":2065},"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 if (code) this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":2066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2065":{"this":{"__isSmartRef__":true,"id":951}},"2066":{"timestamp":{"__isSmartRef__":true,"id":2067},"user":"cschuster","tags":[]},"2067":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:26 GMT+0200 (CEST)"},"2068":{"varMapping":{"__isSmartRef__":true,"id":2069},"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":2070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2069":{"this":{"__isSmartRef__":true,"id":951}},"2070":{"timestamp":{"__isSmartRef__":true,"id":2071},"user":"lauritz","tags":[]},"2071":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"2072":{"varMapping":{"__isSmartRef__":true,"id":2073},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (!script) return;\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":2074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2073":{"this":{"__isSmartRef__":true,"id":951}},"2074":{"timestamp":{"__isSmartRef__":true,"id":2075},"user":"cschuster","tags":[]},"2075":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:45 GMT+0200 (CEST)"},"2076":{"varMapping":{"__isSmartRef__":true,"id":2077},"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":2078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2077":{"this":{"__isSmartRef__":true,"id":951}},"2078":{"timestamp":{"__isSmartRef__":true,"id":2079},"user":"lauritz","tags":[]},"2079":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"2080":{"varMapping":{"__isSmartRef__":true,"id":2081},"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":2082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2081":{"this":{"__isSmartRef__":true,"id":951}},"2082":{"timestamp":{"__isSmartRef__":true,"id":2083},"user":"lauritz","tags":[]},"2083":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"2084":{"varMapping":{"__isSmartRef__":true,"id":2085},"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":2086},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2085":{"this":{"__isSmartRef__":true,"id":951}},"2086":{"timestamp":{"__isSmartRef__":true,"id":2087},"user":"lauritz","tags":[]},"2087":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"2088":{"varMapping":{"__isSmartRef__":true,"id":2089},"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 \n this.target = null;\n this.currentTag = null;\n \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 \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":2090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2089":{"this":{"__isSmartRef__":true,"id":951}},"2090":{"timestamp":{"__isSmartRef__":true,"id":2091},"user":"lauritz","tags":[]},"2091":{"isSerializedDate":true,"string":"Fri Aug 03 2012 11:45:36 GMT+0200 (CEST)"},"2092":{"varMapping":{"__isSmartRef__":true,"id":2093},"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