myExtent.x) {\n newX = myExtent.x - extent.x;\n hasCollided = true;\n }\n if (position.y + extent.y > myExtent.y - this.ground().getExtent().y) {\n newY = myExtent.y - this.ground().getExtent().y - extent.y;\n hasCollided = true;\n }\n aSubmorph.setPosition(pt(newX, newY));\n return hasCollided;\n}","funcProperties":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"230":{"this":{"__isSmartRef__":true,"id":1}},"231":{"timestamp":{"__isSmartRef__":true,"id":232},"user":"fbo","tags":[]},"232":{"isSerializedDate":true,"string":"Sat Dec 22 2012 12:40:19 GMT+0100 (CET)"},"233":{"submorphs":[{"__isSmartRef__":true,"id":234},{"__isSmartRef__":true,"id":1367},{"__isSmartRef__":true,"id":1398}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1446},"id":"BC2FF47F-D3B0-4CC2-824B-BCD3544C3D2F","eventHandler":{"__isSmartRef__":true,"id":1447},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1448},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":234},"titleBar":{"__isSmartRef__":true,"id":1398},"collapsedTransform":{"__isSmartRef__":true,"id":1449},"expandedTransform":{"__isSmartRef__":true,"id":1450},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1451},"name":"ObjectEditor","highlighted":false,"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,"__serializedExpressions__":["contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition","minSize","minExtent","_Position"],"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1599},"__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(377.0,464.0)","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(279.5,445.2)"},"234":{"submorphs":[{"__isSmartRef__":true,"id":235},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":740},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":810},{"__isSmartRef__":true,"id":469},{"__isSmartRef__":true,"id":483},{"__isSmartRef__":true,"id":841},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1043},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1107}],"scripts":[{"__isSmartRef__":true,"id":1254}],"id":"BDA3DDBE-C7EA-4291-A58C-421E6C307116","shape":{"__isSmartRef__":true,"id":1255},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1256},"eventHandler":{"__isSmartRef__":true,"id":1259},"layout":{"__isSmartRef__":true,"id":1260},"target":{"__isSmartRef__":true,"id":1},"scriptPane":{"__isSmartRef__":true,"id":469},"scriptList":{"__isSmartRef__":true,"id":235},"connectionList":{"__isSmartRef__":true,"id":562},"morphSelector":{"__isSmartRef__":true,"id":841},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":483},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"tagChooser":{"__isSmartRef__":true,"id":938},"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":233},"partTests":{"__isSmartRef__":true,"id":1261},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1262},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(350.2,-3.2)","_Position":"lively.pt(1.0,21.5)"},"235":{"submorphs":[],"scripts":[],"id":"D2082C55-BB00-4901-8B9E-2D0609BADC02","shape":{"__isSmartRef__":true,"id":236},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --","addMorph","attractedObjects","ground","keepInBounds","setExtent","simulateStep","start","stop"],"selectedLineNo":0,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":237},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":234},"prevScroll":[0,16],"attributeConnections":[{"__isSmartRef__":true,"id":238}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":240},"doitContext":{"__isSmartRef__":true,"id":241},"eventHandler":{"__isSmartRef__":true,"id":718},"_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":719},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,63.0)","distanceToDragEvent":"lively.pt(126.0,-14.4)"},"236":{"_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)"},"237":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"238":{"sourceObj":{"__isSmartRef__":true,"id":235},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n return (value === '-- ALL --') ? null : value;\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":239},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"239":{"source":{"__isSmartRef__":true,"id":235},"target":{"__isSmartRef__":true,"id":234}},"240":{"resizeHeight":true},"241":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":242},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":243},"titleBar":{"__isSmartRef__":true,"id":244},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":309},"highlighted":true,"_Rotation":0,"_Scale":1,"showsHalos":false,"name":"ObjectEditor","target":{"__isSmartRef__":true,"id":310},"partsBinMetaInfo":{"__isSmartRef__":true,"id":468},"scriptList":{"__isSmartRef__":true,"id":235},"scriptPane":{"__isSmartRef__":true,"id":469},"classButton":{"__isSmartRef__":true,"id":542},"connectionList":{"__isSmartRef__":true,"id":562},"targetButton":{"__isSmartRef__":true,"id":574},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"morphSelector":{"__isSmartRef__":true,"id":592},"eventHandler":{"__isSmartRef__":true,"id":665},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["contentOffset","expandedExtent","prevDragPos","expandedPosition","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":666},"__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)"},"242":{"_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)"},"243":{"adjustForNewBounds":true},"244":{"submorphs":[{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":250},{"__isSmartRef__":true,"id":271},{"__isSmartRef__":true,"id":286}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":302},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":307},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":241},"label":{"__isSmartRef__":true,"id":245},"closeButton":{"__isSmartRef__":true,"id":250},"menuButton":{"__isSmartRef__":true,"id":271},"collapseButton":{"__isSmartRef__":true,"id":286},"owner":null,"name":"ObjectEditorTitleBar","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":308},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"245":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":246},"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":247}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":244},"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":249},"_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)"},"246":{"_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)"},"247":{"style":{"__isSmartRef__":true,"id":248},"chunkOwner":{"__isSmartRef__":true,"id":245},"storedString":"","_id":"_1341","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"248":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"249":{"morph":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"250":{"submorphs":[{"__isSmartRef__":true,"id":251}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":256},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":257},"lighterFill":{"__isSmartRef__":true,"id":262},"label":{"__isSmartRef__":true,"id":251},"owner":{"__isSmartRef__":true,"id":244},"layout":{"__isSmartRef__":true,"id":267},"attributeConnections":[{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":269}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":270},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(961.0,3.0)"},"251":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":252},"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":253}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":250},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":255},"_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)"},"252":{"_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)"},"253":{"style":{"__isSmartRef__":true,"id":254},"chunkOwner":{"__isSmartRef__":true,"id":251},"storedString":"","_id":"_1342","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"254":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"255":{"morph":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"256":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":257},"_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)"},"257":{"stops":[{"__isSmartRef__":true,"id":258},{"__isSmartRef__":true,"id":259},{"__isSmartRef__":true,"id":260},{"__isSmartRef__":true,"id":261}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"258":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"259":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"260":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"261":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"262":{"stops":[{"__isSmartRef__":true,"id":263},{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":265},{"__isSmartRef__":true,"id":266}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"263":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"264":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"265":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"266":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"267":{"moveHorizontal":true},"268":{"sourceObj":{"__isSmartRef__":true,"id":250},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"269":{"sourceObj":{"__isSmartRef__":true,"id":250},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"270":{"morph":{"__isSmartRef__":true,"id":250},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"271":{"submorphs":[{"__isSmartRef__":true,"id":272}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":277},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":257},"lighterFill":{"__isSmartRef__":true,"id":278},"label":{"__isSmartRef__":true,"id":272},"owner":{"__isSmartRef__":true,"id":244},"attributeConnections":[{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":284}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":285},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"272":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":273},"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":274}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":271},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":276},"_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)"},"273":{"_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)"},"274":{"style":{"__isSmartRef__":true,"id":275},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"","_id":"_1343","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"275":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"276":{"morph":{"__isSmartRef__":true,"id":272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"277":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":257},"_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)"},"278":{"stops":[{"__isSmartRef__":true,"id":279},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":282}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"279":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"280":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"281":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"282":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"283":{"sourceObj":{"__isSmartRef__":true,"id":271},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"284":{"sourceObj":{"__isSmartRef__":true,"id":271},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"285":{"morph":{"__isSmartRef__":true,"id":271},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"286":{"submorphs":[{"__isSmartRef__":true,"id":287}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":292},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":257},"lighterFill":{"__isSmartRef__":true,"id":293},"label":{"__isSmartRef__":true,"id":287},"owner":{"__isSmartRef__":true,"id":244},"layout":{"__isSmartRef__":true,"id":298},"attributeConnections":[{"__isSmartRef__":true,"id":299},{"__isSmartRef__":true,"id":300}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":301},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(942.0,3.0)"},"287":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":288},"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":289}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":286},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":291},"_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)"},"288":{"_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)"},"289":{"style":{"__isSmartRef__":true,"id":290},"chunkOwner":{"__isSmartRef__":true,"id":287},"storedString":"","_id":"_1344","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"290":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"291":{"morph":{"__isSmartRef__":true,"id":287},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"292":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":257},"_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)"},"293":{"stops":[{"__isSmartRef__":true,"id":294},{"__isSmartRef__":true,"id":295},{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":297}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"294":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"295":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"296":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"297":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"298":{"moveHorizontal":true},"299":{"sourceObj":{"__isSmartRef__":true,"id":286},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"300":{"sourceObj":{"__isSmartRef__":true,"id":286},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"301":{"morph":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"302":{"_BorderWidth":2,"_Fill":{"__isSmartRef__":true,"id":303},"_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)"},"303":{"stops":[{"__isSmartRef__":true,"id":304},{"__isSmartRef__":true,"id":305},{"__isSmartRef__":true,"id":306}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,1,0,-1)"},"304":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"305":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"306":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"307":{"resizeWidth":true,"adjustForNewBounds":true},"308":{"morph":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"309":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"310":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":311},"id":394,"textChunks":[{"__isSmartRef__":true,"id":312}],"eventHandler":{"__isSmartRef__":true,"id":314},"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":315},"layout":{"__isSmartRef__":true,"id":387},"doitContext":{"__isSmartRef__":true,"id":388},"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)"},"311":{"_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)"},"312":{"style":{"__isSmartRef__":true,"id":313},"chunkOwner":{"__isSmartRef__":true,"id":310},"storedString":"","_id":"_1353","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"313":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"314":{"morph":{"__isSmartRef__":true,"id":310},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"315":{"submorphs":[{"__isSmartRef__":true,"id":310},{"__isSmartRef__":true,"id":316}],"scripts":[],"shape":{"__isSmartRef__":true,"id":384},"id":395,"eventHandler":{"__isSmartRef__":true,"id":385},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":386},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":310},"titleBar":{"__isSmartRef__":true,"id":316},"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)"},"316":{"submorphs":[{"__isSmartRef__":true,"id":317},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":346},{"__isSmartRef__":true,"id":363}],"scripts":[],"shape":{"__isSmartRef__":true,"id":381},"id":396,"eventHandler":{"__isSmartRef__":true,"id":382},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":383},"windowMorph":{"__isSmartRef__":true,"id":315},"label":{"__isSmartRef__":true,"id":317},"closeButton":{"__isSmartRef__":true,"id":323},"menuButton":{"__isSmartRef__":true,"id":346},"collapseButton":{"__isSmartRef__":true,"id":363},"owner":{"__isSmartRef__":true,"id":315},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"317":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":318},"id":397,"textChunks":[{"__isSmartRef__":true,"id":319}],"eventHandler":{"__isSmartRef__":true,"id":321},"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":322},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":316},"_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)"},"318":{"_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)"},"319":{"style":{"__isSmartRef__":true,"id":320},"chunkOwner":{"__isSmartRef__":true,"id":317},"storedString":"","_id":"_1345","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"320":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"321":{"morph":{"__isSmartRef__":true,"id":317},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"322":{"resizeWidth":true},"323":{"submorphs":[{"__isSmartRef__":true,"id":324}],"scripts":[],"shape":{"__isSmartRef__":true,"id":329},"id":398,"eventHandler":{"__isSmartRef__":true,"id":335},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":336},"label":{"__isSmartRef__":true,"id":324},"owner":{"__isSmartRef__":true,"id":316},"layout":{"__isSmartRef__":true,"id":341},"attributeConnections":[{"__isSmartRef__":true,"id":342},{"__isSmartRef__":true,"id":344}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"324":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":325},"id":399,"textChunks":[{"__isSmartRef__":true,"id":326}],"eventHandler":{"__isSmartRef__":true,"id":328},"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":323},"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)"},"325":{"_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)"},"326":{"style":{"__isSmartRef__":true,"id":327},"chunkOwner":{"__isSmartRef__":true,"id":324},"storedString":"","_id":"_1346","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"327":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"328":{"morph":{"__isSmartRef__":true,"id":324},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"329":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"330":{"stops":[{"__isSmartRef__":true,"id":331},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":333},{"__isSmartRef__":true,"id":334}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"331":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"332":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"333":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"334":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"335":{"morph":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"336":{"stops":[{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":338},{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":340}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"337":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"338":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"339":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"340":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"341":{"moveHorizontal":true},"342":{"sourceObj":{"__isSmartRef__":true,"id":323},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":343},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"343":{"source":{"__isSmartRef__":true,"id":323},"target":{"__isSmartRef__":true,"id":315}},"344":{"sourceObj":{"__isSmartRef__":true,"id":323},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":345},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"345":{"source":{"__isSmartRef__":true,"id":323},"target":{"__isSmartRef__":true,"id":315}},"346":{"submorphs":[{"__isSmartRef__":true,"id":347}],"scripts":[],"shape":{"__isSmartRef__":true,"id":352},"id":400,"eventHandler":{"__isSmartRef__":true,"id":353},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":354},"label":{"__isSmartRef__":true,"id":347},"owner":{"__isSmartRef__":true,"id":316},"attributeConnections":[{"__isSmartRef__":true,"id":359},{"__isSmartRef__":true,"id":361}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"347":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":348},"id":401,"textChunks":[{"__isSmartRef__":true,"id":349}],"eventHandler":{"__isSmartRef__":true,"id":351},"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":346},"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)"},"348":{"_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)"},"349":{"style":{"__isSmartRef__":true,"id":350},"chunkOwner":{"__isSmartRef__":true,"id":347},"storedString":"","_id":"_1347","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"350":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"351":{"morph":{"__isSmartRef__":true,"id":347},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"352":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"353":{"morph":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"354":{"stops":[{"__isSmartRef__":true,"id":355},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":357},{"__isSmartRef__":true,"id":358}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"355":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"356":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"357":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"358":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"359":{"sourceObj":{"__isSmartRef__":true,"id":346},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"360":{"source":{"__isSmartRef__":true,"id":346},"target":{"__isSmartRef__":true,"id":315}},"361":{"sourceObj":{"__isSmartRef__":true,"id":346},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":362},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"362":{"source":{"__isSmartRef__":true,"id":346},"target":{"__isSmartRef__":true,"id":315}},"363":{"submorphs":[{"__isSmartRef__":true,"id":364}],"scripts":[],"shape":{"__isSmartRef__":true,"id":369},"id":402,"eventHandler":{"__isSmartRef__":true,"id":370},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":371},"label":{"__isSmartRef__":true,"id":364},"owner":{"__isSmartRef__":true,"id":316},"layout":{"__isSmartRef__":true,"id":376},"attributeConnections":[{"__isSmartRef__":true,"id":377},{"__isSmartRef__":true,"id":379}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"364":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":365},"id":403,"textChunks":[{"__isSmartRef__":true,"id":366}],"eventHandler":{"__isSmartRef__":true,"id":368},"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":363},"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)"},"365":{"_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)"},"366":{"style":{"__isSmartRef__":true,"id":367},"chunkOwner":{"__isSmartRef__":true,"id":364},"storedString":"","_id":"_1348","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"367":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"368":{"morph":{"__isSmartRef__":true,"id":364},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"369":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"370":{"morph":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"371":{"stops":[{"__isSmartRef__":true,"id":372},{"__isSmartRef__":true,"id":373},{"__isSmartRef__":true,"id":374},{"__isSmartRef__":true,"id":375}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"372":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"373":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"374":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"375":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"376":{"moveHorizontal":true},"377":{"sourceObj":{"__isSmartRef__":true,"id":363},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":378},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"378":{"source":{"__isSmartRef__":true,"id":363},"target":{"__isSmartRef__":true,"id":315}},"379":{"sourceObj":{"__isSmartRef__":true,"id":363},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":315},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":380},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"380":{"source":{"__isSmartRef__":true,"id":363},"target":{"__isSmartRef__":true,"id":315}},"381":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":303},"_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)"},"382":{"morph":{"__isSmartRef__":true,"id":316},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"383":{"resizeWidth":true,"adjustForNewBounds":true},"384":{"_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)"},"385":{"morph":{"__isSmartRef__":true,"id":315},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"386":{"adjustForNewBounds":true},"387":{"resizeWidth":true,"resizeHeight":true},"388":{"submorphs":[{"__isSmartRef__":true,"id":389},{"__isSmartRef__":true,"id":396}],"scripts":[],"shape":{"__isSmartRef__":true,"id":463},"id":361,"eventHandler":{"__isSmartRef__":true,"id":464},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":465},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":389},"titleBar":{"__isSmartRef__":true,"id":396},"collapsedTransform":{"__isSmartRef__":true,"id":466},"expandedTransform":{"__isSmartRef__":true,"id":467},"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)"},"389":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":390},"id":360,"textChunks":[{"__isSmartRef__":true,"id":391}],"eventHandler":{"__isSmartRef__":true,"id":393},"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":388},"layout":{"__isSmartRef__":true,"id":394},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":395}],"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)"},"390":{"_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)"},"391":{"style":{"__isSmartRef__":true,"id":392},"chunkOwner":{"__isSmartRef__":true,"id":389},"_id":"_829","storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"392":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"393":{"morph":{"__isSmartRef__":true,"id":389},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"394":{"resizeWidth":true,"resizeHeight":true},"395":{"sourceObj":{"__isSmartRef__":true,"id":389},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":389},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"396":{"submorphs":[{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":421},{"__isSmartRef__":true,"id":438}],"scripts":[],"shape":{"__isSmartRef__":true,"id":456},"id":362,"eventHandler":{"__isSmartRef__":true,"id":461},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":462},"windowMorph":{"__isSmartRef__":true,"id":388},"label":{"__isSmartRef__":true,"id":397},"closeButton":{"__isSmartRef__":true,"id":403},"menuButton":{"__isSmartRef__":true,"id":421},"collapseButton":{"__isSmartRef__":true,"id":438},"owner":{"__isSmartRef__":true,"id":388},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"397":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":398},"id":363,"textChunks":[{"__isSmartRef__":true,"id":399}],"eventHandler":{"__isSmartRef__":true,"id":401},"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":402},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":396},"_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)"},"398":{"_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)"},"399":{"style":{"__isSmartRef__":true,"id":400},"chunkOwner":{"__isSmartRef__":true,"id":397},"storedString":"","_id":"_1349","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"400":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"401":{"morph":{"__isSmartRef__":true,"id":397},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"402":{"resizeWidth":true},"403":{"submorphs":[{"__isSmartRef__":true,"id":404}],"scripts":[],"shape":{"__isSmartRef__":true,"id":409},"id":364,"eventHandler":{"__isSmartRef__":true,"id":410},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":411},"label":{"__isSmartRef__":true,"id":404},"owner":{"__isSmartRef__":true,"id":396},"layout":{"__isSmartRef__":true,"id":416},"attributeConnections":[{"__isSmartRef__":true,"id":417},{"__isSmartRef__":true,"id":419}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":405},"id":365,"textChunks":[{"__isSmartRef__":true,"id":406}],"eventHandler":{"__isSmartRef__":true,"id":408},"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":403},"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)"},"405":{"_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)"},"406":{"style":{"__isSmartRef__":true,"id":407},"chunkOwner":{"__isSmartRef__":true,"id":404},"storedString":"","_id":"_1350","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"407":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"408":{"morph":{"__isSmartRef__":true,"id":404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"409":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"410":{"morph":{"__isSmartRef__":true,"id":403},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"411":{"stops":[{"__isSmartRef__":true,"id":412},{"__isSmartRef__":true,"id":413},{"__isSmartRef__":true,"id":414},{"__isSmartRef__":true,"id":415}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"412":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"413":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"414":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"415":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"416":{"moveHorizontal":true},"417":{"sourceObj":{"__isSmartRef__":true,"id":403},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":418},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"418":{"source":{"__isSmartRef__":true,"id":403},"target":{"__isSmartRef__":true,"id":388}},"419":{"sourceObj":{"__isSmartRef__":true,"id":403},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":420},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"420":{"source":{"__isSmartRef__":true,"id":403},"target":{"__isSmartRef__":true,"id":388}},"421":{"submorphs":[{"__isSmartRef__":true,"id":422}],"scripts":[],"shape":{"__isSmartRef__":true,"id":427},"id":366,"eventHandler":{"__isSmartRef__":true,"id":428},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":429},"label":{"__isSmartRef__":true,"id":422},"owner":{"__isSmartRef__":true,"id":396},"attributeConnections":[{"__isSmartRef__":true,"id":434},{"__isSmartRef__":true,"id":436}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"422":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":423},"id":367,"textChunks":[{"__isSmartRef__":true,"id":424}],"eventHandler":{"__isSmartRef__":true,"id":426},"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":421},"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)"},"423":{"_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)"},"424":{"style":{"__isSmartRef__":true,"id":425},"chunkOwner":{"__isSmartRef__":true,"id":422},"storedString":"","_id":"_1351","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"425":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"426":{"morph":{"__isSmartRef__":true,"id":422},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"427":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"428":{"morph":{"__isSmartRef__":true,"id":421},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"429":{"stops":[{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"430":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"431":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"432":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"433":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"434":{"sourceObj":{"__isSmartRef__":true,"id":421},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":435},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"435":{"source":{"__isSmartRef__":true,"id":421},"target":{"__isSmartRef__":true,"id":388}},"436":{"sourceObj":{"__isSmartRef__":true,"id":421},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":437},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"437":{"source":{"__isSmartRef__":true,"id":421},"target":{"__isSmartRef__":true,"id":388}},"438":{"submorphs":[{"__isSmartRef__":true,"id":439}],"scripts":[],"shape":{"__isSmartRef__":true,"id":444},"id":368,"eventHandler":{"__isSmartRef__":true,"id":445},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":330},"lighterFill":{"__isSmartRef__":true,"id":446},"label":{"__isSmartRef__":true,"id":439},"owner":{"__isSmartRef__":true,"id":396},"layout":{"__isSmartRef__":true,"id":451},"attributeConnections":[{"__isSmartRef__":true,"id":452},{"__isSmartRef__":true,"id":454}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"439":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":440},"id":369,"textChunks":[{"__isSmartRef__":true,"id":441}],"eventHandler":{"__isSmartRef__":true,"id":443},"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":438},"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)"},"440":{"_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)"},"441":{"style":{"__isSmartRef__":true,"id":442},"chunkOwner":{"__isSmartRef__":true,"id":439},"storedString":"","_id":"_1352","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"442":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"443":{"morph":{"__isSmartRef__":true,"id":439},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"444":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":330},"_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)"},"445":{"morph":{"__isSmartRef__":true,"id":438},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"446":{"stops":[{"__isSmartRef__":true,"id":447},{"__isSmartRef__":true,"id":448},{"__isSmartRef__":true,"id":449},{"__isSmartRef__":true,"id":450}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"447":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"448":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"449":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"450":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"451":{"moveHorizontal":true},"452":{"sourceObj":{"__isSmartRef__":true,"id":438},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"453":{"source":{"__isSmartRef__":true,"id":438},"target":{"__isSmartRef__":true,"id":388}},"454":{"sourceObj":{"__isSmartRef__":true,"id":438},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":388},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":455},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"455":{"source":{"__isSmartRef__":true,"id":438},"target":{"__isSmartRef__":true,"id":388}},"456":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":457},"_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)"},"457":{"stops":[{"__isSmartRef__":true,"id":458},{"__isSmartRef__":true,"id":459},{"__isSmartRef__":true,"id":460}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"458":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"459":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(243,243,243)"},"460":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"461":{"morph":{"__isSmartRef__":true,"id":396},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"462":{"resizeWidth":true,"adjustForNewBounds":true},"463":{"_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)"},"464":{"morph":{"__isSmartRef__":true,"id":388},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"465":{"adjustForNewBounds":true},"466":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"467":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"468":{"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"},"469":{"submorphs":[],"scripts":[],"id":"43C15F32-5DDC-400E-81F8-B293E71B9379","shape":{"__isSmartRef__":true,"id":470},"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":471},{"__isSmartRef__":true,"id":473},{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":477}],"layout":{"__isSmartRef__":true,"id":479},"showsHalos":false,"prevScroll":[0,0],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":14,"partsBinMetaInfo":{"__isSmartRef__":true,"id":480},"_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":481},"attributeConnections":[{"__isSmartRef__":true,"id":482},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":498}],"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"],"doNotCopyProperties":["$$textString"],"_MinTextWidth":588.0166612695056,"_MinTextHeight":null,"lastSaveSource":"// changed at Sat Dec 22 2012 12:25:45 GMT+0100 (CET) by fbo \nthis.addScript(function addMorph(aMorph, optMorphBefore) {\n $super(aMorph, optMorphBefore);\n var ground = this.ground();\n var physics = new projects.SWD12.physics.Physics(aMorph, ground);\n aMorph.physics = physics;\n}).tag([]);\n\n\n// changed at Sat Jan 19 2013 20:01:38 GMT+0100 (CET) by fbo \nthis.addScript(function attractedObjects() {\n return this.submorphs.select(function(ea) {\n return !ea.notAffectedByGravity;\n }).without(this.ground());\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 11:57:37 GMT+0100 (CET) by fbo \nthis.addScript(function ground() {\n return this.get('ground');\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 12:40:19 GMT+0100 (CET) by fbo \nthis.addScript(function keepInBounds(aSubmorph) {\n var extent = aSubmorph.getExtent();\n var position = aSubmorph.getPosition();\n var myExtent = this.getExtent();\n var newX = position.x;\n var newY = position.y;\n var hasCollided = false;\n debugger;\n if (position.x < 0) {\n newX = 0;\n hasCollided = true;\n }\n if (position.y < 0) {\n newY = 0;\n hasCollided = true;\n }\n if (position.x + extent.x > myExtent.x) {\n newX = myExtent.x - extent.x;\n hasCollided = true;\n }\n if (position.y + extent.y > myExtent.y - this.ground().getExtent().y) {\n newY = myExtent.y - this.ground().getExtent().y - extent.y;\n hasCollided = true;\n }\n aSubmorph.setPosition(pt(newX, newY));\n return hasCollided;\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 11:25:06 GMT+0100 (CET) by fbo \nthis.addScript(function setExtent(aPoint) {\n $super(aPoint);\n var ground = this.get('ground');\n ground.setPosition(pt(0, aPoint.y-10));\n ground.setExtent(pt(aPoint.x, 10));\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 12:21:15 GMT+0100 (CET) by fbo \nthis.addScript(function simulateStep() {\n this.attractedObjects().forEach(function(ea) {\n if (!ea.physics) {\n alert(ea.name + ' should have some physics!!!');\n }\n ea.physics.simulateStep(0.1);\n });\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 12:27:40 GMT+0100 (CET) by fbo \nthis.addScript(function start() {\n this.startStepping(50, 'simulateStep');\n}).tag([]);\n\n\n// changed at Sat Dec 22 2012 11:59:56 GMT+0100 (CET) by fbo \nthis.addScript(function stop() {\n this.stopStepping();\n}).tag([])","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":234},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":500},"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":234},"syntaxHighlightingWhileTyping":true,"#startLetters":"enable","_Rotation":0,"_Scale":1,"_syntaxHighlightTimeout":null,"lastSyntaxHighlightTimes":[1,5,7,3,4,5,5,11,10,10],"_lastSyntaxHighlightTime":6,"previousSelection":[0,12],"_WordBreak":"break-all","__serializedExpressions__":["_Padding","distanceToDragEvent","_Position"],"textString":"this.start()\n\nthis.stop()","priorSelectionRange":[25,25],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":505},"__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)"},"470":{"_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)"},"471":{"_id":"_1038","style":{"__isSmartRef__":true,"id":472},"chunkOwner":{"__isSmartRef__":true,"id":469},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"472":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"473":{"_id":"_1051","style":{"__isSmartRef__":true,"id":474},"chunkOwner":{"__isSmartRef__":true,"id":469},"storedString":".start()\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"474":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"475":{"_id":"_1139","style":{"__isSmartRef__":true,"id":476},"chunkOwner":{"__isSmartRef__":true,"id":469},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"476":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"477":{"_id":"_1140","style":{"__isSmartRef__":true,"id":478},"chunkOwner":{"__isSmartRef__":true,"id":469},"storedString":".stop()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"478":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"479":{"resizeWidth":true,"resizeHeight":true},"480":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"481":{"morph":{"__isSmartRef__":true,"id":469},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"482":{"sourceObj":{"__isSmartRef__":true,"id":469},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":483},"targetMethodName":"indicateUnsavedChanges","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"483":{"submorphs":[],"scripts":[],"id":"356B7E00-AF20-45C8-85FF-ADB1A7C4C78B","shape":{"__isSmartRef__":true,"id":484},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":485},"eventHandler":{"__isSmartRef__":true,"id":486},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":234},"layout":{"__isSmartRef__":true,"id":487},"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":488},"__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)"},"484":{"_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)"},"485":{"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"},"486":{"morph":{"__isSmartRef__":true,"id":483},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"487":{"moveHorizontal":true,"adjustForNewBounds":true},"488":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":489},"setColors":{"__isSmartRef__":true,"id":493}},"489":{"varMapping":{"__isSmartRef__":true,"id":490},"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":491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"490":{"this":{"__isSmartRef__":true,"id":483}},"491":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":492}},"492":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (CEST)"},"493":{"varMapping":{"__isSmartRef__":true,"id":494},"source":"function setColors(color) {\n this.setFill(color);\n this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"494":{"this":{"__isSmartRef__":true,"id":483}},"495":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":496}},"496":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (CEST)"},"497":{"sourceObj":{"__isSmartRef__":true,"id":469},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":469},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"498":{"sourceObj":{"__isSmartRef__":true,"id":469},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":469},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":499},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"499":{"source":{"__isSmartRef__":true,"id":469},"target":{"__isSmartRef__":true,"id":469}},"500":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":501},"id":553,"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":502}],"eventHandler":{"__isSmartRef__":true,"id":504},"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)"},"501":{"_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)"},"502":{"style":{"__isSmartRef__":true,"id":503},"chunkOwner":{"__isSmartRef__":true,"id":500},"_id":"_1099","storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"503":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"504":{"morph":{"__isSmartRef__":true,"id":500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"505":{"doSave":{"__isSmartRef__":true,"id":506},"boundEval":{"__isSmartRef__":true,"id":514},"reset":{"__isSmartRef__":true,"id":522},"display":{"__isSmartRef__":true,"id":526},"hasChanged":{"__isSmartRef__":true,"id":530},"displayStatus":{"__isSmartRef__":true,"id":534},"updateTarget":{"__isSmartRef__":true,"id":538}},"506":{"varMapping":{"__isSmartRef__":true,"id":507},"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":512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"507":{"this":{"__isSmartRef__":true,"id":469},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":508}},"508":{"$super":{"__isSmartRef__":true,"id":509}},"509":{"varMapping":{"__isSmartRef__":true,"id":510},"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":511},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"510":{"obj":{"__isSmartRef__":true,"id":469},"name":"doSave"},"511":{},"512":{"timestamp":{"__isSmartRef__":true,"id":513},"user":"lauritz"},"513":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (CET)"},"514":{"varMapping":{"__isSmartRef__":true,"id":515},"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":520},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"515":{"this":{"__isSmartRef__":true,"id":469},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":516}},"516":{"$super":{"__isSmartRef__":true,"id":517}},"517":{"varMapping":{"__isSmartRef__":true,"id":518},"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":519},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"518":{"obj":{"__isSmartRef__":true,"id":469},"name":"boundEval"},"519":{},"520":{"timestamp":{"__isSmartRef__":true,"id":521},"user":"lauritz","categories":[]},"521":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (CET)"},"522":{"varMapping":{"__isSmartRef__":true,"id":523},"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":524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"523":{"this":{"__isSmartRef__":true,"id":469}},"524":{"timestamp":{"__isSmartRef__":true,"id":525},"user":"cschuster","tags":[]},"525":{"isSerializedDate":true,"string":"Wed May 16 2012 20:52:57 GMT+0200 (CEST)"},"526":{"varMapping":{"__isSmartRef__":true,"id":527},"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":528},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"527":{"this":{"__isSmartRef__":true,"id":469}},"528":{"timestamp":{"__isSmartRef__":true,"id":529},"user":"lauritz","tags":[]},"529":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:02:26 GMT+0200 (CEST)"},"530":{"varMapping":{"__isSmartRef__":true,"id":531},"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":532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"531":{"this":{"__isSmartRef__":true,"id":469}},"532":{"timestamp":{"__isSmartRef__":true,"id":533},"user":"lauritz","categories":[]},"533":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (CEST)"},"534":{"varMapping":{"__isSmartRef__":true,"id":535},"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":536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"535":{"this":{"__isSmartRef__":true,"id":469}},"536":{"timestamp":{"__isSmartRef__":true,"id":537},"user":"lauritz","categories":[]},"537":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (CET)"},"538":{"varMapping":{"__isSmartRef__":true,"id":539},"source":"function updateTarget(target) {\n module('lively.ide.SyntaxHighlighting').load(true);\n this.doitContext = this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"539":{"this":{"__isSmartRef__":true,"id":469}},"540":{"timestamp":{"__isSmartRef__":true,"id":541},"user":"lauritz","tags":[]},"541":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:07:42 GMT+0200 (CEST)"},"542":{"submorphs":[{"__isSmartRef__":true,"id":543}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":548},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":549},"lighterFill":{"__isSmartRef__":true,"id":554},"label":{"__isSmartRef__":true,"id":543},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":559},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":560},"eventHandler":{"__isSmartRef__":true,"id":561},"__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)"},"543":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":544},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":542},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":545}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":547},"_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)"},"544":{"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)"},"545":{"style":{"__isSmartRef__":true,"id":546},"chunkOwner":{"__isSmartRef__":true,"id":543},"storedString":"","_id":"_1355","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"546":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"547":{"morph":{"__isSmartRef__":true,"id":543},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"548":{"_Fill":{"__isSmartRef__":true,"id":549},"_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)"},"549":{"stops":[{"__isSmartRef__":true,"id":550},{"__isSmartRef__":true,"id":551},{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":553}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"550":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"551":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"552":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"553":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"554":{"stops":[{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":556},{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":558}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"555":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"556":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"557":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"558":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"559":{"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"},"560":{"moveHorizontal":true},"561":{"morph":{"__isSmartRef__":true,"id":542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"562":{"submorphs":[],"scripts":[],"id":"A2A17FA0-A939-4C73-965F-AF574FE46450","shape":{"__isSmartRef__":true,"id":563},"droppingEnabled":true,"halosEnabled":true,"itemList":["-- ALL --"],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":564},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":234},"attributeConnections":[{"__isSmartRef__":true,"id":565}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":567},"eventHandler":{"__isSmartRef__":true,"id":568},"_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":569},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,346.7)","distanceToDragEvent":"lively.pt(125.0,-17.1)"},"563":{"_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)"},"564":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"565":{"sourceObj":{"__isSmartRef__":true,"id":562},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n if (!value) return;\n return (value === '-- ALL --') ? null : value[1];\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":566},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"566":{"source":{"__isSmartRef__":true,"id":562},"target":{"__isSmartRef__":true,"id":234}},"567":{"resizeHeight":false,"moveVertical":true},"568":{"morph":{"__isSmartRef__":true,"id":562},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"569":{"preselectItem":{"__isSmartRef__":true,"id":570}},"570":{"varMapping":{"__isSmartRef__":true,"id":571},"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":572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"571":{"this":{"__isSmartRef__":true,"id":562}},"572":{"timestamp":{"__isSmartRef__":true,"id":573},"user":"lauritz"},"573":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:12:58 GMT+0100 (CET)"},"574":{"submorphs":[{"__isSmartRef__":true,"id":575}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":579},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":580},"lighterFill":{"__isSmartRef__":true,"id":585},"label":{"__isSmartRef__":true,"id":575},"attributeConnections":[{"__isSmartRef__":true,"id":590}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":591},"_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)"},"575":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":576},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":574},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":577}],"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)"},"576":{"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)"},"577":{"style":{"__isSmartRef__":true,"id":578},"chunkOwner":{"__isSmartRef__":true,"id":575},"storedString":"","_id":"_1356","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"578":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"579":{"_Fill":{"__isSmartRef__":true,"id":580},"_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)"},"580":{"stops":[{"__isSmartRef__":true,"id":581},{"__isSmartRef__":true,"id":582},{"__isSmartRef__":true,"id":583},{"__isSmartRef__":true,"id":584}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"581":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"582":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"583":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"584":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"585":{"stops":[{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":589}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"586":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"587":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"588":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"589":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"590":{"sourceObj":{"__isSmartRef__":true,"id":574},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":241},"targetMethodName":"chooseTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"591":{"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"},"592":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":593},"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":594},"textChunks":[{"__isSmartRef__":true,"id":595}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":597}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"_Align":"left","eventHandler":{"__isSmartRef__":true,"id":599},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":600},"selection":{"__isSmartRef__":true,"id":233},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":619},"_Rotation":0,"_Scale":1,"savedTextString":"100","__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":620},"__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)"},"593":{"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)"},"594":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"595":{"style":{"__isSmartRef__":true,"id":596},"chunkOwner":{"__isSmartRef__":true,"id":592},"storedString":"","_id":"_1357","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"596":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"597":{"sourceObj":{"__isSmartRef__":true,"id":592},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"setTarget","converterString":"function (name) { return $world.get(name)}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":598},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"598":{"source":{"__isSmartRef__":true,"id":592},"target":{"__isSmartRef__":true,"id":234}},"599":{"morph":{"__isSmartRef__":true,"id":592},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"600":{"createListMorph":{"__isSmartRef__":true,"id":601},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":603},"onMouseUp":{"__isSmartRef__":true,"id":605},"resetConnections":{"__isSmartRef__":true,"id":607},"setTargetToListSelection":{"__isSmartRef__":true,"id":609},"setTargetOfPane":{"__isSmartRef__":true,"id":611},"onBlur":{"__isSmartRef__":true,"id":613},"reset":{"__isSmartRef__":true,"id":615},"onMouseDown":{"__isSmartRef__":true,"id":617}},"601":{"time":{"__isSmartRef__":true,"id":602},"user":"lauritz"},"602":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:27:29 GMT+0200 (CEST)"},"603":{"time":{"__isSmartRef__":true,"id":604},"user":"lauritz"},"604":{"isSerializedDate":true,"string":"Fri Oct 14 2011 23:48:37 GMT+0200 (CEST)"},"605":{"time":{"__isSmartRef__":true,"id":606},"user":"lauritz"},"606":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:51:14 GMT+0200 (CEST)"},"607":{"time":{"__isSmartRef__":true,"id":608},"user":"lauritz"},"608":{"isSerializedDate":true,"string":"Wed Sep 28 2011 01:03:17 GMT+0200 (CEST)"},"609":{"time":{"__isSmartRef__":true,"id":610},"user":"lauritz"},"610":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:00:58 GMT+0200 (CEST)"},"611":{"time":{"__isSmartRef__":true,"id":612},"user":"lauritz"},"612":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:34:37 GMT+0200 (CEST)"},"613":{"time":{"__isSmartRef__":true,"id":614},"user":"lauritz"},"614":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:24:18 GMT+0200 (CEST)"},"615":{"time":{"__isSmartRef__":true,"id":616},"user":"lauritz"},"616":{"isSerializedDate":true,"string":"Fri Oct 07 2011 19:26:15 GMT+0200 (CEST)"},"617":{"time":{"__isSmartRef__":true,"id":618},"user":"lauritz"},"618":{"isSerializedDate":true,"string":"Mon Oct 17 2011 19:49:00 GMT+0200 (CEST)"},"619":{},"620":{"getList":{"__isSmartRef__":true,"id":621},"setList":{"__isSmartRef__":true,"id":624},"reset":{"__isSmartRef__":true,"id":627},"example":{"__isSmartRef__":true,"id":630},"removeList":{"__isSmartRef__":true,"id":633},"onBlur":{"__isSmartRef__":true,"id":636},"createListMorph":{"__isSmartRef__":true,"id":643},"resetConnections":{"__isSmartRef__":true,"id":646},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":649},"setTargetToListSelection":{"__isSmartRef__":true,"id":652},"setTargetOfPane":{"__isSmartRef__":true,"id":655},"onMouseDown":{"__isSmartRef__":true,"id":658}},"621":{"varMapping":{"__isSmartRef__":true,"id":622},"source":"function getList() {\n return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":623},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"622":{"this":{"__isSmartRef__":true,"id":592}},"623":{},"624":{"varMapping":{"__isSmartRef__":true,"id":625},"source":"function setList(list) {\n return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"625":{"this":{"__isSmartRef__":true,"id":592}},"626":{},"627":{"varMapping":{"__isSmartRef__":true,"id":628},"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":629},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"628":{"this":{"__isSmartRef__":true,"id":592}},"629":{},"630":{"varMapping":{"__isSmartRef__":true,"id":631},"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":632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"631":{"this":{"__isSmartRef__":true,"id":592}},"632":{},"633":{"varMapping":{"__isSmartRef__":true,"id":634},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":635},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"634":{"this":{"__isSmartRef__":true,"id":592}},"635":{},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"source":"function onBlur() {\n $super();\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"637":{"this":{"__isSmartRef__":true,"id":592},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":638}},"638":{"$super":{"__isSmartRef__":true,"id":639}},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"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":641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"640":{"obj":{"__isSmartRef__":true,"id":592},"name":"onBlur"},"641":{},"642":{},"643":{"varMapping":{"__isSmartRef__":true,"id":644},"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":645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"644":{"this":{"__isSmartRef__":true,"id":592}},"645":{},"646":{"varMapping":{"__isSmartRef__":true,"id":647},"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":648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"647":{"this":{"__isSmartRef__":true,"id":592}},"648":{},"649":{"varMapping":{"__isSmartRef__":true,"id":650},"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":651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"650":{"this":{"__isSmartRef__":true,"id":592}},"651":{},"652":{"varMapping":{"__isSmartRef__":true,"id":653},"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":654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"653":{"this":{"__isSmartRef__":true,"id":592}},"654":{},"655":{"varMapping":{"__isSmartRef__":true,"id":656},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.setTextString(selection.getName());\n this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"656":{"this":{"__isSmartRef__":true,"id":592}},"657":{},"658":{"varMapping":{"__isSmartRef__":true,"id":659},"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":664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"659":{"this":{"__isSmartRef__":true,"id":592},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":660}},"660":{"$super":{"__isSmartRef__":true,"id":661}},"661":{"varMapping":{"__isSmartRef__":true,"id":662},"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":663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"662":{"obj":{"__isSmartRef__":true,"id":592},"name":"onMouseDown"},"663":{},"664":{},"665":{"morph":{"__isSmartRef__":true,"id":241},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"666":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":667},"setTarget":{"__isSmartRef__":true,"id":670},"generateSourceForScript":{"__isSmartRef__":true,"id":673},"generateSourceForConnection":{"__isSmartRef__":true,"id":676},"generateTargetCode":{"__isSmartRef__":true,"id":679},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":682},"displayJavaScriptSource":{"__isSmartRef__":true,"id":685},"displaySourceForScript":{"__isSmartRef__":true,"id":688},"displaySourceForConnection":{"__isSmartRef__":true,"id":691},"newScript":{"__isSmartRef__":true,"id":694},"newConnection":{"__isSmartRef__":true,"id":697},"deleteSelectedScript":{"__isSmartRef__":true,"id":700},"disconnectConnection":{"__isSmartRef__":true,"id":703},"updateLists":{"__isSmartRef__":true,"id":706},"displayInitialScript":{"__isSmartRef__":true,"id":709},"reset":{"__isSmartRef__":true,"id":712},"selectChangedContent":{"__isSmartRef__":true,"id":715}},"667":{"varMapping":{"__isSmartRef__":true,"id":668},"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":669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"668":{"this":{"__isSmartRef__":true,"id":241}},"669":{},"670":{"varMapping":{"__isSmartRef__":true,"id":671},"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":672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"671":{"this":{"__isSmartRef__":true,"id":241}},"672":{},"673":{"varMapping":{"__isSmartRef__":true,"id":674},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName].getOriginal();\n return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"674":{"this":{"__isSmartRef__":true,"id":241}},"675":{},"676":{"varMapping":{"__isSmartRef__":true,"id":677},"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":678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"677":{"this":{"__isSmartRef__":true,"id":241}},"678":{},"679":{"varMapping":{"__isSmartRef__":true,"id":680},"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":681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"680":{"this":{"__isSmartRef__":true,"id":241}},"681":{},"682":{"varMapping":{"__isSmartRef__":true,"id":683},"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":684},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"683":{"this":{"__isSmartRef__":true,"id":241}},"684":{},"685":{"varMapping":{"__isSmartRef__":true,"id":686},"source":"function displayJavaScriptSource(jsCode) {\n this.scriptPane.setTextString(jsCode);\n this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"686":{"this":{"__isSmartRef__":true,"id":241}},"687":{},"688":{"varMapping":{"__isSmartRef__":true,"id":689},"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":690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"689":{"this":{"__isSmartRef__":true,"id":241}},"690":{},"691":{"varMapping":{"__isSmartRef__":true,"id":692},"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":693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"692":{"this":{"__isSmartRef__":true,"id":241}},"693":{},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"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":696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"695":{"this":{"__isSmartRef__":true,"id":241}},"696":{},"697":{"varMapping":{"__isSmartRef__":true,"id":698},"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":699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"698":{"this":{"__isSmartRef__":true,"id":241}},"699":{},"700":{"varMapping":{"__isSmartRef__":true,"id":701},"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":702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"701":{"this":{"__isSmartRef__":true,"id":241}},"702":{},"703":{"varMapping":{"__isSmartRef__":true,"id":704},"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":705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"704":{"this":{"__isSmartRef__":true,"id":241}},"705":{},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"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":708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"707":{"this":{"__isSmartRef__":true,"id":241}},"708":{},"709":{"varMapping":{"__isSmartRef__":true,"id":710},"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":711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"710":{"this":{"__isSmartRef__":true,"id":241}},"711":{},"712":{"varMapping":{"__isSmartRef__":true,"id":713},"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":714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"713":{"this":{"__isSmartRef__":true,"id":241}},"714":{},"715":{"varMapping":{"__isSmartRef__":true,"id":716},"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":808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"807":{"this":{"__isSmartRef__":true,"id":783}},"808":{"timestamp":{"__isSmartRef__":true,"id":809},"user":"lauritz","categories":[]},"809":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"810":{"submorphs":[{"__isSmartRef__":true,"id":811}],"scripts":[],"id":"3B9B9636-E6DF-4A71-B9C4-B80058BC6249","shape":{"__isSmartRef__":true,"id":816},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":822},"lighterFill":{"__isSmartRef__":true,"id":827},"label":{"__isSmartRef__":true,"id":811},"attributeConnections":[{"__isSmartRef__":true,"id":832}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":834},"owner":{"__isSmartRef__":true,"id":234},"eventHandler":{"__isSmartRef__":true,"id":835},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":234},"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":836},"__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)"},"811":{"submorphs":[],"scripts":[],"id":"225B0710-283A-460A-B94B-72BD634B9EF7","shape":{"__isSmartRef__":true,"id":812},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":810},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":813}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":815},"_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)"},"812":{"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)"},"813":{"style":{"__isSmartRef__":true,"id":814},"chunkOwner":{"__isSmartRef__":true,"id":811},"storedString":"-","_id":"_1363","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"814":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"815":{"morph":{"__isSmartRef__":true,"id":811},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"816":{"_Fill":{"__isSmartRef__":true,"id":817},"_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)"},"817":{"stops":[{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":820},{"__isSmartRef__":true,"id":821}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"818":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"819":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"820":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"821":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"822":{"stops":[{"__isSmartRef__":true,"id":823},{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":826}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"823":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"824":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"825":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"826":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"827":{"stops":[{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":830},{"__isSmartRef__":true,"id":831}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"828":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"829":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"830":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"831":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"832":{"sourceObj":{"__isSmartRef__":true,"id":810},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":810},"targetMethodName":"deleteSelectedScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":833},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"833":{"source":{"__isSmartRef__":true,"id":810},"target":{"__isSmartRef__":true,"id":810}},"834":{"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"},"835":{"morph":{"__isSmartRef__":true,"id":810},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"836":{"deleteSelectedScript":{"__isSmartRef__":true,"id":837}},"837":{"varMapping":{"__isSmartRef__":true,"id":838},"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":839},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"838":{"this":{"__isSmartRef__":true,"id":810}},"839":{"timestamp":{"__isSmartRef__":true,"id":840},"user":"lauritz"},"840":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"841":{"submorphs":[{"__isSmartRef__":true,"id":842}],"scripts":[],"id":"1177225A-B688-4482-8B54-57F2A9643AC2","shape":{"__isSmartRef__":true,"id":848},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":849},"lighterFill":{"__isSmartRef__":true,"id":854},"label":{"__isSmartRef__":true,"id":842},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":859},"list":[],"eventHandler":{"__isSmartRef__":true,"id":860},"owner":{"__isSmartRef__":true,"id":234},"textString":"","selection":{"__isSmartRef__":true,"id":861},"_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":867},"__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)"},"842":{"submorphs":[],"scripts":[],"id":"C2E0E291-34DB-4FC0-850D-208017D2B718","shape":{"__isSmartRef__":true,"id":843},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":841},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":844}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":846}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":847},"_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)"},"843":{"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)"},"844":{"style":{"__isSmartRef__":true,"id":845},"chunkOwner":{"__isSmartRef__":true,"id":842},"_id":"_832","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"845":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"846":{"sourceObj":{"__isSmartRef__":true,"id":842},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":841},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"847":{"morph":{"__isSmartRef__":true,"id":842},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"848":{"_Fill":{"__isSmartRef__":true,"id":849},"_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)"},"849":{"stops":[{"__isSmartRef__":true,"id":850},{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":852},{"__isSmartRef__":true,"id":853}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"850":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"851":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"852":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"853":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"854":{"stops":[{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":856},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":858}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"855":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"856":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"857":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"858":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"859":{"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"},"860":{"morph":{"__isSmartRef__":true,"id":841},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"861":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":862},"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":863},"textChunks":[{"__isSmartRef__":true,"id":864}],"eventHandler":{"__isSmartRef__":true,"id":866},"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)"},"862":{"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)"},"863":{"partsSpaceName":"PartsBin/Worlds/","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"864":{"style":{"__isSmartRef__":true,"id":865},"chunkOwner":{"__isSmartRef__":true,"id":861},"storedString":"","_id":"_1365","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"865":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"866":{"morph":{"__isSmartRef__":true,"id":861},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"867":{"reset":{"__isSmartRef__":true,"id":868},"onMouseDown":{"__isSmartRef__":true,"id":872},"onBlur":{"__isSmartRef__":true,"id":880},"createScenePresentation":{"__isSmartRef__":true,"id":888},"presentTargetChooser":{"__isSmartRef__":true,"id":892},"removeTargetChooser":{"__isSmartRef__":true,"id":896},"removeHighlight":{"__isSmartRef__":true,"id":900},"highlightCurrentTarget":{"__isSmartRef__":true,"id":904},"updateTargetFromSelection":{"__isSmartRef__":true,"id":908},"currentMorphicScene":{"__isSmartRef__":true,"id":912},"highlightTarget":{"__isSmartRef__":true,"id":916},"setLabel":{"__isSmartRef__":true,"id":920},"updateTargetFromOwner":{"__isSmartRef__":true,"id":928}},"868":{"varMapping":{"__isSmartRef__":true,"id":869},"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":870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"869":{"this":{"__isSmartRef__":true,"id":841}},"870":{"timestamp":{"__isSmartRef__":true,"id":871},"user":"lauritz","tags":[]},"871":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"872":{"varMapping":{"__isSmartRef__":true,"id":873},"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":878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"873":{"this":{"__isSmartRef__":true,"id":841},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":874}},"874":{"$super":{"__isSmartRef__":true,"id":875}},"875":{"varMapping":{"__isSmartRef__":true,"id":876},"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":877},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"876":{"obj":{"__isSmartRef__":true,"id":841},"name":"onMouseDown"},"877":{},"878":{"timestamp":{"__isSmartRef__":true,"id":879},"user":"lauritz","tags":[]},"879":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:44:10 GMT+0200 (CEST)"},"880":{"varMapping":{"__isSmartRef__":true,"id":881},"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":886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"881":{"this":{"__isSmartRef__":true,"id":841},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":882}},"882":{"$super":{"__isSmartRef__":true,"id":883}},"883":{"varMapping":{"__isSmartRef__":true,"id":884},"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":885},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"884":{"obj":{"__isSmartRef__":true,"id":841},"name":"onBlur"},"885":{},"886":{"timestamp":{"__isSmartRef__":true,"id":887},"user":"lauritz","tags":[]},"887":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:05 GMT+0200 (CEST)"},"888":{"varMapping":{"__isSmartRef__":true,"id":889},"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":890},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"889":{"this":{"__isSmartRef__":true,"id":841}},"890":{"timestamp":{"__isSmartRef__":true,"id":891},"user":"lauritz","tags":[]},"891":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:56 GMT+0200 (CEST)"},"892":{"varMapping":{"__isSmartRef__":true,"id":893},"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":894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"893":{"this":{"__isSmartRef__":true,"id":841}},"894":{"timestamp":{"__isSmartRef__":true,"id":895},"user":"lauritz","tags":[]},"895":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:13:22 GMT+0200 (CEST)"},"896":{"varMapping":{"__isSmartRef__":true,"id":897},"source":"function removeTargetChooser() {\n if (this.listMorph) {\n this.listMorph.remove();\n delete this.listMorph; \n }\n}","funcProperties":{"__isSmartRef__":true,"id":898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"897":{"this":{"__isSmartRef__":true,"id":841}},"898":{"timestamp":{"__isSmartRef__":true,"id":899},"user":"lauritz","tags":[]},"899":{"isSerializedDate":true,"string":"Fri Aug 03 2012 12:43:38 GMT+0200 (CEST)"},"900":{"varMapping":{"__isSmartRef__":true,"id":901},"source":"function removeHighlight(node) {\n node.submorphs[0].setFill(Color.rgb(255,255,255))\n}","funcProperties":{"__isSmartRef__":true,"id":902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"901":{"this":{"__isSmartRef__":true,"id":841}},"902":{"timestamp":{"__isSmartRef__":true,"id":903},"user":"lauritz","tags":[]},"903":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:15 GMT+0200 (CEST)"},"904":{"varMapping":{"__isSmartRef__":true,"id":905},"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":906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"905":{"this":{"__isSmartRef__":true,"id":841}},"906":{"timestamp":{"__isSmartRef__":true,"id":907},"user":"lauritz","tags":[]},"907":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:31:39 GMT+0200 (CEST)"},"908":{"varMapping":{"__isSmartRef__":true,"id":909},"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":910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"909":{"this":{"__isSmartRef__":true,"id":841}},"910":{"timestamp":{"__isSmartRef__":true,"id":911},"user":"lauritz","tags":[]},"911":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:57 GMT+0200 (CEST)"},"912":{"varMapping":{"__isSmartRef__":true,"id":913},"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":914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"913":{"this":{"__isSmartRef__":true,"id":841}},"914":{"timestamp":{"__isSmartRef__":true,"id":915},"user":"lauritz","tags":[]},"915":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:29:43 GMT+0200 (CEST)"},"916":{"varMapping":{"__isSmartRef__":true,"id":917},"source":"function highlightTarget(node) {\n node.submorphs[0].setFill(Color.rgb(218,218,218))\n}","funcProperties":{"__isSmartRef__":true,"id":918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"917":{"this":{"__isSmartRef__":true,"id":841}},"918":{"timestamp":{"__isSmartRef__":true,"id":919},"user":"lauritz","tags":[]},"919":{"isSerializedDate":true,"string":"Fri Aug 03 2012 13:32:12 GMT+0200 (CEST)"},"920":{"varMapping":{"__isSmartRef__":true,"id":921},"source":"function setLabel(label) {\n this.label.setTextString(label);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"921":{"this":{"__isSmartRef__":true,"id":841},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":922}},"922":{"$super":{"__isSmartRef__":true,"id":923}},"923":{"varMapping":{"__isSmartRef__":true,"id":924},"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":925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"924":{"obj":{"__isSmartRef__":true,"id":841},"name":"setLabel"},"925":{},"926":{"timestamp":{"__isSmartRef__":true,"id":927},"user":"lauritz","tags":[]},"927":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:04:31 GMT+0200 (CEST)"},"928":{"varMapping":{"__isSmartRef__":true,"id":929},"source":"function updateTargetFromOwner() {\n this.setLabel(this.owner.target);\n}","funcProperties":{"__isSmartRef__":true,"id":930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"929":{"this":{"__isSmartRef__":true,"id":841}},"930":{"timestamp":{"__isSmartRef__":true,"id":931},"user":"lauritz","tags":[]},"931":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:24:24 GMT+0200 (CEST)"},"932":{"submorphs":[],"scripts":[],"id":"B7BEB27D-4E7F-4CAE-80AE-EEE75F4F37C1","shape":{"__isSmartRef__":true,"id":933},"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":934},"textChunks":[{"__isSmartRef__":true,"id":935}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":937},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":234},"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)"},"933":{"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)"},"934":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"935":{"style":{"__isSmartRef__":true,"id":936},"chunkOwner":{"__isSmartRef__":true,"id":932},"storedString":"Tag:","_id":"_1367","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"936":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"937":{"morph":{"__isSmartRef__":true,"id":932},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"938":{"submorphs":[{"__isSmartRef__":true,"id":939}],"scripts":[],"id":"7D5D05EB-01C3-4189-93BB-1C1902C141F0","shape":{"__isSmartRef__":true,"id":945},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":951},"lighterFill":{"__isSmartRef__":true,"id":956},"label":{"__isSmartRef__":true,"id":939},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":961},"listMorph":null,"list":[],"eventHandler":{"__isSmartRef__":true,"id":962},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":234},"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":963},"__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)"},"939":{"submorphs":[],"scripts":[],"id":"71160550-1401-4065-9893-8BF78115572E","shape":{"__isSmartRef__":true,"id":940},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":938},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":941}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":943}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":944},"_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)"},"940":{"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)"},"941":{"style":{"__isSmartRef__":true,"id":942},"chunkOwner":{"__isSmartRef__":true,"id":939},"_id":"_986","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"942":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"943":{"sourceObj":{"__isSmartRef__":true,"id":939},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":938},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"944":{"morph":{"__isSmartRef__":true,"id":939},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"945":{"_Fill":{"__isSmartRef__":true,"id":946},"_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)"},"946":{"stops":[{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":949},{"__isSmartRef__":true,"id":950}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"947":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(230,243,253)"},"948":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"949":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"950":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(157,198,229)"},"951":{"stops":[{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":953},{"__isSmartRef__":true,"id":954},{"__isSmartRef__":true,"id":955}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"952":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"953":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"954":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"955":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"956":{"stops":[{"__isSmartRef__":true,"id":957},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":959},{"__isSmartRef__":true,"id":960}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"957":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"958":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"959":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"960":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"961":{"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"},"962":{"morph":{"__isSmartRef__":true,"id":938},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"963":{"createListMorph":{"__isSmartRef__":true,"id":964},"getList":{"__isSmartRef__":true,"id":968},"removeList":{"__isSmartRef__":true,"id":972},"reset":{"__isSmartRef__":true,"id":976},"onMouseUp":{"__isSmartRef__":true,"id":980},"onBlur":{"__isSmartRef__":true,"id":988},"setTag":{"__isSmartRef__":true,"id":996}},"964":{"varMapping":{"__isSmartRef__":true,"id":965},"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":966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"965":{"this":{"__isSmartRef__":true,"id":938}},"966":{"timestamp":{"__isSmartRef__":true,"id":967},"user":"lauritz","categories":[]},"967":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"968":{"varMapping":{"__isSmartRef__":true,"id":969},"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":970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"969":{"this":{"__isSmartRef__":true,"id":938}},"970":{"timestamp":{"__isSmartRef__":true,"id":971},"user":"lauritz","tags":[]},"971":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"972":{"varMapping":{"__isSmartRef__":true,"id":973},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":974},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"973":{"this":{"__isSmartRef__":true,"id":938}},"974":{"timestamp":{"__isSmartRef__":true,"id":975},"user":"lauritz","categories":[]},"975":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"976":{"varMapping":{"__isSmartRef__":true,"id":977},"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":978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"977":{"this":{"__isSmartRef__":true,"id":938}},"978":{"timestamp":{"__isSmartRef__":true,"id":979},"user":"lauritz","tags":[]},"979":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"980":{"varMapping":{"__isSmartRef__":true,"id":981},"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":986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"981":{"this":{"__isSmartRef__":true,"id":938},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":982}},"982":{"$super":{"__isSmartRef__":true,"id":983}},"983":{"varMapping":{"__isSmartRef__":true,"id":984},"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":985},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"984":{"obj":{"__isSmartRef__":true,"id":938},"name":"onMouseUp"},"985":{},"986":{"timestamp":{"__isSmartRef__":true,"id":987},"user":"lauritz","categories":[]},"987":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"988":{"varMapping":{"__isSmartRef__":true,"id":989},"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":994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"989":{"this":{"__isSmartRef__":true,"id":938},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":990}},"990":{"$super":{"__isSmartRef__":true,"id":991}},"991":{"varMapping":{"__isSmartRef__":true,"id":992},"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":993},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"992":{"obj":{"__isSmartRef__":true,"id":938},"name":"onBlur"},"993":{},"994":{"timestamp":{"__isSmartRef__":true,"id":995},"user":"lauritz","categories":[]},"995":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"996":{"varMapping":{"__isSmartRef__":true,"id":997},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"997":{"this":{"__isSmartRef__":true,"id":938}},"998":{"timestamp":{"__isSmartRef__":true,"id":999},"user":"lauritz","categories":[]},"999":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"1000":{"submorphs":[{"__isSmartRef__":true,"id":1001}],"scripts":[],"id":"7ABDB69F-98B7-4F41-A083-5FDBAE6CDFEE","shape":{"__isSmartRef__":true,"id":1006},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1007},"lighterFill":{"__isSmartRef__":true,"id":1012},"label":{"__isSmartRef__":true,"id":1001},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1017},"attributeConnections":[{"__isSmartRef__":true,"id":1018}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1041},"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":234},"layout":{"__isSmartRef__":true,"id":1042},"_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)"},"1001":{"submorphs":[],"scripts":[],"id":"BCDF1DF4-6190-4E00-A219-DB053525F101","shape":{"__isSmartRef__":true,"id":1002},"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":1000},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1003}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1005},"_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)"},"1002":{"_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)"},"1003":{"style":{"__isSmartRef__":true,"id":1004},"chunkOwner":{"__isSmartRef__":true,"id":1001},"storedString":"run","_id":"_1369","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1004":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1005":{"morph":{"__isSmartRef__":true,"id":1001},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1006":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1007},"_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)"},"1007":{"stops":[{"__isSmartRef__":true,"id":1008},{"__isSmartRef__":true,"id":1009},{"__isSmartRef__":true,"id":1010},{"__isSmartRef__":true,"id":1011}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1008":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1009":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1010":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1011":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1012":{"stops":[{"__isSmartRef__":true,"id":1013},{"__isSmartRef__":true,"id":1014},{"__isSmartRef__":true,"id":1015},{"__isSmartRef__":true,"id":1016}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1013":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1014":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1015":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1016":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1017":{"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"},"1018":{"sourceObj":{"__isSmartRef__":true,"id":1000},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":1019},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1019":{"submorphs":[{"__isSmartRef__":true,"id":1020}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1027},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","eventHandler":{"__isSmartRef__":true,"id":1030},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1031},{"__isSmartRef__":true,"id":1032}],"con":{"__isSmartRef__":true,"id":1018},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1033},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1020":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1021},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","eventHandler":{"__isSmartRef__":true,"id":1026},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1019},"_Rotation":-3.130064002485303,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"1021":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1022},{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1024},{"__isSmartRef__":true,"id":1025}],"_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)"},"1022":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1023":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1024":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1025":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1026":{"morph":{"__isSmartRef__":true,"id":1020},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1027":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1028},{"__isSmartRef__":true,"id":1029}],"_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)"},"1028":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1029":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1030":{"morph":{"__isSmartRef__":true,"id":1019},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1031":{"morph":{"__isSmartRef__":true,"id":1019},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1032":{"morph":{"__isSmartRef__":true,"id":1019},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1020},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1033":{"morphMenuItems":{"__isSmartRef__":true,"id":1034}},"1034":{"varMapping":{"__isSmartRef__":true,"id":1035},"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":1040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1035":{"this":{"__isSmartRef__":true,"id":1019},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1036}},"1036":{"$super":{"__isSmartRef__":true,"id":1037}},"1037":{"varMapping":{"__isSmartRef__":true,"id":1038},"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":1039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1038":{"obj":{"__isSmartRef__":true,"id":1019},"name":"morphMenuItems"},"1039":{},"1040":{},"1041":{"morph":{"__isSmartRef__":true,"id":1000},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1042":{"centeredHorizontal":false,"moveHorizontal":true},"1043":{"submorphs":[{"__isSmartRef__":true,"id":1044}],"scripts":[],"id":"173BF37B-D6E5-475B-A7C3-3F12E0BFE870","shape":{"__isSmartRef__":true,"id":1049},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1050},"lighterFill":{"__isSmartRef__":true,"id":1055},"label":{"__isSmartRef__":true,"id":1044},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1060},"attributeConnections":[{"__isSmartRef__":true,"id":1061}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1084},"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":1085},"owner":{"__isSmartRef__":true,"id":234},"_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)"},"1044":{"submorphs":[],"scripts":[],"id":"5E139510-434B-4051-BED8-19E2B11BCF81","shape":{"__isSmartRef__":true,"id":1045},"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":1043},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1046}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1048},"_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)"},"1045":{"_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)"},"1046":{"style":{"__isSmartRef__":true,"id":1047},"chunkOwner":{"__isSmartRef__":true,"id":1044},"storedString":"save","_id":"_1370","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1047":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1048":{"morph":{"__isSmartRef__":true,"id":1044},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1049":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1050},"_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)"},"1050":{"stops":[{"__isSmartRef__":true,"id":1051},{"__isSmartRef__":true,"id":1052},{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1054}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1051":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1052":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1053":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1054":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1055":{"stops":[{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1057},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1059}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1056":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1057":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1058":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1059":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1060":{"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"},"1061":{"sourceObj":{"__isSmartRef__":true,"id":1043},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":469},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":1062},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1062":{"submorphs":[{"__isSmartRef__":true,"id":1063}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1070},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","eventHandler":{"__isSmartRef__":true,"id":1073},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1075}],"con":{"__isSmartRef__":true,"id":1061},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1076},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1063":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1064},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","eventHandler":{"__isSmartRef__":true,"id":1069},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1062},"_Rotation":3.077607197692381,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(201.2,40.2)"},"1064":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1065},{"__isSmartRef__":true,"id":1066},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1068}],"_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)"},"1065":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1066":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1067":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1068":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1069":{"morph":{"__isSmartRef__":true,"id":1063},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1070":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072}],"_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)"},"1071":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1072":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1073":{"morph":{"__isSmartRef__":true,"id":1062},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1074":{"morph":{"__isSmartRef__":true,"id":1062},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1075":{"morph":{"__isSmartRef__":true,"id":1062},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1063},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1076":{"morphMenuItems":{"__isSmartRef__":true,"id":1077}},"1077":{"varMapping":{"__isSmartRef__":true,"id":1078},"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":1083},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1078":{"this":{"__isSmartRef__":true,"id":1062},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1079}},"1079":{"$super":{"__isSmartRef__":true,"id":1080}},"1080":{"varMapping":{"__isSmartRef__":true,"id":1081},"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":1082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1081":{"obj":{"__isSmartRef__":true,"id":1062},"name":"morphMenuItems"},"1082":{},"1083":{},"1084":{"morph":{"__isSmartRef__":true,"id":1043},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1085":{"centeredHorizontal":false,"moveHorizontal":true},"1086":{"submorphs":[{"__isSmartRef__":true,"id":1087}],"scripts":[],"id":"B737E0DD-9F19-4A8B-8F8A-AEC9D0CFC274","shape":{"__isSmartRef__":true,"id":1092},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1093},"lighterFill":{"__isSmartRef__":true,"id":1098},"label":{"__isSmartRef__":true,"id":1087},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1103},"attributeConnections":[{"__isSmartRef__":true,"id":1104}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1105},"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":234},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9940149800149939,"isPressed":false,"layout":{"__isSmartRef__":true,"id":1106},"__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)"},"1087":{"submorphs":[],"scripts":[],"id":"50AC9BA1-A7EC-4456-B1C8-923529C9F33D","shape":{"__isSmartRef__":true,"id":1088},"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":1086},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1089}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1091},"_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)"},"1088":{"_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)"},"1089":{"style":{"__isSmartRef__":true,"id":1090},"chunkOwner":{"__isSmartRef__":true,"id":1087},"storedString":"Tests","_id":"_1371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1090":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1091":{"morph":{"__isSmartRef__":true,"id":1087},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1092":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1093},"_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)"},"1093":{"stops":[{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1095},{"__isSmartRef__":true,"id":1096},{"__isSmartRef__":true,"id":1097}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1094":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1095":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1096":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1097":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1098":{"stops":[{"__isSmartRef__":true,"id":1099},{"__isSmartRef__":true,"id":1100},{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":1102}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1099":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1100":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1101":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1102":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1103":{"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"},"1104":{"sourceObj":{"__isSmartRef__":true,"id":1086},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"openPartTestRunner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1105":{"morph":{"__isSmartRef__":true,"id":1086},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1106":{"moveHorizontal":true},"1107":{"submorphs":[{"__isSmartRef__":true,"id":1108},{"__isSmartRef__":true,"id":1115}],"scripts":[],"id":"76BE9709-EE25-429A-AD4A-BDAAB756117B","shape":{"__isSmartRef__":true,"id":1118},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1124},"lighterFill":{"__isSmartRef__":true,"id":1129},"label":{"__isSmartRef__":true,"id":1108},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1134},"attributeConnections":[{"__isSmartRef__":true,"id":1137}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":1138},"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":234},"_Rotation":0,"_Scale":0.9920279440699439,"highlightRectangle":{"__isSmartRef__":true,"id":1139},"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1213},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(424.5,8.5)","distanceToDragEvent":"lively.pt(37.9,-7.9)"},"1108":{"submorphs":[],"scripts":[],"id":"23E6680A-F55B-4BED-A5CB-192D2275E4F2","shape":{"__isSmartRef__":true,"id":1109},"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":1107},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":1110},{"__isSmartRef__":true,"id":1112}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1114},"_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)"},"1109":{"_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)"},"1110":{"style":{"__isSmartRef__":true,"id":1111},"chunkOwner":{"__isSmartRef__":true,"id":1108},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1111":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1112":{"style":{"__isSmartRef__":true,"id":1113},"chunkOwner":{"__isSmartRef__":true,"id":1108},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1113":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1114":{"morph":{"__isSmartRef__":true,"id":1108},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1115":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1116},"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":"C0706622-01CE-43CB-BB4C-1761C9DE23D4","eventHandler":{"__isSmartRef__":true,"id":1117},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":1107},"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)"},"1116":{"_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)"},"1117":{"morph":{"__isSmartRef__":true,"id":1115},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1118":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":1119},"_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)"},"1119":{"stops":[{"__isSmartRef__":true,"id":1120},{"__isSmartRef__":true,"id":1121},{"__isSmartRef__":true,"id":1122},{"__isSmartRef__":true,"id":1123}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1120":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1121":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1122":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"1123":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"1124":{"stops":[{"__isSmartRef__":true,"id":1125},{"__isSmartRef__":true,"id":1126},{"__isSmartRef__":true,"id":1127},{"__isSmartRef__":true,"id":1128}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1125":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"1126":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1127":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"1128":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"1129":{"stops":[{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1132},{"__isSmartRef__":true,"id":1133}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"1130":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"1131":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1132":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"1133":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"1134":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":1135}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1135":{"date":{"__isSmartRef__":true,"id":1136},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"1136":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"1137":{"sourceObj":{"__isSmartRef__":true,"id":1107},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1107},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1138":{"morph":{"__isSmartRef__":true,"id":1107},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1139":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":1140},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":1141},"eventHandler":{"__isSmartRef__":true,"id":1182},"attributeConnections":[{"__isSmartRef__":true,"id":1183},{"__isSmartRef__":true,"id":1184},{"__isSmartRef__":true,"id":1185}],"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":1187},"_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":1107},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1192},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(40.0,4131.0)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"1140":{"_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)"},"1141":{"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":1142},{"__isSmartRef__":true,"id":1144},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1150},{"__isSmartRef__":true,"id":1152},{"__isSmartRef__":true,"id":1154},{"__isSmartRef__":true,"id":1156},{"__isSmartRef__":true,"id":1158},{"__isSmartRef__":true,"id":1160},{"__isSmartRef__":true,"id":1162},{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1180}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1142":{"date":{"__isSmartRef__":true,"id":1143},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"1143":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"1144":{"date":{"__isSmartRef__":true,"id":1145},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"1145":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"1146":{"date":{"__isSmartRef__":true,"id":1147},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"1147":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"1148":{"date":{"__isSmartRef__":true,"id":1149},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"1149":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"1150":{"date":{"__isSmartRef__":true,"id":1151},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"1151":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"1152":{"date":{"__isSmartRef__":true,"id":1153},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"1153":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1154":{"date":{"__isSmartRef__":true,"id":1155},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"1155":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1156":{"date":{"__isSmartRef__":true,"id":1157},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1157":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1158":{"date":{"__isSmartRef__":true,"id":1159},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1159":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1160":{"date":{"__isSmartRef__":true,"id":1161},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1161":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1162":{"date":{"__isSmartRef__":true,"id":1163},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1163":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1164":{"date":{"__isSmartRef__":true,"id":1165},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"1165":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"1166":{"date":{"__isSmartRef__":true,"id":1167},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"1167":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"1168":{"date":{"__isSmartRef__":true,"id":1169},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"1169":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"1170":{"date":{"__isSmartRef__":true,"id":1171},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"1171":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"1172":{"date":{"__isSmartRef__":true,"id":1173},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"1173":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"1174":{"date":{"__isSmartRef__":true,"id":1175},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"1175":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"1176":{"date":{"__isSmartRef__":true,"id":1177},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"1177":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"1178":{"date":{"__isSmartRef__":true,"id":1179},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"1179":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"1180":{"date":{"__isSmartRef__":true,"id":1181},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"1181":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"1182":{"morph":{"__isSmartRef__":true,"id":1139},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1183":{"sourceObj":{"__isSmartRef__":true,"id":1139},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":1139},"targetMethodName":"updateOnMove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1184":{"sourceObj":{"__isSmartRef__":true,"id":1139},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":1107},"targetMethodName":"removeHighlighting","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1185":{"sourceObj":{"__isSmartRef__":true,"id":1139},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":234},"targetMethodName":"setTarget","converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1186},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1186":{"source":{"__isSmartRef__":true,"id":1139},"target":{"__isSmartRef__":true,"id":234}},"1187":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1188}},"1188":{"test01IsMorph":{"__isSmartRef__":true,"id":1189}},"1189":{"varMapping":{"__isSmartRef__":true,"id":1190},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1190":{"this":{"__isSmartRef__":true,"id":1187}},"1191":{},"1192":{"update":{"__isSmartRef__":true,"id":1193},"updateOnMove":{"__isSmartRef__":true,"id":1197},"bringToFront":{"__isSmartRef__":true,"id":1201},"morphUnderCursor":{"__isSmartRef__":true,"id":1209}},"1193":{"varMapping":{"__isSmartRef__":true,"id":1194},"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":1195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1194":{"this":{"__isSmartRef__":true,"id":1139}},"1195":{"timestamp":{"__isSmartRef__":true,"id":1196},"user":"lauritz","tags":[]},"1196":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"1197":{"varMapping":{"__isSmartRef__":true,"id":1198},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":1199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1198":{"this":{"__isSmartRef__":true,"id":1139}},"1199":{"timestamp":{"__isSmartRef__":true,"id":1200},"user":"lauritz","tags":[]},"1200":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"1201":{"varMapping":{"__isSmartRef__":true,"id":1202},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":1207},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1202":{"this":{"__isSmartRef__":true,"id":1139},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1203}},"1203":{"$super":{"__isSmartRef__":true,"id":1204}},"1204":{"varMapping":{"__isSmartRef__":true,"id":1205},"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":1206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1205":{"obj":{"__isSmartRef__":true,"id":1139},"name":"bringToFront"},"1206":{},"1207":{"timestamp":{"__isSmartRef__":true,"id":1208},"user":"lauritz","tags":[]},"1208":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"1209":{"varMapping":{"__isSmartRef__":true,"id":1210},"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":1211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1210":{"this":{"__isSmartRef__":true,"id":1139}},"1211":{"timestamp":{"__isSmartRef__":true,"id":1212},"user":"lauritz","tags":[]},"1212":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"1213":{"onFire":{"__isSmartRef__":true,"id":1214},"removeHighlighting":{"__isSmartRef__":true,"id":1218},"onMouseMove":{"__isSmartRef__":true,"id":1222},"onMouseOut":{"__isSmartRef__":true,"id":1230},"reset":{"__isSmartRef__":true,"id":1238},"isTracking":{"__isSmartRef__":true,"id":1242},"isHighlighting":{"__isSmartRef__":true,"id":1246},"currentTarget":{"__isSmartRef__":true,"id":1250}},"1214":{"varMapping":{"__isSmartRef__":true,"id":1215},"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":1216},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1215":{"this":{"__isSmartRef__":true,"id":1107}},"1216":{"timestamp":{"__isSmartRef__":true,"id":1217},"user":"lauritz","tags":[]},"1217":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"1218":{"varMapping":{"__isSmartRef__":true,"id":1219},"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":1220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1219":{"this":{"__isSmartRef__":true,"id":1107}},"1220":{"timestamp":{"__isSmartRef__":true,"id":1221},"user":"lauritz","tags":[]},"1221":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:30 GMT+0200 (CEST)"},"1222":{"varMapping":{"__isSmartRef__":true,"id":1223},"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":1228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1223":{"this":{"__isSmartRef__":true,"id":1107},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1224}},"1224":{"$super":{"__isSmartRef__":true,"id":1225}},"1225":{"varMapping":{"__isSmartRef__":true,"id":1226},"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":1227},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1226":{"obj":{"__isSmartRef__":true,"id":1107},"name":"onMouseMove"},"1227":{},"1228":{"timestamp":{"__isSmartRef__":true,"id":1229},"user":"lauritz","tags":[]},"1229":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"1230":{"varMapping":{"__isSmartRef__":true,"id":1231},"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":1236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1231":{"this":{"__isSmartRef__":true,"id":1107},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1232}},"1232":{"$super":{"__isSmartRef__":true,"id":1233}},"1233":{"varMapping":{"__isSmartRef__":true,"id":1234},"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":1235},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1234":{"obj":{"__isSmartRef__":true,"id":1107},"name":"onMouseOut"},"1235":{},"1236":{"timestamp":{"__isSmartRef__":true,"id":1237},"user":"lauritz","tags":[]},"1237":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"1238":{"varMapping":{"__isSmartRef__":true,"id":1239},"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":1240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1239":{"this":{"__isSmartRef__":true,"id":1107}},"1240":{"timestamp":{"__isSmartRef__":true,"id":1241},"user":"lauritz","tags":[]},"1241":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:20:55 GMT+0200 (CEST)"},"1242":{"varMapping":{"__isSmartRef__":true,"id":1243},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":1244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1243":{"this":{"__isSmartRef__":true,"id":1107}},"1244":{"timestamp":{"__isSmartRef__":true,"id":1245},"user":"lauritz","tags":[]},"1245":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"1246":{"varMapping":{"__isSmartRef__":true,"id":1247},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":1248},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1247":{"this":{"__isSmartRef__":true,"id":1107}},"1248":{"timestamp":{"__isSmartRef__":true,"id":1249},"user":"lauritz","tags":[]},"1249":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"1250":{"varMapping":{"__isSmartRef__":true,"id":1251},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":1252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1251":{"this":{"__isSmartRef__":true,"id":1107}},"1252":{"timestamp":{"__isSmartRef__":true,"id":1253},"user":"lauritz","tags":[]},"1253":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"1254":{"target":{"__isSmartRef__":true,"id":234},"selector":"update","args":[],"stopped":false,"tickTime":500,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"1255":{"_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)"},"1256":{"partsSpaceName":"PartsBin/Basic","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":1257}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1257":{"date":{"__isSmartRef__":true,"id":1258},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1258":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"1259":{"morph":{"__isSmartRef__":true,"id":234},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1260":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1261":{},"1262":{"displayInitialScript":{"__isSmartRef__":true,"id":1263},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1267},"displaySourceForConnection":{"__isSmartRef__":true,"id":1271},"displaySourceForScript":{"__isSmartRef__":true,"id":1275},"generateSourceForConnection":{"__isSmartRef__":true,"id":1279},"generateSourceForScript":{"__isSmartRef__":true,"id":1283},"generateTargetCode":{"__isSmartRef__":true,"id":1287},"newConnection":{"__isSmartRef__":true,"id":1291},"newScript":{"__isSmartRef__":true,"id":1295},"reset":{"__isSmartRef__":true,"id":1299},"selectChangedContent":{"__isSmartRef__":true,"id":1303},"setTarget":{"__isSmartRef__":true,"id":1307},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1311},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1315},"updateLists":{"__isSmartRef__":true,"id":1319},"onShutdown":{"__isSmartRef__":true,"id":1323},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":1327},"update":{"__isSmartRef__":true,"id":1331},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":1335},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":1339},"printTags":{"__isSmartRef__":true,"id":1347},"setTag":{"__isSmartRef__":true,"id":1351},"runScript":{"__isSmartRef__":true,"id":1355},"openPartTestRunner":{"__isSmartRef__":true,"id":1359},"hasUnsavedChanges":{"__isSmartRef__":true,"id":1363}},"1263":{"varMapping":{"__isSmartRef__":true,"id":1264},"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":1265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1264":{"this":{"__isSmartRef__":true,"id":234}},"1265":{"timestamp":{"__isSmartRef__":true,"id":1266},"user":"lauritz","tags":[]},"1266":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"1267":{"varMapping":{"__isSmartRef__":true,"id":1268},"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":1269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1268":{"this":{"__isSmartRef__":true,"id":234}},"1269":{"timestamp":{"__isSmartRef__":true,"id":1270},"user":"lauritz","tags":[]},"1270":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1271":{"varMapping":{"__isSmartRef__":true,"id":1272},"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":1273},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1272":{"this":{"__isSmartRef__":true,"id":234}},"1273":{"timestamp":{"__isSmartRef__":true,"id":1274},"user":"conradcalmez","tags":[]},"1274":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"1275":{"varMapping":{"__isSmartRef__":true,"id":1276},"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":1277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1276":{"this":{"__isSmartRef__":true,"id":234}},"1277":{"timestamp":{"__isSmartRef__":true,"id":1278},"user":"cschuster","tags":[]},"1278":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:26 GMT+0200 (CEST)"},"1279":{"varMapping":{"__isSmartRef__":true,"id":1280},"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":1281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1280":{"this":{"__isSmartRef__":true,"id":234}},"1281":{"timestamp":{"__isSmartRef__":true,"id":1282},"user":"lauritz","tags":[]},"1282":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1283":{"varMapping":{"__isSmartRef__":true,"id":1284},"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":1285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1284":{"this":{"__isSmartRef__":true,"id":234}},"1285":{"timestamp":{"__isSmartRef__":true,"id":1286},"user":"cschuster","tags":[]},"1286":{"isSerializedDate":true,"string":"Thu Aug 30 2012 08:14:45 GMT+0200 (CEST)"},"1287":{"varMapping":{"__isSmartRef__":true,"id":1288},"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":1289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1288":{"this":{"__isSmartRef__":true,"id":234}},"1289":{"timestamp":{"__isSmartRef__":true,"id":1290},"user":"lauritz","tags":[]},"1290":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1291":{"varMapping":{"__isSmartRef__":true,"id":1292},"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":1293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1292":{"this":{"__isSmartRef__":true,"id":234}},"1293":{"timestamp":{"__isSmartRef__":true,"id":1294},"user":"lauritz","tags":[]},"1294":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1295":{"varMapping":{"__isSmartRef__":true,"id":1296},"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":1297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1296":{"this":{"__isSmartRef__":true,"id":234}},"1297":{"timestamp":{"__isSmartRef__":true,"id":1298},"user":"lauritz","tags":[]},"1298":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"1299":{"varMapping":{"__isSmartRef__":true,"id":1300},"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":1301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1300":{"this":{"__isSmartRef__":true,"id":234}},"1301":{"timestamp":{"__isSmartRef__":true,"id":1302},"user":"lauritz","tags":[]},"1302":{"isSerializedDate":true,"string":"Fri Aug 03 2012 11:45:36 GMT+0200 (CEST)"},"1303":{"varMapping":{"__isSmartRef__":true,"id":1304},"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