{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":1127},{"__isSmartRef__":true,"id":1158}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1206},"id":"5A66EBF7-BECE-4970-B644-167FC4900BEC","eventHandler":{"__isSmartRef__":true,"id":1207},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1208},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":1},"titleBar":{"__isSmartRef__":true,"id":1158},"collapsedTransform":{"__isSmartRef__":true,"id":1209},"expandedTransform":{"__isSmartRef__":true,"id":1210},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1211},"name":"ObjectEditor","highlighted":false,"cameForward":false,"showsHalos":false,"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","__serializedExpressions__":["contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition","minSize","minExtent","_Position"],"_Rotation":0,"_Scale":1.01,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1363},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"contentOffset":"lively.pt(0.0,22.0)","collapsedExtent":"lively.pt(723.0,268.0)","expandedExtent":"lively.pt(729.0,365.0)","prevDragPos":"lively.pt(1898.2,4098.7)","expandedPosition":"lively.pt(26.0,125.0)","collapsedPosition":"lively.pt(21.0,92.9)","minSize":"lively.pt(500.0,300.0)","minExtent":"lively.pt(455.0,268.0)","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":488},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":494},{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":523},{"__isSmartRef__":true,"id":544},{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":236},{"__isSmartRef__":true,"id":244},{"__isSmartRef__":true,"id":602},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":804},{"__isSmartRef__":true,"id":847},{"__isSmartRef__":true,"id":868}],"scripts":[],"id":"C657EEFD-2D79-49B9-8F26-F10E5FF67079","shape":{"__isSmartRef__":true,"id":1015},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1016},"eventHandler":{"__isSmartRef__":true,"id":1019},"layout":{"__isSmartRef__":true,"id":1020},"target":null,"scriptPane":{"__isSmartRef__":true,"id":236},"scriptList":{"__isSmartRef__":true,"id":2},"connectionList":{"__isSmartRef__":true,"id":323},"morphSelector":{"__isSmartRef__":true,"id":602},"changeIndicator":{"__isSmartRef__":true,"id":244},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"tagChooser":{"__isSmartRef__":true,"id":699},"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":0},"partTests":{"__isSmartRef__":true,"id":1021},"_ClipMode":"visible","__serializedExpressions__":["distanceToDragEvent","_Position"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1022},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(350.2,-3.2)","_Position":"lively.pt(1.0,21.5)"},"2":{"submorphs":[],"scripts":[],"id":"83C86310-B891-49A2-9B0B-91A6BC7D801A","shape":{"__isSmartRef__":true,"id":3},"droppingEnabled":true,"halosEnabled":true,"itemList":[],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":4},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,16],"attributeConnections":[{"__isSmartRef__":true,"id":5}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"layout":{"__isSmartRef__":true,"id":7},"doitContext":{"__isSmartRef__":true,"id":8},"eventHandler":{"__isSmartRef__":true,"id":479},"_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":null,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":480},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,63.0)","distanceToDragEvent":"lively.pt(126.0,-14.4)"},"3":{"_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)"},"4":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5":{"sourceObj":{"__isSmartRef__":true,"id":2},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n    return (value === '-- ALL --') ? null : value;\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6":{"source":{"__isSmartRef__":true,"id":2},"target":{"__isSmartRef__":true,"id":1}},"7":{"resizeHeight":true},"8":{"submorphs":[],"scripts":[],"id":836,"shape":{"__isSmartRef__":true,"id":9},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":10},"titleBar":{"__isSmartRef__":true,"id":11},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":{"__isSmartRef__":true,"id":76},"highlighted":true,"_Rotation":0,"_Scale":1,"showsHalos":false,"name":"ObjectEditor","target":{"__isSmartRef__":true,"id":77},"partsBinMetaInfo":{"__isSmartRef__":true,"id":235},"scriptList":{"__isSmartRef__":true,"id":2},"scriptPane":{"__isSmartRef__":true,"id":236},"classButton":{"__isSmartRef__":true,"id":303},"connectionList":{"__isSmartRef__":true,"id":323},"targetButton":{"__isSmartRef__":true,"id":335},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"morphSelector":{"__isSmartRef__":true,"id":353},"eventHandler":{"__isSmartRef__":true,"id":426},"cameForward":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["contentOffset","expandedExtent","prevDragPos","expandedPosition","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":427},"__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)"},"9":{"_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)"},"10":{"adjustForNewBounds":true},"11":{"submorphs":[{"__isSmartRef__":true,"id":12},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":53}],"scripts":[],"id":837,"shape":{"__isSmartRef__":true,"id":69},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":74},"eventsAreIgnored":true,"windowMorph":{"__isSmartRef__":true,"id":8},"label":{"__isSmartRef__":true,"id":12},"closeButton":{"__isSmartRef__":true,"id":17},"menuButton":{"__isSmartRef__":true,"id":38},"collapseButton":{"__isSmartRef__":true,"id":53},"owner":null,"name":"ObjectEditorTitleBar","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":75},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"12":{"submorphs":[],"scripts":[],"id":838,"shape":{"__isSmartRef__":true,"id":13},"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":14}],"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"_FontSize":10,"_Align":"center","owner":{"__isSmartRef__":true,"id":11},"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":16},"_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)"},"13":{"_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)"},"14":{"style":{"__isSmartRef__":true,"id":15},"chunkOwner":{"__isSmartRef__":true,"id":12},"storedString":"","_id":"_1341","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"15":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"16":{"morph":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"17":{"submorphs":[{"__isSmartRef__":true,"id":18}],"scripts":[],"id":839,"shape":{"__isSmartRef__":true,"id":23},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24},"lighterFill":{"__isSmartRef__":true,"id":29},"label":{"__isSmartRef__":true,"id":18},"owner":{"__isSmartRef__":true,"id":11},"layout":{"__isSmartRef__":true,"id":34},"attributeConnections":[{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":36}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":37},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(961.0,3.0)"},"18":{"submorphs":[],"scripts":[],"id":840,"shape":{"__isSmartRef__":true,"id":19},"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":20}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":22},"_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)"},"19":{"_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)"},"20":{"style":{"__isSmartRef__":true,"id":21},"chunkOwner":{"__isSmartRef__":true,"id":18},"storedString":"","_id":"_1342","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"21":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"22":{"morph":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"23":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":24},"_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)"},"24":{"stops":[{"__isSmartRef__":true,"id":25},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":27},{"__isSmartRef__":true,"id":28}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"25":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"26":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"27":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"28":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"29":{"stops":[{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":31},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":33}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"30":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"31":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"32":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"33":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"34":{"moveHorizontal":true},"35":{"sourceObj":{"__isSmartRef__":true,"id":17},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"36":{"sourceObj":{"__isSmartRef__":true,"id":17},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"37":{"morph":{"__isSmartRef__":true,"id":17},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"38":{"submorphs":[{"__isSmartRef__":true,"id":39}],"scripts":[],"id":841,"shape":{"__isSmartRef__":true,"id":44},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24},"lighterFill":{"__isSmartRef__":true,"id":45},"label":{"__isSmartRef__":true,"id":39},"owner":{"__isSmartRef__":true,"id":11},"attributeConnections":[{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":51}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"showsHalos":false,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":52},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"39":{"submorphs":[],"scripts":[],"id":842,"shape":{"__isSmartRef__":true,"id":40},"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":41}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":38},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":43},"_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)"},"40":{"_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)"},"41":{"style":{"__isSmartRef__":true,"id":42},"chunkOwner":{"__isSmartRef__":true,"id":39},"storedString":"","_id":"_1343","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"42":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"43":{"morph":{"__isSmartRef__":true,"id":39},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"44":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":24},"_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)"},"45":{"stops":[{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":48},{"__isSmartRef__":true,"id":49}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"46":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"47":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"48":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"49":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"50":{"sourceObj":{"__isSmartRef__":true,"id":38},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"51":{"sourceObj":{"__isSmartRef__":true,"id":38},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"52":{"morph":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"53":{"submorphs":[{"__isSmartRef__":true,"id":54}],"scripts":[],"id":843,"shape":{"__isSmartRef__":true,"id":59},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":24},"lighterFill":{"__isSmartRef__":true,"id":60},"label":{"__isSmartRef__":true,"id":54},"owner":{"__isSmartRef__":true,"id":11},"layout":{"__isSmartRef__":true,"id":65},"attributeConnections":[{"__isSmartRef__":true,"id":66},{"__isSmartRef__":true,"id":67}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":68},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(942.0,3.0)"},"54":{"submorphs":[],"scripts":[],"id":844,"shape":{"__isSmartRef__":true,"id":55},"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":56}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":53},"isLabel":true,"eventsAreIgnored":true,"_FontSize":8,"_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":58},"_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)"},"55":{"_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)"},"56":{"style":{"__isSmartRef__":true,"id":57},"chunkOwner":{"__isSmartRef__":true,"id":54},"storedString":"","_id":"_1344","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"57":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"58":{"morph":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"59":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":24},"_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)"},"60":{"stops":[{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":63},{"__isSmartRef__":true,"id":64}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"61":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"62":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"63":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"64":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"65":{"moveHorizontal":true},"66":{"sourceObj":{"__isSmartRef__":true,"id":53},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"67":{"sourceObj":{"__isSmartRef__":true,"id":53},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"68":{"morph":{"__isSmartRef__":true,"id":53},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"69":{"_BorderWidth":2,"_Fill":{"__isSmartRef__":true,"id":70},"_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)"},"70":{"stops":[{"__isSmartRef__":true,"id":71},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":73}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,1,0,-1)"},"71":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"72":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(230,230,230)"},"73":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(184,184,184)"},"74":{"resizeWidth":true,"adjustForNewBounds":true},"75":{"morph":{"__isSmartRef__":true,"id":11},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"76":{"a":1,"b":0,"c":0,"d":1,"e":377.6609726943286,"f":419.5142810783999,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"77":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":78},"id":394,"textChunks":[{"__isSmartRef__":true,"id":79}],"eventHandler":{"__isSmartRef__":true,"id":81},"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":82},"layout":{"__isSmartRef__":true,"id":154},"doitContext":{"__isSmartRef__":true,"id":155},"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)"},"78":{"_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)"},"79":{"style":{"__isSmartRef__":true,"id":80},"chunkOwner":{"__isSmartRef__":true,"id":77},"storedString":"","_id":"_1353","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"80":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"81":{"morph":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"82":{"submorphs":[{"__isSmartRef__":true,"id":77},{"__isSmartRef__":true,"id":83}],"scripts":[],"shape":{"__isSmartRef__":true,"id":151},"id":395,"eventHandler":{"__isSmartRef__":true,"id":152},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":153},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":77},"titleBar":{"__isSmartRef__":true,"id":83},"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)"},"83":{"submorphs":[{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":130}],"scripts":[],"shape":{"__isSmartRef__":true,"id":148},"id":396,"eventHandler":{"__isSmartRef__":true,"id":149},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":150},"windowMorph":{"__isSmartRef__":true,"id":82},"label":{"__isSmartRef__":true,"id":84},"closeButton":{"__isSmartRef__":true,"id":90},"menuButton":{"__isSmartRef__":true,"id":113},"collapseButton":{"__isSmartRef__":true,"id":130},"owner":{"__isSmartRef__":true,"id":82},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"84":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":85},"id":397,"textChunks":[{"__isSmartRef__":true,"id":86}],"eventHandler":{"__isSmartRef__":true,"id":88},"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":89},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":83},"_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)"},"85":{"_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)"},"86":{"style":{"__isSmartRef__":true,"id":87},"chunkOwner":{"__isSmartRef__":true,"id":84},"storedString":"","_id":"_1345","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"87":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"88":{"morph":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"89":{"resizeWidth":true},"90":{"submorphs":[{"__isSmartRef__":true,"id":91}],"scripts":[],"shape":{"__isSmartRef__":true,"id":96},"id":398,"eventHandler":{"__isSmartRef__":true,"id":102},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":103},"label":{"__isSmartRef__":true,"id":91},"owner":{"__isSmartRef__":true,"id":83},"layout":{"__isSmartRef__":true,"id":108},"attributeConnections":[{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":111}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"91":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":92},"id":399,"textChunks":[{"__isSmartRef__":true,"id":93}],"eventHandler":{"__isSmartRef__":true,"id":95},"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":90},"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)"},"92":{"_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)"},"93":{"style":{"__isSmartRef__":true,"id":94},"chunkOwner":{"__isSmartRef__":true,"id":91},"storedString":"","_id":"_1346","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"94":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"95":{"morph":{"__isSmartRef__":true,"id":91},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"96":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"97":{"stops":[{"__isSmartRef__":true,"id":98},{"__isSmartRef__":true,"id":99},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":101}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"98":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"99":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"100":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"101":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"102":{"morph":{"__isSmartRef__":true,"id":90},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"103":{"stops":[{"__isSmartRef__":true,"id":104},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":107}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"104":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"105":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"106":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"107":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"108":{"moveHorizontal":true},"109":{"sourceObj":{"__isSmartRef__":true,"id":90},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":110},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"110":{"source":{"__isSmartRef__":true,"id":90},"target":{"__isSmartRef__":true,"id":82}},"111":{"sourceObj":{"__isSmartRef__":true,"id":90},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":112},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"112":{"source":{"__isSmartRef__":true,"id":90},"target":{"__isSmartRef__":true,"id":82}},"113":{"submorphs":[{"__isSmartRef__":true,"id":114}],"scripts":[],"shape":{"__isSmartRef__":true,"id":119},"id":400,"eventHandler":{"__isSmartRef__":true,"id":120},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":121},"label":{"__isSmartRef__":true,"id":114},"owner":{"__isSmartRef__":true,"id":83},"attributeConnections":[{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":128}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"114":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":115},"id":401,"textChunks":[{"__isSmartRef__":true,"id":116}],"eventHandler":{"__isSmartRef__":true,"id":118},"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":113},"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)"},"115":{"_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)"},"116":{"style":{"__isSmartRef__":true,"id":117},"chunkOwner":{"__isSmartRef__":true,"id":114},"storedString":"","_id":"_1347","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"117":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"118":{"morph":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"119":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"120":{"morph":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"121":{"stops":[{"__isSmartRef__":true,"id":122},{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":125}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"122":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"123":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"124":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"125":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"126":{"sourceObj":{"__isSmartRef__":true,"id":113},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":127},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"127":{"source":{"__isSmartRef__":true,"id":113},"target":{"__isSmartRef__":true,"id":82}},"128":{"sourceObj":{"__isSmartRef__":true,"id":113},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":129},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"129":{"source":{"__isSmartRef__":true,"id":113},"target":{"__isSmartRef__":true,"id":82}},"130":{"submorphs":[{"__isSmartRef__":true,"id":131}],"scripts":[],"shape":{"__isSmartRef__":true,"id":136},"id":402,"eventHandler":{"__isSmartRef__":true,"id":137},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":138},"label":{"__isSmartRef__":true,"id":131},"owner":{"__isSmartRef__":true,"id":83},"layout":{"__isSmartRef__":true,"id":143},"attributeConnections":[{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":146}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"131":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":132},"id":403,"textChunks":[{"__isSmartRef__":true,"id":133}],"eventHandler":{"__isSmartRef__":true,"id":135},"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":130},"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)"},"132":{"_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)"},"133":{"style":{"__isSmartRef__":true,"id":134},"chunkOwner":{"__isSmartRef__":true,"id":131},"storedString":"","_id":"_1348","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"134":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"135":{"morph":{"__isSmartRef__":true,"id":131},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"136":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"137":{"morph":{"__isSmartRef__":true,"id":130},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"138":{"stops":[{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":141},{"__isSmartRef__":true,"id":142}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"139":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"140":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"141":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"142":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"143":{"moveHorizontal":true},"144":{"sourceObj":{"__isSmartRef__":true,"id":130},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":145},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"145":{"source":{"__isSmartRef__":true,"id":130},"target":{"__isSmartRef__":true,"id":82}},"146":{"sourceObj":{"__isSmartRef__":true,"id":130},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":82},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":147},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"147":{"source":{"__isSmartRef__":true,"id":130},"target":{"__isSmartRef__":true,"id":82}},"148":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":70},"_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)"},"149":{"morph":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"150":{"resizeWidth":true,"adjustForNewBounds":true},"151":{"_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)"},"152":{"morph":{"__isSmartRef__":true,"id":82},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"153":{"adjustForNewBounds":true},"154":{"resizeWidth":true,"resizeHeight":true},"155":{"submorphs":[{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":163}],"scripts":[],"shape":{"__isSmartRef__":true,"id":230},"id":361,"eventHandler":{"__isSmartRef__":true,"id":231},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":232},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":156},"titleBar":{"__isSmartRef__":true,"id":163},"collapsedTransform":{"__isSmartRef__":true,"id":233},"expandedTransform":{"__isSmartRef__":true,"id":234},"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)"},"156":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":157},"id":360,"textChunks":[{"__isSmartRef__":true,"id":158}],"eventHandler":{"__isSmartRef__":true,"id":160},"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":155},"layout":{"__isSmartRef__":true,"id":161},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":162}],"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)"},"157":{"_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)"},"158":{"style":{"__isSmartRef__":true,"id":159},"chunkOwner":{"__isSmartRef__":true,"id":156},"_id":"_230","storedString":"undefined","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"159":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"160":{"morph":{"__isSmartRef__":true,"id":156},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"161":{"resizeWidth":true,"resizeHeight":true},"162":{"sourceObj":{"__isSmartRef__":true,"id":156},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":156},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"163":{"submorphs":[{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":188},{"__isSmartRef__":true,"id":205}],"scripts":[],"shape":{"__isSmartRef__":true,"id":223},"id":362,"eventHandler":{"__isSmartRef__":true,"id":228},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":229},"windowMorph":{"__isSmartRef__":true,"id":155},"label":{"__isSmartRef__":true,"id":164},"closeButton":{"__isSmartRef__":true,"id":170},"menuButton":{"__isSmartRef__":true,"id":188},"collapseButton":{"__isSmartRef__":true,"id":205},"owner":{"__isSmartRef__":true,"id":155},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"164":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":165},"id":363,"textChunks":[{"__isSmartRef__":true,"id":166}],"eventHandler":{"__isSmartRef__":true,"id":168},"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":169},"_FontSize":10,"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":163},"_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)"},"165":{"_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)"},"166":{"style":{"__isSmartRef__":true,"id":167},"chunkOwner":{"__isSmartRef__":true,"id":164},"storedString":"","_id":"_1349","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"167":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"168":{"morph":{"__isSmartRef__":true,"id":164},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"169":{"resizeWidth":true},"170":{"submorphs":[{"__isSmartRef__":true,"id":171}],"scripts":[],"shape":{"__isSmartRef__":true,"id":176},"id":364,"eventHandler":{"__isSmartRef__":true,"id":177},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":178},"label":{"__isSmartRef__":true,"id":171},"owner":{"__isSmartRef__":true,"id":163},"layout":{"__isSmartRef__":true,"id":183},"attributeConnections":[{"__isSmartRef__":true,"id":184},{"__isSmartRef__":true,"id":186}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(480.0,3.0)"},"171":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":172},"id":365,"textChunks":[{"__isSmartRef__":true,"id":173}],"eventHandler":{"__isSmartRef__":true,"id":175},"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":170},"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)"},"172":{"_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)"},"173":{"style":{"__isSmartRef__":true,"id":174},"chunkOwner":{"__isSmartRef__":true,"id":171},"storedString":"","_id":"_1350","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"174":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"175":{"morph":{"__isSmartRef__":true,"id":171},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"176":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"177":{"morph":{"__isSmartRef__":true,"id":170},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"178":{"stops":[{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":181},{"__isSmartRef__":true,"id":182}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"179":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"180":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"181":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"182":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"183":{"moveHorizontal":true},"184":{"sourceObj":{"__isSmartRef__":true,"id":170},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"getCloseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":185},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"185":{"source":{"__isSmartRef__":true,"id":170},"target":{"__isSmartRef__":true,"id":155}},"186":{"sourceObj":{"__isSmartRef__":true,"id":170},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"initiateShutdown","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":187},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"187":{"source":{"__isSmartRef__":true,"id":170},"target":{"__isSmartRef__":true,"id":155}},"188":{"submorphs":[{"__isSmartRef__":true,"id":189}],"scripts":[],"shape":{"__isSmartRef__":true,"id":194},"id":366,"eventHandler":{"__isSmartRef__":true,"id":195},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":196},"label":{"__isSmartRef__":true,"id":189},"owner":{"__isSmartRef__":true,"id":163},"attributeConnections":[{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":203}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"189":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":190},"id":367,"textChunks":[{"__isSmartRef__":true,"id":191}],"eventHandler":{"__isSmartRef__":true,"id":193},"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":188},"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)"},"190":{"_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)"},"191":{"style":{"__isSmartRef__":true,"id":192},"chunkOwner":{"__isSmartRef__":true,"id":189},"storedString":"","_id":"_1351","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"192":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"193":{"morph":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"194":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"195":{"morph":{"__isSmartRef__":true,"id":188},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"196":{"stops":[{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":199},{"__isSmartRef__":true,"id":200}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"197":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"198":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"199":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"200":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"201":{"sourceObj":{"__isSmartRef__":true,"id":188},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"getMenuHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":202},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"202":{"source":{"__isSmartRef__":true,"id":188},"target":{"__isSmartRef__":true,"id":155}},"203":{"sourceObj":{"__isSmartRef__":true,"id":188},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"showTargetMorphMenu","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":204},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"204":{"source":{"__isSmartRef__":true,"id":188},"target":{"__isSmartRef__":true,"id":155}},"205":{"submorphs":[{"__isSmartRef__":true,"id":206}],"scripts":[],"shape":{"__isSmartRef__":true,"id":211},"id":368,"eventHandler":{"__isSmartRef__":true,"id":212},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":97},"lighterFill":{"__isSmartRef__":true,"id":213},"label":{"__isSmartRef__":true,"id":206},"owner":{"__isSmartRef__":true,"id":163},"layout":{"__isSmartRef__":true,"id":218},"attributeConnections":[{"__isSmartRef__":true,"id":219},{"__isSmartRef__":true,"id":221}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(461.0,3.0)"},"206":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":207},"id":369,"textChunks":[{"__isSmartRef__":true,"id":208}],"eventHandler":{"__isSmartRef__":true,"id":210},"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":205},"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)"},"207":{"_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)"},"208":{"style":{"__isSmartRef__":true,"id":209},"chunkOwner":{"__isSmartRef__":true,"id":206},"storedString":"","_id":"_1352","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"209":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"210":{"morph":{"__isSmartRef__":true,"id":206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"211":{"_BorderWidth":0,"_Fill":{"__isSmartRef__":true,"id":97},"_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)"},"212":{"morph":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"213":{"stops":[{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":215},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":217}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"214":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"215":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"216":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"217":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"218":{"moveHorizontal":true},"219":{"sourceObj":{"__isSmartRef__":true,"id":205},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"getCollapseHelp","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"220":{"source":{"__isSmartRef__":true,"id":205},"target":{"__isSmartRef__":true,"id":155}},"221":{"sourceObj":{"__isSmartRef__":true,"id":205},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":155},"targetMethodName":"toggleCollapse","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"222":{"source":{"__isSmartRef__":true,"id":205},"target":{"__isSmartRef__":true,"id":155}},"223":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":224},"_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)"},"224":{"stops":[{"__isSmartRef__":true,"id":225},{"__isSmartRef__":true,"id":226},{"__isSmartRef__":true,"id":227}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"225":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"226":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(243,243,243)"},"227":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(220,220,220)"},"228":{"morph":{"__isSmartRef__":true,"id":163},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"229":{"resizeWidth":true,"adjustForNewBounds":true},"230":{"_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)"},"231":{"morph":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"232":{"adjustForNewBounds":true},"233":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"234":{"a":1,"b":0,"c":0,"d":1,"e":1131,"f":79,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"235":{"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"},"236":{"submorphs":[],"scripts":[],"id":"7E4FAE7F-EE34-4346-8A3D-EA787509C9E0","shape":{"__isSmartRef__":true,"id":237},"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":238}],"layout":{"__isSmartRef__":true,"id":240},"showsHalos":false,"prevScroll":[0,0],"name":"ObjectEditorScriptPane","charsReplaced":"codeBase","lastFindLoc":195,"partsBinMetaInfo":{"__isSmartRef__":true,"id":241},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1,"doitContext":null,"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":242},"attributeConnections":[{"__isSmartRef__":true,"id":243},{"__isSmartRef__":true,"id":258},{"__isSmartRef__":true,"id":259}],"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":"","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":261},"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":1},"syntaxHighlightingWhileTyping":true,"#startLetters":"enable","_syntaxHighlightTimeout":null,"lastSyntaxHighlightTimes":[1,5,7,3,4,5,5,11,10,10],"_lastSyntaxHighlightTime":3,"previousSelection":[429,429],"_WordBreak":"break-all","__serializedExpressions__":["_Padding","distanceToDragEvent","_Position"],"textString":"","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":266},"__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)"},"237":{"_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)"},"238":{"style":{"__isSmartRef__":true,"id":239},"chunkOwner":{"__isSmartRef__":true,"id":236},"_id":"_231","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"239":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"240":{"resizeWidth":true,"resizeHeight":true},"241":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"242":{"morph":{"__isSmartRef__":true,"id":236},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"243":{"sourceObj":{"__isSmartRef__":true,"id":236},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":244},"targetMethodName":"indicateUnsavedChanges","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"244":{"submorphs":[],"scripts":[],"id":"76F0DF5A-524E-4172-BE45-5AC0CE14D151","shape":{"__isSmartRef__":true,"id":245},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":246},"eventHandler":{"__isSmartRef__":true,"id":247},"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":248},"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","__serializedExpressions__":["_Position","savedColor","alarmColor","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":249},"__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)"},"245":{"_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(0,0,0)","_Fill":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"246":{"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"},"247":{"morph":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"248":{"moveHorizontal":true,"adjustForNewBounds":true},"249":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":250},"setColors":{"__isSmartRef__":true,"id":254}},"250":{"varMapping":{"__isSmartRef__":true,"id":251},"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":252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"251":{"this":{"__isSmartRef__":true,"id":244}},"252":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":253}},"253":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:09:19 GMT-0700 (PDT)"},"254":{"varMapping":{"__isSmartRef__":true,"id":255},"source":"function setColors(color) {\n    this.setFill(color);\n    this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"255":{"this":{"__isSmartRef__":true,"id":244}},"256":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":257}},"257":{"isSerializedDate":true,"string":"Tue Sep 27 2011 10:06:09 GMT-0700 (PDT)"},"258":{"sourceObj":{"__isSmartRef__":true,"id":236},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":236},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"259":{"sourceObj":{"__isSmartRef__":true,"id":236},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":236},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":260},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"260":{"source":{"__isSmartRef__":true,"id":236},"target":{"__isSmartRef__":true,"id":236}},"261":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":262},"id":553,"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":263}],"eventHandler":{"__isSmartRef__":true,"id":265},"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)"},"262":{"_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)"},"263":{"style":{"__isSmartRef__":true,"id":264},"chunkOwner":{"__isSmartRef__":true,"id":261},"_id":"_1099","storedString":"saved source","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"264":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"265":{"morph":{"__isSmartRef__":true,"id":261},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"266":{"doSave":{"__isSmartRef__":true,"id":267},"boundEval":{"__isSmartRef__":true,"id":275},"reset":{"__isSmartRef__":true,"id":283},"display":{"__isSmartRef__":true,"id":287},"hasChanged":{"__isSmartRef__":true,"id":291},"displayStatus":{"__isSmartRef__":true,"id":295},"updateTarget":{"__isSmartRef__":true,"id":299}},"267":{"varMapping":{"__isSmartRef__":true,"id":268},"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":273},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"268":{"this":{"__isSmartRef__":true,"id":236},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":269}},"269":{"$super":{"__isSmartRef__":true,"id":270}},"270":{"varMapping":{"__isSmartRef__":true,"id":271},"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":272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"271":{"obj":{"__isSmartRef__":true,"id":236},"name":"doSave"},"272":{},"273":{"timestamp":{"__isSmartRef__":true,"id":274},"user":"lauritz"},"274":{"isSerializedDate":true,"string":"Thu Nov 17 2011 14:15:19 GMT-0800 (PST)"},"275":{"varMapping":{"__isSmartRef__":true,"id":276},"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":281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"276":{"this":{"__isSmartRef__":true,"id":236},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":277}},"277":{"$super":{"__isSmartRef__":true,"id":278}},"278":{"varMapping":{"__isSmartRef__":true,"id":279},"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":280},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"279":{"obj":{"__isSmartRef__":true,"id":236},"name":"boundEval"},"280":{},"281":{"timestamp":{"__isSmartRef__":true,"id":282},"user":"lauritz","categories":[]},"282":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:41:53 GMT-0800 (PST)"},"283":{"varMapping":{"__isSmartRef__":true,"id":284},"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":285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"284":{"this":{"__isSmartRef__":true,"id":236}},"285":{"timestamp":{"__isSmartRef__":true,"id":286},"user":"cschuster","tags":[]},"286":{"isSerializedDate":true,"string":"Wed May 16 2012 11:52:57 GMT-0700 (PDT)"},"287":{"varMapping":{"__isSmartRef__":true,"id":288},"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":289},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"288":{"this":{"__isSmartRef__":true,"id":236}},"289":{"timestamp":{"__isSmartRef__":true,"id":290},"user":"lauritz","tags":[]},"290":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:02:26 GMT-0700 (PDT)"},"291":{"varMapping":{"__isSmartRef__":true,"id":292},"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":293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"292":{"this":{"__isSmartRef__":true,"id":236}},"293":{"timestamp":{"__isSmartRef__":true,"id":294},"user":"lauritz","categories":[]},"294":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:29:45 GMT-0700 (PDT)"},"295":{"varMapping":{"__isSmartRef__":true,"id":296},"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":297},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"296":{"this":{"__isSmartRef__":true,"id":236}},"297":{"timestamp":{"__isSmartRef__":true,"id":298},"user":"lauritz","categories":[]},"298":{"isSerializedDate":true,"string":"Wed Nov 23 2011 09:23:05 GMT-0800 (PST)"},"299":{"varMapping":{"__isSmartRef__":true,"id":300},"source":"function updateTarget(target) {\n    module('lively.ide.SyntaxHighlighting').load(true);\n    this.doitContext = this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"300":{"this":{"__isSmartRef__":true,"id":236}},"301":{"timestamp":{"__isSmartRef__":true,"id":302},"user":"lauritz","tags":[]},"302":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:07:42 GMT-0700 (PDT)"},"303":{"submorphs":[{"__isSmartRef__":true,"id":304}],"scripts":[],"id":847,"shape":{"__isSmartRef__":true,"id":309},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":310},"lighterFill":{"__isSmartRef__":true,"id":315},"label":{"__isSmartRef__":true,"id":304},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorClassButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":320},"_Scale":1,"owner":null,"layout":{"__isSmartRef__":true,"id":321},"eventHandler":{"__isSmartRef__":true,"id":322},"__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)"},"304":{"submorphs":[],"scripts":[],"id":848,"shape":{"__isSmartRef__":true,"id":305},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":18,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":303},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":306}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_Scale":1,"eventHandler":{"__isSmartRef__":true,"id":308},"_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)"},"305":{"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)"},"306":{"style":{"__isSmartRef__":true,"id":307},"chunkOwner":{"__isSmartRef__":true,"id":304},"storedString":"","_id":"_1355","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"307":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"308":{"morph":{"__isSmartRef__":true,"id":304},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"309":{"_Fill":{"__isSmartRef__":true,"id":310},"_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)"},"310":{"stops":[{"__isSmartRef__":true,"id":311},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":313},{"__isSmartRef__":true,"id":314}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"311":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"312":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"313":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"314":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"315":{"stops":[{"__isSmartRef__":true,"id":316},{"__isSmartRef__":true,"id":317},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":319}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"316":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"317":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"318":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"319":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"320":{"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"},"321":{"moveHorizontal":true},"322":{"morph":{"__isSmartRef__":true,"id":303},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"323":{"submorphs":[],"scripts":[],"id":"80263113-9355-4A49-8C1B-7A9CF3AABD12","shape":{"__isSmartRef__":true,"id":324},"droppingEnabled":true,"halosEnabled":true,"itemList":[],"selectedLineNo":1,"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":325},"_ClipMode":"auto","owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":326}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":328},"eventHandler":{"__isSmartRef__":true,"id":329},"_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,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":330},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,346.7)","distanceToDragEvent":"lively.pt(125.0,-17.1)"},"324":{"_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)"},"325":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"326":{"sourceObj":{"__isSmartRef__":true,"id":323},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"displaySourceForConnection","converterString":"function (value) {\n        if (!value) return;\n        return (value === '-- ALL --') ? null : value[1];\n}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":327},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"327":{"source":{"__isSmartRef__":true,"id":323},"target":{"__isSmartRef__":true,"id":1}},"328":{"resizeHeight":false,"moveVertical":true},"329":{"morph":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"330":{"preselectItem":{"__isSmartRef__":true,"id":331}},"331":{"varMapping":{"__isSmartRef__":true,"id":332},"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":333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"332":{"this":{"__isSmartRef__":true,"id":323}},"333":{"timestamp":{"__isSmartRef__":true,"id":334},"user":"lauritz"},"334":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:12:58 GMT-0800 (PST)"},"335":{"submorphs":[{"__isSmartRef__":true,"id":336}],"scripts":[],"id":47,"shape":{"__isSmartRef__":true,"id":340},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":341},"lighterFill":{"__isSmartRef__":true,"id":346},"label":{"__isSmartRef__":true,"id":336},"attributeConnections":[{"__isSmartRef__":true,"id":351}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"_Rotation":0,"name":"ObjectEditorTargetButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":352},"_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)"},"336":{"submorphs":[],"scripts":[],"id":48,"shape":{"__isSmartRef__":true,"id":337},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":116,"_MaxTextHeight":20,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":335},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":338}],"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)"},"337":{"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)"},"338":{"style":{"__isSmartRef__":true,"id":339},"chunkOwner":{"__isSmartRef__":true,"id":336},"storedString":"","_id":"_1356","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"339":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"340":{"_Fill":{"__isSmartRef__":true,"id":341},"_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)"},"341":{"stops":[{"__isSmartRef__":true,"id":342},{"__isSmartRef__":true,"id":343},{"__isSmartRef__":true,"id":344},{"__isSmartRef__":true,"id":345}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"342":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"343":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"344":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"345":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"346":{"stops":[{"__isSmartRef__":true,"id":347},{"__isSmartRef__":true,"id":348},{"__isSmartRef__":true,"id":349},{"__isSmartRef__":true,"id":350}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"347":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"348":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"349":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"350":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"351":{"sourceObj":{"__isSmartRef__":true,"id":335},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":8},"targetMethodName":"chooseTargetMorphMenu","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"352":{"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"},"353":{"submorphs":[],"scripts":[],"id":435,"shape":{"__isSmartRef__":true,"id":354},"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":355},"textChunks":[{"__isSmartRef__":true,"id":356}],"charsReplaced":"","lastFindLoc":5,"priorSelectionRange":[15,15],"prevScroll":[0,0],"_ClipMode":"visible","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":358}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":null,"_Align":"left","eventHandler":{"__isSmartRef__":true,"id":360},"_MinTextWidth":218,"_MinTextHeight":null,"scriptAnnotations":{"__isSmartRef__":true,"id":361},"selection":{"__isSmartRef__":true,"id":0},"previousSelection":[0,13],"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":380},"_Rotation":0,"_Scale":1,"savedTextString":"100","__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":381},"__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)"},"354":{"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)"},"355":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"356":{"style":{"__isSmartRef__":true,"id":357},"chunkOwner":{"__isSmartRef__":true,"id":353},"storedString":"","_id":"_1357","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"357":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"358":{"sourceObj":{"__isSmartRef__":true,"id":353},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"setTarget","converterString":"function (name) { return $world.get(name)}","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":359},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"359":{"source":{"__isSmartRef__":true,"id":353},"target":{"__isSmartRef__":true,"id":1}},"360":{"morph":{"__isSmartRef__":true,"id":353},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"361":{"createListMorph":{"__isSmartRef__":true,"id":362},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":364},"onMouseUp":{"__isSmartRef__":true,"id":366},"resetConnections":{"__isSmartRef__":true,"id":368},"setTargetToListSelection":{"__isSmartRef__":true,"id":370},"setTargetOfPane":{"__isSmartRef__":true,"id":372},"onBlur":{"__isSmartRef__":true,"id":374},"reset":{"__isSmartRef__":true,"id":376},"onMouseDown":{"__isSmartRef__":true,"id":378}},"362":{"time":{"__isSmartRef__":true,"id":363},"user":"lauritz"},"363":{"isSerializedDate":true,"string":"Thu Oct 27 2011 20:27:29 GMT-0700 (PDT)"},"364":{"time":{"__isSmartRef__":true,"id":365},"user":"lauritz"},"365":{"isSerializedDate":true,"string":"Fri Oct 14 2011 14:48:37 GMT-0700 (PDT)"},"366":{"time":{"__isSmartRef__":true,"id":367},"user":"lauritz"},"367":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:51:14 GMT-0700 (PDT)"},"368":{"time":{"__isSmartRef__":true,"id":369},"user":"lauritz"},"369":{"isSerializedDate":true,"string":"Tue Sep 27 2011 16:03:17 GMT-0700 (PDT)"},"370":{"time":{"__isSmartRef__":true,"id":371},"user":"lauritz"},"371":{"isSerializedDate":true,"string":"Fri Oct 14 2011 15:00:58 GMT-0700 (PDT)"},"372":{"time":{"__isSmartRef__":true,"id":373},"user":"lauritz"},"373":{"isSerializedDate":true,"string":"Mon Oct 03 2011 09:34:37 GMT-0700 (PDT)"},"374":{"time":{"__isSmartRef__":true,"id":375},"user":"lauritz"},"375":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:24:18 GMT-0700 (PDT)"},"376":{"time":{"__isSmartRef__":true,"id":377},"user":"lauritz"},"377":{"isSerializedDate":true,"string":"Fri Oct 07 2011 10:26:15 GMT-0700 (PDT)"},"378":{"time":{"__isSmartRef__":true,"id":379},"user":"lauritz"},"379":{"isSerializedDate":true,"string":"Mon Oct 17 2011 10:49:00 GMT-0700 (PDT)"},"380":{},"381":{"getList":{"__isSmartRef__":true,"id":382},"setList":{"__isSmartRef__":true,"id":385},"reset":{"__isSmartRef__":true,"id":388},"example":{"__isSmartRef__":true,"id":391},"removeList":{"__isSmartRef__":true,"id":394},"onBlur":{"__isSmartRef__":true,"id":397},"createListMorph":{"__isSmartRef__":true,"id":404},"resetConnections":{"__isSmartRef__":true,"id":407},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":410},"setTargetToListSelection":{"__isSmartRef__":true,"id":413},"setTargetOfPane":{"__isSmartRef__":true,"id":416},"onMouseDown":{"__isSmartRef__":true,"id":419}},"382":{"varMapping":{"__isSmartRef__":true,"id":383},"source":"function getList() {\n    return this.world().indentedListItemsOfMorphNames();\n}","funcProperties":{"__isSmartRef__":true,"id":384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"383":{"this":{"__isSmartRef__":true,"id":353}},"384":{},"385":{"varMapping":{"__isSmartRef__":true,"id":386},"source":"function setList(list) {\n    return this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"386":{"this":{"__isSmartRef__":true,"id":353}},"387":{},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"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":390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"389":{"this":{"__isSmartRef__":true,"id":353}},"390":{},"391":{"varMapping":{"__isSmartRef__":true,"id":392},"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":393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"392":{"this":{"__isSmartRef__":true,"id":353}},"393":{},"394":{"varMapping":{"__isSmartRef__":true,"id":395},"source":"function removeList() {\n    this.listMorph && this.listMorph.remove()\n    this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"395":{"this":{"__isSmartRef__":true,"id":353}},"396":{},"397":{"varMapping":{"__isSmartRef__":true,"id":398},"source":"function onBlur() {\n    $super();\n    this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":403},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"398":{"this":{"__isSmartRef__":true,"id":353},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":399}},"399":{"$super":{"__isSmartRef__":true,"id":400}},"400":{"varMapping":{"__isSmartRef__":true,"id":401},"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":402},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"401":{"obj":{"__isSmartRef__":true,"id":353},"name":"onBlur"},"402":{},"403":{},"404":{"varMapping":{"__isSmartRef__":true,"id":405},"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":406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"405":{"this":{"__isSmartRef__":true,"id":353}},"406":{},"407":{"varMapping":{"__isSmartRef__":true,"id":408},"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":409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"408":{"this":{"__isSmartRef__":true,"id":353}},"409":{},"410":{"varMapping":{"__isSmartRef__":true,"id":411},"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":412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"411":{"this":{"__isSmartRef__":true,"id":353}},"412":{},"413":{"varMapping":{"__isSmartRef__":true,"id":414},"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":415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"414":{"this":{"__isSmartRef__":true,"id":353}},"415":{},"416":{"varMapping":{"__isSmartRef__":true,"id":417},"source":"function setTargetOfPane(selection) {\n    this.owner.setTarget(selection);\n    this.setTextString(selection.getName());\n    this.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"417":{"this":{"__isSmartRef__":true,"id":353}},"418":{},"419":{"varMapping":{"__isSmartRef__":true,"id":420},"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":425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"420":{"this":{"__isSmartRef__":true,"id":353},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":421}},"421":{"$super":{"__isSmartRef__":true,"id":422}},"422":{"varMapping":{"__isSmartRef__":true,"id":423},"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":424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"423":{"obj":{"__isSmartRef__":true,"id":353},"name":"onMouseDown"},"424":{},"425":{},"426":{"morph":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"427":{"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":428},"setTarget":{"__isSmartRef__":true,"id":431},"generateSourceForScript":{"__isSmartRef__":true,"id":434},"generateSourceForConnection":{"__isSmartRef__":true,"id":437},"generateTargetCode":{"__isSmartRef__":true,"id":440},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":443},"displayJavaScriptSource":{"__isSmartRef__":true,"id":446},"displaySourceForScript":{"__isSmartRef__":true,"id":449},"displaySourceForConnection":{"__isSmartRef__":true,"id":452},"newScript":{"__isSmartRef__":true,"id":455},"newConnection":{"__isSmartRef__":true,"id":458},"deleteSelectedScript":{"__isSmartRef__":true,"id":461},"disconnectConnection":{"__isSmartRef__":true,"id":464},"updateLists":{"__isSmartRef__":true,"id":467},"displayInitialScript":{"__isSmartRef__":true,"id":470},"reset":{"__isSmartRef__":true,"id":473},"selectChangedContent":{"__isSmartRef__":true,"id":476}},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"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":430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"429":{"this":{"__isSmartRef__":true,"id":8}},"430":{},"431":{"varMapping":{"__isSmartRef__":true,"id":432},"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":433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"432":{"this":{"__isSmartRef__":true,"id":8}},"433":{},"434":{"varMapping":{"__isSmartRef__":true,"id":435},"source":"function generateSourceForScript(scriptName) {\n    var script = this.target[scriptName].getOriginal();\n    return Strings.format('this.addScript(%s);' ,script)\n}","funcProperties":{"__isSmartRef__":true,"id":436},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"435":{"this":{"__isSmartRef__":true,"id":8}},"436":{},"437":{"varMapping":{"__isSmartRef__":true,"id":438},"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":439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"438":{"this":{"__isSmartRef__":true,"id":8}},"439":{},"440":{"varMapping":{"__isSmartRef__":true,"id":441},"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":442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"441":{"this":{"__isSmartRef__":true,"id":8}},"442":{},"443":{"varMapping":{"__isSmartRef__":true,"id":444},"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":445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"444":{"this":{"__isSmartRef__":true,"id":8}},"445":{},"446":{"varMapping":{"__isSmartRef__":true,"id":447},"source":"function displayJavaScriptSource(jsCode) {\n    this.scriptPane.setTextString(jsCode);\n    this.scriptPane.highlightJavaScriptSyntax();\n}","funcProperties":{"__isSmartRef__":true,"id":448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"447":{"this":{"__isSmartRef__":true,"id":8}},"448":{},"449":{"varMapping":{"__isSmartRef__":true,"id":450},"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":451},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"450":{"this":{"__isSmartRef__":true,"id":8}},"451":{},"452":{"varMapping":{"__isSmartRef__":true,"id":453},"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":454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"453":{"this":{"__isSmartRef__":true,"id":8}},"454":{},"455":{"varMapping":{"__isSmartRef__":true,"id":456},"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":457},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"456":{"this":{"__isSmartRef__":true,"id":8}},"457":{},"458":{"varMapping":{"__isSmartRef__":true,"id":459},"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":460},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"459":{"this":{"__isSmartRef__":true,"id":8}},"460":{},"461":{"varMapping":{"__isSmartRef__":true,"id":462},"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":463},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"462":{"this":{"__isSmartRef__":true,"id":8}},"463":{},"464":{"varMapping":{"__isSmartRef__":true,"id":465},"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":466},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"465":{"this":{"__isSmartRef__":true,"id":8}},"466":{},"467":{"varMapping":{"__isSmartRef__":true,"id":468},"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":469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"468":{"this":{"__isSmartRef__":true,"id":8}},"469":{},"470":{"varMapping":{"__isSmartRef__":true,"id":471},"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":472},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"471":{"this":{"__isSmartRef__":true,"id":8}},"472":{},"473":{"varMapping":{"__isSmartRef__":true,"id":474},"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":475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"474":{"this":{"__isSmartRef__":true,"id":8}},"475":{},"476":{"varMapping":{"__isSmartRef__":true,"id":477},"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<this.connectionList.getList().length; i++) {\n                if (this.connectionList.getList()[i] === \"-- ALL --\") continue;\n                var connection = this.connectionList.getList()[i][1];\n                if (connection.sourceAttrName === match[2] &&\n                connection.targetMethodName === match[4]) {\n                    return this.connectionList.selectAt(i);\n                }\n            }\n            this.connectionList.getList().indexOf(addScriptMatches[0]);\n        } \n        return this.connectionList.selectAt(0);\n    }\n\n}","funcProperties":{"__isSmartRef__":true,"id":478},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"477":{"this":{"__isSmartRef__":true,"id":8}},"478":{},"479":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"480":{"preselectItem":{"__isSmartRef__":true,"id":481},"selectAddedScript":{"__isSmartRef__":true,"id":485}},"481":{"varMapping":{"__isSmartRef__":true,"id":482},"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":483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"482":{"this":{"__isSmartRef__":true,"id":2}},"483":{"timestamp":{"__isSmartRef__":true,"id":484},"user":"lauritz","categories":[]},"484":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:12:42 GMT-0800 (PST)"},"485":{"varMapping":{"__isSmartRef__":true,"id":486},"source":"function selectAddedScript(scriptName) {\n    var index = this.getList().indexOf(scriptName);\n    if (index !== -1) \n        return this.selectAt(index);\n    \n    // added script not in current tag, therefore list all scripts\n    this.owner.tagChooser.setTag(null);\n    \n    var index = this.getList().indexOf(scriptName);\n    if (index !== -1) \n        return this.selectAt(index);\n}","funcProperties":{"__isSmartRef__":true,"id":487},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"486":{"this":{"__isSmartRef__":true,"id":2}},"487":{},"488":{"submorphs":[],"scripts":[],"id":"693AF440-7B10-4815-A064-CEEC2A373F0A","shape":{"__isSmartRef__":true,"id":489},"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":"ObjectEditorScriptsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":490},"textChunks":[{"__isSmartRef__":true,"id":491}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":493},"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":18,"derivationIds":[208,"84371013-3F15-4B59-B0D8-A386A564BC63","C9475579-3711-4CE9-B46B-C7837788123B","836375B6-9661-48D5-8AAD-FBB39DCB290B","C2CA711A-5224-494D-8821-BE093FA8038F","577626FD-800E-4C25-A346-8234413CB807","32A50256-8752-4D23-8D03-5F035A5A8CCE","3A2B11D7-9666-4B35-8FC3-DEFAAD6D4B9C","F3F08903-2C99-42F3-9CA5-00C3AA6DEEED","B089DBC8-8C13-41CC-BADA-CF700C448DC6","5CB5B651-FE6C-4789-9E11-F932AAB376CD","ED61DCF8-ABB0-4F63-84D5-3BD15EA4E703","9DCE6998-4032-43F0-B8B9-9E05CC7CA823","6743B94F-53FC-4664-9787-BAD7E7D4C029","2021112F-83FE-460B-80BC-10B9F35767AC","21FA820B-53B3-429D-9E02-622C660B3C7B","91DD9C06-C2B8-464C-A7BA-C65727682AE5","601ED31B-C8A4-4265-9D64-B2364983BBF4","28F62673-1952-4F35-BC36-F0E967CE5C0B","9386C780-7F09-4E29-84F1-83FB68244729","31319631-F0AA-4F53-8EA0-6CC5C913884B","8AC94BEC-5BAF-4355-B33A-E55EADEA354B","367C1174-A09F-44FC-B916-F79FE9BCC2D7","3EA24D2E-3A58-4CA2-BA55-9A9FD62CC777","E7DF2E3F-2F1B-4C0C-95E5-F2EF9FE75025","5A9997BE-8919-4C3D-A3F9-2090B87C1D3E","B8F9F6DD-A274-46E7-9F6D-A6D5871D5D66","52535589-D77D-46AD-9E4B-90645344E75F","93236320-5936-43D3-BB01-A49231C66CD2","5676BE45-812F-4C19-B81B-2E54071E91B6","4FF0B687-D0D9-4780-BF48-FDD746F4F9CA"],"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,46.0)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(53.0,-0.2)"},"489":{"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,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"490":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"491":{"style":{"__isSmartRef__":true,"id":492},"morph":{"__isSmartRef__":true,"id":488},"chunkOwner":{"__isSmartRef__":true,"id":488},"storedString":"Scripts","_id":"_1358","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"492":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"493":{"morph":{"__isSmartRef__":true,"id":488},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"494":{"submorphs":[],"scripts":[],"id":"D448282B-4E77-4254-900C-D8E294B07B2B","shape":{"__isSmartRef__":true,"id":495},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":124.10506681670552,"showsHalos":false,"_FontSize":14,"name":"ObjectEditorConnectionsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":496},"textChunks":[{"__isSmartRef__":true,"id":497}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[11,11],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":499},"eventHandler":{"__isSmartRef__":true,"id":500},"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":124.10506681670552,"_ClipMode":"visible","draggingEnabled":false,"previousSelection":[0,11],"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":20,"derivationIds":[210,"1A2D33C5-4B3D-4FFA-A766-3AD74EE26110","A15D7C4E-12AA-4769-A475-71017CB53C29","38C59A0D-663B-457A-873F-CC1717965411","55E7CA7E-9617-4C5E-9227-240F3BB0DCD8","8AEB5BE1-8469-41AD-9029-CE2811F6C3B5","652EBD35-6FAF-41A3-9E2C-C72F504AE38E","D330DA08-1AB6-4AA7-9211-B6E84B87E790","29A6367D-87E0-4E7C-8568-2CF4B1FB1EBF","114BA6F1-B625-466F-989D-FACF6C499EC4","A0EF2C76-1D75-4523-AFAF-A9736D08A753","14F72A75-3F58-4830-A7E8-7452C8A91E49","5035C6E1-117A-457B-992F-B59092CBD874","5215B82D-7EE5-4F2B-B914-CB02C38B57D6","4905D997-F80F-4AF5-B013-FB4EF78ED965","907E2289-C233-460E-81DD-46ED28F8A410","C3214CD0-012D-4E68-AB05-C820205D81D0","2C341265-4729-494A-8AB1-492EA1C70D80","9B221400-017B-4C3E-85BD-FE56819CDF6F","573A1D3D-58BF-4714-8F82-1B8F42922E84","6E39D019-0FED-4AE9-8B62-8D81DF2E58B0","CAED57AD-4072-4E2C-A1B7-F77C5EE271BA","F55D50A6-9EFB-4F17-9797-985049596860","0027BCB8-3884-4917-B5C4-7338ECB8B415","470E56F5-105B-43F8-AD77-52203D5C3387","DAF35344-9765-4F9E-A4EA-1FD2D6EC627D","7BC20768-EC36-41A4-97CE-4AD9C8055F55","AE33421A-E4B0-451C-9164-338BFA60C6EA","4A2F557C-FCE6-41CB-8C81-55B41609A57B","2FD23176-8158-4C3A-81B5-547693C19BE8","AEB78D3B-C567-477F-B912-DBE92B1084D5"],"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,322.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(81.0,-13.1)"},"495":{"fill":null,"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_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(124.1,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"496":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"497":{"style":{"__isSmartRef__":true,"id":498},"morph":{"__isSmartRef__":true,"id":494},"chunkOwner":{"__isSmartRef__":true,"id":494},"storedString":"Connections","_id":"_1359","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"498":{"fontSize":"9","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"499":{"moveVertical":true},"500":{"morph":{"__isSmartRef__":true,"id":494},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"501":{"submorphs":[{"__isSmartRef__":true,"id":502}],"scripts":[],"id":"B6680C04-AD9B-4E26-8345-020329E48AD2","shape":{"__isSmartRef__":true,"id":507},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":508},"lighterFill":{"__isSmartRef__":true,"id":513},"label":{"__isSmartRef__":true,"id":502},"attributeConnections":[{"__isSmartRef__":true,"id":518}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorAddConnectionButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":520},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":521},"layout":{"__isSmartRef__":true,"id":522},"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":21,"derivationIds":[211,"3037655C-DA7B-44EA-BA12-F4079688C953","75A1CB74-1CC4-4818-9C72-5ABDB57E856B","2500B5DB-7C3D-4C95-B0A6-239C5876AD50","1E8E75D5-28A5-4303-9DD4-95810FC25C89","23FCA415-364D-4EB3-BEF7-235AA7301DC1","456BCA9E-DF1C-4132-B145-D9C543BC2AA5","947AE751-18C7-4E75-83EA-B58FDC3957DD","EF32CA97-3FB2-46E8-BB28-6D7E9D75E785","F9EC8656-C6FC-4B95-9543-F88CB0F2A858","C9F7F76F-A604-45F4-A37A-F91FEB593CDC","9F494BE8-A4FF-41F6-AB36-C283D24A4407","45A73CE1-64C7-459A-AF81-C5709E5AC9C9","CF371F02-EC78-4A2F-9EE2-378932693C1E","BD55918E-773D-4175-AABF-83F7CF487433","927C26F1-7906-423F-B724-6EEA41241042","D0079D71-C612-4BDF-B515-6E9E1CC88347","383B7D93-C18A-406B-BA2F-94634858B527","C14F4C74-5F2B-4250-B4C3-34D76F2B5DDA","9B2016B9-B5B7-494A-8D62-349E2052954E","A7B899E7-64C7-47AA-9C9A-7264EE8191D6","C942A729-7B14-4621-AC41-436F5877037C","C15E3C6B-7F69-4ED0-8DB7-325D66A1C8D7","7604B1AD-EB13-4232-8B11-4BC9EF6812D7","3FBF2097-01C7-41E7-9785-62EB2EBE12D5","F685F92F-6982-441A-B326-31F02455D318","6A257A98-657B-4921-8FA3-5794849C285A","60A5907C-D2DD-43E9-A9E9-AF676D097C88","569A06E1-9B9D-4B35-9D3B-3DD6CE4428D8","AC24D789-D6DC-401E-A979-6B00AD6BE118","75B2631D-766F-41BC-AC0D-F720C4A4D1F6"],"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(130.0,322.8)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(33.5,-11.0)"},"502":{"submorphs":[],"scripts":[],"id":"110A5AC9-C7A5-458E-9013-FE08ED6A0ECB","shape":{"__isSmartRef__":true,"id":503},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":501},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":504}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":506},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":21,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[212,"28CD4A90-F73B-43CD-B1C7-035C4B278AEA","01C38CAD-30FC-4DE4-AC0D-E4C7B786073D","526B86BC-10CC-449C-A3CD-601BF36EECCD","41ACFD86-FC52-4FF2-8E87-B6C3542C93F1","B47DD984-4390-4773-87AC-80F4AEE1677A","A11B90F0-D395-4DD9-8FCC-E10A1C5BBED9","41F9D772-7EB5-4319-AAA7-4D81488FD246","D436832C-03BF-4F40-B14A-9F1EE3938C8B","B1AD14AC-4E7B-4A56-AF2E-5B626B3BFF32","7993C09E-5D43-4E15-9E3C-519F1983BE9D","4D23912E-CF81-4AC5-8F56-2856BDE25CFA","ABC9115D-C930-4C54-A9DD-5D5EF85DD51A","1986F0DB-9496-4B90-8A42-C063C1618CEB","597DDECD-C06C-402F-A7F9-27317C146AEC","4A18F2F3-AB79-43A3-80D0-471CD696629A","A9728043-6848-4FEF-953E-84970AE39FDB","8701EE6B-3B47-4FF8-B775-629FEEE375FD","606D265E-85FE-41AF-9DA0-EC03202F816B","ACCA8CD1-4D66-4B96-96E5-30FAAA45BF4C","291F244E-52B4-4173-BE45-4B1CA1E1EAD9","4C93465B-D017-485C-A304-89F6E5170C3D","A4632E3B-7700-4CAF-8C2C-DCBA19D1C7BC","256C7CFD-338C-404F-9CF7-599CC8A367BA","CBC56FEE-875B-47AA-A1C3-3895FE443450","75BCA8AC-4DBD-48CC-8588-312AEC51C4DD","70FDA7E1-54A9-4BCF-B90F-52F9E408530E","411D0A59-079C-4D44-95D8-A7F679EC9244","89D18459-E125-4470-9E49-1E8C6AE4D03B","CAF77C4F-42C8-4D50-93A5-DF1AF688BD27","F13957F4-C480-4F12-B3C4-1525FE7544F1"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"_Scale":1,"__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)"},"503":{"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(2,2,0,0)"},"504":{"style":{"__isSmartRef__":true,"id":505},"chunkOwner":{"__isSmartRef__":true,"id":502},"storedString":"+","_id":"_1360","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"505":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"506":{"morph":{"__isSmartRef__":true,"id":502},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"507":{"_Fill":{"__isSmartRef__":true,"id":508},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"508":{"stops":[{"__isSmartRef__":true,"id":509},{"__isSmartRef__":true,"id":510},{"__isSmartRef__":true,"id":511},{"__isSmartRef__":true,"id":512}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"509":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"510":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"511":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"512":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"513":{"stops":[{"__isSmartRef__":true,"id":514},{"__isSmartRef__":true,"id":515},{"__isSmartRef__":true,"id":516},{"__isSmartRef__":true,"id":517}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"514":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"515":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"516":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"517":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"518":{"sourceObj":{"__isSmartRef__":true,"id":501},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"newConnection","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":519},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"519":{"source":{"__isSmartRef__":true,"id":501},"target":{"__isSmartRef__":true,"id":1}},"520":{"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"},"521":{"morph":{"__isSmartRef__":true,"id":501},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"522":{"moveVertical":true},"523":{"submorphs":[{"__isSmartRef__":true,"id":524}],"scripts":[],"id":"4565F585-BB08-4AC2-8766-4387F892AC87","shape":{"__isSmartRef__":true,"id":529},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":530},"lighterFill":{"__isSmartRef__":true,"id":535},"label":{"__isSmartRef__":true,"id":524},"attributeConnections":[{"__isSmartRef__":true,"id":540}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorAddScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":542},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":543},"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":22,"derivationIds":[213,"67D577AB-1BB3-4252-B0D4-99A23697F70A","A2FCBD72-EE0A-4D04-8A92-348AE43B41D7","A2345795-D086-4B81-84AF-2DEB8C0C2FFA","0A260566-FCDD-4DCF-8E29-9A08EACF6825","9AD1B434-5F24-4772-B3D6-D23B387A75A9","B62B376D-67B2-40F8-AE4F-5884DEF6B16A","06AA26F7-7C3E-4BCB-8027-1383B04A6F58","E3C22463-022D-4899-A7BA-D751657BC15C","28307DF8-D8AC-43BF-B497-29D0A95CF545","98A0F5BB-817E-49FD-BF57-FE80C78FA0F1","A4CF1743-CC5B-49EF-9E2E-11252EA4698A","45A0137C-E059-4654-85EC-AB8019A43F07","80B0B66E-616F-40A2-B4A4-0F9FF023F934","64D0C971-C3B8-4129-85F3-BFF99333379F","C532F920-824E-4473-A3CD-1F04A9B71A55","D86CDFAC-7FFB-4D74-9AF6-AB09FECCD994","E9D2976A-8516-462B-A563-8F9F137171B1","1CB3DA2B-9617-4E68-B741-53535B1976CF","40F9062B-54BE-4096-9406-1CC9C9A28C9B","C64D8FAA-9689-4A0F-8DD9-02C44B609339","8787B25E-116E-4C46-A56A-50ABB9FC997C","B2A3417E-5810-4BBD-BBBC-565B7F0F4D55","F1D62541-AE50-4408-BFDD-CA7CF412A757","813FB9C8-4556-4F76-AB00-66C84A4E68F7","6FCC21A5-1FAE-4AEF-9248-A5981B5D6A0A","24ED43C1-2BE1-4CCD-B276-35985CC623A2","2E0525CC-5265-4CEC-A32C-1DA124AEF2FA","F1E908FD-C9E4-45AB-A6EF-5B98F8973DAA","79E5565F-2D07-468E-AC0D-FF01505583E2","BA013EE6-8965-415A-986D-92A6165D4328"],"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(130.0,40.0)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(29.5,-26.3)"},"524":{"submorphs":[],"scripts":[],"id":"B0E098FF-BD7E-49F1-9F24-D414E766A1E6","shape":{"__isSmartRef__":true,"id":525},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":523},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":526}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":528},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":21,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[214,"523747A8-85D2-4FA2-9C4A-C51786457E22","95516A91-5268-4C7E-A2E0-40B45D2EE1FA","FFE672EF-5731-4472-B296-7F6C7CA559FC","E2EECCEE-F80F-4AFD-BF9E-95BB6A9A1C93","355346D2-A7A5-4445-8845-6B44FDC07A7B","BD870722-965F-435D-B412-3AF6D1F49DF3","CAC90849-49A0-4533-887C-E4B3A100B9A2","94723505-AA06-4EF3-969A-A8530DCF581F","0E2A5248-3657-4ED7-9A21-C6E3021AF608","7837CC2E-FE26-45DC-BEAE-9418AF62BB79","93C34EDE-0F2B-47B3-A7AB-23BAA561EE53","5E9AE67B-CC7A-47CB-85A6-A7DAE15D3E8C","3D899C9E-4DA1-4007-A696-590EA94CCA90","86D9B98E-A51D-4055-AA61-41021CC73CEA","63BE316B-B51E-44AC-8236-52C170B614A7","982E45CB-34B3-466D-A37B-7E57DA577154","42BD0A1B-A063-475C-B078-619776AECACD","D5567684-86C5-4CEE-9A34-8A02EF93833A","D6633ADA-2E55-4893-8257-0694CD831B8C","2ACE5CA8-358B-41CB-ADF6-FE58C3F63EC8","6CD7A591-2AAA-4472-BA47-A74C55E38C55","F2DAF9FE-6FC4-45B1-A7C5-288B12DFE81B","4223F6BB-E5F7-4B07-AA71-1772F7F63C52","F12A2A85-C6F7-4121-8627-EBEAFF68DEAE","E8794556-0B89-4A62-8766-2EAA3B901492","6B396983-596F-45DF-829E-1900C436F5F0","222D3988-F6F3-4878-BB9C-72F582D74F98","751B0065-D02E-4431-895A-4F0E57074E28","407463BF-E48F-40EC-B786-0E80534B5DE1","EAB3DAB3-1FC5-482D-A2A5-B9157BA6526E"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"_Scale":1,"__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)"},"525":{"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(2,2,0,0)"},"526":{"style":{"__isSmartRef__":true,"id":527},"chunkOwner":{"__isSmartRef__":true,"id":524},"storedString":"+","_id":"_1361","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"527":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"528":{"morph":{"__isSmartRef__":true,"id":524},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"529":{"_Fill":{"__isSmartRef__":true,"id":530},"_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)"},"530":{"stops":[{"__isSmartRef__":true,"id":531},{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":533},{"__isSmartRef__":true,"id":534}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"531":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"532":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"533":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"534":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"535":{"stops":[{"__isSmartRef__":true,"id":536},{"__isSmartRef__":true,"id":537},{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":539}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"536":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"537":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"538":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"539":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"540":{"sourceObj":{"__isSmartRef__":true,"id":523},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"newScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":541},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"541":{"source":{"__isSmartRef__":true,"id":523},"target":{"__isSmartRef__":true,"id":1}},"542":{"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"},"543":{"morph":{"__isSmartRef__":true,"id":523},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"544":{"submorphs":[{"__isSmartRef__":true,"id":545}],"scripts":[],"id":"BC605926-EB10-4494-B10D-8E05EA026DD8","shape":{"__isSmartRef__":true,"id":550},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":551},"lighterFill":{"__isSmartRef__":true,"id":556},"label":{"__isSmartRef__":true,"id":545},"attributeConnections":[{"__isSmartRef__":true,"id":561}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveConnectionButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":563},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":564},"layout":{"__isSmartRef__":true,"id":565},"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"isCopyMorphRef":true,"morphRefId":23,"derivationIds":[215,"2AC1A4EE-A289-4C26-8496-1926AA216B30","F72C26A6-F58A-4E0C-A5B9-CBED184D4235","64E9140E-E314-40CA-B555-063FBF8FA5DD","90DF0634-0570-4E03-8B56-6A649D6B6BA3","D9CC390A-090C-446B-8C0F-B619BA2D22B3","AEA46871-0960-4830-ACDF-F859B5E00DE3","4390F987-A2DC-4FF7-A388-A9BE68E69328","A4CA7DF7-80BD-4817-9AEC-0BB8D92A5621","A22CFE62-E012-4AAC-96D0-B64BDD12AE58","C2B5E9C7-3F2C-4C85-8AB5-3832FBDCB3BF","73C7BA23-2488-4708-837F-AE45390BEE8C","3E4A15B9-ABAA-4FEF-88B6-65899B6EC44D","5EB37A5E-C5FD-4CAB-84FE-319903F9CEE0","C33287B9-E168-4F88-927C-91D819381FEA","E4BB2EEC-5AFB-4E90-9451-E1602A302602","79A3C605-0E10-48E7-9339-F7B2A6751F57","A47CC315-CA2B-488C-B33E-545C810BA4A4","6E00DDE2-C76C-4831-A40B-24126FFE6BC7","787B96A4-3030-4F1C-858E-BCDD3040A4CD","B1FD742C-08E8-4F83-9ABC-E40A97EE5149","4AE79976-E07B-4D18-B6FE-5DE0801F8140","0ACEAEA2-CEBB-4F53-A0DC-EC7ED5481E2C","1F1A5EE5-FA24-4A59-A633-FF9CAA96DB52","3D2A4D75-D394-4770-BD47-2E53D05EC683","124C5EA2-2C1D-4B94-A7C4-B89287BEE245","0B992456-942D-4EF6-84EB-A01BFC281159","D984F760-8342-4AC4-A21D-EE0180212506","09E107C0-DDFF-4E17-A23B-EBF5BC07CF85","F4C4E1CE-CC6E-4364-882A-89498F5B06E1","A9FB11AC-44B1-4E32-A563-0675E586239F"],"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":566},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(160.0,322.8)","padding":"lively.rect(5,0,0,0)","distanceToDragEvent":"lively.pt(32.4,-17.1)"},"545":{"submorphs":[],"scripts":[],"id":"088130BB-0620-4A93-BFD5-D6A730B3CF12","shape":{"__isSmartRef__":true,"id":546},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":21,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":544},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":547}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":549},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":21,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[216,"18CA5E17-24C7-4077-93FE-3EC54B94EEAF","EAEC20CA-0440-4B49-9BB9-03621DB7DEB2","B816073C-6992-45C6-8D86-2449217C1A8B","FF0CAA98-E5CF-4678-9D8E-96F02BBDE605","A7946D5B-4E92-449B-83D4-EDF8C30E257E","FC7C0053-36C0-49E4-ACA7-952BCCFB861E","515B6FC0-94C1-43DE-97A9-E2462F26563C","6B27A5A0-78D0-4BB1-B9A9-4AD558E7429D","98A88493-0E72-43EE-8E5E-760F52577DA5","512216B5-57CE-4277-87BF-79F62900C153","A9ABB4DD-32FA-4B50-809E-7B7D22D12CE9","DE32F748-8AC7-41BC-B495-FB28E1259771","DFD524AE-C0EF-471E-8CBB-ECC52241903E","5C21250D-1364-4FC4-95C1-0BDF965C063F","528A70DE-1860-4037-AEF6-99ACFB2E2256","7F7F3151-AF20-4E45-B066-A3071643BDA0","3C053E35-C3F7-4D83-AAA0-7E1AC38093E0","C22B4613-1F52-4A98-86D8-E084F026FF3D","D20C4FE8-0531-46C9-864F-419232DD7B4D","C91367AC-7ACD-4CFC-A4A7-A1302CDBCC3D","111DC00E-315A-4E7E-8A7B-37BE84DB4F9B","D96CAF57-E00D-4850-87A2-41E51A97619B","A2ABE299-9FE1-48E9-88A4-498C0460C5FC","BB1CEF32-A697-4CAA-8D74-937076642916","AC7B7A81-8B22-46FC-9AC2-90C3AD2C8796","BB06EFDC-7057-4378-8D64-E8DDE47F5DAA","8509B307-1BC5-434D-879B-CDEFAA9064F6","8E490048-14C5-4398-940B-B2B8E4C83E5F","F55A7D9F-8AFE-4135-BAFC-69EA67B81134","75C67352-A1E4-43B7-98A4-2C9657FED3E3"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding"],"_Scale":1,"__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)"},"546":{"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(2,2,0,0)"},"547":{"style":{"__isSmartRef__":true,"id":548},"chunkOwner":{"__isSmartRef__":true,"id":545},"storedString":"-","_id":"_1362","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"548":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"549":{"morph":{"__isSmartRef__":true,"id":545},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"550":{"_Fill":{"__isSmartRef__":true,"id":551},"_BorderWidth":1,"_BorderRadius":5,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(25.0,20.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"551":{"stops":[{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":553},{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":555}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"552":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"553":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"554":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"555":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"556":{"stops":[{"__isSmartRef__":true,"id":557},{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":559},{"__isSmartRef__":true,"id":560}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"557":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"558":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"559":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"560":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"561":{"sourceObj":{"__isSmartRef__":true,"id":544},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":544},"targetMethodName":"disconnectSelectedConnection","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":562},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"562":{"source":{"__isSmartRef__":true,"id":544},"target":{"__isSmartRef__":true,"id":544}},"563":{"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"},"564":{"morph":{"__isSmartRef__":true,"id":544},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"565":{"moveVertical":true},"566":{"disconnectSelectedConnection":{"__isSmartRef__":true,"id":567}},"567":{"varMapping":{"__isSmartRef__":true,"id":568},"source":"function disconnectSelectedConnection() {\n\n    var editor = this.objectEditorPane;\n    var selection = editor.connectionList.selection;\n\n    if (!editor.target || editor.connectionList.getList().size() < 2) \n        return;\n\n    var disconnectConnection = function (confirmed) {\n        if (!confirmed) return;\n\n        var listIndex = editor.target.attributeConnections.indexOf(selection[1]);\n        if (selection && (typeof selection !== \"string\") && listIndex > -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":569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"568":{"this":{"__isSmartRef__":true,"id":544}},"569":{"timestamp":{"__isSmartRef__":true,"id":570},"user":"lauritz","categories":[]},"570":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:46:54 GMT-0800 (PST)"},"571":{"submorphs":[{"__isSmartRef__":true,"id":572}],"scripts":[],"id":"7E51F443-B27F-4B6F-8AC0-51D08D8FB329","shape":{"__isSmartRef__":true,"id":577},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":583},"lighterFill":{"__isSmartRef__":true,"id":588},"label":{"__isSmartRef__":true,"id":572},"attributeConnections":[{"__isSmartRef__":true,"id":593}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":595},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":596},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"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","isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":597},"__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)"},"572":{"submorphs":[],"scripts":[],"id":"DBD12A55-8830-4DAC-9B09-56E72668513C","shape":{"__isSmartRef__":true,"id":573},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":571},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":574}],"prevScroll":[0,0],"_FontFamily":"Helvetica, Sans-Serif","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":576},"_HandStyle":"default","_PointerEvents":"none","_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"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"_Scale":1,"__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)"},"573":{"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)"},"574":{"style":{"__isSmartRef__":true,"id":575},"chunkOwner":{"__isSmartRef__":true,"id":572},"storedString":"-","_id":"_1363","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"575":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"576":{"morph":{"__isSmartRef__":true,"id":572},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"577":{"_Fill":{"__isSmartRef__":true,"id":578},"_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)"},"578":{"stops":[{"__isSmartRef__":true,"id":579},{"__isSmartRef__":true,"id":580},{"__isSmartRef__":true,"id":581},{"__isSmartRef__":true,"id":582}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"579":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"580":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"581":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"582":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"583":{"stops":[{"__isSmartRef__":true,"id":584},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":587}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"584":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"585":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"586":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"587":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"588":{"stops":[{"__isSmartRef__":true,"id":589},{"__isSmartRef__":true,"id":590},{"__isSmartRef__":true,"id":591},{"__isSmartRef__":true,"id":592}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"589":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"590":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"591":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"592":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"593":{"sourceObj":{"__isSmartRef__":true,"id":571},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":571},"targetMethodName":"deleteSelectedScript","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":594},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"594":{"source":{"__isSmartRef__":true,"id":571},"target":{"__isSmartRef__":true,"id":571}},"595":{"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"},"596":{"morph":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"597":{"deleteSelectedScript":{"__isSmartRef__":true,"id":598}},"598":{"varMapping":{"__isSmartRef__":true,"id":599},"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":600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"599":{"this":{"__isSmartRef__":true,"id":571}},"600":{"timestamp":{"__isSmartRef__":true,"id":601},"user":"lauritz"},"601":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:12:21 GMT-0800 (PST)"},"602":{"submorphs":[{"__isSmartRef__":true,"id":603}],"scripts":[],"id":"1ED99A20-94B6-4F1F-9524-CBBCEADB0A79","shape":{"__isSmartRef__":true,"id":609},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":610},"lighterFill":{"__isSmartRef__":true,"id":615},"label":{"__isSmartRef__":true,"id":603},"showsHalos":false,"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":620},"list":[],"eventHandler":{"__isSmartRef__":true,"id":621},"owner":{"__isSmartRef__":true,"id":1},"textString":"<lively.morphic.Text#121>","selection":{"__isSmartRef__":true,"id":622},"_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"],"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":628},"__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)"},"603":{"submorphs":[],"scripts":[],"id":"BB2E676F-0EE9-4AD1-8108-34E3EE9902CA","shape":{"__isSmartRef__":true,"id":604},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":602},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":605}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":607}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":608},"_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"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"_Scale":1,"__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)"},"604":{"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)"},"605":{"style":{"__isSmartRef__":true,"id":606},"chunkOwner":{"__isSmartRef__":true,"id":603},"_id":"_985","storedString":"empty","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"606":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"607":{"sourceObj":{"__isSmartRef__":true,"id":603},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":602},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"608":{"morph":{"__isSmartRef__":true,"id":603},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"609":{"_Fill":{"__isSmartRef__":true,"id":610},"_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)"},"610":{"stops":[{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":614}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"611":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"612":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"613":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"614":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"615":{"stops":[{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":617},{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":619}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"616":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"617":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"618":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"619":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"620":{"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"},"621":{"morph":{"__isSmartRef__":true,"id":602},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"622":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":623},"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":624},"textChunks":[{"__isSmartRef__":true,"id":625}],"eventHandler":{"__isSmartRef__":true,"id":627},"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)"},"623":{"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)"},"624":{"partsSpaceName":"PartsBin/Worlds/","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"625":{"style":{"__isSmartRef__":true,"id":626},"chunkOwner":{"__isSmartRef__":true,"id":622},"storedString":"","_id":"_1365","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"626":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"627":{"morph":{"__isSmartRef__":true,"id":622},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"628":{"reset":{"__isSmartRef__":true,"id":629},"onMouseDown":{"__isSmartRef__":true,"id":633},"onBlur":{"__isSmartRef__":true,"id":641},"createScenePresentation":{"__isSmartRef__":true,"id":649},"presentTargetChooser":{"__isSmartRef__":true,"id":653},"removeTargetChooser":{"__isSmartRef__":true,"id":657},"removeHighlight":{"__isSmartRef__":true,"id":661},"highlightCurrentTarget":{"__isSmartRef__":true,"id":665},"updateTargetFromSelection":{"__isSmartRef__":true,"id":669},"currentMorphicScene":{"__isSmartRef__":true,"id":673},"highlightTarget":{"__isSmartRef__":true,"id":677},"setLabel":{"__isSmartRef__":true,"id":681},"updateTargetFromOwner":{"__isSmartRef__":true,"id":689}},"629":{"varMapping":{"__isSmartRef__":true,"id":630},"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":631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"630":{"this":{"__isSmartRef__":true,"id":602}},"631":{"timestamp":{"__isSmartRef__":true,"id":632},"user":"lauritz","tags":[]},"632":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:04:57 GMT-0700 (PDT)"},"633":{"varMapping":{"__isSmartRef__":true,"id":634},"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":639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"634":{"this":{"__isSmartRef__":true,"id":602},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":635}},"635":{"$super":{"__isSmartRef__":true,"id":636}},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"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":638},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"637":{"obj":{"__isSmartRef__":true,"id":602},"name":"onMouseDown"},"638":{},"639":{"timestamp":{"__isSmartRef__":true,"id":640},"user":"lauritz","tags":[]},"640":{"isSerializedDate":true,"string":"Fri Aug 03 2012 03:44:10 GMT-0700 (PDT)"},"641":{"varMapping":{"__isSmartRef__":true,"id":642},"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":647},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"642":{"this":{"__isSmartRef__":true,"id":602},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":643}},"643":{"$super":{"__isSmartRef__":true,"id":644}},"644":{"varMapping":{"__isSmartRef__":true,"id":645},"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":646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"645":{"obj":{"__isSmartRef__":true,"id":602},"name":"onBlur"},"646":{},"647":{"timestamp":{"__isSmartRef__":true,"id":648},"user":"lauritz","tags":[]},"648":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:29:05 GMT-0700 (PDT)"},"649":{"varMapping":{"__isSmartRef__":true,"id":650},"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":651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"650":{"this":{"__isSmartRef__":true,"id":602}},"651":{"timestamp":{"__isSmartRef__":true,"id":652},"user":"lauritz","tags":[]},"652":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:29:56 GMT-0700 (PDT)"},"653":{"varMapping":{"__isSmartRef__":true,"id":654},"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":655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"654":{"this":{"__isSmartRef__":true,"id":602}},"655":{"timestamp":{"__isSmartRef__":true,"id":656},"user":"lauritz","tags":[]},"656":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:13:22 GMT-0700 (PDT)"},"657":{"varMapping":{"__isSmartRef__":true,"id":658},"source":"function removeTargetChooser() {\n    if (this.listMorph) {\n        this.listMorph.remove();\n        delete this.listMorph;   \n    }\n}","funcProperties":{"__isSmartRef__":true,"id":659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"658":{"this":{"__isSmartRef__":true,"id":602}},"659":{"timestamp":{"__isSmartRef__":true,"id":660},"user":"lauritz","tags":[]},"660":{"isSerializedDate":true,"string":"Fri Aug 03 2012 03:43:38 GMT-0700 (PDT)"},"661":{"varMapping":{"__isSmartRef__":true,"id":662},"source":"function removeHighlight(node) {\n    node.submorphs[0].setFill(Color.rgb(255,255,255))\n}","funcProperties":{"__isSmartRef__":true,"id":663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"662":{"this":{"__isSmartRef__":true,"id":602}},"663":{"timestamp":{"__isSmartRef__":true,"id":664},"user":"lauritz","tags":[]},"664":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:32:15 GMT-0700 (PDT)"},"665":{"varMapping":{"__isSmartRef__":true,"id":666},"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":667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"666":{"this":{"__isSmartRef__":true,"id":602}},"667":{"timestamp":{"__isSmartRef__":true,"id":668},"user":"lauritz","tags":[]},"668":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:31:39 GMT-0700 (PDT)"},"669":{"varMapping":{"__isSmartRef__":true,"id":670},"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":671},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"670":{"this":{"__isSmartRef__":true,"id":602}},"671":{"timestamp":{"__isSmartRef__":true,"id":672},"user":"lauritz","tags":[]},"672":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:04:57 GMT-0700 (PDT)"},"673":{"varMapping":{"__isSmartRef__":true,"id":674},"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":675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"674":{"this":{"__isSmartRef__":true,"id":602}},"675":{"timestamp":{"__isSmartRef__":true,"id":676},"user":"lauritz","tags":[]},"676":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:29:43 GMT-0700 (PDT)"},"677":{"varMapping":{"__isSmartRef__":true,"id":678},"source":"function highlightTarget(node) {\n    node.submorphs[0].setFill(Color.rgb(218,218,218))\n}","funcProperties":{"__isSmartRef__":true,"id":679},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"678":{"this":{"__isSmartRef__":true,"id":602}},"679":{"timestamp":{"__isSmartRef__":true,"id":680},"user":"lauritz","tags":[]},"680":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:32:12 GMT-0700 (PDT)"},"681":{"varMapping":{"__isSmartRef__":true,"id":682},"source":"function setLabel(label) {\n    this.label.setTextString(label);\n    this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"682":{"this":{"__isSmartRef__":true,"id":602},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":683}},"683":{"$super":{"__isSmartRef__":true,"id":684}},"684":{"varMapping":{"__isSmartRef__":true,"id":685},"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":686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"685":{"obj":{"__isSmartRef__":true,"id":602},"name":"setLabel"},"686":{},"687":{"timestamp":{"__isSmartRef__":true,"id":688},"user":"lauritz","tags":[]},"688":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:04:31 GMT-0700 (PDT)"},"689":{"varMapping":{"__isSmartRef__":true,"id":690},"source":"function updateTargetFromOwner() {\n    this.setLabel(this.owner.target);\n}","funcProperties":{"__isSmartRef__":true,"id":691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"690":{"this":{"__isSmartRef__":true,"id":602}},"691":{"timestamp":{"__isSmartRef__":true,"id":692},"user":"lauritz","tags":[]},"692":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:24:24 GMT-0700 (PDT)"},"693":{"submorphs":[],"scripts":[],"id":"2CE99CF4-87BB-479D-BC02-FBE7F5E3C283","shape":{"__isSmartRef__":true,"id":694},"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":695},"textChunks":[{"__isSmartRef__":true,"id":696}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":698},"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":64.8979476392384,"_ClipMode":"visible","draggingEnabled":false,"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":1},"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"],"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__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)"},"694":{"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,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"695":{"partsSpaceName":"PartsBin/NewWorld","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"696":{"style":{"__isSmartRef__":true,"id":697},"chunkOwner":{"__isSmartRef__":true,"id":693},"storedString":"Tag:","_id":"_1367","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"697":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"698":{"morph":{"__isSmartRef__":true,"id":693},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"699":{"submorphs":[{"__isSmartRef__":true,"id":700}],"scripts":[],"id":"1B002698-D346-4EF1-9F48-E74D4EC3C948","shape":{"__isSmartRef__":true,"id":706},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":712},"lighterFill":{"__isSmartRef__":true,"id":717},"label":{"__isSmartRef__":true,"id":700},"showsHalos":false,"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":722},"listMorph":null,"list":[],"eventHandler":{"__isSmartRef__":true,"id":723},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":1},"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"],"isPressed":false,"__serializedExpressions__":["_Position","padding","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":724},"__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)"},"700":{"submorphs":[],"scripts":[],"id":"85F71043-A168-4F84-95DC-DD0392FD2935","shape":{"__isSmartRef__":true,"id":701},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"owner":{"__isSmartRef__":true,"id":699},"eventsAreIgnored":true,"textChunks":[{"__isSmartRef__":true,"id":702}],"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":704}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"eventHandler":{"__isSmartRef__":true,"id":705},"_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"],"_WordBreak":"break-all","__serializedExpressions__":["_Position","textColor","padding","_Padding","_TextColor"],"_Scale":1,"__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)"},"701":{"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)"},"702":{"style":{"__isSmartRef__":true,"id":703},"chunkOwner":{"__isSmartRef__":true,"id":700},"_id":"_986","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"703":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"704":{"sourceObj":{"__isSmartRef__":true,"id":700},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":699},"targetMethodName":"selection","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"705":{"morph":{"__isSmartRef__":true,"id":700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"706":{"_Fill":{"__isSmartRef__":true,"id":707},"_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)"},"707":{"stops":[{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":709},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":711}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"708":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(230,243,253)"},"709":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"710":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(171,215,248)"},"711":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(157,198,229)"},"712":{"stops":[{"__isSmartRef__":true,"id":713},{"__isSmartRef__":true,"id":714},{"__isSmartRef__":true,"id":715},{"__isSmartRef__":true,"id":716}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"713":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"714":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"715":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"716":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"717":{"stops":[{"__isSmartRef__":true,"id":718},{"__isSmartRef__":true,"id":719},{"__isSmartRef__":true,"id":720},{"__isSmartRef__":true,"id":721}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"718":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"719":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"720":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"721":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"722":{"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"},"723":{"morph":{"__isSmartRef__":true,"id":699},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"724":{"createListMorph":{"__isSmartRef__":true,"id":725},"getList":{"__isSmartRef__":true,"id":729},"removeList":{"__isSmartRef__":true,"id":733},"reset":{"__isSmartRef__":true,"id":737},"onMouseUp":{"__isSmartRef__":true,"id":741},"onBlur":{"__isSmartRef__":true,"id":749},"setTag":{"__isSmartRef__":true,"id":757}},"725":{"varMapping":{"__isSmartRef__":true,"id":726},"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":727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"726":{"this":{"__isSmartRef__":true,"id":699}},"727":{"timestamp":{"__isSmartRef__":true,"id":728},"user":"lauritz","categories":[]},"728":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:35:59 GMT-0800 (PST)"},"729":{"varMapping":{"__isSmartRef__":true,"id":730},"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":731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"730":{"this":{"__isSmartRef__":true,"id":699}},"731":{"timestamp":{"__isSmartRef__":true,"id":732},"user":"lauritz","tags":[]},"732":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:25 GMT-0800 (PST)"},"733":{"varMapping":{"__isSmartRef__":true,"id":734},"source":"function removeList() {\n    this.listMorph && this.listMorph.remove()\n    this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"734":{"this":{"__isSmartRef__":true,"id":699}},"735":{"timestamp":{"__isSmartRef__":true,"id":736},"user":"lauritz","categories":[]},"736":{"isSerializedDate":true,"string":"Thu Nov 17 2011 10:06:51 GMT-0800 (PST)"},"737":{"varMapping":{"__isSmartRef__":true,"id":738},"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":739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"738":{"this":{"__isSmartRef__":true,"id":699}},"739":{"timestamp":{"__isSmartRef__":true,"id":740},"user":"lauritz","tags":[]},"740":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:53 GMT-0800 (PST)"},"741":{"varMapping":{"__isSmartRef__":true,"id":742},"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":747},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"742":{"this":{"__isSmartRef__":true,"id":699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":743}},"743":{"$super":{"__isSmartRef__":true,"id":744}},"744":{"varMapping":{"__isSmartRef__":true,"id":745},"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":746},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"745":{"obj":{"__isSmartRef__":true,"id":699},"name":"onMouseUp"},"746":{},"747":{"timestamp":{"__isSmartRef__":true,"id":748},"user":"lauritz","categories":[]},"748":{"isSerializedDate":true,"string":"Thu Nov 17 2011 09:59:16 GMT-0800 (PST)"},"749":{"varMapping":{"__isSmartRef__":true,"id":750},"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":755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"750":{"this":{"__isSmartRef__":true,"id":699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":751}},"751":{"$super":{"__isSmartRef__":true,"id":752}},"752":{"varMapping":{"__isSmartRef__":true,"id":753},"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":754},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"753":{"obj":{"__isSmartRef__":true,"id":699},"name":"onBlur"},"754":{},"755":{"timestamp":{"__isSmartRef__":true,"id":756},"user":"lauritz","categories":[]},"756":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:10:03 GMT-0800 (PST)"},"757":{"varMapping":{"__isSmartRef__":true,"id":758},"source":"function setTag(tag) {\n    this.setLabel(tag || '');\n    this.label.setAlign('left');\n    this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":759},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"758":{"this":{"__isSmartRef__":true,"id":699}},"759":{"timestamp":{"__isSmartRef__":true,"id":760},"user":"lauritz","categories":[]},"760":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:36:12 GMT-0800 (PST)"},"761":{"submorphs":[{"__isSmartRef__":true,"id":762}],"scripts":[],"id":"6791D186-00FB-4A9A-8C8E-DF0B3FBB7F70","shape":{"__isSmartRef__":true,"id":767},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":768},"lighterFill":{"__isSmartRef__":true,"id":773},"label":{"__isSmartRef__":true,"id":762},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":778},"attributeConnections":[{"__isSmartRef__":true,"id":779}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":802},"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":1},"layout":{"__isSmartRef__":true,"id":803},"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["distanceToDragEvent","_Position"],"_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(72.0,-13.0)","_Position":"lively.pt(687.7,9.5)"},"762":{"submorphs":[],"scripts":[],"id":"926F3B6F-1286-4B95-AAB5-B4F4D49434DF","shape":{"__isSmartRef__":true,"id":763},"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":761},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":764}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":766},"_HandStyle":"default","_PointerEvents":"none","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)"},"763":{"_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)"},"764":{"style":{"__isSmartRef__":true,"id":765},"chunkOwner":{"__isSmartRef__":true,"id":762},"storedString":"run","_id":"_1369","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"765":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"766":{"morph":{"__isSmartRef__":true,"id":762},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"767":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":768},"_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)"},"768":{"stops":[{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":772}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"769":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"770":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"771":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"772":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"773":{"stops":[{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":777}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"774":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"775":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"776":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"777":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"778":{"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"},"779":{"sourceObj":{"__isSmartRef__":true,"id":761},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"780":{"submorphs":[{"__isSmartRef__":true,"id":781}],"scripts":[],"shape":{"__isSmartRef__":true,"id":788},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","eventHandler":{"__isSmartRef__":true,"id":791},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":792},{"__isSmartRef__":true,"id":793}],"con":{"__isSmartRef__":true,"id":779},"showsMorphMenu":true,"showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":794},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"781":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":782},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","eventHandler":{"__isSmartRef__":true,"id":787},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":780},"_Rotation":-3.130064002485303,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(0.0,0.0)"},"782":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":785},{"__isSmartRef__":true,"id":786}],"_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)"},"783":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"784":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"785":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"786":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"787":{"morph":{"__isSmartRef__":true,"id":781},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"788":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":789},{"__isSmartRef__":true,"id":790}],"_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)"},"789":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"790":{"isAbsolute":true,"x":0,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"791":{"morph":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"792":{"morph":{"__isSmartRef__":true,"id":780},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"793":{"morph":{"__isSmartRef__":true,"id":780},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":781},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"794":{"morphMenuItems":{"__isSmartRef__":true,"id":795}},"795":{"varMapping":{"__isSmartRef__":true,"id":796},"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":801},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"796":{"this":{"__isSmartRef__":true,"id":780},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":797}},"797":{"$super":{"__isSmartRef__":true,"id":798}},"798":{"varMapping":{"__isSmartRef__":true,"id":799},"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":800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"799":{"obj":{"__isSmartRef__":true,"id":780},"name":"morphMenuItems"},"800":{},"801":{},"802":{"morph":{"__isSmartRef__":true,"id":761},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"803":{"centeredHorizontal":false,"moveHorizontal":true},"804":{"submorphs":[{"__isSmartRef__":true,"id":805}],"scripts":[],"id":"E0FE37EB-5354-489E-A5E9-99AB7E1974E9","shape":{"__isSmartRef__":true,"id":810},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":811},"lighterFill":{"__isSmartRef__":true,"id":816},"label":{"__isSmartRef__":true,"id":805},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":821},"attributeConnections":[{"__isSmartRef__":true,"id":822}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":845},"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":846},"owner":{"__isSmartRef__":true,"id":1},"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["distanceToDragEvent","_Position"],"_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","distanceToDragEvent":"lively.pt(68.8,-14.5)","_Position":"lively.pt(574.4,9.5)"},"805":{"submorphs":[],"scripts":[],"id":"7732A951-B604-4901-B6F1-779441952E6A","shape":{"__isSmartRef__":true,"id":806},"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":804},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":807}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":809},"_HandStyle":"default","_PointerEvents":"none","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)"},"806":{"_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)"},"807":{"style":{"__isSmartRef__":true,"id":808},"chunkOwner":{"__isSmartRef__":true,"id":805},"storedString":"save","_id":"_1370","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"808":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"809":{"morph":{"__isSmartRef__":true,"id":805},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"810":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":811},"_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)"},"811":{"stops":[{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":815}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"812":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"813":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"814":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"815":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"816":{"stops":[{"__isSmartRef__":true,"id":817},{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":819},{"__isSmartRef__":true,"id":820}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"817":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"818":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"819":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"820":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"821":{"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"},"822":{"sourceObj":{"__isSmartRef__":true,"id":804},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":236},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":823},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"823":{"submorphs":[{"__isSmartRef__":true,"id":824}],"scripts":[],"shape":{"__isSmartRef__":true,"id":831},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","eventHandler":{"__isSmartRef__":true,"id":834},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":835},{"__isSmartRef__":true,"id":836}],"con":{"__isSmartRef__":true,"id":822},"showsMorphMenu":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"824":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":825},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","eventHandler":{"__isSmartRef__":true,"id":830},"droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":823},"_Rotation":3.077607197692381,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(201.2,40.2)"},"825":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":826},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":829}],"_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)"},"826":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"827":{"isAbsolute":true,"x":-12,"y":6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"828":{"isAbsolute":true,"x":4,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"829":{"isAbsolute":true,"x":-12,"y":-6,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"830":{"morph":{"__isSmartRef__":true,"id":824},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"831":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":833}],"_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)"},"832":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"833":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"834":{"morph":{"__isSmartRef__":true,"id":823},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"835":{"morph":{"__isSmartRef__":true,"id":823},"index":0,"connectedMagnet":null,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"836":{"morph":{"__isSmartRef__":true,"id":823},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":824},"markerDirection":"prev","__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"837":{"morphMenuItems":{"__isSmartRef__":true,"id":838}},"838":{"varMapping":{"__isSmartRef__":true,"id":839},"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":844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"839":{"this":{"__isSmartRef__":true,"id":823},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":840}},"840":{"$super":{"__isSmartRef__":true,"id":841}},"841":{"varMapping":{"__isSmartRef__":true,"id":842},"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":843},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"842":{"obj":{"__isSmartRef__":true,"id":823},"name":"morphMenuItems"},"843":{},"844":{},"845":{"morph":{"__isSmartRef__":true,"id":804},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"846":{"centeredHorizontal":false,"moveHorizontal":true},"847":{"submorphs":[{"__isSmartRef__":true,"id":848}],"scripts":[],"id":"00F383AA-5D1B-4E2E-AE7D-233CB4D63E9B","shape":{"__isSmartRef__":true,"id":853},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":854},"lighterFill":{"__isSmartRef__":true,"id":859},"label":{"__isSmartRef__":true,"id":848},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":864},"attributeConnections":[{"__isSmartRef__":true,"id":865}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":866},"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":1},"_ClipMode":"visible","isPressed":false,"layout":{"__isSmartRef__":true,"id":867},"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9940149800149939,"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(468.5,9.0)","distanceToDragEvent":"lively.pt(72.1,-12.5)"},"848":{"submorphs":[],"scripts":[],"id":"91627811-FB7C-4011-A0C4-7E94EE5DEBC6","shape":{"__isSmartRef__":true,"id":849},"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":847},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":850}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":852},"_HandStyle":"default","_PointerEvents":"none","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)"},"849":{"_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)"},"850":{"style":{"__isSmartRef__":true,"id":851},"chunkOwner":{"__isSmartRef__":true,"id":848},"storedString":"Tests","_id":"_1371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"851":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"852":{"morph":{"__isSmartRef__":true,"id":848},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"853":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":854},"_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)"},"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(245,245,245)"},"856":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"857":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"858":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"859":{"stops":[{"__isSmartRef__":true,"id":860},{"__isSmartRef__":true,"id":861},{"__isSmartRef__":true,"id":862},{"__isSmartRef__":true,"id":863}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"860":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"861":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"862":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"863":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"864":{"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"},"865":{"sourceObj":{"__isSmartRef__":true,"id":847},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"openPartTestRunner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"866":{"morph":{"__isSmartRef__":true,"id":847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"867":{"moveHorizontal":true},"868":{"submorphs":[{"__isSmartRef__":true,"id":869},{"__isSmartRef__":true,"id":876}],"scripts":[],"id":"04A5B209-2310-464D-BE59-A2A0A975DC21","shape":{"__isSmartRef__":true,"id":879},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":885},"lighterFill":{"__isSmartRef__":true,"id":890},"label":{"__isSmartRef__":true,"id":869},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":895},"attributeConnections":[{"__isSmartRef__":true,"id":898}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":899},"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":1},"highlightRectangle":{"__isSmartRef__":true,"id":900},"isPressed":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9920279440699439,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":974},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(424.5,8.5)","distanceToDragEvent":"lively.pt(37.9,-7.9)"},"869":{"submorphs":[],"scripts":[],"id":"8166A33E-62E5-48BE-8B74-F3EDC63722A4","shape":{"__isSmartRef__":true,"id":870},"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":868},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":873}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":875},"_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"],"_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)"},"870":{"_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)"},"871":{"style":{"__isSmartRef__":true,"id":872},"chunkOwner":{"__isSmartRef__":true,"id":869},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"872":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"873":{"style":{"__isSmartRef__":true,"id":874},"chunkOwner":{"__isSmartRef__":true,"id":869},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"874":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"875":{"morph":{"__isSmartRef__":true,"id":869},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"876":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":877},"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":"16658116-D208-4690-A276-6A6D336F69A0","eventHandler":{"__isSmartRef__":true,"id":878},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":868},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"877":{"_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)"},"878":{"morph":{"__isSmartRef__":true,"id":876},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"879":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":880},"_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)"},"880":{"stops":[{"__isSmartRef__":true,"id":881},{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":883},{"__isSmartRef__":true,"id":884}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"881":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"882":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"883":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"884":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"885":{"stops":[{"__isSmartRef__":true,"id":886},{"__isSmartRef__":true,"id":887},{"__isSmartRef__":true,"id":888},{"__isSmartRef__":true,"id":889}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"886":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"887":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"888":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"889":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"890":{"stops":[{"__isSmartRef__":true,"id":891},{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":894}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"891":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"892":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"893":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"894":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"895":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":896}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"896":{"date":{"__isSmartRef__":true,"id":897},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"897":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:10:10 GMT-0700 (PDT)"},"898":{"sourceObj":{"__isSmartRef__":true,"id":868},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":868},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"899":{"morph":{"__isSmartRef__":true,"id":868},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"900":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":901},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":902},"eventHandler":{"__isSmartRef__":true,"id":943},"attributeConnections":[{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":945},{"__isSmartRef__":true,"id":946}],"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":948},"_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":868},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":953},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(40.0,4131.0)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"901":{"_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)"},"902":{"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":903},{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":909},{"__isSmartRef__":true,"id":911},{"__isSmartRef__":true,"id":913},{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":919},{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":927},{"__isSmartRef__":true,"id":929},{"__isSmartRef__":true,"id":931},{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":937},{"__isSmartRef__":true,"id":939},{"__isSmartRef__":true,"id":941}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"903":{"date":{"__isSmartRef__":true,"id":904},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"904":{"isSerializedDate":true,"string":"Thu May 24 2012 08:04:54 GMT-0700 (PDT)"},"905":{"date":{"__isSmartRef__":true,"id":906},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"906":{"isSerializedDate":true,"string":"Thu May 24 2012 07:57:13 GMT-0700 (PDT)"},"907":{"date":{"__isSmartRef__":true,"id":908},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"908":{"isSerializedDate":true,"string":"Thu May 24 2012 07:23:11 GMT-0700 (PDT)"},"909":{"date":{"__isSmartRef__":true,"id":910},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"910":{"isSerializedDate":true,"string":"Thu May 24 2012 05:46:08 GMT-0700 (PDT)"},"911":{"date":{"__isSmartRef__":true,"id":912},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"912":{"isSerializedDate":true,"string":"Thu May 24 2012 05:39:50 GMT-0700 (PDT)"},"913":{"date":{"__isSmartRef__":true,"id":914},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"914":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (PDT)"},"915":{"date":{"__isSmartRef__":true,"id":916},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"916":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (PDT)"},"917":{"date":{"__isSmartRef__":true,"id":918},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"918":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)"},"919":{"date":{"__isSmartRef__":true,"id":920},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"920":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)"},"921":{"date":{"__isSmartRef__":true,"id":922},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"922":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)"},"923":{"date":{"__isSmartRef__":true,"id":924},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"924":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)"},"925":{"date":{"__isSmartRef__":true,"id":926},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"926":{"isSerializedDate":true,"string":"Thu May 24 2012 04:58:01 GMT-0700 (PDT)"},"927":{"date":{"__isSmartRef__":true,"id":928},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"928":{"isSerializedDate":true,"string":"Thu May 24 2012 05:07:32 GMT-0700 (PDT)"},"929":{"date":{"__isSmartRef__":true,"id":930},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"930":{"isSerializedDate":true,"string":"Thu May 24 2012 06:34:59 GMT-0700 (PDT)"},"931":{"date":{"__isSmartRef__":true,"id":932},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"932":{"isSerializedDate":true,"string":"Thu May 24 2012 07:34:29 GMT-0700 (PDT)"},"933":{"date":{"__isSmartRef__":true,"id":934},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"934":{"isSerializedDate":true,"string":"Thu May 24 2012 07:45:49 GMT-0700 (PDT)"},"935":{"date":{"__isSmartRef__":true,"id":936},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"936":{"isSerializedDate":true,"string":"Thu May 24 2012 07:47:20 GMT-0700 (PDT)"},"937":{"date":{"__isSmartRef__":true,"id":938},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"938":{"isSerializedDate":true,"string":"Thu May 24 2012 07:51:06 GMT-0700 (PDT)"},"939":{"date":{"__isSmartRef__":true,"id":940},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"940":{"isSerializedDate":true,"string":"Thu May 24 2012 07:52:10 GMT-0700 (PDT)"},"941":{"date":{"__isSmartRef__":true,"id":942},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"942":{"isSerializedDate":true,"string":"Thu May 24 2012 07:59:39 GMT-0700 (PDT)"},"943":{"morph":{"__isSmartRef__":true,"id":900},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"944":{"sourceObj":{"__isSmartRef__":true,"id":900},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":900},"targetMethodName":"updateOnMove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"945":{"sourceObj":{"__isSmartRef__":true,"id":900},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":868},"targetMethodName":"removeHighlighting","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"946":{"sourceObj":{"__isSmartRef__":true,"id":900},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"setTarget","converterString":"function () {\n                return this.sourceObj.morphUnderCursor();\n            }","updaterString":null,"varMapping":{"__isSmartRef__":true,"id":947},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"947":{"source":{"__isSmartRef__":true,"id":900},"target":{"__isSmartRef__":true,"id":1}},"948":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":949}},"949":{"test01IsMorph":{"__isSmartRef__":true,"id":950}},"950":{"varMapping":{"__isSmartRef__":true,"id":951},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"951":{"this":{"__isSmartRef__":true,"id":948}},"952":{},"953":{"update":{"__isSmartRef__":true,"id":954},"updateOnMove":{"__isSmartRef__":true,"id":958},"bringToFront":{"__isSmartRef__":true,"id":962},"morphUnderCursor":{"__isSmartRef__":true,"id":970}},"954":{"varMapping":{"__isSmartRef__":true,"id":955},"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":956},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"955":{"this":{"__isSmartRef__":true,"id":900}},"956":{"timestamp":{"__isSmartRef__":true,"id":957},"user":"lauritz","tags":[]},"957":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:29:58 GMT-0700 (PDT)"},"958":{"varMapping":{"__isSmartRef__":true,"id":959},"source":"function updateOnMove() {\n    this.update(this.morphUnderCursor());\n    this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"959":{"this":{"__isSmartRef__":true,"id":900}},"960":{"timestamp":{"__isSmartRef__":true,"id":961},"user":"lauritz","tags":[]},"961":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:18:33 GMT-0700 (PDT)"},"962":{"varMapping":{"__isSmartRef__":true,"id":963},"source":"function bringToFront() {\n    this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":968},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"963":{"this":{"__isSmartRef__":true,"id":900},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":964}},"964":{"$super":{"__isSmartRef__":true,"id":965}},"965":{"varMapping":{"__isSmartRef__":true,"id":966},"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":967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"966":{"obj":{"__isSmartRef__":true,"id":900},"name":"bringToFront"},"967":{},"968":{"timestamp":{"__isSmartRef__":true,"id":969},"user":"lauritz","tags":[]},"969":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:12:09 GMT-0700 (PDT)"},"970":{"varMapping":{"__isSmartRef__":true,"id":971},"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":972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"971":{"this":{"__isSmartRef__":true,"id":900}},"972":{"timestamp":{"__isSmartRef__":true,"id":973},"user":"lauritz","tags":[]},"973":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:18:36 GMT-0700 (PDT)"},"974":{"onFire":{"__isSmartRef__":true,"id":975},"removeHighlighting":{"__isSmartRef__":true,"id":979},"onMouseMove":{"__isSmartRef__":true,"id":983},"onMouseOut":{"__isSmartRef__":true,"id":991},"reset":{"__isSmartRef__":true,"id":999},"isTracking":{"__isSmartRef__":true,"id":1003},"isHighlighting":{"__isSmartRef__":true,"id":1007},"currentTarget":{"__isSmartRef__":true,"id":1011}},"975":{"varMapping":{"__isSmartRef__":true,"id":976},"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":977},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"976":{"this":{"__isSmartRef__":true,"id":868}},"977":{"timestamp":{"__isSmartRef__":true,"id":978},"user":"lauritz","tags":[]},"978":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:40:51 GMT-0700 (PDT)"},"979":{"varMapping":{"__isSmartRef__":true,"id":980},"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":981},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"980":{"this":{"__isSmartRef__":true,"id":868}},"981":{"timestamp":{"__isSmartRef__":true,"id":982},"user":"lauritz","tags":[]},"982":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:20:30 GMT-0700 (PDT)"},"983":{"varMapping":{"__isSmartRef__":true,"id":984},"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":989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"984":{"this":{"__isSmartRef__":true,"id":868},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":985}},"985":{"$super":{"__isSmartRef__":true,"id":986}},"986":{"varMapping":{"__isSmartRef__":true,"id":987},"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":988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"987":{"obj":{"__isSmartRef__":true,"id":868},"name":"onMouseMove"},"988":{},"989":{"timestamp":{"__isSmartRef__":true,"id":990},"user":"lauritz","tags":[]},"990":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:25:52 GMT-0700 (PDT)"},"991":{"varMapping":{"__isSmartRef__":true,"id":992},"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":997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"992":{"this":{"__isSmartRef__":true,"id":868},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":993}},"993":{"$super":{"__isSmartRef__":true,"id":994}},"994":{"varMapping":{"__isSmartRef__":true,"id":995},"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":996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"995":{"obj":{"__isSmartRef__":true,"id":868},"name":"onMouseOut"},"996":{},"997":{"timestamp":{"__isSmartRef__":true,"id":998},"user":"lauritz","tags":[]},"998":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:21:57 GMT-0700 (PDT)"},"999":{"varMapping":{"__isSmartRef__":true,"id":1000},"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":1001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1000":{"this":{"__isSmartRef__":true,"id":868}},"1001":{"timestamp":{"__isSmartRef__":true,"id":1002},"user":"lauritz","tags":[]},"1002":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:20:55 GMT-0700 (PDT)"},"1003":{"varMapping":{"__isSmartRef__":true,"id":1004},"source":"function isTracking() {\n    return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":1005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1004":{"this":{"__isSmartRef__":true,"id":868}},"1005":{"timestamp":{"__isSmartRef__":true,"id":1006},"user":"lauritz","tags":[]},"1006":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:11:25 GMT-0700 (PDT)"},"1007":{"varMapping":{"__isSmartRef__":true,"id":1008},"source":"function isHighlighting() {\n    return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":1009},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1008":{"this":{"__isSmartRef__":true,"id":868}},"1009":{"timestamp":{"__isSmartRef__":true,"id":1010},"user":"lauritz","tags":[]},"1010":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:11:22 GMT-0700 (PDT)"},"1011":{"varMapping":{"__isSmartRef__":true,"id":1012},"source":"function currentTarget() {\n    return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":1013},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1012":{"this":{"__isSmartRef__":true,"id":868}},"1013":{"timestamp":{"__isSmartRef__":true,"id":1014},"user":"lauritz","tags":[]},"1014":{"isSerializedDate":true,"string":"Wed Jun 06 2012 09:26:02 GMT-0700 (PDT)"},"1015":{"_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)"},"1016":{"partsSpaceName":"PartsBin/Basic","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":1017}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1017":{"date":{"__isSmartRef__":true,"id":1018},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1018":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:39:30 GMT-0700 (PDT)"},"1019":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1020":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1021":{},"1022":{"displayInitialScript":{"__isSmartRef__":true,"id":1023},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1027},"displaySourceForConnection":{"__isSmartRef__":true,"id":1031},"displaySourceForScript":{"__isSmartRef__":true,"id":1035},"generateSourceForConnection":{"__isSmartRef__":true,"id":1039},"generateSourceForScript":{"__isSmartRef__":true,"id":1043},"generateTargetCode":{"__isSmartRef__":true,"id":1047},"newConnection":{"__isSmartRef__":true,"id":1051},"newScript":{"__isSmartRef__":true,"id":1055},"reset":{"__isSmartRef__":true,"id":1059},"selectChangedContent":{"__isSmartRef__":true,"id":1063},"setTarget":{"__isSmartRef__":true,"id":1067},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1071},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1075},"updateLists":{"__isSmartRef__":true,"id":1079},"onShutdown":{"__isSmartRef__":true,"id":1083},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":1087},"update":{"__isSmartRef__":true,"id":1091},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":1095},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":1099},"printTags":{"__isSmartRef__":true,"id":1107},"setTag":{"__isSmartRef__":true,"id":1111},"runScript":{"__isSmartRef__":true,"id":1115},"openPartTestRunner":{"__isSmartRef__":true,"id":1119},"hasUnsavedChanges":{"__isSmartRef__":true,"id":1123}},"1023":{"varMapping":{"__isSmartRef__":true,"id":1024},"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":1025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1024":{"this":{"__isSmartRef__":true,"id":1}},"1025":{"timestamp":{"__isSmartRef__":true,"id":1026},"user":"lauritz","tags":[]},"1026":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:13:43 GMT-0800 (PST)"},"1027":{"varMapping":{"__isSmartRef__":true,"id":1028},"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":1029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1028":{"this":{"__isSmartRef__":true,"id":1}},"1029":{"timestamp":{"__isSmartRef__":true,"id":1030},"user":"lauritz","tags":[]},"1030":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1031":{"varMapping":{"__isSmartRef__":true,"id":1032},"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":1033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1032":{"this":{"__isSmartRef__":true,"id":1}},"1033":{"timestamp":{"__isSmartRef__":true,"id":1034},"user":"conradcalmez","tags":[]},"1034":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:59:30 GMT-0800 (PST)"},"1035":{"varMapping":{"__isSmartRef__":true,"id":1036},"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":1037},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1036":{"this":{"__isSmartRef__":true,"id":1}},"1037":{"timestamp":{"__isSmartRef__":true,"id":1038},"user":"cschuster","tags":[]},"1038":{"isSerializedDate":true,"string":"Wed Aug 29 2012 23:14:26 GMT-0700 (PDT)"},"1039":{"varMapping":{"__isSmartRef__":true,"id":1040},"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":1041},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1040":{"this":{"__isSmartRef__":true,"id":1}},"1041":{"timestamp":{"__isSmartRef__":true,"id":1042},"user":"lauritz","tags":[]},"1042":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1043":{"varMapping":{"__isSmartRef__":true,"id":1044},"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":1045},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1044":{"this":{"__isSmartRef__":true,"id":1}},"1045":{"timestamp":{"__isSmartRef__":true,"id":1046},"user":"cschuster","tags":[]},"1046":{"isSerializedDate":true,"string":"Wed Aug 29 2012 23:14:45 GMT-0700 (PDT)"},"1047":{"varMapping":{"__isSmartRef__":true,"id":1048},"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":1049},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1048":{"this":{"__isSmartRef__":true,"id":1}},"1049":{"timestamp":{"__isSmartRef__":true,"id":1050},"user":"lauritz","tags":[]},"1050":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1051":{"varMapping":{"__isSmartRef__":true,"id":1052},"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":1053},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1052":{"this":{"__isSmartRef__":true,"id":1}},"1053":{"timestamp":{"__isSmartRef__":true,"id":1054},"user":"lauritz","tags":[]},"1054":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1055":{"varMapping":{"__isSmartRef__":true,"id":1056},"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":1057},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1056":{"this":{"__isSmartRef__":true,"id":1}},"1057":{"timestamp":{"__isSmartRef__":true,"id":1058},"user":"lauritz","tags":[]},"1058":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:24:25 GMT-0800 (PST)"},"1059":{"varMapping":{"__isSmartRef__":true,"id":1060},"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":1061},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1060":{"this":{"__isSmartRef__":true,"id":1}},"1061":{"timestamp":{"__isSmartRef__":true,"id":1062},"user":"lauritz","tags":[]},"1062":{"isSerializedDate":true,"string":"Fri Aug 03 2012 02:45:36 GMT-0700 (PDT)"},"1063":{"varMapping":{"__isSmartRef__":true,"id":1064},"source":"function selectChangedContent(source) {\n\n    var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n    var addScriptMatches = [];\n    var addScriptMatch = addScriptRegex.exec(source);\n    while (addScriptMatch) {\n        addScriptMatches.push(addScriptMatch[1]);\n        addScriptMatch = addScriptRegex.exec(source);\n    }\n        \n    // if scripts were added, select either a specific one or all\n    if (addScriptMatches.length > 0) { \n        if (addScriptMatches.length === 1) {\n            return this.scriptList.selectAddedScript(addScriptMatches[0]);\n        }\n        return this.scriptList.selectAt(0);\n    }\n\n    var connectionRegex = \n        /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n    var connectionMatches = [];\n    var connectionMatch = connectionRegex.exec(source);\n    while (connectionMatch) {\n        connectionMatches.push(connectionMatch);\n        connectionMatch = connectionRegex.exec(source);\n    }\n\n    // if connections were made, select either a specific one or all\n    if (connectionMatches.length > 0) {\n        if (connectionMatches.length === 1) {\n            var match = connectionMatches[0];\n            for (var i=0; i<this.connectionList.getList().length; i++) {\n                if (this.connectionList.getList()[i] === \"-- ALL --\") continue;\n                var connection = this.connectionList.getList()[i][1];\n                if (connection.sourceAttrName === match[2] &&\n                connection.targetMethodName === match[4]) {\n                    return this.connectionList.selectAt(i);\n                }\n            }\n            this.connectionList.getList().indexOf(addScriptMatches[0]);\n        } \n        return this.connectionList.selectAt(0);\n    }\n\n}","funcProperties":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1064":{"this":{"__isSmartRef__":true,"id":1}},"1065":{"timestamp":{"__isSmartRef__":true,"id":1066},"user":"lauritz","tags":[]},"1066":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:47:56 GMT-0800 (PST)"},"1067":{"varMapping":{"__isSmartRef__":true,"id":1068},"source":"function setTarget(targetMorph) {\n    this.target = targetMorph;\n    this.scriptPane.updateTarget();\n    this.morphSelector.updateTargetFromOwner();\n    this.updateLists();\n    this.displayInitialScript();\n\n    this.stopStepping();\n    this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":1069},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1068":{"this":{"__isSmartRef__":true,"id":1}},"1069":{"timestamp":{"__isSmartRef__":true,"id":1070},"user":"lauritz","tags":[]},"1070":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:24:09 GMT-0700 (PDT)"},"1071":{"varMapping":{"__isSmartRef__":true,"id":1072},"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":1073},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1072":{"this":{"__isSmartRef__":true,"id":1}},"1073":{"timestamp":{"__isSmartRef__":true,"id":1074},"user":"lauritz","tags":[]},"1074":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1075":{"varMapping":{"__isSmartRef__":true,"id":1076},"source":"function sortedScriptNamesOfObj(obj) {\n\n    if (!Functions.own(obj) ||  Functions.own(obj).size() == 0) return [];\n\n    var selectedScripts = Functions.own(obj).\n\tselect(function(name) { return obj[name].getOriginal().hasLivelyClosure }).\n\tsortBy(function(name) { return name.toLowerCase() });\n\n    if (!this.currentTag) return selectedScripts;\n\n    var that = this;\n    var selectedScripts = selectedScripts.select(function(scriptName) {\n        return obj[scriptName].tags && \n            obj[scriptName].tags.indexOf(that.currentTag) !== -1;\n    });\n\n    return selectedScripts;\n}","funcProperties":{"__isSmartRef__":true,"id":1077},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1076":{"this":{"__isSmartRef__":true,"id":1}},"1077":{"timestamp":{"__isSmartRef__":true,"id":1078},"user":"robertkrahn","tags":[]},"1078":{"isSerializedDate":true,"string":"Fri Jan 27 2012 08:49:43 GMT-0800 (PST)"},"1079":{"varMapping":{"__isSmartRef__":true,"id":1080},"source":"function updateLists() {\n\n    var scriptListItems = this.sortedScriptNamesOfObj(this.target);\n    scriptListItems.unshift(\"-- ALL --\");\n    if (!Objects.equals(scriptListItems, this.scriptList.getList())) {\n        this.scriptList.setList(scriptListItems);\n    }\n    \n    var connectionListItems = this.sortedConnectionNamesOfObj(this.target);\n    connectionListItems.unshift(\"-- ALL --\");\n    if (!Objects.equals(connectionListItems, this.connectionList.getList())) {\n        this.connectionList.setList(connectionListItems);\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":1081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1080":{"this":{"__isSmartRef__":true,"id":1}},"1081":{"timestamp":{"__isSmartRef__":true,"id":1082},"user":"lauritz","tags":[]},"1082":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1083":{"varMapping":{"__isSmartRef__":true,"id":1084},"source":"function onShutdown() {\n    if (this.scriptPane.hasChanged()) {\n        var that = this;\n        // callback is executed asynchronously since waits on user input.\n        // however, the editor should not be closed before input\n        // therefore, we patch the remove method until the user reacted\n        this.owner.remove = function() {};\n        var callback = function(confirmed) {\n            if (that.owner.state === \"shutdown\") delete that.owner.state;\n            that.owner.remove = that.owner.__proto__.remove;\n            if (confirmed) that.owner.remove();\n        }\n        this.confirmUnsavedChanges(callback);\n    } \n}","funcProperties":{"__isSmartRef__":true,"id":1085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1084":{"this":{"__isSmartRef__":true,"id":1}},"1085":{"timestamp":{"__isSmartRef__":true,"id":1086},"user":"lauritz","tags":[]},"1086":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1087":{"varMapping":{"__isSmartRef__":true,"id":1088},"source":"function confirmUnsavedChanges(callback) {\n    var message = \"Discard unsaved changes?\";\n    var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n    return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1089},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1088":{"this":{"__isSmartRef__":true,"id":1}},"1089":{"timestamp":{"__isSmartRef__":true,"id":1090},"user":"lauritz","tags":[]},"1090":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:52:56 GMT-0800 (PST)"},"1091":{"varMapping":{"__isSmartRef__":true,"id":1092},"source":"function update() {\n    // alias to conform to convention\n    this.updateLists();\n}","funcProperties":{"__isSmartRef__":true,"id":1093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1092":{"this":{"__isSmartRef__":true,"id":1}},"1093":{"timestamp":{"__isSmartRef__":true,"id":1094},"user":"lauritz","tags":[]},"1094":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:26 GMT-0800 (PST)"},"1095":{"varMapping":{"__isSmartRef__":true,"id":1096},"source":"function ensureAnnotationLayer() {\n    module('lively.LayerableMorphs').load(true);\n\n    if (\"ScriptAnnotationLayer\" in Global) return;\n    \n    cop.create(\"ScriptAnnotationLayer\");\n    ScriptAnnotationLayer.refineClass(\n        lively.morphic.Morph,{\n            \n        addScript: function(funcOrString) {\n            var func = Function.fromString(funcOrString),\n                oldFunction = this[func.name],\n                changed = oldFunction && oldFunction.toString() !== func.toString();\n               \n            var result = cop.proceed.apply(this, arguments);\n\n            if (oldFunction && !changed) {\n                 this[func.name].setTimestampAndUser(oldFunction.timestamp, oldFunction.user);\n            } else {\n                 this[func.name].setTimestampAndUser();\n            }\n            return result;\n        },\n\n        tagScript: function(scriptName, tags) {\n            return this[scriptName].tag(tags);\n        }\n\n    });   \n    ScriptAnnotationLayer.refineObject(\n        Function.prototype,{\n\n        setTimestampAndUser: function(timestamp, user) {\n            this.setProperty('timestamp', timestamp || new Date());\n            this.setProperty('user', user || (lively.LocalStorage && lively.LocalStorage.get('UserName')));\n        },\n        \n        tag: function(tags) {\n            var tags = (typeof tags === 'string') ? [tags] : tags;\n            this.setProperty(\"tags\", tags);\n            return true; \n        }  \n    });\n\n}","funcProperties":{"__isSmartRef__":true,"id":1097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1096":{"this":{"__isSmartRef__":true,"id":1}},"1097":{"timestamp":{"__isSmartRef__":true,"id":1098},"user":"lauritz","tags":[]},"1098":{"isSerializedDate":true,"string":"Tue Dec 13 2011 13:03:17 GMT-0800 (PST)"},"1099":{"varMapping":{"__isSmartRef__":true,"id":1100},"source":"function copyToPartsBinWithUserRequest() {\n    this.owner.copyToPartsBinWithUserRequest();\n}","funcProperties":{"__isSmartRef__":true,"id":1105},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1100":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1101}},"1101":{"$super":{"__isSmartRef__":true,"id":1102}},"1102":{"varMapping":{"__isSmartRef__":true,"id":1103},"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":1104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1103":{"obj":{"__isSmartRef__":true,"id":1},"name":"copyToPartsBinWithUserRequest"},"1104":{},"1105":{"timestamp":{"__isSmartRef__":true,"id":1106},"user":"lauritz","tags":[]},"1106":{"isSerializedDate":true,"string":"Thu Nov 17 2011 11:04:19 GMT-0800 (PST)"},"1107":{"varMapping":{"__isSmartRef__":true,"id":1108},"source":"function printTags(script) {\n    if (!script.tags) return \"[]\";\n\n    var printString = '[';\n    for (var i=0; i < script.tags.length; i++) {\n        if (i !== 0) printString += ', ';\n        printString += '\"' + script.tags[i] + '\"';\n    }\n    printString += ']';\n    return printString;\n}","funcProperties":{"__isSmartRef__":true,"id":1109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1108":{"this":{"__isSmartRef__":true,"id":1}},"1109":{"timestamp":{"__isSmartRef__":true,"id":1110},"user":"lauritz","tags":[]},"1110":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:33:20 GMT-0800 (PST)"},"1111":{"varMapping":{"__isSmartRef__":true,"id":1112},"source":"function setTag(tag) {\n    if (tag === 'all') {\n        this.currentTag = '';\n    } else {\n        this.currentTag = tag;\n    }\n    this.updateLists();\n    this.displayInitialScript();\n}","funcProperties":{"__isSmartRef__":true,"id":1113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1112":{"this":{"__isSmartRef__":true,"id":1}},"1113":{"timestamp":{"__isSmartRef__":true,"id":1114},"user":"lauritz","tags":[]},"1114":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:27:35 GMT-0800 (PST)"},"1115":{"varMapping":{"__isSmartRef__":true,"id":1116},"source":"function runScript() {\n    var scriptName = this.get(\"ObjectEditorScriptList\").selection;\n    if (!scriptName || !this.target) return;\n    this.target[scriptName]();\n}","funcProperties":{"__isSmartRef__":true,"id":1117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1116":{"this":{"__isSmartRef__":true,"id":1}},"1117":{"timestamp":{"__isSmartRef__":true,"id":1118},"user":"conradcalmez","tags":[]},"1118":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:53:29 GMT-0800 (PST)"},"1119":{"varMapping":{"__isSmartRef__":true,"id":1120},"source":"function openPartTestRunner() {\n    module('lively.PartsTestFramework').load();\n    var runner = $part('PartTestRunner', 'PartsBin/Tools');\n    runner.setPartUnderTest(this.target);\n    runner.openInWorld();\n    runner.align(runner.bounds().topLeft(),\n        this.owner.bounds().topLeft().addPt(pt(30,30)))\n}","funcProperties":{"__isSmartRef__":true,"id":1121},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1120":{"this":{"__isSmartRef__":true,"id":1}},"1121":{"timestamp":{"__isSmartRef__":true,"id":1122},"user":"jenslincke","tags":[]},"1122":{"isSerializedDate":true,"string":"Wed Mar 14 2012 07:48:07 GMT-0700 (PDT)"},"1123":{"varMapping":{"__isSmartRef__":true,"id":1124},"source":"function hasUnsavedChanges() {\n    return this.scriptPane.hasChanged();\n}","funcProperties":{"__isSmartRef__":true,"id":1125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1124":{"this":{"__isSmartRef__":true,"id":1}},"1125":{"timestamp":{"__isSmartRef__":true,"id":1126},"user":"lauritz","tags":[]},"1126":{"isSerializedDate":true,"string":"Fri Aug 03 2012 02:30:27 GMT-0700 (PDT)"},"1127":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1128},"eventHandler":{"__isSmartRef__":true,"id":1132},"_ClipMode":"visible","derivationIds":["66A53D3E-BF68-4D91-A24B-14C220D10AB9","0336E8EC-4913-48EE-A76C-9BC0B32CB372","433CC864-3561-4CBD-A9FD-7345DAA99C48"],"id":"F2797B46-6AC9-487D-9165-71B0EFA29948","droppingEnabled":true,"halosEnabled":true,"dragStartPoint":null,"originalTargetExtent":null,"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":1133},{"__isSmartRef__":true,"id":1134},{"__isSmartRef__":true,"id":1135}],"prevScroll":[0,0],"name":"Path","owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":0.9900990099009901,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1136},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(795.1,440.1)"},"1128":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1129},{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1131}],"_BorderWidth":0,"_BorderColor":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-1.0,-1.0)","_Extent":"lively.pt(15.0,15.0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(204,204,204)"},"1129":{"isAbsolute":true,"x":14,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1130":{"isAbsolute":true,"x":14,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1131":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"1132":{"morph":{"__isSmartRef__":true,"id":1127},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1133":{"morph":{"__isSmartRef__":true,"id":1127},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1134":{"morph":{"__isSmartRef__":true,"id":1127},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1135":{"morph":{"__isSmartRef__":true,"id":1127},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"1136":{"onDragStart":{"__isSmartRef__":true,"id":1137},"onDrag":{"__isSmartRef__":true,"id":1144},"onDragEnd":{"__isSmartRef__":true,"id":1151}},"1137":{"varMapping":{"__isSmartRef__":true,"id":1138},"source":"function onDragStart(evt) {\n            this.dragStartPoint = evt.mousePoint;\n            this.originalTargetExtent = this.owner.getExtent();\n        }","funcProperties":{"__isSmartRef__":true,"id":1143},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1138":{"this":{"__isSmartRef__":true,"id":1127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1139}},"1139":{"$super":{"__isSmartRef__":true,"id":1140}},"1140":{"varMapping":{"__isSmartRef__":true,"id":1141},"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":1142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1141":{"obj":{"__isSmartRef__":true,"id":1127},"name":"onDragStart"},"1142":{},"1143":{},"1144":{"varMapping":{"__isSmartRef__":true,"id":1145},"source":"function onDrag(evt) {\n            var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n            if (evt.isShiftDown()) {\n                var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t              moveDelta = pt(maxDelta, maxDelta);\n            };\n            this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n            this.align(this.bounds().bottomRight(), this.owner.getExtent());\n        }","funcProperties":{"__isSmartRef__":true,"id":1150},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1145":{"this":{"__isSmartRef__":true,"id":1127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1146}},"1146":{"$super":{"__isSmartRef__":true,"id":1147}},"1147":{"varMapping":{"__isSmartRef__":true,"id":1148},"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":1149},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1148":{"obj":{"__isSmartRef__":true,"id":1127},"name":"onDrag"},"1149":{},"1150":{},"1151":{"varMapping":{"__isSmartRef__":true,"id":1152},"source":"function onDragEnd(evt) {\n            this.dragStartPoint = null;\n            this.originalTargetExtent = null;\n        }","funcProperties":{"__isSmartRef__":true,"id":1157},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1152":{"this":{"__isSmartRef__":true,"id":1127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1153}},"1153":{"$super":{"__isSmartRef__":true,"id":1154}},"1154":{"varMapping":{"__isSmartRef__":true,"id":1155},"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":1156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1155":{"obj":{"__isSmartRef__":true,"id":1127},"name":"onDragEnd"},"1156":{},"1157":{},"1158":{"submorphs":[{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1165},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1190}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1203},"eventHandler":{"__isSmartRef__":true,"id":1204},"_ClipMode":"visible","derivationIds":["22F28D22-30EF-4F87-A314-63DED1BFFAAB"],"id":"459AFBD1-EB66-48CA-B192-AC1B41DB5B19","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1205},"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":1159},"closeButton":{"__isSmartRef__":true,"id":1165},"menuButton":{"__isSmartRef__":true,"id":1178},"collapseButton":{"__isSmartRef__":true,"id":1190},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"1159":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1160},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1161}],"eventHandler":{"__isSmartRef__":true,"id":1163},"_ClipMode":"hidden","derivationIds":["D007EEBC-A285-46DE-A0F4-24C3909E43AE"],"id":"ECF02BC6-E62A-45DB-9170-4D3C2A0F423D","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"layout":{"__isSmartRef__":true,"id":1164},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1158},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(20.0,3.0)"},"1160":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(750.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1161":{"style":{"__isSmartRef__":true,"id":1162},"chunkOwner":{"__isSmartRef__":true,"id":1159},"_id":"_232","storedString":"ObjectEditor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1162":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1163":{"morph":{"__isSmartRef__":true,"id":1159},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1164":{"resizeWidth":true},"1165":{"submorphs":[{"__isSmartRef__":true,"id":1166}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1171},"eventHandler":{"__isSmartRef__":true,"id":1172},"_ClipMode":"visible","derivationIds":["4300384E-DA9F-419D-B5B4-86E8013568D1"],"id":"2BAFB0AF-F298-4182-943E-851EEBF1FF8C","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":1166},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1158},"layout":{"__isSmartRef__":true,"id":1173},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1176}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(789.0,3.0)"},"1166":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1167},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1168}],"eventHandler":{"__isSmartRef__":true,"id":1170},"_ClipMode":"hidden","derivationIds":["A5EB5774-FBBB-4DAA-B2B1-5DB48CDA16AC"],"id":"40FE026E-1A6B-46F6-B125-8EF0C8C436C2","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1165},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"1167":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_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)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1168":{"style":{"__isSmartRef__":true,"id":1169},"chunkOwner":{"__isSmartRef__":true,"id":1166},"_id":"_933","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1169":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1170":{"morph":{"__isSmartRef__":true,"id":1166},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1171":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_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)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"1172":{"morph":{"__isSmartRef__":true,"id":1165},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1173":{"moveHorizontal":true},"1174":{"sourceObj":{"__isSmartRef__":true,"id":1165},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":1175},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1175":{"source":{"__isSmartRef__":true,"id":1165},"target":{"__isSmartRef__":true,"id":0}},"1176":{"sourceObj":{"__isSmartRef__":true,"id":1165},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":1177},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1177":{"source":{"__isSmartRef__":true,"id":1165},"target":{"__isSmartRef__":true,"id":0}},"1178":{"submorphs":[{"__isSmartRef__":true,"id":1179}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1184},"eventHandler":{"__isSmartRef__":true,"id":1185},"_ClipMode":"visible","derivationIds":["BAA201F2-38C3-4053-8F73-57E7811F837A"],"id":"8B8DF783-E9BC-4386-9D68-CA26C507535A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":1179},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1158},"attributeConnections":[{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1188}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"1179":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1180},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1181}],"eventHandler":{"__isSmartRef__":true,"id":1183},"_ClipMode":"hidden","derivationIds":["E5CEDCB8-4347-431F-9D1E-4A318BF3A74D"],"id":"E67BA8FA-C8FF-4637-9D26-4F4CFC7EF4BB","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1178},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"1180":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(18.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1181":{"style":{"__isSmartRef__":true,"id":1182},"chunkOwner":{"__isSmartRef__":true,"id":1179},"_id":"_935","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1182":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1183":{"morph":{"__isSmartRef__":true,"id":1179},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1184":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_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)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"1185":{"morph":{"__isSmartRef__":true,"id":1178},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1186":{"sourceObj":{"__isSmartRef__":true,"id":1178},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":1187},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1187":{"source":{"__isSmartRef__":true,"id":1178},"target":{"__isSmartRef__":true,"id":0}},"1188":{"sourceObj":{"__isSmartRef__":true,"id":1178},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":1189},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1189":{"source":{"__isSmartRef__":true,"id":1178},"target":{"__isSmartRef__":true,"id":0}},"1190":{"submorphs":[{"__isSmartRef__":true,"id":1191}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1196},"eventHandler":{"__isSmartRef__":true,"id":1197},"_ClipMode":"visible","derivationIds":["94E28649-CBC8-40A9-9ED1-D80CB505CA60"],"id":"7F0DA28E-0B0F-4EB8-8881-60632EFB720A","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":1191},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1158},"layout":{"__isSmartRef__":true,"id":1198},"attributeConnections":[{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1201}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(770.0,3.0)"},"1191":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1192},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1193}],"eventHandler":{"__isSmartRef__":true,"id":1195},"_ClipMode":"hidden","derivationIds":["F18A2C41-9DED-4369-890A-B11F00B5E918"],"id":"E6A3A02C-BCA7-461A-B26B-30DAF0617D8E","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1190},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"1192":{"_BorderWidth":0,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding","_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)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"1193":{"style":{"__isSmartRef__":true,"id":1194},"chunkOwner":{"__isSmartRef__":true,"id":1191},"_id":"_937","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1194":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1195":{"morph":{"__isSmartRef__":true,"id":1191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1196":{"_BorderWidth":1,"_StrokeOpacity":0,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding","_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)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"1197":{"morph":{"__isSmartRef__":true,"id":1190},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1198":{"moveHorizontal":true},"1199":{"sourceObj":{"__isSmartRef__":true,"id":1190},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":1200},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1200":{"source":{"__isSmartRef__":true,"id":1190},"target":{"__isSmartRef__":true,"id":0}},"1201":{"sourceObj":{"__isSmartRef__":true,"id":1190},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":1202},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1202":{"source":{"__isSmartRef__":true,"id":1190},"target":{"__isSmartRef__":true,"id":0}},"1203":{"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(809.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"1204":{"morph":{"__isSmartRef__":true,"id":1158},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1205":{"resizeWidth":true,"adjustForNewBounds":true},"1206":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_ClipMode":"visible","__serializedExpressions__":["_Extent","_Position","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Extent":"lively.pt(809.0,454.0)","_Position":"lively.pt(0.0,0.0)","_Padding":"lively.rect(0,0,0,0)"},"1207":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1208":{"adjustForNewBounds":true},"1209":{"a":1,"b":0,"c":0,"d":1,"e":21,"f":92.89999999999998,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1210":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":25.958169966165087,"f":125.02070906988553,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1211":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Tools/","comment":"Edit scripts and connections of a morph.","partName":"ObjectEditor","changes":[{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1214},{"__isSmartRef__":true,"id":1216},{"__isSmartRef__":true,"id":1218},{"__isSmartRef__":true,"id":1220},{"__isSmartRef__":true,"id":1222},{"__isSmartRef__":true,"id":1224},{"__isSmartRef__":true,"id":1226},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":1230},{"__isSmartRef__":true,"id":1232},{"__isSmartRef__":true,"id":1234},{"__isSmartRef__":true,"id":1236},{"__isSmartRef__":true,"id":1238},{"__isSmartRef__":true,"id":1240},{"__isSmartRef__":true,"id":1242},{"__isSmartRef__":true,"id":1244},{"__isSmartRef__":true,"id":1246},{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1266},{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1270},{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1274},{"__isSmartRef__":true,"id":1276},{"__isSmartRef__":true,"id":1278},{"__isSmartRef__":true,"id":1280},{"__isSmartRef__":true,"id":1282},{"__isSmartRef__":true,"id":1284},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1288},{"__isSmartRef__":true,"id":1290},{"__isSmartRef__":true,"id":1292},{"__isSmartRef__":true,"id":1294},{"__isSmartRef__":true,"id":1296},{"__isSmartRef__":true,"id":1298},{"__isSmartRef__":true,"id":1300},{"__isSmartRef__":true,"id":1302},{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1306},{"__isSmartRef__":true,"id":1308},{"__isSmartRef__":true,"id":1310},{"__isSmartRef__":true,"id":1312},{"__isSmartRef__":true,"id":1314},{"__isSmartRef__":true,"id":1316},{"__isSmartRef__":true,"id":1318},{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1322},{"__isSmartRef__":true,"id":1324},{"__isSmartRef__":true,"id":1326},{"__isSmartRef__":true,"id":1328},{"__isSmartRef__":true,"id":1330},{"__isSmartRef__":true,"id":1332},{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336},{"__isSmartRef__":true,"id":1338},{"__isSmartRef__":true,"id":1340},{"__isSmartRef__":true,"id":1342},{"__isSmartRef__":true,"id":1344},{"__isSmartRef__":true,"id":1346},{"__isSmartRef__":true,"id":1348},{"__isSmartRef__":true,"id":1350},{"__isSmartRef__":true,"id":1352},{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1356},{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1360}],"lastModifiedDate":{"__isSmartRef__":true,"id":1362},"revisionOnLoad":194879,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1212":{"date":{"__isSmartRef__":true,"id":1213},"author":"robertkrahn","message":"Don't store collapsed pos","id":"F8B7230F-D250-4265-9FB3-E897971837BA"},"1213":{"isSerializedDate":true,"string":"Sun Apr 07 2013 19:31:19 GMT-0700 (PDT)"},"1214":{"date":{"__isSmartRef__":true,"id":1215},"author":"jenslincke","message":"new title bar","id":"62AC0DED-F7C2-4EA8-BE3A-45082A4660B5"},"1215":{"isSerializedDate":true,"string":"Thu Nov 29 2012 00:57:47 GMT-0800 (PST)"},"1216":{"date":{"__isSmartRef__":true,"id":1217},"author":"jenslincke","message":"wrong owner","id":"4472256E-AD58-4106-B635-FC19CB1E3B42"},"1217":{"isSerializedDate":true,"string":"Thu Nov 22 2012 05:48:05 GMT-0800 (PST)"},"1218":{"date":{"__isSmartRef__":true,"id":1219},"author":"jenslincke","message":"nicer resize corner","id":"0D8F8DB6-53DD-4BB7-988A-B7F0C0014F54"},"1219":{"isSerializedDate":true,"string":"Thu Nov 22 2012 05:46:31 GMT-0800 (PST)"},"1220":{"date":{"__isSmartRef__":true,"id":1221},"author":"jenslincke","message":"made Tests button move horizontal","id":"CD1E5A71-42F2-487F-A791-98E18D20611E"},"1221":{"isSerializedDate":true,"string":"Thu Oct 18 2012 06:00:36 GMT-0700 (PDT)"},"1222":{"date":{"__isSmartRef__":true,"id":1223},"author":"cschuster","message":"delay generation of script if it's not ready yet","id":"EF4DDDDD-7688-49F4-9B44-81CE565C015D"},"1223":{"isSerializedDate":true,"string":"Wed Aug 29 2012 23:17:10 GMT-0700 (PDT)"},"1224":{"date":{"__isSmartRef__":true,"id":1225},"author":"lauritz","message":"minor layout changes","id":"41E97B87-C3E0-4A7E-980A-0B03DA9924D6"},"1225":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:43:41 GMT-0700 (PDT)"},"1226":{"date":{"__isSmartRef__":true,"id":1227},"author":"lauritz","message":"fixed a defect in the magnifier code","id":"D5F15DFD-E44E-4C05-96B2-3222BFBCF958"},"1227":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:41:27 GMT-0700 (PDT)"},"1228":{"date":{"__isSmartRef__":true,"id":1229},"author":"lauritz","message":"reviewed magnifier code. small refactorings and handling when current target is no longer part of the scene.","id":"13DAB38C-84A2-4C16-B888-1FDAA42A26F8"},"1229":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:31:23 GMT-0700 (PDT)"},"1230":{"date":{"__isSmartRef__":true,"id":1231},"author":"lauritz","message":"updating the editor's target no longer relies on a full reset","id":"FE1B3D0C-3888-454C-A90F-4D5077B27B53"},"1231":{"isSerializedDate":true,"string":"Fri Aug 03 2012 05:08:42 GMT-0700 (PDT)"},"1232":{"date":{"__isSmartRef__":true,"id":1233},"author":"lauritz","message":"Removed pretty old code that migrated script annotations–author and timestamp–from Parts, where they've been stored in the first implementation, to their actual Scripts, where they are stored now.","id":"E01560DD-C528-4623-AE5D-A3615A5E0677"},"1233":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:49:10 GMT-0700 (PDT)"},"1234":{"date":{"__isSmartRef__":true,"id":1235},"author":"lauritz","message":"the tree-widget target chooser from our WebDev-seminar's GroupEditor","id":"CF819662-8EF4-4113-931B-E19B12E5B112"},"1235":{"isSerializedDate":true,"string":"Fri Aug 03 2012 04:35:21 GMT-0700 (PDT)"},"1236":{"date":{"__isSmartRef__":true,"id":1237},"author":"lauritz","message":"cleaned up scripts of the target chooser","id":"942B3CE7-E6C5-45E7-9965-6AA479C615A7"},"1237":{"isSerializedDate":true,"string":"Fri Aug 03 2012 03:47:16 GMT-0700 (PDT)"},"1238":{"date":{"__isSmartRef__":true,"id":1239},"author":"timfelgentreff","message":"Add a magnifiying glass to select target (similar to developer tools DOM selection)","id":"D9409D32-738F-4916-BA02-82C040C9891B"},"1239":{"isSerializedDate":true,"string":"Thu May 24 2012 08:21:39 GMT-0700 (PDT)"},"1240":{"date":{"__isSmartRef__":true,"id":1241},"author":"timfelgentreff","message":"no comment","id":"6D83027E-EC28-4497-A29F-E48051BD74FA"},"1241":{"isSerializedDate":true,"string":"Thu May 24 2012 07:54:16 GMT-0700 (PDT)"},"1242":{"date":{"__isSmartRef__":true,"id":1243},"author":"robertkrahn","message":"restored old version for addressing immediate save problems","id":"63323F27-08DC-499B-80D6-A700A30FE6BA"},"1243":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:03:48 GMT-0700 (PDT)"},"1244":{"date":{"__isSmartRef__":true,"id":1245},"author":"fbo","message":"No more addScript and better support for Firefox","id":"1BC8E4F5-9621-43E1-9451-35E018A8B06F"},"1245":{"isSerializedDate":true,"string":"Thu Apr 26 2012 02:16:30 GMT-0700 (PDT)"},"1246":{"date":{"__isSmartRef__":true,"id":1247},"author":"robertkrahn","message":"- Tags text morph now is a input line, fixed a bug in generateSourceForScript()","id":"485A3064-009C-4A89-875B-D3BF1B1C0606"},"1247":{"isSerializedDate":true,"string":"Thu Mar 08 2012 10:12:32 GMT-0800 (PST)"},"1248":{"date":{"__isSmartRef__":true,"id":1249},"author":"fabian","message":"","id":"50D90B40-1175-48A3-AC0E-10AC8884288A"},"1249":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:51:00 GMT-0800 (PST)"},"1250":{"date":{"__isSmartRef__":true,"id":1251},"author":"fabian","message":"","id":"E39C79D4-9E74-47BA-A6EA-D0B861EB411D"},"1251":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:46:13 GMT-0800 (PST)"},"1252":{"date":{"__isSmartRef__":true,"id":1253},"author":"fabian","message":"","id":"0714BC73-548D-4AF3-9A61-32FEE36C9B1F"},"1253":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:34:16 GMT-0800 (PST)"},"1254":{"date":{"__isSmartRef__":true,"id":1255},"author":"fabian","message":"","id":"AEB64F75-685C-4BB8-8C69-D8EC60CBA91D"},"1255":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:14:57 GMT-0800 (PST)"},"1256":{"date":{"__isSmartRef__":true,"id":1257},"author":"fabian","message":"","id":"EE9D6061-DD05-4FC8-B53A-21B93B9F5535"},"1257":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:57:12 GMT-0800 (PST)"},"1258":{"date":{"__isSmartRef__":true,"id":1259},"author":"fabian","message":"","id":"112A906B-C79A-4CF2-BD2A-EEF9A6731634"},"1259":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:42:40 GMT-0800 (PST)"},"1260":{"date":{"__isSmartRef__":true,"id":1261},"author":"fabian","message":"","id":"6FF4CD6F-6C92-449F-B2CA-20BFACE54E7A"},"1261":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:37:11 GMT-0800 (PST)"},"1262":{"date":{"__isSmartRef__":true,"id":1263},"author":"sstamm","message":"added save button","id":"3A85D0AF-64E0-40C7-8C4E-61CD462F3971"},"1263":{"isSerializedDate":true,"string":"Fri Feb 03 2012 02:45:18 GMT-0800 (PST)"},"1264":{"date":{"__isSmartRef__":true,"id":1265},"author":"bsiegmund","message":"Run Button now moving when window is resized","id":"9ECA7B2B-8322-42C5-8EFA-49AC432960B4"},"1265":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:36:10 GMT-0800 (PST)"},"1266":{"date":{"__isSmartRef__":true,"id":1267},"author":"lauritz","message":"changed label \"Category:\" to \"Tag:\".","id":"DBC877ED-0328-44A8-A46D-FE83C935797F"},"1267":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:50:45 GMT-0800 (PST)"},"1268":{"date":{"__isSmartRef__":true,"id":1269},"author":"lauritz","message":"adapted layout of notifications","id":"1C01FAB9-AD9A-44B5-BAF1-EC06408A767E"},"1269":{"isSerializedDate":true,"string":"Wed Nov 23 2011 09:26:48 GMT-0800 (PST)"},"1270":{"date":{"__isSmartRef__":true,"id":1271},"author":"lauritz","message":"fixed a bug (onBlur event handling) and added the world to the target chooser","id":"A8C151D4-0767-44E0-B586-090EA305BDF5"},"1271":{"isSerializedDate":true,"string":"Mon Nov 21 2011 14:14:00 GMT-0800 (PST)"},"1272":{"date":{"__isSmartRef__":true,"id":1273},"author":"jenslincke","message":"- reset title bar and borders","id":"8CE7DA3C-5C83-4151-A3A7-7B41D1C555BD"},"1273":{"isSerializedDate":true,"string":"Fri Nov 18 2011 06:26:49 GMT-0800 (PST)"},"1274":{"date":{"__isSmartRef__":true,"id":1275},"author":"lauritz","message":"Refactoring of script annotations (now at scripts not morphs). Added category tagging. Layout changes.","id":"1A9DA32B-8A1D-4CCF-92CB-47462F8CF117"},"1275":{"isSerializedDate":true,"string":"Thu Nov 17 2011 14:22:54 GMT-0800 (PST)"},"1276":{"date":{"__isSmartRef__":true,"id":1277},"author":"lauritz","message":"layout adaptions","id":"6F1AEBDC-EED3-4CE0-B84C-F4DD4DA784C5"},"1277":{"isSerializedDate":true,"string":"Tue Nov 15 2011 17:12:15 GMT-0800 (PST)"},"1278":{"date":{"__isSmartRef__":true,"id":1279},"author":"lauritz","message":"two more checks on attempts to remove scripts or connections.","id":"ED9F0090-C36C-4BC6-8FD2-A6FB60C7A0B2"},"1279":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:47:27 GMT-0800 (PST)"},"1280":{"date":{"__isSmartRef__":true,"id":1281},"author":"lauritz","message":"added confirmation before removal of scripts or connections.","id":"00B5B7BA-FC00-4B1C-A967-B8A38B05EEA8"},"1281":{"isSerializedDate":true,"string":"Thu Nov 10 2011 16:42:28 GMT-0800 (PST)"},"1282":{"date":{"__isSmartRef__":true,"id":1283},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1283":{"isSerializedDate":true,"string":"Thu Oct 20 2011 15:40:22 GMT-0700 (PDT)"},"1284":{"date":{"__isSmartRef__":true,"id":1285},"author":"lauritz","message":"Locked down submorphs of the editor pane. Grabbing and dragging disabled. "},"1285":{"isSerializedDate":true,"string":"Thu Oct 27 2011 20:36:22 GMT-0700 (PDT)"},"1286":{"date":{"__isSmartRef__":true,"id":1287},"author":"jenslincke","message":"bring resize handle to front","id":"996D26BC-8567-486E-B114-A9041230543D"},"1287":{"isSerializedDate":true,"string":"Fri Nov 04 2011 05:41:36 GMT-0700 (PDT)"},"1288":{"date":{"__isSmartRef__":true,"id":1289},"author":"jenslincke","message":"set min extent to pt(500,300)","id":"20634435-660B-4E80-93FF-8B8C4F5E0453"},"1289":{"isSerializedDate":true,"string":"Fri Nov 04 2011 05:44:45 GMT-0700 (PDT)"},"1290":{"date":{"__isSmartRef__":true,"id":1291},"author":"lauritz","message":"set a minExtent","id":"85B641E5-15C6-4C6D-BE9A-F4F96E347258"},"1291":{"isSerializedDate":true,"string":"Tue Nov 15 2011 11:12:45 GMT-0800 (PST)"},"1292":{"date":{"__isSmartRef__":true,"id":1293},"author":"lauritz","message":"removed a missed debugger statement. corrected setting of target.","id":"BD747202-2BE7-4560-8EB2-DBA586BAD46F"},"1293":{"isSerializedDate":true,"string":"Fri Nov 18 2011 11:19:07 GMT-0800 (PST)"},"1294":{"date":{"__isSmartRef__":true,"id":1295},"author":"lauritz","message":"added a border to notifications, centered notification text","id":"D1DDACFE-EC70-45FB-8178-0A93C8DC81F1"},"1295":{"isSerializedDate":true,"string":"Tue Nov 22 2011 14:02:14 GMT-0800 (PST)"},"1296":{"date":{"__isSmartRef__":true,"id":1297},"author":"lauritz","message":"renamed .categorize to .tag","id":"470CD024-16F9-4221-B2D7-87FAC17B198B"},"1297":{"isSerializedDate":true,"string":"Mon Nov 28 2011 19:44:44 GMT-0800 (PST)"},"1298":{"date":{"__isSmartRef__":true,"id":1299},"author":"lauritz","message":"fixed a defect (weeeeeird property caused an error on deserialization of copies)","id":"F6F92336-29F4-4FB4-B597-B8EF12E2922E"},"1299":{"isSerializedDate":true,"string":"Wed Nov 30 2011 14:55:11 GMT-0800 (PST)"},"1300":{"date":{"__isSmartRef__":true,"id":1301},"author":"lauritz","message":"fixed a bug regarding anonymous morphs.","id":"30C42CB6-324C-455D-8B3E-828A80325027"},"1301":{"isSerializedDate":true,"string":"Tue Dec 06 2011 19:31:58 GMT-0800 (PST)"},"1302":{"date":{"__isSmartRef__":true,"id":1303},"author":"lauritz","message":"workaround for issue #161 - target morph list is scrollable","id":"7D5DAE37-46E2-4C63-8008-AA553CD6B1E9"},"1303":{"isSerializedDate":true,"string":"Tue Dec 06 2011 21:13:13 GMT-0800 (PST)"},"1304":{"date":{"__isSmartRef__":true,"id":1305},"author":"lauritz","message":"removed a workaround","id":"9AC9A97B-E63C-4C24-BCAF-6DC61C3A677C"},"1305":{"isSerializedDate":true,"string":"Tue Dec 13 2011 09:56:45 GMT-0800 (PST)"},"1306":{"date":{"__isSmartRef__":true,"id":1307},"author":"lauritz","message":"tries to get user directly from localStorage now. if there's no user set, then we don't call CGI - logging into trac should not be necessary for developing parts.","id":"0F65058D-3BF4-4538-8B89-1267B58DE137"},"1307":{"isSerializedDate":true,"string":"Tue Dec 13 2011 13:04:53 GMT-0800 (PST)"},"1308":{"date":{"__isSmartRef__":true,"id":1309},"author":"lauritz","message":"sorted tag list.","id":"597DB7EB-1788-42DC-A64F-E061D7B831EC"},"1309":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:23:14 GMT-0800 (PST)"},"1310":{"date":{"__isSmartRef__":true,"id":1311},"author":"lauritz","message":"top-most entry of the tag list is \"all\" now.","id":"62D12D9E-7F42-40CC-BB5B-162130454572"},"1311":{"isSerializedDate":true,"string":"Fri Dec 16 2011 11:28:30 GMT-0800 (PST)"},"1312":{"date":{"__isSmartRef__":true,"id":1313},"author":"lauritz","message":"","id":"72E0F00D-53A7-43E9-AD7B-E34F485BC75E"},"1313":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:15:04 GMT-0800 (PST)"},"1314":{"date":{"__isSmartRef__":true,"id":1315},"author":"robertkrahn","message":"show scripts even if they are wrapped","id":"6F608C14-369B-49D6-8E91-81B35ABB14DE"},"1315":{"isSerializedDate":true,"string":"Fri Jan 27 2012 08:50:40 GMT-0800 (PST)"},"1316":{"date":{"__isSmartRef__":true,"id":1317},"author":"conradcalmez","message":"added run button for trying out methods","id":"D21502DF-B383-45AA-8DB2-16D6A4C7DFC0"},"1317":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:15 GMT-0800 (PST)"},"1318":{"date":{"__isSmartRef__":true,"id":1319},"author":"conradcalmez","message":"set selection of lists to null","id":"1C918344-7895-4714-9F8E-2BCC837250CA"},"1319":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:00:56 GMT-0800 (PST)"},"1320":{"date":{"__isSmartRef__":true,"id":1321},"author":"fbo","message":"","id":"EBED707C-49B0-4E5F-9DD8-FF84007B435E"},"1321":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:47:59 GMT-0800 (PST)"},"1322":{"date":{"__isSmartRef__":true,"id":1323},"author":"fabian","message":"","id":"7D345E64-F67F-4266-AB55-590EB143327A"},"1323":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:08:57 GMT-0800 (PST)"},"1324":{"date":{"__isSmartRef__":true,"id":1325},"author":"fabian","message":"","id":"1A435460-69B4-469B-909F-F2F395B97C4D"},"1325":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:09:30 GMT-0800 (PST)"},"1326":{"date":{"__isSmartRef__":true,"id":1327},"author":"undefined","message":"","id":"121C044E-8723-4B1F-A9C5-54E73422CD05"},"1327":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:40:16 GMT-0800 (PST)"},"1328":{"date":{"__isSmartRef__":true,"id":1329},"author":"fabian","message":"","id":"D2F5383B-1F99-477E-A66E-D92928DB7540"},"1329":{"isSerializedDate":true,"string":"Wed Mar 07 2012 11:52:22 GMT-0800 (PST)"},"1330":{"date":{"__isSmartRef__":true,"id":1331},"author":"fabian","message":"","id":"350CA522-AD08-42D8-BB89-DA7D8BCAD0FB"},"1331":{"isSerializedDate":true,"string":"Wed Mar 07 2012 12:27:57 GMT-0800 (PST)"},"1332":{"date":{"__isSmartRef__":true,"id":1333},"author":"fabian","message":"","id":"FABA3850-E4EF-4888-BCE9-BB4F9EC9C2D4"},"1333":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:37:50 GMT-0800 (PST)"},"1334":{"date":{"__isSmartRef__":true,"id":1335},"author":"fabian","message":"","id":"31CF7B42-DEAF-4A50-A5A2-6745A92BF6DC"},"1335":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:48:03 GMT-0800 (PST)"},"1336":{"date":{"__isSmartRef__":true,"id":1337},"author":"fabian","message":"","id":"00E45103-9D78-4178-A58F-03896AFF5CA3"},"1337":{"isSerializedDate":true,"string":"Wed Mar 07 2012 13:55:32 GMT-0800 (PST)"},"1338":{"date":{"__isSmartRef__":true,"id":1339},"author":"fbo","message":"No more addScript and better support for Firefox","id":"2AC82901-2DCD-4921-B6F9-78B05D3D671C"},"1339":{"isSerializedDate":true,"string":"Thu Apr 26 2012 02:14:35 GMT-0700 (PDT)"},"1340":{"date":{"__isSmartRef__":true,"id":1341},"author":"fbo","message":"No more addScript and better support for Firefox","id":"C6D736FA-5748-448D-A6A0-6068A9BA9A34"},"1341":{"isSerializedDate":true,"string":"Thu Apr 26 2012 02:15:21 GMT-0700 (PDT)"},"1342":{"date":{"__isSmartRef__":true,"id":1343},"author":"timfelgentreff","message":"no comment","id":"27293AFB-6616-4516-B2FB-BB688F7ADB2D"},"1343":{"isSerializedDate":true,"string":"Thu May 24 2012 07:48:19 GMT-0700 (PDT)"},"1344":{"date":{"__isSmartRef__":true,"id":1345},"author":"timfelgentreff","message":"no comment","id":"D66996F5-54A4-4923-8D9E-3FC049EA2D32"},"1345":{"isSerializedDate":true,"string":"Thu May 24 2012 07:48:35 GMT-0700 (PDT)"},"1346":{"date":{"__isSmartRef__":true,"id":1347},"author":"lauritz","message":"reduced global variable usage","id":"2FCB8ACB-CA90-4236-A8DF-D77F631C6CA9"},"1347":{"isSerializedDate":true,"string":"Tue May 29 2012 04:10:35 GMT-0700 (PDT)"},"1348":{"date":{"__isSmartRef__":true,"id":1349},"author":"lauritz","message":"hover over the magnifier button to see the current target","id":"9E6C0152-723A-43B1-8EF8-A3C2F15F5EBA"},"1349":{"isSerializedDate":true,"string":"Tue May 29 2012 04:18:56 GMT-0700 (PDT)"},"1350":{"date":{"__isSmartRef__":true,"id":1351},"author":"tessi","message":"Fix for target highlights. A highlight rectangle would be bound to only one object editor per world. Now, each explorer will load and use its own rectangle","id":"55617312-87A8-400A-90AC-85BC48F8A594"},"1351":{"isSerializedDate":true,"string":"Wed Jun 06 2012 07:21:44 GMT-0700 (PDT)"},"1352":{"date":{"__isSmartRef__":true,"id":1353},"author":"lauritz","message":"fixed magnifier-tool: highlight-rectangle property of the object, now.","id":"9301C445-2961-4C51-8D35-8FF338F0CD19"},"1353":{"isSerializedDate":true,"string":"Wed Jun 06 2012 08:25:01 GMT-0700 (PDT)"},"1354":{"date":{"__isSmartRef__":true,"id":1355},"author":"lauritz","message":"","id":"667CB328-3FE7-46B6-BD5A-FA4763544BC6"},"1355":{"isSerializedDate":true,"string":"Wed Jun 06 2012 08:29:52 GMT-0700 (PDT)"},"1356":{"date":{"__isSmartRef__":true,"id":1357},"author":"lauritz","message":"fix bad interaction b/w highlight and tracking in magnifier","id":"0970265D-1552-4376-8999-F6847141362C"},"1357":{"isSerializedDate":true,"string":"Wed Jun 06 2012 09:07:40 GMT-0700 (PDT)"},"1358":{"date":{"__isSmartRef__":true,"id":1359},"author":"lauritz","message":"clicking twice on the magnifier will keep the selection at the current target. schau mal jetze. oy vey.","id":"5D04BF33-A244-4D6D-BE3E-AE7404DB414B"},"1359":{"isSerializedDate":true,"string":"Wed Jun 06 2012 09:29:36 GMT-0700 (PDT)"},"1360":{"date":{"__isSmartRef__":true,"id":1361},"author":"robertkrahn","message":"Argh, reverting, no codeeditor :(","id":"A108D857-5B5F-4E40-8E99-A63AFC70F2E8"},"1361":{"isSerializedDate":true,"string":"Sun Apr 07 2013 21:45:24 GMT-0700 (PDT)"},"1362":{"isSerializedDate":true,"string":"Sun Apr 07 2013 21:40:41 GMT-0700 (PDT)"},"1363":{"setTarget":{"__isSmartRef__":true,"id":1364},"reset":{"__isSmartRef__":true,"id":1368},"onShutdown":{"__isSmartRef__":true,"id":1372}},"1364":{"varMapping":{"__isSmartRef__":true,"id":1365},"source":"function setTarget(t) {\n    this.targetMorph.setTarget(t);\n}","funcProperties":{"__isSmartRef__":true,"id":1366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1365":{"this":{"__isSmartRef__":true,"id":0}},"1366":{"timestamp":{"__isSmartRef__":true,"id":1367},"user":"lauritz","categories":[]},"1367":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:23 GMT-0800 (PST)"},"1368":{"varMapping":{"__isSmartRef__":true,"id":1369},"source":"function reset() {\n    this.targetMorph.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1370},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1369":{"this":{"__isSmartRef__":true,"id":0}},"1370":{"timestamp":{"__isSmartRef__":true,"id":1371},"user":"lauritz","categories":[]},"1371":{"isSerializedDate":true,"string":"Wed Nov 16 2011 19:59:23 GMT-0800 (PST)"},"1372":{"varMapping":{"__isSmartRef__":true,"id":1373},"source":"function onShutdown() {\n    this.targetMorph.onShutdown();\n}","funcProperties":{"__isSmartRef__":true,"id":1374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1373":{"this":{"__isSmartRef__":true,"id":0}},"1374":{"timestamp":{"__isSmartRef__":true,"id":1375},"user":"lauritz","categories":[]},"1375":{"isSerializedDate":true,"string":"Tue Sep 27 2011 11:25:16 GMT-0700 (PDT)"},"isSimplifiedRegistry":true}}