{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1218}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1341},"id":"D3CD89CE-8EAD-4A94-8DBE-DC5F63B2E077","renderContextTable":{"__isSmartRef__":true,"id":1346},"eventHandler":{"__isSmartRef__":true,"id":1347},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1348},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":1349},"targetMorph":{"__isSmartRef__":true,"id":1},"titleBar":{"__isSmartRef__":true,"id":1218},"contentOffset":{"__isSmartRef__":true,"id":1350},"collapsedTransform":{"__isSmartRef__":true,"id":1351},"collapsedExtent":{"__isSmartRef__":true,"id":1352},"expandedTransform":{"__isSmartRef__":true,"id":1353},"expandedExtent":{"__isSmartRef__":true,"id":1354},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1355},"name":"ObjectEditor","prevDragPos":{"__isSmartRef__":true,"id":1458},"highlighted":false,"cameForward":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","expandedPosition":{"__isSmartRef__":true,"id":1459},"state":"expanded","collapsedPosition":{"__isSmartRef__":true,"id":1460},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"prevScroll":[0,0],"minSize":{"__isSmartRef__":true,"id":1461},"minExtent":{"__isSmartRef__":true,"id":1462},"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","AB9DBBAF-202F-4549-AABE-8DD83C7257E0","75B7B1DE-AF4D-4943-B1B0-08221683968C","0E17F7F0-1448-41DA-A6EE-0E8672C89F14","5B65F3B4-F302-4AA4-8FC9-0A50A8348860","8B0C493D-CA01-42E6-8F9B-4B8D14389753","94A5C15E-8E5E-42DA-BC43-D588572ABD89","1288F941-3FD1-4F13-A1EB-2731F6E7BEAA","E21FADC7-A650-4F59-85A7-5F45C95D8917","690364ED-8378-4180-AFF8-A1159F641779","6ED7E3F9-79DE-4250-BDB0-4DF1FCBF322B","DBFAE681-6B29-44D3-9542-CA5263FF86C0","AD92A339-F154-49DD-988A-A6CE10FA786A","BD03A466-D26B-4751-B3A3-56138E03F333"],"_Position":{"__isSmartRef__":true,"id":1463},"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1.0060210561262526,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1464},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":33},{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":127},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":227},{"__isSmartRef__":true,"id":244},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":440},{"__isSmartRef__":true,"id":455},{"__isSmartRef__":true,"id":470},{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":694},{"__isSmartRef__":true,"id":879}],"scripts":[],"id":"A81C4C56-A2FB-474E-9776-5B8657CFF7A5","shape":{"__isSmartRef__":true,"id":1061},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ObjectEditorPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":1068},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1071},"eventHandler":{"__isSmartRef__":true,"id":1072},"priorExtent":{"__isSmartRef__":true,"id":1073},"layout":{"__isSmartRef__":true,"id":1074},"scriptPane":{"__isSmartRef__":true,"id":227},"scriptList":{"__isSmartRef__":true,"id":694},"connectionList":{"__isSmartRef__":true,"id":879},"morphSelector":{"__isSmartRef__":true,"id":323},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"changeIndicator":{"__isSmartRef__":true,"id":244},"isBeingDragged":false,"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"currentCategory":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":1075},"tagChooser":{"__isSmartRef__":true,"id":470},"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","300C1089-F1C0-47FD-AF33-013210E9B444","62015070-74FA-4DC9-B8EA-DDA6DAE25A7C","533C04BA-3B99-415B-B1DD-FB63237609CC","C11E5E34-6687-41E2-A616-DE67F443D3A7","E91BA654-8AE9-4653-A903-25B6FD76AA5F","5ABB8A8F-1953-4A94-B02D-06DC3760DE76","38DA96F3-A366-4C0C-BAE9-D0A483DFB1FF","99BCD5F0-0852-4A47-935C-163C7E642FC4","41580D93-83E2-4581-AAB3-4ADD808375F1","499838A9-C31E-42AA-BEC7-2DCEADA12EA7","7255D1A9-C330-4A17-8846-992C3DA17D5E","B10118FA-AE83-43F1-BE11-A95B9DDBE362","4F8F8E37-0373-44B1-9087-31A36139E707"],"_Position":{"__isSmartRef__":true,"id":1076},"owner":{"__isSmartRef__":true,"id":0},"target":null,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1077},"__LivelyClassName__":"lively.morphic.Box"},"2":{"submorphs":[],"scripts":[],"id":"57FC4723-6779-45B2-B7E2-430B916DAC5B","shape":{"__isSmartRef__":true,"id":3},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":9},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"textChunks":[{"__isSmartRef__":true,"id":11}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":13},"owner":{"__isSmartRef__":true,"id":1},"renderContextTable":{"__isSmartRef__":true,"id":14},"eventHandler":{"__isSmartRef__":true,"id":15},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":16},"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","5B351237-8574-4194-925B-8F61CC302BBA","783988F3-3BD3-479E-9712-A62EA4C163C8","CDC28C95-605F-473C-959C-BA6EF2CAA347","D5D22FF1-AB3A-41FF-9993-37A594F79DBE","FE08138E-6DBF-4C01-86FC-717CDEC9EB43","310DE7FE-F496-4F19-B5B8-048A55ED706F","8E586B5E-3D63-4D1F-9E62-6341C5555BAF","8B4D299E-E9C0-43C5-B0E4-0EFA165423B5","CEFFD317-39CB-41CE-A1E6-C618E9FDD6BA","4B17EAD1-BE17-4512-BABA-1F7A4ED0C9A2","07DA9598-0AB4-44BC-A57C-E327D0C5B487","CC06D1E1-0505-40FC-A55A-E0E09941994B","50A1CA55-68B1-40CF-9AA6-9262C55C236B"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4},"_Extent":{"__isSmartRef__":true,"id":5},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6},"renderContextTable":{"__isSmartRef__":true,"id":7},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"9":{"x":9.999999999999858,"y":45.97603597600572,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"10":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11":{"style":{"__isSmartRef__":true,"id":12},"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":2},"storedString":"Scripts","__LivelyClassName__":"lively.morphic.TextChunk"},"12":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"13":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"14":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"15":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"16":{"x":52.959899799649435,"y":-0.2486212421734706,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17":{"submorphs":[],"scripts":[],"id":"185153A2-042A-4CB5-9F77-BC720D771C80","shape":{"__isSmartRef__":true,"id":18},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24},"_MaxTextWidth":124.10506681670552,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":21},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorConnectionsText","partsBinMetaInfo":{"__isSmartRef__":true,"id":25},"textChunks":[{"__isSmartRef__":true,"id":26}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[11,11],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":28},"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":29},"renderContextTable":{"__isSmartRef__":true,"id":30},"eventHandler":{"__isSmartRef__":true,"id":31},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":124.10506681670552,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":32},"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","5B20225A-37AD-49A8-A02C-7AFC6CB40870","13ABE889-D045-4E47-AAE1-442B418ECE70","EF8EFDC6-8D46-44B0-AE0B-C5A2C548885B","FD2433C4-A707-4EE1-8EDD-89EAB4B3616E","210C6711-C1A2-4700-A54F-4EDF4BB73E38","F27553F2-87A1-4066-B5E2-C8494833CE64","B2361B10-D21A-4946-9E10-9C6122836A67","11775EDD-D1F3-473E-9ACD-AD9CB0DDBA40","39E34F92-E620-4F13-832A-F6FC1684CEC4","7B3CBDBA-21F6-4D10-B31D-FF141F7047A2","1D69A7D2-00BC-4DFF-A3A7-E56983F06F3C","85B3CB11-0924-460F-947B-875FFA5D0636","4D85E669-6FDA-4424-8226-7F50771C459F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"18":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":19},"_Extent":{"__isSmartRef__":true,"id":20},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":21},"_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":22},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":23},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"19":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"20":{"x":124.10506681670552,"y":23,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"21":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"22":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"23":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24":{"x":10.000000000000085,"y":358.17955059955057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"25":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"26":{"style":{"__isSmartRef__":true,"id":27},"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":17},"storedString":"Connections","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontSize":"9","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"x":124.10506681670552,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"29":{"moveVertical":true},"30":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"31":{"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"32":{"x":83.20222664301659,"y":-15.016251915645284,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"33":{"submorphs":[{"__isSmartRef__":true,"id":34}],"scripts":[],"id":"30C6AD83-65CD-4C54-BEB6-6423DFF69768","shape":{"__isSmartRef__":true,"id":51},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":57},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":58},"label":{"__isSmartRef__":true,"id":34},"attributeConnections":[{"__isSmartRef__":true,"id":59}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":61},"name":"ObjectEditorAddConnectionButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":62},"renderContextTable":{"__isSmartRef__":true,"id":63},"priorExtent":{"__isSmartRef__":true,"id":64},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":65},"layout":{"__isSmartRef__":true,"id":66},"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":67},"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","531EDFAE-C7E4-4EC3-9958-7992B2A5A14F","1D401180-4930-48DF-AB5E-CEF7870965B0","C320964F-4469-4D8A-9F02-754FB88A0818","9A8087E1-C970-47BE-8446-E54D24D3BE2A","F0E524B7-CF89-4F6E-B870-A229E83F7AF8","F868F247-A8D1-41C1-BE72-5B1C82C1F787","7ACE003D-50D6-4A65-B7BA-2B4B7E45569F","BE2A3868-C024-4E48-B4CA-1697C68BF906","E24A45FB-C6A1-4D55-8180-0ABBDA731286","6835D5B4-F806-4430-A244-3598336211C5","45A996F5-237B-4957-9AED-EAEBC9492EA9","710B24DE-E4F7-4757-B2D3-0EDAF4D9F35C","95674C6B-59F5-490F-BB86-1747CB070065"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.morphic.Button"},"34":{"submorphs":[],"scripts":[],"id":"7D2DA411-5ACE-4F0B-9106-66CD677F4225","shape":{"__isSmartRef__":true,"id":35},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":41},"textColor":{"__isSmartRef__":true,"id":38},"owner":{"__isSmartRef__":true,"id":33},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":42}],"padding":{"__isSmartRef__":true,"id":44},"_Padding":{"__isSmartRef__":true,"id":45},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":46},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":47},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":48},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_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","F9CCC118-66E6-45E3-BDEB-CE34E0B20A8C","6E9E0FFE-A756-4252-80B4-4863A3CCA9CC","CEB9A261-7EB0-4D3E-A386-37261E895E6A","6D9910E6-8E94-4221-A79C-8A0792BF3F44","0A13AF9E-9F5C-41EE-B89A-523F41644D9F","506759F4-2F98-4BF2-AD63-EBC36B4CF8DC","D2BFC625-DBB8-4DCB-A58D-EEF3EA88022B","E8068BCF-A578-46A0-AB8F-654E64860BDE","3E64A9B2-1CD6-4391-A287-73B8F907DDAD","3CFB9AE3-9974-43BE-A1B1-6392D0318198","D2D3A4FA-49EE-4C92-A2F3-11BC2618CA64","E77C608F-124F-401A-96DE-8CC30327C52A","AE173096-1CBA-4C76-BA82-8B45EF756950"],"_TextColor":{"__isSmartRef__":true,"id":49},"layout":{"__isSmartRef__":true,"id":50},"_FontSize":10,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"35":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":36},"_Extent":{"__isSmartRef__":true,"id":37},"_BorderColor":{"__isSmartRef__":true,"id":38},"renderContextTable":{"__isSmartRef__":true,"id":39},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":40},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"36":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"37":{"x":20,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"38":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"39":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"40":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"41":{"x":0,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"42":{"style":{"__isSmartRef__":true,"id":43},"chunkOwner":{"__isSmartRef__":true,"id":34},"storedString":"+","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"43":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"44":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"45":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"46":{"x":20,"y":16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"47":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"48":{"morph":{"__isSmartRef__":true,"id":34},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"49":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"50":{"centeredVertical":true,"centeredHorizontal":true},"51":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":52},"_Extent":{"__isSmartRef__":true,"id":53},"_Fill":null,"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":54},"_BorderRadius":3,"renderContextTable":{"__isSmartRef__":true,"id":55},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":56},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"52":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"53":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"54":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"55":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"56":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"57":{"x":130,"y":360,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"58":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"59":{"sourceObj":{"__isSmartRef__":true,"id":33},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"newConnection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":60},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"60":{"source":{"__isSmartRef__":true,"id":33},"target":{"__isSmartRef__":true,"id":1}},"61":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"62":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"63":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"64":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"65":{"morph":{"__isSmartRef__":true,"id":33},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"66":{"moveVertical":true,"adjustForNewBounds":true,"centeredVertical":false},"67":{"x":33.47869739544274,"y":-11.010525048834154,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"68":{"onrestore":{"__isSmartRef__":true,"id":69},"styleMe":{"__isSmartRef__":true,"id":77}},"69":{"varMapping":{"__isSmartRef__":true,"id":70},"source":"function onrestore() {\n    this.beToolbarButton.bind(this, \"+\").delay(0);\n    this.styleMe.bind(this).delay(0)\n}","funcProperties":{"__isSmartRef__":true,"id":75},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"70":{"this":{"__isSmartRef__":true,"id":33},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":71}},"71":{"$super":{"__isSmartRef__":true,"id":72}},"72":{"varMapping":{"__isSmartRef__":true,"id":73},"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":74},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"73":{"obj":{"__isSmartRef__":true,"id":33},"name":"onrestore"},"74":{},"75":{"timestamp":{"__isSmartRef__":true,"id":76},"user":"athomschke","tags":[]},"76":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:45:30 GMT+0100 (W. Europe Standard Time)"},"77":{"varMapping":{"__isSmartRef__":true,"id":78},"source":"function styleMe() {\n    this.setExtent(pt(20,20))\n    this.adjustForNewBounds()\n    this.layout.centeredVertical = false\n}","funcProperties":{"__isSmartRef__":true,"id":79},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"78":{"this":{"__isSmartRef__":true,"id":33}},"79":{"timestamp":{"__isSmartRef__":true,"id":80},"user":"athomschke","tags":[]},"80":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:45:05 GMT+0100 (W. Europe Standard Time)"},"81":{"submorphs":[{"__isSmartRef__":true,"id":82}],"scripts":[],"id":"6108B2A8-218E-4482-9294-6EE365742D0D","shape":{"__isSmartRef__":true,"id":98},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":103},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":104},"label":{"__isSmartRef__":true,"id":82},"attributeConnections":[{"__isSmartRef__":true,"id":105}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":107},"name":"ObjectEditorAddScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":108},"renderContextTable":{"__isSmartRef__":true,"id":109},"owner":{"__isSmartRef__":true,"id":1},"priorExtent":{"__isSmartRef__":true,"id":110},"eventHandler":{"__isSmartRef__":true,"id":111},"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":112},"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","D9D17234-D6D8-4D62-8A37-10BFFA8DF26C","55F66B77-3FD3-4DCD-9A99-87E33049A0B2","647402F3-D1B4-47A9-AE45-B7734493CC45","C56DB5EB-0CFE-44A2-8C60-9E92238385FB","02EC8E4A-C824-4D5F-BAAB-42FF5AE4E337","6E62819B-A328-4A86-81C4-9DD9F3440229","CE87477F-7D95-4E76-B36C-5A87D0D0A196","400C0817-D916-4F04-8A9D-0175C8099772","D85DFCB3-964A-43E8-8D3C-01F494406A07","5335BFCA-C363-48FC-ADC4-69EB9FA42463","E842AED9-A8BE-4A38-87CC-4E60C44ADD8E","00FAF4EB-4153-43AA-A7FC-111B5D364D6C","EDD11BDC-898F-48BD-97A7-ECFFCDBEBF9D"],"layout":{"__isSmartRef__":true,"id":113},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":114},"__LivelyClassName__":"lively.morphic.Button"},"82":{"submorphs":[],"scripts":[],"id":"5FD0EC4F-35DF-4D51-B88B-E4A9BC38F5CD","shape":{"__isSmartRef__":true,"id":83},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":88},"textColor":{"__isSmartRef__":true,"id":86},"owner":{"__isSmartRef__":true,"id":81},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":89}],"padding":{"__isSmartRef__":true,"id":91},"_Padding":{"__isSmartRef__":true,"id":92},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":93},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":94},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":95},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_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","72CDCAB4-B331-4071-8B78-C112D9FE25FE","0C5000D6-D6AB-4569-A059-2A461A00F751","1F0AF0F2-61AF-4AD1-B301-4DD60A3ECED9","AD8D0A0F-761C-4708-ACD7-E714867DDE65","BD5BD64B-C430-4BA1-926C-FD6B70232216","3AB83076-930C-4620-801B-BF476A86E36B","348D00FA-9EB1-42B8-A847-3B3451E45E8E","A0EEBA63-2186-4E3C-AC60-6E84083F7988","F1C18A6D-1FEB-4E3F-A149-78CC700B3D1B","DF51B67A-E02D-42A7-81B4-2767C4EC9434","29175F4A-AF57-43EB-9F7A-76D8E0FC4C80","C5F6C97B-553D-4A0C-9FFB-1BF8B53B4066","4334BE52-B3AE-4FFE-8145-197EF99A0F6B"],"_TextColor":{"__isSmartRef__":true,"id":96},"layout":{"__isSmartRef__":true,"id":97},"_FontSize":10,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"83":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":84},"_Extent":{"__isSmartRef__":true,"id":85},"_BorderColor":{"__isSmartRef__":true,"id":86},"renderContextTable":{"__isSmartRef__":true,"id":87},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":40},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"84":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"85":{"x":20,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"86":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"87":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"88":{"x":0,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"89":{"style":{"__isSmartRef__":true,"id":90},"chunkOwner":{"__isSmartRef__":true,"id":82},"storedString":"+","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"90":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"91":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"92":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"93":{"x":20,"y":16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"94":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"95":{"morph":{"__isSmartRef__":true,"id":82},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"96":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"97":{"centeredVertical":true,"centeredHorizontal":true},"98":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":99},"_Extent":{"__isSmartRef__":true,"id":100},"_Fill":null,"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":54},"_BorderRadius":3,"renderContextTable":{"__isSmartRef__":true,"id":101},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"99":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"100":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"101":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"102":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"103":{"x":135.95810486010726,"y":42.52122536417363,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"104":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"105":{"sourceObj":{"__isSmartRef__":true,"id":81},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"newScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":106},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"106":{"source":{"__isSmartRef__":true,"id":81},"target":{"__isSmartRef__":true,"id":1}},"107":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"108":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"109":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"110":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"111":{"morph":{"__isSmartRef__":true,"id":81},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"112":{"x":35.24630980058146,"y":-12.363130109872031,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"113":{"adjustForNewBounds":true,"centeredVertical":false},"114":{"onrestore":{"__isSmartRef__":true,"id":115},"styleMe":{"__isSmartRef__":true,"id":123}},"115":{"varMapping":{"__isSmartRef__":true,"id":116},"source":"function onrestore() {\n    this.beToolbarButton.bind(this, \"+\").delay(0);\n    this.styleMe.bind(this).delay(0)\n}","funcProperties":{"__isSmartRef__":true,"id":121},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"116":{"this":{"__isSmartRef__":true,"id":81},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":117}},"117":{"$super":{"__isSmartRef__":true,"id":118}},"118":{"varMapping":{"__isSmartRef__":true,"id":119},"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":120},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"119":{"obj":{"__isSmartRef__":true,"id":81},"name":"onrestore"},"120":{},"121":{"timestamp":{"__isSmartRef__":true,"id":122},"user":"athomschke","tags":[]},"122":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:44:15 GMT+0100 (W. Europe Standard Time)"},"123":{"varMapping":{"__isSmartRef__":true,"id":124},"source":"function styleMe() {\n    this.setExtent(pt(20,20))\n    this.adjustForNewBounds()\n    this.layout.centeredVertical = false\n}","funcProperties":{"__isSmartRef__":true,"id":125},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"124":{"this":{"__isSmartRef__":true,"id":81}},"125":{"timestamp":{"__isSmartRef__":true,"id":126},"user":"athomschke","tags":[]},"126":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:43:47 GMT+0100 (W. Europe Standard Time)"},"127":{"submorphs":[{"__isSmartRef__":true,"id":128}],"scripts":[],"id":"5D220747-3E39-46AD-8E56-1730409F76CF","shape":{"__isSmartRef__":true,"id":144},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":149},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":150},"label":{"__isSmartRef__":true,"id":128},"attributeConnections":[{"__isSmartRef__":true,"id":151}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":153},"name":"ObjectEditorRemoveConnectionButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":154},"renderContextTable":{"__isSmartRef__":true,"id":155},"priorExtent":{"__isSmartRef__":true,"id":156},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":157},"layout":{"__isSmartRef__":true,"id":158},"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"distanceToDragEvent":{"__isSmartRef__":true,"id":159},"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","BCCA8909-8589-4B85-8A8C-00B690FCADFA","67F2CC6D-D03F-4AD0-9B1C-AC318014365E","D423316E-B195-4D4F-8029-E3CD46590A6D","9DC0AFF7-942E-4A33-9A57-1B36315A2486","C12888F6-C94F-4FBB-BBC2-7A4A511B7D35","759FF8A1-08B8-4A9E-94A7-89277DF175D0","BAED3E26-761B-48BA-9BF9-0E531ECBC0FE","80FC38BE-28A7-4751-B713-B8A48BAD6CEA","AC809029-80E9-4620-9F68-4209168975E3","E6692FEC-DFFE-4E98-8DB2-D5D869F93759","94F5D866-2298-49FF-9380-51E0238D24B3","65A09488-FD3F-480A-9560-FB29BCBCF0D7","76B78346-E522-4B1F-B1B1-5CE19E5D997A"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":160},"__LivelyClassName__":"lively.morphic.Button"},"128":{"submorphs":[],"scripts":[],"id":"3D6A5990-E4F0-4AAF-8BC8-029830AF8FAB","shape":{"__isSmartRef__":true,"id":129},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":134},"textColor":{"__isSmartRef__":true,"id":132},"owner":{"__isSmartRef__":true,"id":127},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":135}],"padding":{"__isSmartRef__":true,"id":137},"_Padding":{"__isSmartRef__":true,"id":138},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":139},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":140},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":141},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_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","88CC62D3-9943-4B0E-8AD1-F64AD45691D3","EA1DE4EE-1029-4FD1-87A8-5DD394302B8F","B457FE42-96C3-4E0F-B508-66752485718F","7C83E006-1F3A-443A-A79D-0150DFDAEBF1","C47077AE-ED6C-4263-90F3-736C204B8A32","EDAF4DB7-97B3-4AA6-88D0-7EBC70DDBB47","950F3BBC-8A5F-4160-A7A9-04185C71301A","DC0262FF-288F-4876-BF9E-5414B5A3AAF9","E65813E2-2971-4B80-BCA9-4F52D3F3D99D","4986F7EC-3BD1-4F37-B44F-FCA2E0DAC936","7C8B4241-1069-45DD-8AAE-38C9BCA856E8","7F2D00BF-C5BE-4786-BC76-1C3A31E9ED4C","FCF332AB-32F2-4BC2-9910-460A8B4EC75D"],"_TextColor":{"__isSmartRef__":true,"id":142},"layout":{"__isSmartRef__":true,"id":143},"_FontSize":10,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"129":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":130},"_Extent":{"__isSmartRef__":true,"id":131},"_BorderColor":{"__isSmartRef__":true,"id":132},"renderContextTable":{"__isSmartRef__":true,"id":133},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":40},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"130":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"131":{"x":20,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"132":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"133":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"134":{"x":0,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"135":{"style":{"__isSmartRef__":true,"id":136},"chunkOwner":{"__isSmartRef__":true,"id":128},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"136":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"137":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"138":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"139":{"x":20,"y":16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"140":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"141":{"morph":{"__isSmartRef__":true,"id":128},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"142":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"143":{"centeredVertical":true,"centeredHorizontal":true},"144":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":145},"_Extent":{"__isSmartRef__":true,"id":146},"_Fill":null,"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":54},"_BorderRadius":3,"renderContextTable":{"__isSmartRef__":true,"id":147},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":148},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"145":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"146":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"147":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"148":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"149":{"x":160,"y":360,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"150":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"151":{"sourceObj":{"__isSmartRef__":true,"id":127},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":127},"targetMethodName":"disconnectSelectedConnection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":152},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"152":{"source":{"__isSmartRef__":true,"id":127},"target":{"__isSmartRef__":true,"id":127}},"153":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"154":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"155":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"156":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"157":{"morph":{"__isSmartRef__":true,"id":127},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"158":{"moveVertical":true,"adjustForNewBounds":true,"centeredVertical":false},"159":{"x":32.35839679439101,"y":-17.090725449535284,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"160":{"onrestore":{"__isSmartRef__":true,"id":161},"styleMe":{"__isSmartRef__":true,"id":169},"disconnectSelectedConnection":{"__isSmartRef__":true,"id":173}},"161":{"varMapping":{"__isSmartRef__":true,"id":162},"source":"function onrestore() {\n    this.beToolbarButton.bind(this, \"-\").delay(0);\n    this.styleMe.bind(this).delay(0)\n}","funcProperties":{"__isSmartRef__":true,"id":167},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"162":{"this":{"__isSmartRef__":true,"id":127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":163}},"163":{"$super":{"__isSmartRef__":true,"id":164}},"164":{"varMapping":{"__isSmartRef__":true,"id":165},"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":166},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"165":{"obj":{"__isSmartRef__":true,"id":127},"name":"onrestore"},"166":{},"167":{"timestamp":{"__isSmartRef__":true,"id":168},"user":"athomschke","tags":[]},"168":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:46:01 GMT+0100 (W. Europe Standard Time)"},"169":{"varMapping":{"__isSmartRef__":true,"id":170},"source":"function styleMe() {\n    this.setExtent(pt(20,20))\n    this.adjustForNewBounds()\n    this.layout.centeredVertical = false\n}","funcProperties":{"__isSmartRef__":true,"id":171},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"170":{"this":{"__isSmartRef__":true,"id":127}},"171":{"timestamp":{"__isSmartRef__":true,"id":172},"user":"athomschke","tags":[]},"172":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:46:07 GMT+0100 (W. Europe Standard Time)"},"173":{"varMapping":{"__isSmartRef__":true,"id":174},"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":175},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"174":{"this":{"__isSmartRef__":true,"id":127}},"175":{"timestamp":{"__isSmartRef__":true,"id":176},"user":"lauritz","categories":[]},"176":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (W. Europe Standard Time)"},"177":{"submorphs":[{"__isSmartRef__":true,"id":178}],"scripts":[],"id":"B01FA13A-744A-4BE7-AB7D-CB40BB1EA0A1","shape":{"__isSmartRef__":true,"id":194},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":199},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":200},"label":{"__isSmartRef__":true,"id":178},"attributeConnections":[{"__isSmartRef__":true,"id":201}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":203},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":204},"renderContextTable":{"__isSmartRef__":true,"id":205},"priorExtent":{"__isSmartRef__":true,"id":206},"owner":{"__isSmartRef__":true,"id":1},"eventHandler":{"__isSmartRef__":true,"id":207},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"distanceToDragEvent":{"__isSmartRef__":true,"id":208},"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","3B06A5D6-16D3-4AF4-BD30-04F99A1A265F","C81819B4-11B6-4CDD-9D1C-C8B26383089A","8D6FA7FA-666E-44E1-B0B2-AD1F9E98DEFA","44BF65D7-7D68-480D-B01E-CEA9CC808058","33A17203-46A7-4783-A789-68DA54F76AEC","D2B46842-D041-4AEC-B2BC-BABAACE9E531","01DEBAF0-F71E-4ED5-81F7-259C79EBC3BD","2D191E5B-EEAD-462E-B829-F44D16B4CB90","59446D65-85B5-4A31-BA91-AFE17D5CD48E","6E1CD00D-5480-4F12-98A5-12BBE23370E7","4DDBAE50-4141-4542-B5B8-5ABE200B41AD","E5403DB1-7DC8-461E-9CF0-BBF2973F85C8","4EE38920-A7F5-4365-A25D-B71E00D8BAFD"],"layout":{"__isSmartRef__":true,"id":209},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.Button"},"178":{"submorphs":[],"scripts":[],"id":"03AF9F20-0FD4-4FE0-BE80-2FF9BEA75E52","shape":{"__isSmartRef__":true,"id":179},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":184},"textColor":{"__isSmartRef__":true,"id":182},"owner":{"__isSmartRef__":true,"id":177},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":185}],"padding":{"__isSmartRef__":true,"id":187},"_Padding":{"__isSmartRef__":true,"id":188},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":189},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":190},"_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":191},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":20,"_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","726F0E0D-80A3-4B40-BB95-4F6DF690A7AB","709E146B-D859-493D-B1FA-E2A13DA7B3C7","CC8B505C-539E-47D9-A413-A1C278435399","D7FB7D1A-DB78-4C82-8DD9-0F0AD7AC0F0F","C3D0C04F-B09A-448C-ADE4-BDB596CFB804","A19565D0-EDA6-428A-B756-E523A2A5DFE4","E5141D06-195C-4F0B-B1F3-0EA35A9B6397","EEFC96DF-BB85-4C0C-9968-0F63E132C657","792CD06F-A48A-452F-BE9C-47E4D21D03CB","DBDAC8F9-8E00-4196-ABD9-25FC74B708DA","52255104-505A-4331-8907-07370D33536B","5B74E970-CDE7-4B52-BC8B-BDE6D6F0C153","51CFA37C-E76C-4E4A-8BD2-1AE4CF050D0E"],"_TextColor":{"__isSmartRef__":true,"id":192},"layout":{"__isSmartRef__":true,"id":193},"_FontSize":10,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"179":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":180},"_Extent":{"__isSmartRef__":true,"id":181},"_BorderColor":{"__isSmartRef__":true,"id":182},"renderContextTable":{"__isSmartRef__":true,"id":183},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":40},"_BorderWidth":0,"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"180":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"181":{"x":20,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"182":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"183":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"184":{"x":0,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"185":{"style":{"__isSmartRef__":true,"id":186},"chunkOwner":{"__isSmartRef__":true,"id":178},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"186":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"187":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"188":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"189":{"x":20,"y":16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"190":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"191":{"morph":{"__isSmartRef__":true,"id":178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"192":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"193":{"centeredVertical":true,"centeredHorizontal":true},"194":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":195},"_Extent":{"__isSmartRef__":true,"id":196},"_Fill":null,"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":54},"_BorderRadius":3,"renderContextTable":{"__isSmartRef__":true,"id":197},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"195":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"196":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"197":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"198":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"199":{"x":160.00000000000227,"y":39.55115046409816,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"200":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"201":{"sourceObj":{"__isSmartRef__":true,"id":177},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":177},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":202},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"202":{"source":{"__isSmartRef__":true,"id":177},"target":{"__isSmartRef__":true,"id":177}},"203":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"204":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"205":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"206":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"207":{"morph":{"__isSmartRef__":true,"id":177},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"208":{"x":33.059657060667405,"y":-15.375172222124547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"209":{"adjustForNewBounds":true,"centeredVertical":false},"210":{"onrestore":{"__isSmartRef__":true,"id":211},"styleMe":{"__isSmartRef__":true,"id":219},"deleteSelectedScript":{"__isSmartRef__":true,"id":223}},"211":{"varMapping":{"__isSmartRef__":true,"id":212},"source":"function onrestore() {\n    this.beToolbarButton.bind(this, \"-\").delay(0);\n    this.styleMe.bind(this).delay(0)\n}","funcProperties":{"__isSmartRef__":true,"id":217},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"212":{"this":{"__isSmartRef__":true,"id":177},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":213}},"213":{"$super":{"__isSmartRef__":true,"id":214}},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"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":216},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"215":{"obj":{"__isSmartRef__":true,"id":177},"name":"onrestore"},"216":{},"217":{"timestamp":{"__isSmartRef__":true,"id":218},"user":"athomschke","tags":[]},"218":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:44:53 GMT+0100 (W. Europe Standard Time)"},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"source":"function styleMe() {\n    this.setExtent(pt(20,20))\n    this.adjustForNewBounds()\n    this.layout.centeredVertical = false\n}","funcProperties":{"__isSmartRef__":true,"id":221},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"220":{"this":{"__isSmartRef__":true,"id":177}},"221":{"timestamp":{"__isSmartRef__":true,"id":222},"user":"athomschke","tags":[]},"222":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:44:30 GMT+0100 (W. Europe Standard Time)"},"223":{"varMapping":{"__isSmartRef__":true,"id":224},"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":225},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"224":{"this":{"__isSmartRef__":true,"id":177}},"225":{"timestamp":{"__isSmartRef__":true,"id":226},"user":"lauritz"},"226":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (W. Europe Standard Time)"},"227":{"submorphs":[],"scripts":[],"id":"018ABED0-6A2F-480D-9D44-FCA36F04F220","shape":{"__isSmartRef__":true,"id":228},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":235},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,courier","_MaxTextWidth":686,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":236}],"layout":{"__isSmartRef__":true,"id":238},"showsHalos":false,"prevScroll":[0,0],"priorSelectionRange":[7,7],"name":"ObjectEditorScriptPane","charsReplaced":"","lastFindLoc":0,"partsBinMetaInfo":{"__isSmartRef__":true,"id":239},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":240},"_ClipMode":"auto","_FontSize":9,"lastSyntaxHighlightTime":1328704203488,"savedTextString":"this.addScript(function mensch() {\n    \n}).tag([]);","_Align":"left","renderContextTable":{"__isSmartRef__":true,"id":241},"lastSearchString":"stringsformat","eventHandler":{"__isSmartRef__":true,"id":242},"attributeConnections":[{"__isSmartRef__":true,"id":243}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"distanceToDragEvent":{"__isSmartRef__":true,"id":269},"_MinTextWidth":686,"_MinTextHeight":null,"previousSelection":[0,0],"lastSaveSource":"","isBeingDragged":false,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":1},"isCopyMorphRef":true,"morphRefId":1,"statusMorph":{"__isSmartRef__":true,"id":270},"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","8A49A9BD-D0C5-4307-89CC-848185929DDD","720913C7-5A67-4B18-BC00-224E8681B4D6","BE78CF20-E4F4-4D4C-9970-50760EC62093","D03BA5BF-95FE-4791-BA3C-03BECFD1DBD0","B8C60E74-6C75-467D-BFE3-6A2A77CD61CF","43C6599D-A3EB-4435-BA11-53F4AFE56CFC","EE19BCDF-0DFC-46BE-A879-A45ADF7DD0A3","9AAEE081-C1A7-4FD2-AD8A-17DB286219D9","C32A456A-4A3D-49CE-841A-EDD205F4E147","11C3AD42-A575-4261-85AA-B5039D7C3EF9","B9E66435-8A2F-473F-856A-C5C7D56D6394","46CF74F4-E238-441C-B8F1-AE00B958376E","A37019A5-4330-4DEC-B764-E981F169A80A"],"_Position":{"__isSmartRef__":true,"id":285},"owner":{"__isSmartRef__":true,"id":1},"doitContext":null,"textString":"","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"lively.morphic.Text"},"228":{"_Position":{"__isSmartRef__":true,"id":229},"_Extent":{"__isSmartRef__":true,"id":230},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":231},"_Fill":{"__isSmartRef__":true,"id":232},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":233},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":234},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"229":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"230":{"x":688,"y":452,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"231":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"232":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"233":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"234":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"235":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"236":{"style":{"__isSmartRef__":true,"id":237},"chunkOwner":{"__isSmartRef__":true,"id":227},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"238":{"resizeWidth":true,"resizeHeight":true},"239":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"240":{"x":688,"y":452,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"241":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"242":{"morph":{"__isSmartRef__":true,"id":227},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"243":{"sourceObj":{"__isSmartRef__":true,"id":227},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":244},"targetMethodName":"indicateUnsavedChanges","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"244":{"submorphs":[],"scripts":[],"id":"C4B3FFC7-533C-4644-A1D5-E65C3349ACA4","shape":{"__isSmartRef__":true,"id":245},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":252},"showsHalos":false,"name":"ChangeIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":253},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":254},"eventHandler":{"__isSmartRef__":true,"id":255},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1},"priorExtent":{"__isSmartRef__":true,"id":256},"layout":{"__isSmartRef__":true,"id":257},"isBeingDragged":false,"savedColor":{"__isSmartRef__":true,"id":248},"alarmColor":{"__isSmartRef__":true,"id":258},"grabbingEnabled":false,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":259},"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","8996C5CE-C0BD-416A-9214-E32FE4CDB9B4","73394986-E8A4-4A30-9CC0-AC8FFD793F3F","D6E52851-8AD2-4753-8713-7AB8D0842673","2B74438A-0F29-4BCE-8E7F-C9C19EC21DC5","138DA6C9-120A-4430-A2C2-93832A96EF11","A08F3550-B2EE-4472-B05A-BF94414A6241","F2C1C8D7-E57B-4588-ACE4-BE18CB8BAAB2","6C37C429-2834-43EE-AB89-E4EE12E5F56D","CD944199-ABA9-4BC0-A5D0-8E74A043BDBC","F6242692-9018-4E38-B7EC-090F3A82222D","939EA69E-24A5-4F38-A1C4-8860211EB3DA","600A6D96-1684-4AAB-90FD-EB7F20ADB461","A1ABBBF8-B53D-4E66-BEA0-EE0675673A39"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":260},"__LivelyClassName__":"lively.morphic.Box"},"245":{"position":{"__isSmartRef__":true,"id":246},"_Extent":{"__isSmartRef__":true,"id":247},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":248},"_Fill":{"__isSmartRef__":true,"id":249},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":250},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":251},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"246":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"247":{"x":8.637782619743348,"y":9.712632235981744,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"248":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"249":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"250":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"251":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"252":{"x":879.996005996001,"y":39.999999999999986,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"253":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"254":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"255":{"morph":{"__isSmartRef__":true,"id":244},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"256":{"x":8.637782619743348,"y":10.787481852220026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"257":{"moveHorizontal":true,"adjustForNewBounds":true},"258":{"r":0.9411764705882353,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"259":{"x":37.328206296760186,"y":-17.53316489131697,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"260":{"indicateUnsavedChanges":{"__isSmartRef__":true,"id":261},"setColors":{"__isSmartRef__":true,"id":265}},"261":{"varMapping":{"__isSmartRef__":true,"id":262},"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":263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"262":{"this":{"__isSmartRef__":true,"id":244}},"263":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":264}},"264":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:09:19 GMT+0200 (W. Europe Daylight Time)"},"265":{"varMapping":{"__isSmartRef__":true,"id":266},"source":"function setColors(color) {\n    this.setFill(color);\n    this.setBorderColor(color);\n}","funcProperties":{"__isSmartRef__":true,"id":267},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"266":{"this":{"__isSmartRef__":true,"id":244}},"267":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":268}},"268":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:06:09 GMT+0200 (W. Europe Daylight Time)"},"269":{"x":341.1979959929888,"y":-18.288721442524036,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"270":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":271},"id":553,"renderContextTable":{"__isSmartRef__":true,"id":278},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":279}],"eventHandler":{"__isSmartRef__":true,"id":281},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":11,"_Position":{"__isSmartRef__":true,"id":282},"priorExtent":{"__isSmartRef__":true,"id":283},"_MaxTextWidth":90,"_MinTextWidth":90,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"_Align":"center","_VerticalAlign":"center","_TextColor":{"__isSmartRef__":true,"id":284},"owner":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"271":{"_Position":{"__isSmartRef__":true,"id":272},"renderContextTable":{"__isSmartRef__":true,"id":273},"_Extent":{"__isSmartRef__":true,"id":274},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":275},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":276},"_Fill":{"__isSmartRef__":true,"id":277},"_StrokeOpacity":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"272":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"273":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"274":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"275":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"276":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"277":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"278":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"279":{"style":{"__isSmartRef__":true,"id":280},"chunkOwner":{"__isSmartRef__":true,"id":270},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"280":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"281":{"morph":{"__isSmartRef__":true,"id":270},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"282":{"x":295.51426826444225,"y":225.30626630721798,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"283":{"x":100,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"284":{"r":0,"g":0.8,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"285":{"x":200,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"286":{"doSave":{"__isSmartRef__":true,"id":287},"boundEval":{"__isSmartRef__":true,"id":295},"reset":{"__isSmartRef__":true,"id":303},"display":{"__isSmartRef__":true,"id":307},"hasChanged":{"__isSmartRef__":true,"id":311},"setTarget":{"__isSmartRef__":true,"id":315},"displayStatus":{"__isSmartRef__":true,"id":319}},"287":{"varMapping":{"__isSmartRef__":true,"id":288},"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":293},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"288":{"this":{"__isSmartRef__":true,"id":227},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":289}},"289":{"$super":{"__isSmartRef__":true,"id":290}},"290":{"varMapping":{"__isSmartRef__":true,"id":291},"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":292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"291":{"obj":{"__isSmartRef__":true,"id":227},"name":"doSave"},"292":{},"293":{"timestamp":{"__isSmartRef__":true,"id":294},"user":"lauritz"},"294":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:15:19 GMT+0100 (W. Europe Standard Time)"},"295":{"varMapping":{"__isSmartRef__":true,"id":296},"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":301},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"296":{"this":{"__isSmartRef__":true,"id":227},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":297}},"297":{"$super":{"__isSmartRef__":true,"id":298}},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"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":300},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"299":{"obj":{"__isSmartRef__":true,"id":227},"name":"boundEval"},"300":{},"301":{"timestamp":{"__isSmartRef__":true,"id":302},"user":"lauritz","categories":[]},"302":{"isSerializedDate":true,"string":"Wed Nov 16 2011 05:41:53 GMT+0100 (W. Europe Standard Time)"},"303":{"varMapping":{"__isSmartRef__":true,"id":304},"source":"function reset() {\n    this.doitContext = null;\n    this.lastSaveSource = \"\";\n    this.textString = \"\";\n    this.lastSaveSource = this.textString;\n}","funcProperties":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"304":{"this":{"__isSmartRef__":true,"id":227}},"305":{"timestamp":{"__isSmartRef__":true,"id":306},"user":"lauritz","categories":[]},"306":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:14:35 GMT+0200 (W. Europe Daylight Time)"},"307":{"varMapping":{"__isSmartRef__":true,"id":308},"source":"function display(jsCode) {\n    this.lastSaveSource = jsCode;\n    this.setTextString(jsCode);\n    this.highlightJavaScriptSyntax();\n    this.applyStyle({align: 'left'});\n}","funcProperties":{"__isSmartRef__":true,"id":309},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"308":{"this":{"__isSmartRef__":true,"id":227}},"309":{"timestamp":{"__isSmartRef__":true,"id":310},"user":"lauritz","categories":[]},"310":{"isSerializedDate":true,"string":"Tue Sep 27 2011 19:47:57 GMT+0200 (W. Europe Daylight Time)"},"311":{"varMapping":{"__isSmartRef__":true,"id":312},"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":313},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"312":{"this":{"__isSmartRef__":true,"id":227}},"313":{"timestamp":{"__isSmartRef__":true,"id":314},"user":"lauritz","categories":[]},"314":{"isSerializedDate":true,"string":"Mon Oct 03 2011 18:29:45 GMT+0200 (W. Europe Daylight Time)"},"315":{"varMapping":{"__isSmartRef__":true,"id":316},"source":"function setTarget(target) {\n    module('lively.ide.SyntaxHighlighting').load(true);\n    this.doitContext = target;\n}","funcProperties":{"__isSmartRef__":true,"id":317},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"316":{"this":{"__isSmartRef__":true,"id":227}},"317":{"timestamp":{"__isSmartRef__":true,"id":318},"user":"lauritz","categories":[]},"318":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:30:39 GMT+0100 (W. Europe Standard Time)"},"319":{"varMapping":{"__isSmartRef__":true,"id":320},"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":321},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"320":{"this":{"__isSmartRef__":true,"id":227}},"321":{"timestamp":{"__isSmartRef__":true,"id":322},"user":"lauritz","categories":[]},"322":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:23:05 GMT+0100 (W. Europe Standard Time)"},"323":{"submorphs":[{"__isSmartRef__":true,"id":324}],"scripts":[],"id":"761605B1-0C4D-48C6-B9E1-F8837CE40F73","shape":{"__isSmartRef__":true,"id":341},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":348},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":349},"lighterFill":{"__isSmartRef__":true,"id":350},"label":{"__isSmartRef__":true,"id":324},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":351},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":352},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":353},"eventHandler":{"__isSmartRef__":true,"id":354},"distanceToDragEvent":{"__isSmartRef__":true,"id":355},"priorExtent":{"__isSmartRef__":true,"id":356},"owner":{"__isSmartRef__":true,"id":1},"textString":"<lively.morphic.Text#121>","selection":{"__isSmartRef__":true,"id":357},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0A5DD73F-BFD4-4203-AB1C-12C1814A4F4E","294A47F7-5486-4C34-A10B-8BC879193467","4923ECE2-7536-4F1D-8D20-0A02F5760A1E","BE4E22C9-FCE7-44FF-98A9-8708BFAC0C63","EA50A1B6-1CE6-472F-8267-EE7B1B1BF162","925D4C70-C52F-470A-ABAE-465ACE723B77","230A6A99-D85A-48B7-91FA-A429E8C5168B","D4E34E00-D4CD-4967-BA89-FCDAB675C34D","05D9D80D-C887-4A60-92F1-2770C7FB6FF8","729062D1-8F3C-481F-B3CD-CFE554431024","5E0F86AC-71CE-42D9-8F80-303AF7F84531","B073815C-AFC0-40D8-A39D-46CBA49C3491","CC294BD4-879F-45DA-B132-261F8C4C55C1"],"layout":{"__isSmartRef__":true,"id":374},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":375},"__LivelyClassName__":"lively.morphic.Button"},"324":{"submorphs":[],"scripts":[],"id":"E537F0A4-5F13-4590-86E5-95745877D189","shape":{"__isSmartRef__":true,"id":325},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":331},"textColor":{"__isSmartRef__":true,"id":328},"owner":{"__isSmartRef__":true,"id":323},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":332}],"padding":{"__isSmartRef__":true,"id":334},"_Padding":{"__isSmartRef__":true,"id":334},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":335},"attributeConnections":[{"__isSmartRef__":true,"id":336}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":337},"eventHandler":{"__isSmartRef__":true,"id":338},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","EA0917D2-402A-4374-B91B-12D782A97683","B86CE011-A6A8-456A-95E8-57345EEDB65F","566326F5-AF2A-46A5-9AE9-4D2F8A51C09E","2F377A10-AEBF-4EE8-A363-683035870AE8","9594B932-EAB9-4976-9257-6AF21CC36467","CDAA6596-E20C-4846-919F-1B5337381E87","EA43DB2E-44D9-488D-8DEE-CC5C24A4AA43","D4B1274E-549A-4F8E-96C2-E1C9FB712CDB","A8A08047-6836-46D9-A1E4-537D85BC5D8F","3B58635B-640E-46B5-93A7-0D445B1FBCD3","38ECE0DC-C18B-4CE5-A498-FFB3549E7C28","C2C7E90F-760A-4DCC-8130-A21D25D23AEE","A568CFB4-109B-4D88-93A9-6C3BEC686060"],"_TextColor":{"__isSmartRef__":true,"id":339},"layout":{"__isSmartRef__":true,"id":340},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"325":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":326},"_Extent":{"__isSmartRef__":true,"id":327},"_BorderColor":{"__isSmartRef__":true,"id":328},"renderContextTable":{"__isSmartRef__":true,"id":329},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":330},"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"326":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"327":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"328":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"329":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"330":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"331":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"332":{"style":{"__isSmartRef__":true,"id":333},"chunkOwner":{"__isSmartRef__":true,"id":324},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"empty","__LivelyClassName__":"lively.morphic.TextChunk"},"333":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"334":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"335":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"336":{"sourceObj":{"__isSmartRef__":true,"id":324},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":323},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"337":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"338":{"morph":{"__isSmartRef__":true,"id":324},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"339":{"r":0.10392156862745099,"g":0.1627450980392157,"b":0.5,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"340":{"centeredVertical":true,"centeredHorizontal":true},"341":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":342},"_Extent":{"__isSmartRef__":true,"id":343},"_Fill":{"__isSmartRef__":true,"id":344},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":345},"_BorderRadius":1,"renderContextTable":{"__isSmartRef__":true,"id":346},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":347},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"342":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"343":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"344":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"345":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"346":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"348":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"349":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"350":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"351":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"352":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"353":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"354":{"morph":{"__isSmartRef__":true,"id":323},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"355":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"356":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"357":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":358},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":364},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":365},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":366},"_TextColor":{"__isSmartRef__":true,"id":367},"renderContextTable":{"__isSmartRef__":true,"id":368},"textChunks":[{"__isSmartRef__":true,"id":369}],"eventHandler":{"__isSmartRef__":true,"id":371},"priorExtent":{"__isSmartRef__":true,"id":372},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":373},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"358":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":359},"_Extent":{"__isSmartRef__":true,"id":360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":361},"renderContextTable":{"__isSmartRef__":true,"id":362},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"359":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"360":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"361":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"362":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"363":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"364":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"365":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"366":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"367":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"368":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"369":{"style":{"__isSmartRef__":true,"id":370},"chunkOwner":{"__isSmartRef__":true,"id":357},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"370":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"371":{"morph":{"__isSmartRef__":true,"id":357},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"372":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"373":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"374":{"adjustForNewBounds":true},"375":{"onrestore":{"__isSmartRef__":true,"id":376},"styleMe":{"__isSmartRef__":true,"id":384},"createListMorph":{"__isSmartRef__":true,"id":388},"getList":{"__isSmartRef__":true,"id":392},"removeList":{"__isSmartRef__":true,"id":396},"reset":{"__isSmartRef__":true,"id":400},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":404},"onMouseDown":{"__isSmartRef__":true,"id":408},"setTargetOfPane":{"__isSmartRef__":true,"id":416},"setTargetToListSelection":{"__isSmartRef__":true,"id":420},"onBlur":{"__isSmartRef__":true,"id":424},"setTarget":{"__isSmartRef__":true,"id":432},"setTargetOnSelection":{"__isSmartRef__":true,"id":436}},"376":{"varMapping":{"__isSmartRef__":true,"id":377},"source":"function onrestore() {\n    this.styleMe.bind(this).delay(0)\n}","funcProperties":{"__isSmartRef__":true,"id":382},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"377":{"this":{"__isSmartRef__":true,"id":323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":378}},"378":{"$super":{"__isSmartRef__":true,"id":379}},"379":{"varMapping":{"__isSmartRef__":true,"id":380},"source":"function () {\n                try {\n                    return obj.constructor.prototype[name].apply(obj, arguments)\n                } catch(e) {\n                    alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":381},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"380":{"obj":{"__isSmartRef__":true,"id":323},"name":"onrestore"},"381":{},"382":{"timestamp":{"__isSmartRef__":true,"id":383},"user":"athomschke","tags":[]},"383":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:49:38 GMT+0100 (W. Europe Standard Time)"},"384":{"varMapping":{"__isSmartRef__":true,"id":385},"source":"function styleMe() {\n    this.setBorderRadius(1)\n}","funcProperties":{"__isSmartRef__":true,"id":386},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"385":{"this":{"__isSmartRef__":true,"id":323}},"386":{"timestamp":{"__isSmartRef__":true,"id":387},"user":"athomschke","tags":[]},"387":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:50:59 GMT+0100 (W. Europe Standard Time)"},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"source":"function createListMorph() {\n    var items = this.getList();\n    \n    var height = Math.min(this.owner.getExtent().y, items.length * 17);\n    var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n    var listMorph = new lively.morphic.List(extent);\n    listMorph.setList(items);\n    listMorph.setFontSize(10);\n\n    listMorph.disableGrabbing();\n    listMorph.disableDragging();\n\n    connect(listMorph, 'selection', this, 'setTargetToListSelection');\n    \n    return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":390},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"389":{"this":{"__isSmartRef__":true,"id":323}},"390":{"timestamp":{"__isSmartRef__":true,"id":391},"user":"lauritz","tags":[]},"391":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (W. Europe Standard Time)"},"392":{"varMapping":{"__isSmartRef__":true,"id":393},"source":"function getList() {\n    var worldEntry = {\n        isListItem: true,\n        selectionString: 'World',\n        string: 'World',\n        value: this.world()\n    };\n    var list = this.world().indentedListItemsOfMorphNames();\n    list.unshift(worldEntry);\n    return list;\n}","funcProperties":{"__isSmartRef__":true,"id":394},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"393":{"this":{"__isSmartRef__":true,"id":323}},"394":{"timestamp":{"__isSmartRef__":true,"id":395},"user":"lauritz","tags":[]},"395":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (W. Europe Standard Time)"},"396":{"varMapping":{"__isSmartRef__":true,"id":397},"source":"function removeList() {\n    this.listMorph && this.listMorph.remove();\n    this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"397":{"this":{"__isSmartRef__":true,"id":323}},"398":{"timestamp":{"__isSmartRef__":true,"id":399},"user":"lauritz","tags":[]},"399":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (W. Europe Standard Time)"},"400":{"varMapping":{"__isSmartRef__":true,"id":401},"source":"function reset() {\n    this.list = [];\n    this.setLabel('empty');\n    this.label.setAlign(\"left\");\n    this.applyStyle({borderRadius: '3px 3px 3px 3px',})\n    this.setBorderColor(Color.black)\n    this.label.setTextColor(Color.black)\n    this.setPadding(pt(6,2).extent(pt(6,2)))\n    this.removeList();\n    this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":402},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"401":{"this":{"__isSmartRef__":true,"id":323}},"402":{"timestamp":{"__isSmartRef__":true,"id":403},"user":"athomschke","tags":[]},"403":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:21:06 GMT+0100 (W. Europe Standard Time)"},"404":{"varMapping":{"__isSmartRef__":true,"id":405},"source":"function displayTopLevelMorphs() {\n    var list = this.createListMorph();   \n    if (this.getList().length === 0) return;\n    this.addMorph(list);\n    this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":406},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"405":{"this":{"__isSmartRef__":true,"id":323}},"406":{"timestamp":{"__isSmartRef__":true,"id":407},"user":"lauritz","tags":[]},"407":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (W. Europe Standard Time)"},"408":{"varMapping":{"__isSmartRef__":true,"id":409},"source":"function onMouseDown(evt) {\n    if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n    if (this.listMorph) {\n        // clicked on morph, not the list, not the list's scrollbar\n        if (evt.target === this.renderContext().shapeNode)\n            this.removeList();\n    } else {\n        this.displayTopLevelMorphs();\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":414},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"409":{"this":{"__isSmartRef__":true,"id":323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":410}},"410":{"$super":{"__isSmartRef__":true,"id":411}},"411":{"varMapping":{"__isSmartRef__":true,"id":412},"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":413},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"412":{"obj":{"__isSmartRef__":true,"id":323},"name":"onMouseDown"},"413":{},"414":{"timestamp":{"__isSmartRef__":true,"id":415},"user":"lauritz","tags":[]},"415":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (W. Europe Standard Time)"},"416":{"varMapping":{"__isSmartRef__":true,"id":417},"source":"function setTargetOfPane(selection) {\n    this.owner.setTarget(selection);\n    this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":418},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"417":{"this":{"__isSmartRef__":true,"id":323}},"418":{"timestamp":{"__isSmartRef__":true,"id":419},"user":"lauritz","tags":[]},"419":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (W. Europe Standard Time)"},"420":{"varMapping":{"__isSmartRef__":true,"id":421},"source":"function setTargetToListSelection() { \n    var selection = this.listMorph.selection;\n    this.removeList();\n    if (!selection) return;\n    if (this.owner.scriptPane.hasChanged()) {\n        var that = this;\n        var callback = function (confirmed) {\n            if (confirmed) that.setTargetOfPane(selection);\n        }\n        this.owner.confirmUnsavedChanges(callback);\n    } else {\n        this.setTargetOfPane(selection);\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":422},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"421":{"this":{"__isSmartRef__":true,"id":323}},"422":{"timestamp":{"__isSmartRef__":true,"id":423},"user":"lauritz","tags":[]},"423":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (W. Europe Standard Time)"},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"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":430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"425":{"this":{"__isSmartRef__":true,"id":323},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":426}},"426":{"$super":{"__isSmartRef__":true,"id":427}},"427":{"varMapping":{"__isSmartRef__":true,"id":428},"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":429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"428":{"obj":{"__isSmartRef__":true,"id":323},"name":"onBlur"},"429":{},"430":{"timestamp":{"__isSmartRef__":true,"id":431},"user":"lauritz","tags":[]},"431":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (W. Europe Standard Time)"},"432":{"varMapping":{"__isSmartRef__":true,"id":433},"source":"function setTarget(target) {\n    this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"433":{"this":{"__isSmartRef__":true,"id":323}},"434":{"timestamp":{"__isSmartRef__":true,"id":435},"user":"lauritz","tags":[]},"435":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (W. Europe Standard Time)"},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"source":"function setTargetOnSelection() {\n    if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n        this.setTargetToListSelection();\n        this.stopStepping();\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":438},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"437":{"this":{"__isSmartRef__":true,"id":323}},"438":{"timestamp":{"__isSmartRef__":true,"id":439},"user":"lauritz","tags":[]},"439":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (W. Europe Standard Time)"},"440":{"submorphs":[],"scripts":[],"id":"F83F1741-2CB1-4E69-98D3-D83D65D0A57F","shape":{"__isSmartRef__":true,"id":441},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":447},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":444},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":448},"textChunks":[{"__isSmartRef__":true,"id":449}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":451},"renderContextTable":{"__isSmartRef__":true,"id":452},"eventHandler":{"__isSmartRef__":true,"id":453},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":454},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","A4A3682B-8E37-4DC5-8997-6665B8B3031A","93055BC8-BCA8-4B42-A99E-D59C96CCC164","ACC42F20-D523-4526-9F43-BD929009C7AE","DEADC36F-D638-46F7-9137-F26B02099732","D4B4E197-6444-4603-A613-9D49DDF8E251","D5839826-886B-4623-B2B8-A6C8C11C94EA","D50BBD0B-DC57-4350-9E30-0CBD23D627BF","212697AF-669F-4D48-BB4A-82DA92BDCC92","9931DFB8-F1A2-40A8-B0D1-739FAE663043","A9F35438-10A8-45E3-89D6-6FF592392F41","5E9395A9-8F87-4F76-A7E4-B1117CD3AE0F","F4129596-9382-4F42-87C4-4E52B0130574","6CBD4D8E-E19D-46E8-9270-D165999EB07B"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"441":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":442},"_Extent":{"__isSmartRef__":true,"id":443},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":444},"renderContextTable":{"__isSmartRef__":true,"id":445},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":446},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"442":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"443":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"444":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"445":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"446":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"447":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"448":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"449":{"style":{"__isSmartRef__":true,"id":450},"chunkOwner":{"__isSmartRef__":true,"id":440},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"450":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"451":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"452":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"453":{"morph":{"__isSmartRef__":true,"id":440},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"454":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"455":{"submorphs":[],"scripts":[],"id":"0E27724D-7098-4EAC-9002-7F415D84DF07","shape":{"__isSmartRef__":true,"id":456},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":462},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":459},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":463},"textChunks":[{"__isSmartRef__":true,"id":464}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":466},"renderContextTable":{"__isSmartRef__":true,"id":467},"eventHandler":{"__isSmartRef__":true,"id":468},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":469},"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","14D4A75A-4097-451E-A45E-6B60776414A2","5D92CAD6-FCD4-4EB7-900F-401E9F83DBE3","1EF5EDFD-2078-4A88-8054-BC8E572DDEBB","F6FE9FDB-0E4F-45CB-B1FE-7AEBB927264C","21BFC1AC-200D-4530-B5D6-46BF1C6EF92E","65B9E626-BC59-4577-BA2A-B22F23701585","D4E16530-B85A-4E1A-876A-477990F01BE3","C18F763B-DF70-491F-B29A-17E940EEDA4B","BFCB3F84-E307-4DBD-B7D9-C176F1B5873A","9A912F22-B7A6-4961-9BC9-7E9897430294","356E95B4-440A-43FB-B86B-E1A439465958","7C8D50CE-498E-409E-A406-86444D04EA31","2449CC34-93DA-4E37-837A-DAB1BAB5279A"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"456":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":457},"_Extent":{"__isSmartRef__":true,"id":458},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":459},"renderContextTable":{"__isSmartRef__":true,"id":460},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":461},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"457":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"458":{"x":64.8979476392384,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"459":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"460":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"461":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"462":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"463":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"464":{"style":{"__isSmartRef__":true,"id":465},"chunkOwner":{"__isSmartRef__":true,"id":455},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"465":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"466":{"x":64.8979476392384,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"467":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"468":{"morph":{"__isSmartRef__":true,"id":455},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"469":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"470":{"submorphs":[{"__isSmartRef__":true,"id":471}],"scripts":[],"id":"F4082F61-AE88-40A8-84E0-D3D2372DD9B1","shape":{"__isSmartRef__":true,"id":488},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":494},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":349},"lighterFill":{"__isSmartRef__":true,"id":495},"label":{"__isSmartRef__":true,"id":471},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":496},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":497},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":498},"eventHandler":{"__isSmartRef__":true,"id":499},"distanceToDragEvent":{"__isSmartRef__":true,"id":500},"priorExtent":{"__isSmartRef__":true,"id":501},"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","A24E2D56-75F5-4623-9514-CCCE829D87A8","86D03921-E641-4075-B86E-D0919E34BACE","B3F8A594-F9F0-4615-9C5F-C0B9C1D20442","A1F698D6-DDC9-4A24-A811-08A327B14A6E","F7186F4C-07D8-4F27-B22B-2EB5A93593FE","3ED314A8-B6E3-43F6-A27D-DF24FF482825","04E80229-B458-422F-AF0B-C766F8060C1C","455F4003-DF7D-4156-8535-B2758F4DB8DE","10DDE569-19DB-4A09-9CF7-BB82A01FCD2F","C9355D4D-2BFA-48E4-AEEC-856CAC3E89B7","6BDD51E3-C21D-4973-B26E-D19AD321FEF2","18C5AF1C-92F6-474D-A65C-C3F62720DC26","0D207B00-3AC0-46FB-9831-7B51C4922F09"],"layout":{"__isSmartRef__":true,"id":502},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":503},"__LivelyClassName__":"lively.morphic.Button"},"471":{"submorphs":[],"scripts":[],"id":"C76A8D55-EED2-4073-B423-4F2D961A51B2","shape":{"__isSmartRef__":true,"id":472},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":478},"textColor":{"__isSmartRef__":true,"id":475},"owner":{"__isSmartRef__":true,"id":470},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":479}],"padding":{"__isSmartRef__":true,"id":481},"_Padding":{"__isSmartRef__":true,"id":481},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":482},"attributeConnections":[{"__isSmartRef__":true,"id":483}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":484},"eventHandler":{"__isSmartRef__":true,"id":485},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","4F5C3709-B64A-4416-B14B-CD96DBC29C1E","5C6429CB-384B-4971-9BFC-642C37D342B5","09325C1E-6E42-421A-8A78-3584631377CF","77A1991E-E093-48E5-84A2-159C7E562244","78E985E3-C3D5-401D-9801-FB04C4514692","7C8D6B29-535F-47B0-90FE-411E92503FFC","C8C0F444-3D72-4EA0-AE9C-B80E2929E2AF","00963026-64BF-4DC6-A158-6B73DC540B4A","E80A2DF4-825A-4A3E-834D-1CD4BED83A7C","D91AAE63-1CC6-4112-AADF-3C0A334F9A05","92C427D3-3098-4AFF-8C5D-9AA5F642CFE8","B6FF8F78-D227-4A01-BB17-50A27890F6A1","CDDFC62B-74E7-4BAC-A7F8-8E43AE62F1CD"],"_TextColor":{"__isSmartRef__":true,"id":486},"layout":{"__isSmartRef__":true,"id":487},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"472":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":473},"_Extent":{"__isSmartRef__":true,"id":474},"_BorderColor":{"__isSmartRef__":true,"id":475},"renderContextTable":{"__isSmartRef__":true,"id":476},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":477},"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"473":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"474":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"475":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"476":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"477":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"478":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"479":{"style":{"__isSmartRef__":true,"id":480},"chunkOwner":{"__isSmartRef__":true,"id":471},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"all","__LivelyClassName__":"lively.morphic.TextChunk"},"480":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"481":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"482":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"483":{"sourceObj":{"__isSmartRef__":true,"id":471},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":470},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"484":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"485":{"morph":{"__isSmartRef__":true,"id":471},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"486":{"r":0.10392156862745099,"g":0.1627450980392157,"b":0.5,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"487":{"centeredVertical":true,"centeredHorizontal":true},"488":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":489},"_Extent":{"__isSmartRef__":true,"id":490},"_Fill":{"__isSmartRef__":true,"id":491},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":345},"_BorderRadius":1,"renderContextTable":{"__isSmartRef__":true,"id":492},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":493},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"489":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"490":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"491":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"492":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"493":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"494":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"495":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"496":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"497":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"498":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"499":{"morph":{"__isSmartRef__":true,"id":470},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"500":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"501":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"502":{"adjustForNewBounds":true},"503":{"onrestore":{"__isSmartRef__":true,"id":504},"styleMe":{"__isSmartRef__":true,"id":512},"createListMorph":{"__isSmartRef__":true,"id":516},"getList":{"__isSmartRef__":true,"id":520},"removeList":{"__isSmartRef__":true,"id":524},"reset":{"__isSmartRef__":true,"id":528},"onMouseUp":{"__isSmartRef__":true,"id":532},"onBlur":{"__isSmartRef__":true,"id":540},"setTag":{"__isSmartRef__":true,"id":548}},"504":{"varMapping":{"__isSmartRef__":true,"id":505},"source":"function onrestore() {\n    this.styleMe.bind(this).delay(0);\n}","funcProperties":{"__isSmartRef__":true,"id":510},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"505":{"this":{"__isSmartRef__":true,"id":470},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":506}},"506":{"$super":{"__isSmartRef__":true,"id":507}},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"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":509},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"508":{"obj":{"__isSmartRef__":true,"id":470},"name":"onrestore"},"509":{},"510":{"timestamp":{"__isSmartRef__":true,"id":511},"user":"athomschke","tags":[]},"511":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:48:54 GMT+0100 (W. Europe Standard Time)"},"512":{"varMapping":{"__isSmartRef__":true,"id":513},"source":"function styleMe() {\n    this.setBorderRadius(1);\n}","funcProperties":{"__isSmartRef__":true,"id":514},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"513":{"this":{"__isSmartRef__":true,"id":470}},"514":{"timestamp":{"__isSmartRef__":true,"id":515},"user":"athomschke","tags":[]},"515":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:49:12 GMT+0100 (W. Europe Standard Time)"},"516":{"varMapping":{"__isSmartRef__":true,"id":517},"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":518},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"517":{"this":{"__isSmartRef__":true,"id":470}},"518":{"timestamp":{"__isSmartRef__":true,"id":519},"user":"lauritz","categories":[]},"519":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (W. Europe Standard Time)"},"520":{"varMapping":{"__isSmartRef__":true,"id":521},"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":522},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"521":{"this":{"__isSmartRef__":true,"id":470}},"522":{"timestamp":{"__isSmartRef__":true,"id":523},"user":"lauritz","tags":[]},"523":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (W. Europe Standard Time)"},"524":{"varMapping":{"__isSmartRef__":true,"id":525},"source":"function removeList() {\n    this.listMorph && this.listMorph.remove()\n    this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":526},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"525":{"this":{"__isSmartRef__":true,"id":470}},"526":{"timestamp":{"__isSmartRef__":true,"id":527},"user":"lauritz","categories":[]},"527":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (W. Europe Standard Time)"},"528":{"varMapping":{"__isSmartRef__":true,"id":529},"source":"function reset() {\n    this.list = [];\n    this.setLabel('all');\n    this.label.setAlign(\"left\");\n    this.setPadding(pt(10,0).extent(pt(0,0)))\n    this.applyStyle({borderRadius: '3px 3px 3px 3px',})\n    this.setBorderColor(Color.black)\n    this.label.setTextColor(Color.black)\n    this.removeList();\n    this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":530},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"529":{"this":{"__isSmartRef__":true,"id":470}},"530":{"timestamp":{"__isSmartRef__":true,"id":531},"user":"athomschke","tags":[]},"531":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:26:09 GMT+0100 (W. Europe Standard Time)"},"532":{"varMapping":{"__isSmartRef__":true,"id":533},"source":"function onMouseUp(evt) {\n    this.setValue(false)\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":538},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"533":{"this":{"__isSmartRef__":true,"id":470},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":534}},"534":{"$super":{"__isSmartRef__":true,"id":535}},"535":{"varMapping":{"__isSmartRef__":true,"id":536},"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":537},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"536":{"obj":{"__isSmartRef__":true,"id":470},"name":"onMouseUp"},"537":{},"538":{"timestamp":{"__isSmartRef__":true,"id":539},"user":"athomschke","tags":[]},"539":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:35:37 GMT+0100 (W. Europe Standard Time)"},"540":{"varMapping":{"__isSmartRef__":true,"id":541},"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":546},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"541":{"this":{"__isSmartRef__":true,"id":470},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":542}},"542":{"$super":{"__isSmartRef__":true,"id":543}},"543":{"varMapping":{"__isSmartRef__":true,"id":544},"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":545},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"544":{"obj":{"__isSmartRef__":true,"id":470},"name":"onBlur"},"545":{},"546":{"timestamp":{"__isSmartRef__":true,"id":547},"user":"lauritz","categories":[]},"547":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (W. Europe Standard Time)"},"548":{"varMapping":{"__isSmartRef__":true,"id":549},"source":"function setTag(tag) {\n    this.setLabel(tag || '');\n    this.label.setAlign(\"left\");\n    this.setPadding(pt(6,2).extent(pt(6,2)))\n    this.applyStyle({borderRadius: '3px 3px 3px 3px',})\n    this.label.setTextColor(Color.black)\n    this.setBorderColor(Color.black)\n    this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":550},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"549":{"this":{"__isSmartRef__":true,"id":470}},"550":{"timestamp":{"__isSmartRef__":true,"id":551},"user":"athomschke","tags":[]},"551":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:20:50 GMT+0100 (W. Europe Standard Time)"},"552":{"submorphs":[{"__isSmartRef__":true,"id":553}],"scripts":[],"id":"3FA11BD0-13FE-4576-B3D8-F0834D938BF7","shape":{"__isSmartRef__":true,"id":572},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":579},"lighterFill":{"__isSmartRef__":true,"id":580},"label":{"__isSmartRef__":true,"id":553},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":581},"attributeConnections":[{"__isSmartRef__":true,"id":582}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":618},"renderContextTable":{"__isSmartRef__":true,"id":619},"eventHandler":{"__isSmartRef__":true,"id":620},"distanceToDragEvent":{"__isSmartRef__":true,"id":621},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","7B6FC6E2-1A15-4F09-9837-98E06BDA0EDA","BD08E4FA-97D7-47D1-9FFB-D17C1F88B580","D442B46C-CBEF-4170-9634-54E0E0D19668","6E674BE0-F48F-45DA-A63E-F1ADD76FDA09","A90AABF1-58CF-4AF5-A8E4-271F18BDFF1D","4E86758E-0776-4DB9-B11F-FB7ED15151FD","9AC9B01D-81BA-42FC-BA2D-3B67A07067F7","903B61B6-C4B0-44ED-8E78-6909DC653B62","137EC7BF-E2F0-4CB7-B294-BB8DEEFD8A42","CF02D304-3976-470E-818B-569A6377B058","BCEC5277-274E-433F-AE43-41C4788C5CB2","DA12758D-5275-42F8-B7B0-FFA3852BBB91","3E5B1166-995B-4432-BE9A-C88CCC885C3E"],"_Position":{"__isSmartRef__":true,"id":622},"owner":{"__isSmartRef__":true,"id":1},"layout":{"__isSmartRef__":true,"id":623},"_ClipMode":"visible","_Rotation":0,"_Scale":0.994014980014994,"__LivelyClassName__":"lively.morphic.Button"},"553":{"submorphs":[],"scripts":[],"id":"88A9B611-30AE-420D-A9D0-04B2C270DAEB","shape":{"__isSmartRef__":true,"id":554},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":560},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":561},"_Padding":{"__isSmartRef__":true,"id":562},"owner":{"__isSmartRef__":true,"id":552},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":563},"textChunks":[{"__isSmartRef__":true,"id":564},{"__isSmartRef__":true,"id":566}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":568},"eventHandler":{"__isSmartRef__":true,"id":569},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","10211617-8BD7-49F1-AFF5-8812F347B732","6B6D214B-1DBC-46E8-B5E4-0D51B48873CC","83B928F4-962C-4D97-89AF-BCC91B7910C9","9DD4EA8B-3A97-4FF9-A1F8-415CD2237EB4","7C6D2D2C-1611-4933-926A-2014184A1338","06C94693-D0EF-40A9-900C-90804C517A29","BF845F00-330B-4D6A-9B74-2A964D12867D","F5A331CD-6B1D-46B6-95EC-1387948F4C89","4FA88466-4032-4FDF-958C-9227AEAC3A60","F8A4B92A-E6E3-4C8E-89BC-1A42D715F303","03A6DFA2-279B-400A-AA51-F5FDC6B3BC6D","8E13B02E-F9C9-4B68-8815-B454C62D3143","454FD9E4-B8F2-4418-8173-B8697BC210F5"],"_MinTextWidth":101,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":570},"layout":{"__isSmartRef__":true,"id":571},"__LivelyClassName__":"lively.morphic.Text"},"554":{"position":{"__isSmartRef__":true,"id":555},"_Extent":{"__isSmartRef__":true,"id":556},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":557},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":558},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":559},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"555":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"556":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"557":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"558":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"559":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"560":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"561":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"562":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"563":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"564":{"style":{"__isSmartRef__":true,"id":565},"chunkOwner":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"565":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"566":{"style":{"__isSmartRef__":true,"id":567},"chunkOwner":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"567":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"568":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"569":{"morph":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"570":{"r":0.10392156862745099,"g":0.1627450980392157,"b":0.5,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"571":{"centeredVertical":true,"centeredHorizontal":true},"572":{"position":{"__isSmartRef__":true,"id":573},"_Extent":{"__isSmartRef__":true,"id":574},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":{"__isSmartRef__":true,"id":576},"_BorderRadius":13,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":577},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":578},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"573":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"574":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"575":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"576":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"578":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"579":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"580":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"581":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"582":{"sourceObj":{"__isSmartRef__":true,"id":552},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":583},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"583":{"submorphs":[{"__isSmartRef__":true,"id":584}],"scripts":[],"shape":{"__isSmartRef__":true,"id":599},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":606},"eventHandler":{"__isSmartRef__":true,"id":607},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":609}],"con":{"__isSmartRef__":true,"id":582},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":610},"__LivelyClassName__":"lively.morphic.Path"},"584":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":585},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":596},"eventHandler":{"__isSmartRef__":true,"id":597},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":598},"owner":{"__isSmartRef__":true,"id":583},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"585":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":589}],"renderContextTable":{"__isSmartRef__":true,"id":590},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":591},"_Extent":{"__isSmartRef__":true,"id":592},"_Padding":{"__isSmartRef__":true,"id":593},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":594},"_Fill":{"__isSmartRef__":true,"id":595},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"586":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"587":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"588":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"589":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"590":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"591":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"592":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"593":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"594":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"595":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"596":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"597":{"morph":{"__isSmartRef__":true,"id":584},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"598":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"599":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":600},{"__isSmartRef__":true,"id":601}],"renderContextTable":{"__isSmartRef__":true,"id":602},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":603},"_Extent":{"__isSmartRef__":true,"id":604},"_Padding":{"__isSmartRef__":true,"id":605},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":594},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"600":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"601":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"602":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"603":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"604":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"605":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"606":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"607":{"morph":{"__isSmartRef__":true,"id":583},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"608":{"morph":{"__isSmartRef__":true,"id":583},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"609":{"morph":{"__isSmartRef__":true,"id":583},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":584},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"610":{"morphMenuItems":{"__isSmartRef__":true,"id":611}},"611":{"varMapping":{"__isSmartRef__":true,"id":612},"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":617},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"612":{"this":{"__isSmartRef__":true,"id":583},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":613}},"613":{"$super":{"__isSmartRef__":true,"id":614}},"614":{"varMapping":{"__isSmartRef__":true,"id":615},"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":616},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"615":{"obj":{"__isSmartRef__":true,"id":583},"name":"morphMenuItems"},"616":{},"617":{},"618":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"619":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"620":{"morph":{"__isSmartRef__":true,"id":552},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"621":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"622":{"x":785.7141415573066,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"623":{"centeredHorizontal":false,"moveHorizontal":true,"adjustForNewBounds":true},"624":{"submorphs":[{"__isSmartRef__":true,"id":625}],"scripts":[],"id":"181CA19E-2A8F-4EB0-9D64-452A4C122893","shape":{"__isSmartRef__":true,"id":644},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":579},"lighterFill":{"__isSmartRef__":true,"id":650},"label":{"__isSmartRef__":true,"id":625},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":651},"attributeConnections":[{"__isSmartRef__":true,"id":652}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":688},"renderContextTable":{"__isSmartRef__":true,"id":689},"eventHandler":{"__isSmartRef__":true,"id":690},"distanceToDragEvent":{"__isSmartRef__":true,"id":691},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","5CC5F8D4-8739-4A96-860A-EF099A314642","916CF984-C8BC-4E32-9B91-7C8668125B96","DC8071EA-8D60-4A6F-8F41-AFB6DE399F34","6F7B3937-83C6-47B5-A453-17F9ADE4307B","DA72FB8B-D2AA-4AE4-B99F-2E50999EB5A0","2661A5D5-4CC9-4D79-8946-18AEAFE5A95A","D4638D54-BD35-4636-96A0-E23C0BC484C2","88B8E61E-C4A0-4EBA-B6FE-991100DCA98B","2281BC23-8BE3-4CF0-B606-D0EFFF265BF4","A1304853-E0AC-40DF-B5AA-011695252C3A","ECA69E29-CAA7-4647-AA74-B4BE0528A6D6","7DED49C1-BA42-490E-B398-E031AA48CA58","FDC8A5AD-18DC-4DE3-9DAF-4BBDA2B0F50D"],"layout":{"__isSmartRef__":true,"id":692},"_Position":{"__isSmartRef__":true,"id":693},"owner":{"__isSmartRef__":true,"id":1},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9880657804942089,"__LivelyClassName__":"lively.morphic.Button"},"625":{"submorphs":[],"scripts":[],"id":"A4BC78BC-E5C1-4E50-B8A8-803493E3501F","shape":{"__isSmartRef__":true,"id":626},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":632},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":633},"_Padding":{"__isSmartRef__":true,"id":634},"owner":{"__isSmartRef__":true,"id":624},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":635},"textChunks":[{"__isSmartRef__":true,"id":636},{"__isSmartRef__":true,"id":638}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":640},"eventHandler":{"__isSmartRef__":true,"id":641},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","AF2EB5E4-DE8C-44F5-8273-CA21C4D6D967","6289D078-C569-499F-9B41-AE895D68385A","E0905C0A-38D2-4770-B9A4-CB73EE6B8AF1","CD2ECA57-4084-4F93-9F19-B43DAD1E14CA","88458EDB-9B69-47B4-9C45-F64BA53EBC0D","4951CCE5-7F71-47B7-A050-797AA1C9C9D6","BF1FD0CF-DB7C-48D3-BDD9-2F23D191865C","FE56B499-0F6C-4F2B-9C21-DB4220570FDB","B4DB9D5A-9D4D-4C98-9797-766E69E70404","61748053-E701-4A2C-80DB-D3F4FCD71FFB","8C069581-16A8-422C-88DC-042AEDC47731","359FC47C-C80C-49F4-BEF5-3F0544A73236","560AAB93-C072-459C-B126-72265A4DDEF2"],"_MinTextWidth":101,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":642},"layout":{"__isSmartRef__":true,"id":643},"__LivelyClassName__":"lively.morphic.Text"},"626":{"position":{"__isSmartRef__":true,"id":627},"_Extent":{"__isSmartRef__":true,"id":628},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":629},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":630},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":631},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"627":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"628":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"629":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"630":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"631":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"632":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"633":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"634":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"635":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"636":{"style":{"__isSmartRef__":true,"id":637},"chunkOwner":{"__isSmartRef__":true,"id":625},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"save","__LivelyClassName__":"lively.morphic.TextChunk"},"637":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"638":{"style":{"__isSmartRef__":true,"id":639},"chunkOwner":{"__isSmartRef__":true,"id":625},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"639":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"640":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"641":{"morph":{"__isSmartRef__":true,"id":625},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"642":{"r":0.10392156862745099,"g":0.1627450980392157,"b":0.5,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"643":{"centeredVertical":true,"centeredHorizontal":true},"644":{"position":{"__isSmartRef__":true,"id":645},"_Extent":{"__isSmartRef__":true,"id":646},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":{"__isSmartRef__":true,"id":647},"_BorderRadius":13,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":648},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":649},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"645":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"646":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"647":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"648":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"649":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"650":{"r":0.7,"g":0.7,"b":0.7,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"651":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"652":{"sourceObj":{"__isSmartRef__":true,"id":624},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":227},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":653},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"653":{"submorphs":[{"__isSmartRef__":true,"id":654}],"scripts":[],"shape":{"__isSmartRef__":true,"id":669},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":676},"eventHandler":{"__isSmartRef__":true,"id":677},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":678},{"__isSmartRef__":true,"id":679}],"con":{"__isSmartRef__":true,"id":652},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":680},"__LivelyClassName__":"lively.morphic.Path"},"654":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":655},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":666},"eventHandler":{"__isSmartRef__":true,"id":667},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":668},"owner":{"__isSmartRef__":true,"id":653},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"655":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":656},{"__isSmartRef__":true,"id":657},{"__isSmartRef__":true,"id":658},{"__isSmartRef__":true,"id":659}],"renderContextTable":{"__isSmartRef__":true,"id":660},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":661},"_Extent":{"__isSmartRef__":true,"id":662},"_Padding":{"__isSmartRef__":true,"id":663},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":664},"_Fill":{"__isSmartRef__":true,"id":665},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"656":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"657":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"658":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"659":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"660":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"661":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"662":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"663":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"664":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"665":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"666":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"667":{"morph":{"__isSmartRef__":true,"id":654},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"668":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"669":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":670},{"__isSmartRef__":true,"id":671}],"renderContextTable":{"__isSmartRef__":true,"id":672},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":673},"_Extent":{"__isSmartRef__":true,"id":674},"_Padding":{"__isSmartRef__":true,"id":675},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":664},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"670":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"671":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"672":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"673":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"674":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"675":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"676":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"677":{"morph":{"__isSmartRef__":true,"id":653},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"678":{"morph":{"__isSmartRef__":true,"id":653},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"679":{"morph":{"__isSmartRef__":true,"id":653},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":654},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"680":{"morphMenuItems":{"__isSmartRef__":true,"id":681}},"681":{"varMapping":{"__isSmartRef__":true,"id":682},"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":687},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"682":{"this":{"__isSmartRef__":true,"id":653},"__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                    alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":686},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"685":{"obj":{"__isSmartRef__":true,"id":653},"name":"morphMenuItems"},"686":{},"687":{},"688":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"689":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"690":{"morph":{"__isSmartRef__":true,"id":624},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"691":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"692":{"centeredHorizontal":false,"moveHorizontal":true,"adjustForNewBounds":true},"693":{"x":672.3904488156123,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"694":{"submorphs":[{"__isSmartRef__":true,"id":695}],"scripts":[],"id":"189D9589-E60E-415A-AFA7-ACD820D49630","shape":{"__isSmartRef__":true,"id":746},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":753},"showsHalos":false,"name":"ObjectEditorScriptList","partsBinMetaInfo":{"__isSmartRef__":true,"id":754},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":775},"eventHandler":{"__isSmartRef__":true,"id":776},"attributeConnections":[{"__isSmartRef__":true,"id":777}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","44F04EA0-0B18-48F5-82DE-1C400B2E7E66","B5BC05CD-9955-4638-A7C0-3A76AD1EE0B1","B01D7C41-6561-42C3-AF67-837DB8619D96","EBA19361-462E-4B18-80CC-D4DF92C36B05","C262F36B-9939-4AFA-A77F-4F112C66C086","1B9B9DAD-74BE-466B-AAEC-CFC485692582","E83BB9C1-DCB7-474B-B13F-8A5C7601669A","8C92C062-2BAA-4ABE-9353-5F075B5F4825","BF2BC093-3702-4269-A915-565E8102B7A4","3666010F-8DD1-4F1A-BE0A-AEA3D07A427A","3A7D46BF-B048-458A-914C-5B42EB6DF43E","D88C02B5-CCCE-41DA-A5D1-B1D9ACC50341","ED360CAC-8AC2-4EFA-B1BF-2ECCC77A85CE","1F48BFD3-38DB-4093-B74D-24A25E53E134"],"priorExtent":{"__isSmartRef__":true,"id":783},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":784},"itemList":[],"_ClipMode":"hidden","selectedMorph":null,"items":[],"owner":{"__isSmartRef__":true,"id":1},"selectedLineNo":-1,"distanceToDragEvent":{"__isSmartRef__":true,"id":785},"prevScroll":[0,0],"selection":null,"_Rotation":0,"_Scale":0.9940149800149942,"selectionDisabled":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":786},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.TouchToMouse"]},"695":{"submorphs":[],"scripts":[],"id":"EFC2DF8E-585A-45ED-BEB1-56C2501D9F21","shape":{"__isSmartRef__":true,"id":696},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":703},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":704},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":705},"eventHandler":{"__isSmartRef__":true,"id":706},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","2964BC5A-EAE3-475B-95AC-0E9D3024D1BF","74F5FD7F-E5EA-4BE8-964D-7ABBFAFCB5D5","D3CBEE5F-FB39-4E1F-A1D8-CD60CAFAF2F9","1852D238-B9F1-4250-BC2C-F43F9855457A","4CAF94B4-BA6C-404D-8DC1-B6777F6AE2D9","4F307856-01C5-40AB-84D2-C31F10003715","E3C2CA8F-B5B0-4F20-AEB0-0F96A3D070A2","693EADB2-23A8-4D11-A6C1-B539F2CCA103","5E90B6AB-4025-41E5-9C44-6F45440E69FD","49C02396-B252-4F2F-8F2F-2D0D03875EA3","944DF78D-B779-4A0A-B317-71A1B493991F","DED93C61-E326-4F4D-A580-80A41B0CF335","6642D13A-8B93-45C7-9B30-131193A75AF7","BA4F4259-8E2B-49D7-A005-1B4C5C525307"],"owner":{"__isSmartRef__":true,"id":694},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":707},"layout":{"__isSmartRef__":true,"id":708},"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":709},"__LivelyClassName__":"lively.morphic.Box"},"696":{"position":{"__isSmartRef__":true,"id":697},"_Extent":{"__isSmartRef__":true,"id":698},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":699},"_Fill":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":701},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":702},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"697":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"698":{"x":176.9714634711155,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"699":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"700":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"701":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"702":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"703":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"704":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"705":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"706":{"morph":{"__isSmartRef__":true,"id":695},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"707":{"x":176.9714634711155,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"708":{"resizeWidth":true,"adjustForNewBounds":true},"709":{"onTouchStart":{"__isSmartRef__":true,"id":710},"onTouchMove":{"__isSmartRef__":true,"id":718},"onTouchEnd":{"__isSmartRef__":true,"id":722},"stayInBounds":{"__isSmartRef__":true,"id":730},"isInBounds":{"__isSmartRef__":true,"id":734},"addItemMorph":{"__isSmartRef__":true,"id":738},"removeAllMenuItems":{"__isSmartRef__":true,"id":742}},"710":{"varMapping":{"__isSmartRef__":true,"id":711},"source":"function onTouchStart(evt) {\n    evt.stop();\n\n    var touch = evt.touches[0];\n\n    if(touch) {\n        touch.originalDragOffset = touch.clientY;\n        touch.originalMenuOffset = this.getPosition().y;\n\n        this.isTouched = true;\n        this.velocity = 0;\n        touch.lastTouch = touch.clientY;\n        touch.lastUpdate = new Date().valueOf();\n    }\n    return true;\n\n    \n}","funcProperties":{"__isSmartRef__":true,"id":716},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"711":{"this":{"__isSmartRef__":true,"id":695},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":712}},"712":{"$super":{"__isSmartRef__":true,"id":713}},"713":{"varMapping":{"__isSmartRef__":true,"id":714},"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":715},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"714":{"obj":{"__isSmartRef__":true,"id":695},"name":"onTouchStart"},"715":{},"716":{"timestamp":{"__isSmartRef__":true,"id":717},"user":"sstamm","tags":[]},"717":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function onTouchMove(evt) {\n    evt.stop();\n\n    var touch = evt.touches[0];\n    \n    if(touch && touch.originalDragOffset) {\n        //TODO: Store this attributes in the object to save computation time\n        var heightMenu = this.itemList.length*43;\n        var heightContainer = this.owner.getExtent().y;\n        var maxScroll = heightMenu-heightContainer;\n\n        var x = this.getPosition().x;\n\n        var delta = (touch.clientY - touch.originalDragOffset)/this.owner.owner.owner.getScale();\n        this.setPosition(pt(x,touch.originalMenuOffset+delta));\n\n        if(!this.isInBounds()) {\n            var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n            delta = this.getPosition().y-yPos;\n            this.moveBy(pt(0,-delta/2));\n        }\n\n        var positionDelta = touch.lastTouch-touch.clientY;\n        var now = new Date().valueOf();\n        var timeDelta = now - touch.lastUpdate;\n\n        timeDelta = Math.max(1, timeDelta);\n\n        touch.lastTouch = touch.clientY;\n        touch.lastUpdate = now;\n        \n        this.velocity = positionDelta*(-10/timeDelta);\n    }\n    return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"719":{"this":{"__isSmartRef__":true,"id":695}},"720":{"timestamp":{"__isSmartRef__":true,"id":721},"user":"sstamm","tags":[]},"721":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"722":{"varMapping":{"__isSmartRef__":true,"id":723},"source":"function onTouchEnd(evt) {\n    var lastUpdate = new Date().valueOf();\n    this.isTouched = false;\n    var that = this;\n    var flickingFct = function() {\n        var now = new Date().valueOf();\n        var delta = now - lastUpdate;\n        var velo;\n        that.velocity *= Math.pow(0.99, delta);\n        //console.log(that.velocity)\n        that.moveBy(pt(0,that.velocity));\n        that.stayInBounds();\n        velo = that.velocity;\n        \n        lastUpdate = now;\n        if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n            window.setTimeout(flickingFct,10);\n        }\n    };\n\n    window.setTimeout(flickingFct,10);\n\n}","funcProperties":{"__isSmartRef__":true,"id":728},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"723":{"this":{"__isSmartRef__":true,"id":695},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":724}},"724":{"$super":{"__isSmartRef__":true,"id":725}},"725":{"varMapping":{"__isSmartRef__":true,"id":726},"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":727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"726":{"obj":{"__isSmartRef__":true,"id":695},"name":"onTouchEnd"},"727":{},"728":{"timestamp":{"__isSmartRef__":true,"id":729},"user":"sstamm","tags":[]},"729":{"isSerializedDate":true,"string":"Wed May 09 2012 16:54:00 GMT+0200 (W. Europe Daylight Time)"},"730":{"varMapping":{"__isSmartRef__":true,"id":731},"source":"function stayInBounds() {\n    var heightMenu = this.itemList.length*43;\n    var heightContainer = this.owner.getExtent().y;\n    var maxScroll = heightMenu - heightContainer;\n\n    var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n    var delta = this.getPosition().y-yPos;\n\n    if(this.velocity*delta > 0) {\n        // out of bounds and velocity is in wrong direction\n        this.velocity -= delta/15;\n    } else if(delta !== 0) {\n        this.velocity = -delta/15;\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":732},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"731":{"this":{"__isSmartRef__":true,"id":695}},"732":{"timestamp":{"__isSmartRef__":true,"id":733},"user":"sstamm","tags":[]},"733":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"source":"function isInBounds() {\n    var heightMenu = this.itemList.length * 43;\n    var heightContainer = this.owner.getExtent().y;\n    var maxScroll = heightMenu - heightContainer;\n\n    var yPos = Math.min(0,Math.max(-maxScroll, this.getPosition().y));\n    var delta = this.getPosition().y-yPos;\n\n    return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":736},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"735":{"this":{"__isSmartRef__":true,"id":695}},"736":{"timestamp":{"__isSmartRef__":true,"id":737},"user":"sstamm","tags":[]},"737":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"738":{"varMapping":{"__isSmartRef__":true,"id":739},"source":"function addItemMorph(morph) {\n    morph.disableDropping();\n    this.itemList = this.itemList || [];\n    morph.setPosition(pt(0,this.itemList.length*43));\n    this.itemList.push(morph);\n    this.addMorph(morph);\n}","funcProperties":{"__isSmartRef__":true,"id":740},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"739":{"this":{"__isSmartRef__":true,"id":695}},"740":{"timestamp":{"__isSmartRef__":true,"id":741},"user":"sstamm","tags":[]},"741":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"742":{"varMapping":{"__isSmartRef__":true,"id":743},"source":"function removeAllMenuItems() {\n    this.itemList = [];\n    this.setPosition(pt(0,0));\n    this.submorphs.invoke(\"remove\");\n}","funcProperties":{"__isSmartRef__":true,"id":744},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"743":{"this":{"__isSmartRef__":true,"id":695}},"744":{"timestamp":{"__isSmartRef__":true,"id":745},"user":"sstamm","tags":[]},"745":{"isSerializedDate":true,"string":"Tue May 08 2012 16:59:16 GMT+0200 (W. Europe Daylight Time)"},"746":{"position":{"__isSmartRef__":true,"id":747},"_Extent":{"__isSmartRef__":true,"id":748},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":749},"_Fill":{"__isSmartRef__":true,"id":750},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":751},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":752},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"747":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"748":{"x":176.9714634711155,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"749":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"750":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"751":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"752":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"753":{"x":11.29677663227767,"y":64.5953746418223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"754":{"partsSpaceName":"PartsBin/iPad Widgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":757},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":763},{"__isSmartRef__":true,"id":765},{"__isSmartRef__":true,"id":767},{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":773}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"755":{"date":{"__isSmartRef__":true,"id":756},"author":"sstamm","message":"","id":"56852062-4668-4A1A-ACB3-BCF641C8B4F4"},"756":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:56:37 GMT+0100 (W. Europe Standard Time)"},"757":{"date":{"__isSmartRef__":true,"id":758},"author":"sstamm","message":"","id":"DFC5B2E7-2E6B-425A-B10A-52B615C3A635"},"758":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:44:21 GMT+0100 (W. Europe Standard Time)"},"759":{"date":{"__isSmartRef__":true,"id":760},"author":"sstamm","message":"we won't implement setSelection","id":"122879B0-1530-413F-A4A6-8EF04FBB4B52"},"760":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:42:39 GMT+0100 (W. Europe Standard Time)"},"761":{"date":{"__isSmartRef__":true,"id":762},"author":"sstamm","message":"added updateListMethod","id":"111B62E3-0972-481F-BECB-26B8976BE918"},"762":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:34:53 GMT+0100 (W. Europe Standard Time)"},"763":{"date":{"__isSmartRef__":true,"id":764},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"764":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"765":{"date":{"__isSmartRef__":true,"id":766},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"766":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"767":{"date":{"__isSmartRef__":true,"id":768},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"768":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"769":{"date":{"__isSmartRef__":true,"id":770},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"770":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"771":{"date":{"__isSmartRef__":true,"id":772},"author":"sstamm","message":"added caching to itemListMorph onmove","id":"441999A4-0272-48BF-B0E8-0F38B9B540AC"},"772":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:44:34 GMT+0100 (W. Europe Standard Time)"},"773":{"date":{"__isSmartRef__":true,"id":774},"author":"conradcalmez","message":"added setList convenience method","id":"6347240A-F61E-44ED-82FA-15047F8B547D"},"774":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:55:45 GMT+0100 (W. Europe Standard Time)"},"775":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"776":{"morph":{"__isSmartRef__":true,"id":694},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"777":{"sourceObj":{"__isSmartRef__":true,"id":694},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"displaySourceForScript","converterString":"function (value) {\n            return (value === '-- ALL --') ? null : value;\n    }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":778},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":779},"__LivelyClassName__":"AttributeConnection"},"778":{"source":{"__isSmartRef__":true,"id":694},"target":{"__isSmartRef__":true,"id":1}},"779":{"converter":{"__isSmartRef__":true,"id":780}},"780":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":781},"source":"function (value) {\n            return (value === '-- ALL --') ? null : value;\n    }","funcProperties":{"__isSmartRef__":true,"id":782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"781":{"source":{"__isSmartRef__":true,"id":694},"target":{"__isSmartRef__":true,"id":1}},"782":{},"783":{"x":176.9714634711155,"y":318,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"784":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":false},"785":{"x":122.65823088244156,"y":-7.570189079260103,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"786":{"onrestore":{"__isSmartRef__":true,"id":787},"setupConnections":{"__isSmartRef__":true,"id":795},"initialize":{"__isSmartRef__":true,"id":799},"addItem":{"__isSmartRef__":true,"id":807},"createListItem":{"__isSmartRef__":true,"id":811},"touchstartCallback":{"__isSmartRef__":true,"id":815},"touchmoveCallback":{"__isSmartRef__":true,"id":819},"touchendCallback":{"__isSmartRef__":true,"id":823},"updateSelection":{"__isSmartRef__":true,"id":827},"updateList":{"__isSmartRef__":true,"id":831},"setSelection":{"__isSmartRef__":true,"id":835},"setList":{"__isSmartRef__":true,"id":839},"preselectItem":{"__isSmartRef__":true,"id":843},"selectAddedScript":{"__isSmartRef__":true,"id":847},"getList":{"__isSmartRef__":true,"id":851},"selectAt":{"__isSmartRef__":true,"id":855},"onTouchEnd":{"__isSmartRef__":true,"id":859},"onTouchMove":{"__isSmartRef__":true,"id":867},"onTouchStart":{"__isSmartRef__":true,"id":871}},"787":{"varMapping":{"__isSmartRef__":true,"id":788},"source":"function onrestore() {\n    this.setupConnections();\n}","funcProperties":{"__isSmartRef__":true,"id":793},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"788":{"this":{"__isSmartRef__":true,"id":694},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":789}},"789":{"$super":{"__isSmartRef__":true,"id":790}},"790":{"varMapping":{"__isSmartRef__":true,"id":791},"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":792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"791":{"obj":{"__isSmartRef__":true,"id":694},"name":"onrestore"},"792":{},"793":{"timestamp":{"__isSmartRef__":true,"id":794},"user":"sstamm","tags":[]},"794":{"isSerializedDate":true,"string":"Wed May 09 2012 16:42:46 GMT+0200 (W. Europe Daylight Time)"},"795":{"varMapping":{"__isSmartRef__":true,"id":796},"source":"function setupConnections() {\n    connect(this, \"selection\", this.owner, \"displaySourceForScript\", {converter: \n\tfunction (value) {\n            return (value === '-- ALL --') ? null : value;\n    }});\n}","funcProperties":{"__isSmartRef__":true,"id":797},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"796":{"this":{"__isSmartRef__":true,"id":694}},"797":{"timestamp":{"__isSmartRef__":true,"id":798},"user":"athomschke","tags":[]},"798":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:18:31 GMT+0100 (W. Europe Standard Time)"},"799":{"varMapping":{"__isSmartRef__":true,"id":800},"source":"function initialize() {\n    this.itemList = [];\n    this.items = [];\n    this.selection = null;\n    this.selectedLineNo = -1;\n    this.selectedMorph = null;\n    //this.shape.setClipMode(\"hidden\");\n    var itemContainer = this.get(\"ListItemContainer\");\n    \n    itemContainer.setPosition(pt(0,0));\n    itemContainer.submorphs.invoke(\"remove\");\n    \n}","funcProperties":{"__isSmartRef__":true,"id":805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"800":{"this":{"__isSmartRef__":true,"id":694},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":801}},"801":{"$super":{"__isSmartRef__":true,"id":802}},"802":{"varMapping":{"__isSmartRef__":true,"id":803},"source":"function () {\n                    try {\n                        return obj.constructor.prototype[name].apply(obj, arguments)\n                    } catch (e) {\n                        if ($world) \n                            $world.logError(e, 'Error in $super call')\n                        else\n                            alert('Error in $super call: ' + e + '\\n' + e.stack);\n                        return null;\n                    }\n                }","funcProperties":{"__isSmartRef__":true,"id":804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"803":{"obj":{"__isSmartRef__":true,"id":694},"name":"initialize"},"804":{},"805":{"timestamp":{"__isSmartRef__":true,"id":806},"user":"sstamm","tags":[]},"806":{"isSerializedDate":true,"string":"Wed May 09 2012 16:42:19 GMT+0200 (W. Europe Daylight Time)"},"807":{"varMapping":{"__isSmartRef__":true,"id":808},"source":"function addItem(text) {\n    var newMorph = this.createListItem(text);\n    \n    newMorph.setPosition(pt(0,this.itemList.length*43));\n    this.itemList.push(newMorph);\n    this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"808":{"this":{"__isSmartRef__":true,"id":694}},"809":{"timestamp":{"__isSmartRef__":true,"id":810},"user":"sstamm","tags":[]},"810":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (W. Europe Standard Time)"},"811":{"varMapping":{"__isSmartRef__":true,"id":812},"source":"function createListItem(textString) {\n    var part = Morph.makeRectangle(0, 0, 10, 10);\n    part.disableSelection();\n\n    part.index = this.itemList.length;\n\n    part.applyStyle({\n        extent: pt(this.getExtent().x,44),\n        fill: new lively.morphic.LinearGradient(\n            [\n                {offset: 0, color: Color.rgb(253,253,253)},\n                {offset: 1, color: Color.rgb(238,238,238)}\n            ],\n            'northSouth'\n        ),\n        resizeWidth: true,\n        borderColor: Color.rgb(138,138,138)\n    });\n    \n    part.disableDragging();\n    part.disableGrabbing();\n\n\n    part.onTouchStart = this.touchstartCallback;\n    part.onTouchMove = this.touchmoveCallback;\n    part.onTouchEnd = this.touchendCallback;\n\n    var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,44));\n    text.applyStyle({fill: null, borderWidth: 0, borderColor: null});\n    text.setFontSize(14);\n    text.setTextColor(Color.rgb(47,47,47));\n    text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n    text.setPosition(pt(10,10));\n    text.textString = textString;\n\n    text.emphasizeAll({fontWeight: 'bold'});\n    text.disableHalos();\n    text.ignoreEvents();\n    part.addMorph(text);\n\n    return part;\n}","funcProperties":{"__isSmartRef__":true,"id":813},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"812":{"this":{"__isSmartRef__":true,"id":694}},"813":{"timestamp":{"__isSmartRef__":true,"id":814},"user":"sstamm","tags":[]},"814":{"isSerializedDate":true,"string":"Wed May 09 2012 16:41:43 GMT+0200 (W. Europe Daylight Time)"},"815":{"varMapping":{"__isSmartRef__":true,"id":816},"source":"function touchstartCallback(evt) {\n    var touch = evt.touches[0];\n\n    this.clickPosition = pt(touch.clientX,touch.clientY);\n    this.lastClickPos = this.clickPosition;\n\n    return false;\n}","funcProperties":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"816":{"this":{"__isSmartRef__":true,"id":694}},"817":{"timestamp":{"__isSmartRef__":true,"id":818},"user":"sstamm","tags":[]},"818":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"819":{"varMapping":{"__isSmartRef__":true,"id":820},"source":"function touchmoveCallback(evt) {\n    var touch = evt.touches[0];\n    \n    this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n    return false;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":821},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"820":{"this":{"__isSmartRef__":true,"id":694}},"821":{"timestamp":{"__isSmartRef__":true,"id":822},"user":"sstamm","tags":[]},"822":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"823":{"varMapping":{"__isSmartRef__":true,"id":824},"source":"function touchendCallback(evt) {\n    var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n    var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n    if(delta<25) {\n        //TODO: find a better way to find the related listMorph\n        var listMorph = this.owner.owner;\n        \n        if(listMorph && listMorph.updateSelection) {\n            listMorph.updateSelection(this);\n        }\n    }\n    return false;\n}","funcProperties":{"__isSmartRef__":true,"id":825},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"824":{"this":{"__isSmartRef__":true,"id":694}},"825":{"timestamp":{"__isSmartRef__":true,"id":826},"user":"sstamm","tags":[]},"826":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (W. Europe Standard Time)"},"827":{"varMapping":{"__isSmartRef__":true,"id":828},"source":"function updateSelection(newSelectedMorph) {\n    var hasText = true;\n    if(this.selectedMorph) {\n        hasText = this.selectedMorph.submorphs[0];\n        this.selectedMorph.setFill(\n            new lively.morphic.LinearGradient(\n            [\n                {offset: 0, color: Color.rgb(253,253,253)},\n                {offset: 1, color: Color.rgb(238,238,238)}\n            ],\n            'northSouth'\n            )\n        );\n        if(hasText) {        this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n        }\n    }\n    hasText = newSelectedMorph.submorphs[0];\n\n    \n    if(hasText) {\n        this.selection = newSelectedMorph.submorphs[0].textString;\n    } else {\n        this.selection = \"\";\n    }\n    this.selectedLineNo = newSelectedMorph.index;\n    this.selectedMorph = newSelectedMorph;\n    \n    this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n        [\n            {offset: 0, color: Color.rgb(47,47,47)},\n            {offset:0.5,color: Color.rgb(21,21,21)},\n            {offset: 1, color: Color.rgb(0,0,0)}\n        ],\n        'northSouth'\n    ));\n    \n    if(hasText) {\n        this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":829},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"828":{"this":{"__isSmartRef__":true,"id":694}},"829":{"timestamp":{"__isSmartRef__":true,"id":830},"user":"sstamm","tags":[]},"830":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:29:27 GMT+0100 (W. Europe Standard Time)"},"831":{"varMapping":{"__isSmartRef__":true,"id":832},"source":"function updateList(itemList) {\n    //this.items = itemsList;\n    this.initialize();\n    if(!itemList) return\n    var that = this;\n    itemList.forEach(function (item) {\n        that.addItem(item);\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":833},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"832":{"this":{"__isSmartRef__":true,"id":694}},"833":{"timestamp":{"__isSmartRef__":true,"id":834},"user":"athomschke","tags":[]},"834":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:10:59 GMT+0100 (W. Europe Standard Time)"},"835":{"varMapping":{"__isSmartRef__":true,"id":836},"source":"function setSelection() {\n}","funcProperties":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"836":{"this":{"__isSmartRef__":true,"id":694}},"837":{"timestamp":{"__isSmartRef__":true,"id":838},"user":"sstamm","tags":[]},"838":{"isSerializedDate":true,"string":"Wed May 09 2012 16:44:21 GMT+0200 (W. Europe Daylight Time)"},"839":{"varMapping":{"__isSmartRef__":true,"id":840},"source":"function setList(itemList) {\n    return this.updateList(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":841},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"840":{"this":{"__isSmartRef__":true,"id":694}},"841":{"timestamp":{"__isSmartRef__":true,"id":842},"user":"conradcalmez","tags":[]},"842":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:55:08 GMT+0100 (W. Europe Standard Time)"},"843":{"varMapping":{"__isSmartRef__":true,"id":844},"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":845},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"844":{"this":{"__isSmartRef__":true,"id":694}},"845":{"timestamp":{"__isSmartRef__":true,"id":846},"user":"athomschke","tags":[]},"846":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:01:30 GMT+0100 (W. Europe Standard Time)"},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"source":"function selectAddedScript(scriptName) {\n    // not yet implemented\n    return\n\n\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":849},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"848":{"this":{"__isSmartRef__":true,"id":694}},"849":{"timestamp":{"__isSmartRef__":true,"id":850},"user":"athomschke","tags":[]},"850":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:01:51 GMT+0100 (W. Europe Standard Time)"},"851":{"varMapping":{"__isSmartRef__":true,"id":852},"source":"function getList() {\n    return this.itemList\n}","funcProperties":{"__isSmartRef__":true,"id":853},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"852":{"this":{"__isSmartRef__":true,"id":694}},"853":{"timestamp":{"__isSmartRef__":true,"id":854},"user":"athomschke","tags":[]},"854":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:12:14 GMT+0100 (W. Europe Standard Time)"},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"source":"function selectAt() {\n    //not yet implemented\n    return false\n}","funcProperties":{"__isSmartRef__":true,"id":857},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"856":{"this":{"__isSmartRef__":true,"id":694}},"857":{"timestamp":{"__isSmartRef__":true,"id":858},"user":"athomschke","tags":[]},"858":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:13:54 GMT+0100 (W. Europe Standard Time)"},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function onTouchEnd(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"860":{"this":{"__isSmartRef__":true,"id":694},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":861}},"861":{"$super":{"__isSmartRef__":true,"id":862}},"862":{"varMapping":{"__isSmartRef__":true,"id":863},"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":864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"863":{"obj":{"__isSmartRef__":true,"id":694},"name":"onTouchEnd"},"864":{},"865":{"timestamp":{"__isSmartRef__":true,"id":866},"user":"sstamm","tags":[]},"866":{"isSerializedDate":true,"string":"Wed May 09 2012 16:43:54 GMT+0200 (W. Europe Daylight Time)"},"867":{"varMapping":{"__isSmartRef__":true,"id":868},"source":"function onTouchMove(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"868":{"this":{"__isSmartRef__":true,"id":694}},"869":{"timestamp":{"__isSmartRef__":true,"id":870},"user":"sstamm","tags":[]},"870":{"isSerializedDate":true,"string":"Wed May 09 2012 16:43:58 GMT+0200 (W. Europe Daylight Time)"},"871":{"varMapping":{"__isSmartRef__":true,"id":872},"source":"function onTouchStart(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":877},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"872":{"this":{"__isSmartRef__":true,"id":694},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":873}},"873":{"$super":{"__isSmartRef__":true,"id":874}},"874":{"varMapping":{"__isSmartRef__":true,"id":875},"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":876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"875":{"obj":{"__isSmartRef__":true,"id":694},"name":"onTouchStart"},"876":{},"877":{"timestamp":{"__isSmartRef__":true,"id":878},"user":"sstamm","tags":[]},"878":{"isSerializedDate":true,"string":"Wed May 09 2012 16:44:03 GMT+0200 (W. Europe Daylight Time)"},"879":{"submorphs":[{"__isSmartRef__":true,"id":880}],"scripts":[],"id":"34A8AA39-8354-4071-AD2F-B0A521476D21","shape":{"__isSmartRef__":true,"id":927},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":934},"showsHalos":false,"name":"ObjectEditorConnectionList","partsBinMetaInfo":{"__isSmartRef__":true,"id":935},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":964},"eventHandler":{"__isSmartRef__":true,"id":965},"attributeConnections":[{"__isSmartRef__":true,"id":966}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"derivationIds":[127,"86FF1C90-3CC2-44B9-8DEE-1BC214D734AE","EEA7DF22-C343-4B58-A447-43BB95D5405F","9665449D-F0E4-4BCE-854B-48D19C73214E","8B65C997-34DC-4F70-A1BA-266488F1588C","CBDEE8B9-9E1C-44E5-85E6-6D85E0738D59","44F04EA0-0B18-48F5-82DE-1C400B2E7E66","B5BC05CD-9955-4638-A7C0-3A76AD1EE0B1","B01D7C41-6561-42C3-AF67-837DB8619D96","EBA19361-462E-4B18-80CC-D4DF92C36B05","ABDDDBA7-E05A-4447-B258-C60BD7693A6D","71BDB43E-1F93-4CED-A861-8D6975D779E3","619B385B-0252-4B72-97DF-FF5B379EC5CD","9BDB4F16-24BE-4E52-81C7-4F258B559112","D1C2630B-5609-4BD4-8397-69DF07DBF116","C338DCD8-0BD5-4F7A-8994-ECAD759D0219","7BB99BBD-B178-4A1E-8B5E-3ED73EC21564","42C1F44B-6798-401A-A227-B92216BD25CC","A355941F-1965-4BE6-8B58-ACF51F62CDCE","73C4647B-77A2-414D-AB19-615DA8521633","D6672BDD-1771-48D1-B342-0688070A0CDE","97393AF6-621A-432B-80FF-C64E41F953CE","EB21B52D-CE57-4CA1-843D-A1278C0DC570"],"priorExtent":{"__isSmartRef__":true,"id":968},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":969},"itemList":[],"_ClipMode":"hidden","selectedMorph":null,"items":[],"selectedLineNo":-1,"owner":{"__isSmartRef__":true,"id":1},"distanceToDragEvent":{"__isSmartRef__":true,"id":970},"selection":null,"_Rotation":0,"_Scale":0.994014980014994,"partTests":{"__isSmartRef__":true,"id":971},"selectionDisabled":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":972},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.TouchToMouse"]},"880":{"submorphs":[],"scripts":[],"id":"FBC3B64E-5A35-4DFE-98D6-6BC83367D3E9","shape":{"__isSmartRef__":true,"id":881},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":888},"showsHalos":false,"name":"ListItemContainer","partsBinMetaInfo":{"__isSmartRef__":true,"id":889},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":890},"eventHandler":{"__isSmartRef__":true,"id":891},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"70193F55-BD62-471E-90CE-6CF2F345BFF8","C29938AD-3221-4AB2-80BA-EBF64E5C8063","F478A91E-32FA-4527-BA77-81009843E6E7","3C2C2181-A589-45A7-B023-FDED3CDFE499","45EE0951-5C82-4C8D-808E-E69D6E6AFFC8","2964BC5A-EAE3-475B-95AC-0E9D3024D1BF","74F5FD7F-E5EA-4BE8-964D-7ABBFAFCB5D5","D3CBEE5F-FB39-4E1F-A1D8-CD60CAFAF2F9","1852D238-B9F1-4250-BC2C-F43F9855457A","EEA1E0C3-5567-4B87-B2FE-DDF9A527434B","6543C5C6-6315-484B-A637-A47760C47EF2","30CF65CD-68C9-4CCF-A1B5-9510B5396635","02CCA7C2-020A-4720-82AB-5160BD88FCCF","0FADBFB0-8834-43DA-9207-498C3E741719","AD3B918D-FFC1-4F81-A754-0AFD413C9864","929DF315-3DBC-494A-8890-819888AC05AD","A82888AB-46E3-4A23-B14B-411F44D6860B","67B34C15-D693-48E9-ADAD-BF5898005CE4","D7C809AD-2975-4FCA-ADC4-9318CFDF3149","5B08FCA5-D6BA-4CCC-AB3E-41C28CB2C657","6F8E8EEB-C56B-4E32-B1A9-CC2DD8EC9A25","7B8397B5-B115-430D-BE73-83B930732730"],"owner":{"__isSmartRef__":true,"id":879},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":892},"layout":{"__isSmartRef__":true,"id":893},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":894},"__LivelyClassName__":"lively.morphic.Box"},"881":{"position":{"__isSmartRef__":true,"id":882},"_Extent":{"__isSmartRef__":true,"id":883},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":884},"_Fill":{"__isSmartRef__":true,"id":885},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":886},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":887},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"882":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"883":{"x":176.9714634711155,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"884":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"885":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"886":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"887":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"888":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"889":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"890":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"891":{"morph":{"__isSmartRef__":true,"id":880},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"892":{"x":176.9714634711155,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"893":{"resizeWidth":true,"adjustForNewBounds":true},"894":{"onTouchStart":{"__isSmartRef__":true,"id":895},"onTouchMove":{"__isSmartRef__":true,"id":903},"onTouchEnd":{"__isSmartRef__":true,"id":911},"stayInBounds":{"__isSmartRef__":true,"id":919},"isInBounds":{"__isSmartRef__":true,"id":923}},"895":{"varMapping":{"__isSmartRef__":true,"id":896},"source":"function onTouchStart(evt) {\n    evt.stop();\n\n    var touch = evt.touches[0];\n\n    if(touch) {\n        touch.originalDragOffset = touch.clientY;\n        touch.originalMenuOffset = this.getPosition().y;\n    \n        var heightMenu = this.owner.itemList.length*43;\n        var heightContainer = this.owner.getExtent().y;\n        this.maxScroll = heightMenu - heightContainer;\n\n        this.isTouched = true;\n        this.velocity = 0;\n        touch.lastTouch = touch.clientY;\n        touch.lastUpdate = new Date().valueOf();\n    }\n    evt.stop();\n    return true;\n\n    \n}","funcProperties":{"__isSmartRef__":true,"id":901},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"896":{"this":{"__isSmartRef__":true,"id":880},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":897}},"897":{"$super":{"__isSmartRef__":true,"id":898}},"898":{"varMapping":{"__isSmartRef__":true,"id":899},"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":900},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"899":{"obj":{"__isSmartRef__":true,"id":880},"name":"onTouchStart"},"900":{},"901":{"timestamp":{"__isSmartRef__":true,"id":902},"user":"athomschke","tags":[]},"902":{"isSerializedDate":true,"string":"Thu Feb 09 2012 17:42:46 GMT+0100 (W. Europe Standard Time)"},"903":{"varMapping":{"__isSmartRef__":true,"id":904},"source":"function onTouchMove(evt) {\n    evt.stop();\n\n    var touch = evt.touches[0];\n    \n    if(touch && touch.originalDragOffset) {\n        var delta = touch.clientY - touch.originalDragOffset;\n        this.setPosition(pt(0,touch.originalMenuOffset+delta));\n\n        if(!this.isInBounds()) {\n            var yPos = Math.min(0,Math.max(-this.maxScroll, this.getPosition().y));\n            delta = this.getPosition().y-yPos;\n            this.moveBy(pt(0,-delta/2));\n        }\n\n        var positionDelta = touch.lastTouch-touch.clientY;\n        var now = new Date().valueOf();\n        var timeDelta = now - touch.lastUpdate;\n\n        touch.lastTouch = touch.clientY;\n        touch.lastUpdate = now;\n\n        this.velocity = positionDelta*(-10/timeDelta);\n        \n\n    }\n    evt.stop();\n    return true;\n\n}","funcProperties":{"__isSmartRef__":true,"id":909},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"904":{"this":{"__isSmartRef__":true,"id":880},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":905}},"905":{"$super":{"__isSmartRef__":true,"id":906}},"906":{"varMapping":{"__isSmartRef__":true,"id":907},"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":908},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"907":{"obj":{"__isSmartRef__":true,"id":880},"name":"onTouchMove"},"908":{},"909":{"timestamp":{"__isSmartRef__":true,"id":910},"user":"athomschke","tags":[]},"910":{"isSerializedDate":true,"string":"Thu Feb 09 2012 17:42:38 GMT+0100 (W. Europe Standard Time)"},"911":{"varMapping":{"__isSmartRef__":true,"id":912},"source":"function onTouchEnd(evt) {\n    var lastUpdate = new Date().valueOf();\n    this.isTouched = false;\n    var that = this;\n\n    var flickingFct = function() {\n        var now = new Date().valueOf();\n        var delta = now - lastUpdate;\n        var velo;\n        that.velocity *= Math.pow(0.99, delta);\n        that.moveBy(pt(0,that.velocity));\n        that.stayInBounds();\n        velo = that.velocity;\n        \n        lastUpdate = now;\n        if((velo*velo>0.05 || !that.isInBounds()) && !that.isTouched) {\n            window.setTimeout(flickingFct,10);\n        }\n    };\n\n    window.setTimeout(flickingFct,10);\n    evt.stop();\n\n}","funcProperties":{"__isSmartRef__":true,"id":917},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"912":{"this":{"__isSmartRef__":true,"id":880},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":913}},"913":{"$super":{"__isSmartRef__":true,"id":914}},"914":{"varMapping":{"__isSmartRef__":true,"id":915},"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":916},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"915":{"obj":{"__isSmartRef__":true,"id":880},"name":"onTouchEnd"},"916":{},"917":{"timestamp":{"__isSmartRef__":true,"id":918},"user":"athomschke","tags":[]},"918":{"isSerializedDate":true,"string":"Thu Feb 09 2012 17:42:30 GMT+0100 (W. Europe Standard Time)"},"919":{"varMapping":{"__isSmartRef__":true,"id":920},"source":"function stayInBounds() {\n    var yPos = Math.min(0,Math.max(-this.maxScroll, this.getPosition().y));\n    var delta = this.getPosition().y-yPos;\n\n    if(this.velocity*delta > 0) {\n        // out of bounds and velocity is in wrong direction\n        this.velocity -= delta/15;\n    } else if(delta!=0) {\n        this.velocity = -delta/15;\n    }\n//    this.setPosition(pt(0,yPos));\n\n}","funcProperties":{"__isSmartRef__":true,"id":921},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"920":{"this":{"__isSmartRef__":true,"id":880}},"921":{"timestamp":{"__isSmartRef__":true,"id":922},"user":"sstamm","tags":[]},"922":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:38:39 GMT+0100 (W. Europe Standard Time)"},"923":{"varMapping":{"__isSmartRef__":true,"id":924},"source":"function isInBounds() {\n    var yPos = Math.min(0,Math.max(-this.maxScroll, this.getPosition().y));\n    var delta = this.getPosition().y-yPos;\n\n    return Math.abs(delta)<=0.02;\n\n}","funcProperties":{"__isSmartRef__":true,"id":925},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"924":{"this":{"__isSmartRef__":true,"id":880}},"925":{"timestamp":{"__isSmartRef__":true,"id":926},"user":"sstamm","tags":[]},"926":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:38:48 GMT+0100 (W. Europe Standard Time)"},"927":{"position":{"__isSmartRef__":true,"id":928},"_Extent":{"__isSmartRef__":true,"id":929},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":930},"_Fill":{"__isSmartRef__":true,"id":931},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":932},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":933},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"928":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"929":{"x":176.9714634711155,"y":83.38746738556404,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"930":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"931":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"932":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"933":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"934":{"x":10.15912117262181,"y":409.8118386862913,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"935":{"partsSpaceName":"PartsBin/iPad Widgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A morph which behaves like an IPad list. Use initialize() to clear and addItem() to ... well ... add items","migrationLevel":4,"partName":"TouchList","changes":[{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":946},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":954},{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":960},{"__isSmartRef__":true,"id":962}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"936":{"date":{"__isSmartRef__":true,"id":937},"author":"athomschke","message":"removed connectors","id":"2A3B787D-2040-48CB-B2BE-DCB454F131D9"},"937":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:21:24 GMT+0100 (W. Europe Standard Time)"},"938":{"date":{"__isSmartRef__":true,"id":939},"author":"athomschke","message":"convenience: selectAt(int)","id":"95BE3986-850B-423D-ACFA-2E7F7A0AE6B7"},"939":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:20:49 GMT+0100 (W. Europe Standard Time)"},"940":{"date":{"__isSmartRef__":true,"id":941},"author":"athomschke","message":"when updateList is called without a parameter, the List is reset (convenience)","id":"48CDE5D5-4D4E-47D2-A142-6DEE00CADBD2"},"941":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:09:54 GMT+0100 (W. Europe Standard Time)"},"942":{"date":{"__isSmartRef__":true,"id":943},"author":"conradcalmez","message":"added setList convenience method","id":"6347240A-F61E-44ED-82FA-15047F8B547D"},"943":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:55:45 GMT+0100 (W. Europe Standard Time)"},"944":{"date":{"__isSmartRef__":true,"id":945},"author":"sstamm","message":"added caching to itemListMorph onmove","id":"441999A4-0272-48BF-B0E8-0F38B9B540AC"},"945":{"isSerializedDate":true,"string":"Tue Jan 31 2012 11:44:34 GMT+0100 (W. Europe Standard Time)"},"946":{"date":{"__isSmartRef__":true,"id":947},"author":"sstamm","message":"disabled halos on the text morph","id":"9EAE8CAF-9C94-41BE-B398-D3D688298B13"},"947":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:48:12 GMT+0100 (W. Europe Standard Time)"},"948":{"date":{"__isSmartRef__":true,"id":949},"author":"sstamm","message":"","id":"A26BF7D0-A1D7-46E6-9AF1-47338619CD17"},"949":{"isSerializedDate":true,"string":"Fri Jan 27 2012 16:02:09 GMT+0100 (W. Europe Standard Time)"},"950":{"date":{"__isSmartRef__":true,"id":951},"author":"sstamm","message":"fixed bug when deleting the text morph on the iPad","id":"C93A96ED-F8E8-44F7-A454-D664753C5466"},"951":{"isSerializedDate":true,"string":"Fri Jan 27 2012 10:30:26 GMT+0100 (W. Europe Standard Time)"},"952":{"date":{"__isSmartRef__":true,"id":953},"author":"sstamm","message":"initial commit","id":"767E9E7C-11E5-4BEF-A4B2-3668C46D0969"},"953":{"isSerializedDate":true,"string":"Tue Jan 24 2012 19:00:20 GMT+0100 (W. Europe Standard Time)"},"954":{"date":{"__isSmartRef__":true,"id":955},"author":"sstamm","message":"added updateListMethod","id":"111B62E3-0972-481F-BECB-26B8976BE918"},"955":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:34:53 GMT+0100 (W. Europe Standard Time)"},"956":{"date":{"__isSmartRef__":true,"id":957},"author":"sstamm","message":"we won't implement setSelection","id":"122879B0-1530-413F-A4A6-8EF04FBB4B52"},"957":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:42:39 GMT+0100 (W. Europe Standard Time)"},"958":{"date":{"__isSmartRef__":true,"id":959},"author":"sstamm","message":"","id":"DFC5B2E7-2E6B-425A-B10A-52B615C3A635"},"959":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:44:21 GMT+0100 (W. Europe Standard Time)"},"960":{"date":{"__isSmartRef__":true,"id":961},"author":"sstamm","message":"","id":"56852062-4668-4A1A-ACB3-BCF641C8B4F4"},"961":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:56:37 GMT+0100 (W. Europe Standard Time)"},"962":{"date":{"__isSmartRef__":true,"id":963},"author":"athomschke","message":"convenience method getList()","id":"2F549176-1E83-42B8-9A12-C310581B0B4B"},"963":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:13:08 GMT+0100 (W. Europe Standard Time)"},"964":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"965":{"morph":{"__isSmartRef__":true,"id":879},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"966":{"sourceObj":{"__isSmartRef__":true,"id":879},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"displaySourceForConnection","converter":null,"converterString":"function (value) {\n        if (!value) return;\n        return (value === '-- ALL --') ? null : value[1];\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":967},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"967":{"source":{"__isSmartRef__":true,"id":879},"target":{"__isSmartRef__":true,"id":1}},"968":{"x":176.9714634711155,"y":83.38746738556404,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"969":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true,"moveVertical":false},"970":{"x":127.04816844900995,"y":-15.162568515408907,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"971":{},"972":{"onrestore":{"__isSmartRef__":true,"id":973},"setupConnections":{"__isSmartRef__":true,"id":981},"initialize":{"__isSmartRef__":true,"id":985},"addItem":{"__isSmartRef__":true,"id":993},"createListItem":{"__isSmartRef__":true,"id":997},"touchstartCallback":{"__isSmartRef__":true,"id":1001},"touchmoveCallback":{"__isSmartRef__":true,"id":1005},"touchendCallback":{"__isSmartRef__":true,"id":1009},"updateSelection":{"__isSmartRef__":true,"id":1013},"updateList":{"__isSmartRef__":true,"id":1017},"setSelection":{"__isSmartRef__":true,"id":1021},"setList":{"__isSmartRef__":true,"id":1025},"getList":{"__isSmartRef__":true,"id":1029},"selectAt":{"__isSmartRef__":true,"id":1033},"preselectItem":{"__isSmartRef__":true,"id":1037},"onTouchEnd":{"__isSmartRef__":true,"id":1041},"onTouchMove":{"__isSmartRef__":true,"id":1049},"onTouchStart":{"__isSmartRef__":true,"id":1053}},"973":{"varMapping":{"__isSmartRef__":true,"id":974},"source":"function onrestore() {\n    this.setupConnections();\n}","funcProperties":{"__isSmartRef__":true,"id":979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"974":{"this":{"__isSmartRef__":true,"id":879},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":975}},"975":{"$super":{"__isSmartRef__":true,"id":976}},"976":{"varMapping":{"__isSmartRef__":true,"id":977},"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":978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"977":{"obj":{"__isSmartRef__":true,"id":879},"name":"onrestore"},"978":{},"979":{"timestamp":{"__isSmartRef__":true,"id":980},"user":"sstamm","tags":[]},"980":{"isSerializedDate":true,"string":"Wed May 09 2012 16:49:30 GMT+0200 (W. Europe Daylight Time)"},"981":{"varMapping":{"__isSmartRef__":true,"id":982},"source":"function setupConnections() {\n    connect(this, \"selection\", this.owner, \"displaySourceForConnection\", {converter: \n\tfunction (value) {\n        if (!value) return;\n        return (value === '-- ALL --') ? null : value[1];\n}});\n}","funcProperties":{"__isSmartRef__":true,"id":983},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"982":{"this":{"__isSmartRef__":true,"id":879}},"983":{"timestamp":{"__isSmartRef__":true,"id":984},"user":"athomschke","tags":[]},"984":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:17:52 GMT+0100 (W. Europe Standard Time)"},"985":{"varMapping":{"__isSmartRef__":true,"id":986},"source":"function initialize() {\n    this.itemList = [];\n    this.items = [];\n    this.selection = null;\n    this.selectedLineNo = -1;\n    this.selectedMorph = null;\n    //this.shape.setClipMode(\"hidden\");\n    var itemContainer = this.get(\"ListItemContainer\");\n    \n    itemContainer.setPosition(pt(0,0));\n    itemContainer.submorphs.invoke(\"remove\");\n    \n}","funcProperties":{"__isSmartRef__":true,"id":991},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"986":{"this":{"__isSmartRef__":true,"id":879},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":987}},"987":{"$super":{"__isSmartRef__":true,"id":988}},"988":{"varMapping":{"__isSmartRef__":true,"id":989},"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":990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"989":{"obj":{"__isSmartRef__":true,"id":879},"name":"initialize"},"990":{},"991":{"timestamp":{"__isSmartRef__":true,"id":992},"user":"sstamm","tags":[]},"992":{"isSerializedDate":true,"string":"Wed May 09 2012 16:49:16 GMT+0200 (W. Europe Daylight Time)"},"993":{"varMapping":{"__isSmartRef__":true,"id":994},"source":"function addItem(text) {\n    var newMorph = this.createListItem(text);\n    \n    newMorph.setPosition(pt(0,this.itemList.length*43));\n    this.itemList.push(newMorph);\n    this.get(\"ListItemContainer\").addMorph(newMorph);\n}","funcProperties":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"994":{"this":{"__isSmartRef__":true,"id":879}},"995":{"timestamp":{"__isSmartRef__":true,"id":996},"user":"sstamm","tags":[]},"996":{"isSerializedDate":true,"string":"Wed Jan 18 2012 15:40:17 GMT+0100 (W. Europe Standard Time)"},"997":{"varMapping":{"__isSmartRef__":true,"id":998},"source":"function createListItem(textString) {\n    var part = Morph.makeRectangle(0, 0, 10, 10);\n    part.disableSelection();\n\n    part.index = this.itemList.length;\n\n    part.applyStyle({\n        extent: pt(this.getExtent().x,44),\n        fill: new lively.morphic.LinearGradient(\n            [\n                {offset: 0, color: Color.rgb(253,253,253)},\n                {offset: 1, color: Color.rgb(238,238,238)}\n            ],\n            'northSouth'\n        ),\n        resizeWidth: true,\n        borderColor: Color.rgb(138,138,138)\n    });\n    \n    part.disableDragging();\n    part.disableGrabbing();\n\n\n    part.onTouchStart = this.touchstartCallback;\n    part.onTouchMove = this.touchmoveCallback;\n    part.onTouchEnd = this.touchendCallback;\n\n    var text = new TextMorph(new Rectangle(0,0,this.getExtent().x,44));\n    text.applyStyle({fill: null, borderWidth: 0, borderColor: null});\n    text.setFontSize(14);\n    text.setTextColor(Color.rgb(47,47,47));\n    text.setFontFamily(\"Helvetica, Arial, sans-serif\");\n\n    text.setPosition(pt(10,10));\n    text.textString = textString;\n\n    text.emphasizeAll({fontWeight: 'bold'});\n    text.disableHalos();\n    text.ignoreEvents();\n    part.addMorph(text);\n\n    part.connectionValue = textString;\n\n    return part;\n}","funcProperties":{"__isSmartRef__":true,"id":999},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"998":{"this":{"__isSmartRef__":true,"id":879}},"999":{"timestamp":{"__isSmartRef__":true,"id":1000},"user":"sstamm","tags":[]},"1000":{"isSerializedDate":true,"string":"Wed May 09 2012 17:00:36 GMT+0200 (W. Europe Daylight Time)"},"1001":{"varMapping":{"__isSmartRef__":true,"id":1002},"source":"function touchstartCallback(evt) {\n    var touch = evt.touches[0];\n\n    this.clickPosition = pt(touch.clientX,touch.clientY);\n    this.lastClickPos = this.clickPosition;\n\n    return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1002":{"this":{"__isSmartRef__":true,"id":879}},"1003":{"timestamp":{"__isSmartRef__":true,"id":1004},"user":"sstamm","tags":[]},"1004":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:37:36 GMT+0100 (W. Europe Standard Time)"},"1005":{"varMapping":{"__isSmartRef__":true,"id":1006},"source":"function touchmoveCallback(evt) {\n    var touch = evt.touches[0];\n    \n    this.lastClickPos = pt(touch.clientX,touch.clientY);\n\n    return false;\n    \n}","funcProperties":{"__isSmartRef__":true,"id":1007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1006":{"this":{"__isSmartRef__":true,"id":879}},"1007":{"timestamp":{"__isSmartRef__":true,"id":1008},"user":"sstamm","tags":[]},"1008":{"isSerializedDate":true,"string":"Thu Jan 19 2012 11:34:29 GMT+0100 (W. Europe Standard Time)"},"1009":{"varMapping":{"__isSmartRef__":true,"id":1010},"source":"function touchendCallback(evt) {\n    var deltaPt = this.lastClickPos.subPt(this.clickPosition);\n    var delta = deltaPt.x*deltaPt.x + deltaPt.y*deltaPt.y;\n    if(delta<25) {\n        //TODO: find a better way to find the related listMorph\n        var listMorph = this.owner.owner;\n        \n        if(listMorph && listMorph.updateSelection) {\n            listMorph.updateSelection(this);\n        }\n    }\n    return false;\n}","funcProperties":{"__isSmartRef__":true,"id":1011},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1010":{"this":{"__isSmartRef__":true,"id":879}},"1011":{"timestamp":{"__isSmartRef__":true,"id":1012},"user":"sstamm","tags":[]},"1012":{"isSerializedDate":true,"string":"Fri Jan 20 2012 17:14:44 GMT+0100 (W. Europe Standard Time)"},"1013":{"varMapping":{"__isSmartRef__":true,"id":1014},"source":"function updateSelection(newSelectedMorph) {\n    var hasText = true;\n    if(this.selectedMorph) {\n        hasText = this.selectedMorph.submorphs[0];\n        this.selectedMorph.setFill(\n            new lively.morphic.LinearGradient(\n            [\n                {offset: 0, color: Color.rgb(253,253,253)},\n                {offset: 1, color: Color.rgb(238,238,238)}\n            ],\n            'northSouth'\n            )\n        );\n        if(hasText) {        this.selectedMorph.submorphs[0].setTextColor(Color.rgb(47,47,47));\n        }\n    }\n    hasText = newSelectedMorph.submorphs[0];\n\n    \n    if(hasText) {\n        this.selection = newSelectedMorph.connectionValue;\n    } else {\n        this.selection = \"\";\n    }\n    this.selectedLineNo = newSelectedMorph.index;\n    this.selectedMorph = newSelectedMorph;\n    \n    this.selectedMorph.setFill(\nnew lively.morphic.LinearGradient(\n        [\n            {offset: 0, color: Color.rgb(47,47,47)},\n            {offset:0.5,color: Color.rgb(21,21,21)},\n            {offset: 1, color: Color.rgb(0,0,0)}\n        ],\n        'northSouth'\n    ));\n    \n    if(hasText) {\n        this.selectedMorph.submorphs[0].setTextColor(Color.rgb(222,222,222));\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":1015},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1014":{"this":{"__isSmartRef__":true,"id":879}},"1015":{"timestamp":{"__isSmartRef__":true,"id":1016},"user":"sstamm","tags":[]},"1016":{"isSerializedDate":true,"string":"Wed May 09 2012 17:06:06 GMT+0200 (W. Europe Daylight Time)"},"1017":{"varMapping":{"__isSmartRef__":true,"id":1018},"source":"function updateList(itemList) {\n    //this.items = itemsList;\n    this.initialize();\n    if (!itemList) return;\n    var that = this;\n    itemList.forEach(function (item) {\n        that.addItem(item);\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":1019},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1018":{"this":{"__isSmartRef__":true,"id":879}},"1019":{"timestamp":{"__isSmartRef__":true,"id":1020},"user":"athomschke","tags":[]},"1020":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:09:24 GMT+0100 (W. Europe Standard Time)"},"1021":{"varMapping":{"__isSmartRef__":true,"id":1022},"source":"function setSelection() {\n    console.log(\"NO\");\n}","funcProperties":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1022":{"this":{"__isSmartRef__":true,"id":879}},"1023":{"timestamp":{"__isSmartRef__":true,"id":1024},"user":"sstamm","tags":[]},"1024":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:40:54 GMT+0100 (W. Europe Standard Time)"},"1025":{"varMapping":{"__isSmartRef__":true,"id":1026},"source":"function setList(itemList) {\n    return this.updateList(itemList);\n}","funcProperties":{"__isSmartRef__":true,"id":1027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1026":{"this":{"__isSmartRef__":true,"id":879}},"1027":{"timestamp":{"__isSmartRef__":true,"id":1028},"user":"conradcalmez","tags":[]},"1028":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:55:08 GMT+0100 (W. Europe Standard Time)"},"1029":{"varMapping":{"__isSmartRef__":true,"id":1030},"source":"function getList() {\n    return this.itemList;\n}","funcProperties":{"__isSmartRef__":true,"id":1031},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1030":{"this":{"__isSmartRef__":true,"id":879}},"1031":{"timestamp":{"__isSmartRef__":true,"id":1032},"user":"athomschke","tags":[]},"1032":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:12:52 GMT+0100 (W. Europe Standard Time)"},"1033":{"varMapping":{"__isSmartRef__":true,"id":1034},"source":"function selectAt(int) {\n    //not yet implemented\n    return false\n}","funcProperties":{"__isSmartRef__":true,"id":1035},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1034":{"this":{"__isSmartRef__":true,"id":879}},"1035":{"timestamp":{"__isSmartRef__":true,"id":1036},"user":"athomschke","tags":[]},"1036":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:20:28 GMT+0100 (W. Europe Standard Time)"},"1037":{"varMapping":{"__isSmartRef__":true,"id":1038},"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":1039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1038":{"this":{"__isSmartRef__":true,"id":879}},"1039":{"timestamp":{"__isSmartRef__":true,"id":1040},"user":"athomschke","tags":[]},"1040":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:28:55 GMT+0100 (W. Europe Standard Time)"},"1041":{"varMapping":{"__isSmartRef__":true,"id":1042},"source":"function onTouchEnd(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":1047},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1042":{"this":{"__isSmartRef__":true,"id":879},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1043}},"1043":{"$super":{"__isSmartRef__":true,"id":1044}},"1044":{"varMapping":{"__isSmartRef__":true,"id":1045},"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":1046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1045":{"obj":{"__isSmartRef__":true,"id":879},"name":"onTouchEnd"},"1046":{},"1047":{"timestamp":{"__isSmartRef__":true,"id":1048},"user":"sstamm","tags":[]},"1048":{"isSerializedDate":true,"string":"Wed May 09 2012 16:49:51 GMT+0200 (W. Europe Daylight Time)"},"1049":{"varMapping":{"__isSmartRef__":true,"id":1050},"source":"function onTouchMove(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":1051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1050":{"this":{"__isSmartRef__":true,"id":879}},"1051":{"timestamp":{"__isSmartRef__":true,"id":1052},"user":"sstamm","tags":[]},"1052":{"isSerializedDate":true,"string":"Wed May 09 2012 16:49:55 GMT+0200 (W. Europe Daylight Time)"},"1053":{"varMapping":{"__isSmartRef__":true,"id":1054},"source":"function onTouchStart(e) {\n    e.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":1059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1054":{"this":{"__isSmartRef__":true,"id":879},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1055}},"1055":{"$super":{"__isSmartRef__":true,"id":1056}},"1056":{"varMapping":{"__isSmartRef__":true,"id":1057},"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":1058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1057":{"obj":{"__isSmartRef__":true,"id":879},"name":"onTouchStart"},"1058":{},"1059":{"timestamp":{"__isSmartRef__":true,"id":1060},"user":"sstamm","tags":[]},"1060":{"isSerializedDate":true,"string":"Wed May 09 2012 16:49:59 GMT+0200 (W. Europe Daylight Time)"},"1061":{"position":{"__isSmartRef__":true,"id":1062},"_Extent":{"__isSmartRef__":true,"id":1063},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1064},"_Fill":{"__isSmartRef__":true,"id":1065},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1066},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1067},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1062":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1063":{"x":906,"y":503,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1064":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1065":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1066":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1067":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1068":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":1069}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1069":{"date":{"__isSmartRef__":true,"id":1070},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1070":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (W. Europe Daylight Time)"},"1071":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1072":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1073":{"x":906,"y":503,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1074":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1075":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1076":{"x":0,"y":36,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1077":{"displayInitialScript":{"__isSmartRef__":true,"id":1078},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1082},"displaySourceForConnection":{"__isSmartRef__":true,"id":1086},"displaySourceForScript":{"__isSmartRef__":true,"id":1090},"generateSourceForConnection":{"__isSmartRef__":true,"id":1094},"generateSourceForScript":{"__isSmartRef__":true,"id":1098},"generateTargetCode":{"__isSmartRef__":true,"id":1102},"newConnection":{"__isSmartRef__":true,"id":1106},"newScript":{"__isSmartRef__":true,"id":1110},"reset":{"__isSmartRef__":true,"id":1114},"selectChangedContent":{"__isSmartRef__":true,"id":1118},"setTarget":{"__isSmartRef__":true,"id":1122},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1126},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1130},"updateLists":{"__isSmartRef__":true,"id":1134},"onShutdown":{"__isSmartRef__":true,"id":1138},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":1142},"update":{"__isSmartRef__":true,"id":1146},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":1150},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":1154},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":1158},"printTags":{"__isSmartRef__":true,"id":1166},"setTag":{"__isSmartRef__":true,"id":1170},"runScript":{"__isSmartRef__":true,"id":1174}},"1078":{"varMapping":{"__isSmartRef__":true,"id":1079},"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":1080},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1079":{"this":{"__isSmartRef__":true,"id":1}},"1080":{"timestamp":{"__isSmartRef__":true,"id":1081},"user":"lauritz","tags":[]},"1081":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (W. Europe Standard Time)"},"1082":{"varMapping":{"__isSmartRef__":true,"id":1083},"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":1084},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1083":{"this":{"__isSmartRef__":true,"id":1}},"1084":{"timestamp":{"__isSmartRef__":true,"id":1085},"user":"lauritz","tags":[]},"1085":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1086":{"varMapping":{"__isSmartRef__":true,"id":1087},"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":1088},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1087":{"this":{"__isSmartRef__":true,"id":1}},"1088":{"timestamp":{"__isSmartRef__":true,"id":1089},"user":"conradcalmez","tags":[]},"1089":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (W. Europe Standard Time)"},"1090":{"varMapping":{"__isSmartRef__":true,"id":1091},"source":"function displaySourceForScript(scriptName) {\n    var code = \"\",\n        that = this;\n    if (scriptName === null) {\n        this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n            code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n        });\n        code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n    } else {\n        code = this.generateSourceForScript(scriptName); \n    }\n    this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1092},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1091":{"this":{"__isSmartRef__":true,"id":1}},"1092":{"timestamp":{"__isSmartRef__":true,"id":1093},"user":"lauritz","tags":[]},"1093":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (W. Europe Standard Time)"},"1094":{"varMapping":{"__isSmartRef__":true,"id":1095},"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":1096},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1095":{"this":{"__isSmartRef__":true,"id":1}},"1096":{"timestamp":{"__isSmartRef__":true,"id":1097},"user":"lauritz","tags":[]},"1097":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1098":{"varMapping":{"__isSmartRef__":true,"id":1099},"source":"function generateSourceForScript(scriptName) {\n    var script = this.target[scriptName],\n        annotation = '',\n        scriptSource = '',\n        tagScript = '';\n\n    if (script.timestamp && script.user) \n        annotation = Strings.format('// changed at %s by %s  \\n', script.timestamp, script.user);\n    scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n    tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n    return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":1100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1099":{"this":{"__isSmartRef__":true,"id":1}},"1100":{"timestamp":{"__isSmartRef__":true,"id":1101},"user":"lauritz","tags":[]},"1101":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (W. Europe Standard Time)"},"1102":{"varMapping":{"__isSmartRef__":true,"id":1103},"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":1104},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1103":{"this":{"__isSmartRef__":true,"id":1}},"1104":{"timestamp":{"__isSmartRef__":true,"id":1105},"user":"lauritz","tags":[]},"1105":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1106":{"varMapping":{"__isSmartRef__":true,"id":1107},"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":1108},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1107":{"this":{"__isSmartRef__":true,"id":1}},"1108":{"timestamp":{"__isSmartRef__":true,"id":1109},"user":"lauritz","tags":[]},"1109":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1110":{"varMapping":{"__isSmartRef__":true,"id":1111},"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":1112},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1111":{"this":{"__isSmartRef__":true,"id":1}},"1112":{"timestamp":{"__isSmartRef__":true,"id":1113},"user":"lauritz","tags":[]},"1113":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (W. Europe Standard Time)"},"1114":{"varMapping":{"__isSmartRef__":true,"id":1115},"source":"function reset() {\n    this.scriptPane = this.get('ObjectEditorScriptPane')\n    this.scriptList = this.get('ObjectEditorScriptList')\n    this.connectionList = this.get('ObjectEditorConnectionList')\n    this.morphSelector = this.get('ObjectEditorMorphSelector')\n    this.target = null;\n    this.scriptPane.reset();\n    this.scriptList.setList();\n    this.scriptList.selection = null;\n    this.connectionList.setList();\n    this.connectionList.selection = null;\n    this.morphSelector.reset();\n    this.tagChooser.reset();\n    this.currentTag = null;\n    this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":1116},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1115":{"this":{"__isSmartRef__":true,"id":1}},"1116":{"timestamp":{"__isSmartRef__":true,"id":1117},"user":"conradcalmez","tags":[]},"1117":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (W. Europe Standard Time)"},"1118":{"varMapping":{"__isSmartRef__":true,"id":1119},"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":1120},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1119":{"this":{"__isSmartRef__":true,"id":1}},"1120":{"timestamp":{"__isSmartRef__":true,"id":1121},"user":"lauritz","tags":[]},"1121":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:47:56 GMT+0100 (W. Europe Standard Time)"},"1122":{"varMapping":{"__isSmartRef__":true,"id":1123},"source":"function setTarget(morph) {\n    this.reset();\n    this.target = morph;\n\n    this.migrateOldScriptAnnotations();\n\n    this.morphSelector.setTarget(morph);\n    this.scriptPane.setTarget(morph);\n\n    this.updateLists();\n    this.displayInitialScript();\n\n    //this.startStepping(500/*ms*/, 'update');  \n}","funcProperties":{"__isSmartRef__":true,"id":1124},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1123":{"this":{"__isSmartRef__":true,"id":1}},"1124":{"timestamp":{"__isSmartRef__":true,"id":1125},"user":"athomschke","tags":[]},"1125":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:35:02 GMT+0100 (W. Europe Standard Time)"},"1126":{"varMapping":{"__isSmartRef__":true,"id":1127},"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":1128},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1127":{"this":{"__isSmartRef__":true,"id":1}},"1128":{"timestamp":{"__isSmartRef__":true,"id":1129},"user":"lauritz","tags":[]},"1129":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1130":{"varMapping":{"__isSmartRef__":true,"id":1131},"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":1132},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1131":{"this":{"__isSmartRef__":true,"id":1}},"1132":{"timestamp":{"__isSmartRef__":true,"id":1133},"user":"robertkrahn","tags":[]},"1133":{"isSerializedDate":true,"string":"Fri Jan 27 2012 17:49:43 GMT+0100 (W. Europe Standard Time)"},"1134":{"varMapping":{"__isSmartRef__":true,"id":1135},"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":1136},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1135":{"this":{"__isSmartRef__":true,"id":1}},"1136":{"timestamp":{"__isSmartRef__":true,"id":1137},"user":"lauritz","tags":[]},"1137":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1138":{"varMapping":{"__isSmartRef__":true,"id":1139},"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":1140},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1139":{"this":{"__isSmartRef__":true,"id":1}},"1140":{"timestamp":{"__isSmartRef__":true,"id":1141},"user":"lauritz","tags":[]},"1141":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1142":{"varMapping":{"__isSmartRef__":true,"id":1143},"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":1144},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1143":{"this":{"__isSmartRef__":true,"id":1}},"1144":{"timestamp":{"__isSmartRef__":true,"id":1145},"user":"lauritz","tags":[]},"1145":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:52:56 GMT+0100 (W. Europe Standard Time)"},"1146":{"varMapping":{"__isSmartRef__":true,"id":1147},"source":"function update() {\n    // alias to conform to convention\n    this.updateLists();\n}","funcProperties":{"__isSmartRef__":true,"id":1148},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1147":{"this":{"__isSmartRef__":true,"id":1}},"1148":{"timestamp":{"__isSmartRef__":true,"id":1149},"user":"lauritz","tags":[]},"1149":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (W. Europe Standard Time)"},"1150":{"varMapping":{"__isSmartRef__":true,"id":1151},"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":1152},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1151":{"this":{"__isSmartRef__":true,"id":1}},"1152":{"timestamp":{"__isSmartRef__":true,"id":1153},"user":"lauritz","tags":[]},"1153":{"isSerializedDate":true,"string":"Tue Dec 13 2011 22:03:17 GMT+0100 (W. Europe Standard Time)"},"1154":{"varMapping":{"__isSmartRef__":true,"id":1155},"source":"function migrateOldScriptAnnotations() {\n    var target = this.target;\n\n    if (!target) return;\n\n    if (target.scriptAnnotations) {\n        Functions.own(target).forEach(function (scriptName){\n            var scriptAnnotation = target.scriptAnnotations[scriptName];\n            if (!scriptAnnotation) return;\n            if (scriptAnnotation.user) {\n                target[scriptName].setProperty('user', scriptAnnotation.user);\n            }\n            if (scriptAnnotation.time) {\n                target[scriptName].setProperty('timestamp', scriptAnnotation.time);\n            }\n            if (scriptAnnotation.categories) {\n                target[scriptName].setProperty('tags', scriptAnnotation.categories);\n            }\n        });\n        delete target.scriptAnnotations;\n    } \n\n    Functions.own(target).forEach(function (scriptName) {\n        if (target[scriptName].categories) {\n            target[scriptName].tags = target[scriptName].categories;\n            delete target[scriptName].categories;\n        } \n    });\n\n}","funcProperties":{"__isSmartRef__":true,"id":1156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1155":{"this":{"__isSmartRef__":true,"id":1}},"1156":{"timestamp":{"__isSmartRef__":true,"id":1157},"user":"lauritz","tags":[]},"1157":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:41:00 GMT+0100 (W. Europe Standard Time)"},"1158":{"varMapping":{"__isSmartRef__":true,"id":1159},"source":"function copyToPartsBinWithUserRequest() {\n    this.owner.copyToPartsBinWithUserRequest();\n}","funcProperties":{"__isSmartRef__":true,"id":1164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1159":{"this":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1160}},"1160":{"$super":{"__isSmartRef__":true,"id":1161}},"1161":{"varMapping":{"__isSmartRef__":true,"id":1162},"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":1163},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1162":{"obj":{"__isSmartRef__":true,"id":1},"name":"copyToPartsBinWithUserRequest"},"1163":{},"1164":{"timestamp":{"__isSmartRef__":true,"id":1165},"user":"lauritz","tags":[]},"1165":{"isSerializedDate":true,"string":"Thu Nov 17 2011 20:04:19 GMT+0100 (W. Europe Standard Time)"},"1166":{"varMapping":{"__isSmartRef__":true,"id":1167},"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":1168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1167":{"this":{"__isSmartRef__":true,"id":1}},"1168":{"timestamp":{"__isSmartRef__":true,"id":1169},"user":"lauritz","tags":[]},"1169":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:33:20 GMT+0100 (W. Europe Standard Time)"},"1170":{"varMapping":{"__isSmartRef__":true,"id":1171},"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":1172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1171":{"this":{"__isSmartRef__":true,"id":1}},"1172":{"timestamp":{"__isSmartRef__":true,"id":1173},"user":"lauritz","tags":[]},"1173":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:35 GMT+0100 (W. Europe Standard Time)"},"1174":{"varMapping":{"__isSmartRef__":true,"id":1175},"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":1176},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1175":{"this":{"__isSmartRef__":true,"id":1}},"1176":{"timestamp":{"__isSmartRef__":true,"id":1177},"user":"conradcalmez","tags":[]},"1177":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:53:29 GMT+0100 (W. Europe Standard Time)"},"1178":{"submorphs":[],"scripts":[],"id":"2A752D6E-2C8D-4A00-BBCF-2D07274F10BA","shape":{"__isSmartRef__":true,"id":1179},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1186},"showsHalos":false,"name":"ResizeCorner4","partsBinMetaInfo":{"__isSmartRef__":true,"id":1187},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1188},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":1189},"eventHandler":{"__isSmartRef__":true,"id":1190},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":1191},"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":1192},"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"derivationIds":[227,"83D58336-D35B-44FB-9AB1-4467EC058CFA","0141EF2D-898D-4A88-93BF-1B9FEE7E56E6","F343780D-46A1-490F-8347-08939D52329C","DCD3B012-B22F-4037-B24A-FCF858D154D4","E6EDFE95-F114-4F7E-84D5-60B3212BC420","BF4D5E63-DC29-48E8-9958-0F115779065E","138CE99F-6560-44F9-9DE4-CC856E0C7D0C","F2DA1170-6C80-40B4-9020-47AF73BD9E3A","35B9CF49-3F13-4421-96DB-A99AD42223D2","A7D1D53C-584A-46C4-90CB-6C4314AC6396","B01883DB-D5C3-4E56-A969-177B8DFFB044","0A68EF59-6024-44CA-AD32-8D5599877033","314AF5C0-10D0-484C-9FB5-41029CD96F59","4FAD4D05-3A8B-40B8-804B-7C03850961D6","7E20F78C-40DE-45D8-9B66-B955B651BCBA","65E4A59E-7A56-4BDC-8345-B2B137111454","4834B385-C07B-499B-AB1F-FBC1C095F102","8A6B3251-1E2F-4D21-A42B-0427DFF1667F"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1193},"__LivelyClassName__":"lively.morphic.Box"},"1179":{"position":{"__isSmartRef__":true,"id":1180},"_Extent":{"__isSmartRef__":true,"id":1181},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1182},"_Fill":{"__isSmartRef__":true,"id":1183},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1184},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1185},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1180":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1181":{"x":13,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1182":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1183":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1184":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1185":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1186":{"x":893,"y":533,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1187":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1188":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1189":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1190":{"morph":{"__isSmartRef__":true,"id":1178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1191":{"x":42.327599102410886,"y":-22.830104041830054,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1192":{"x":12,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"onDrag":{"__isSmartRef__":true,"id":1194},"onDragEnd":{"__isSmartRef__":true,"id":1202},"onDragStart":{"__isSmartRef__":true,"id":1210}},"1194":{"varMapping":{"__isSmartRef__":true,"id":1195},"source":"function onDrag(evt) {\n    var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n    if (evt.isShiftDown()) {\n        var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\tmoveDelta = pt(maxDelta, maxDelta);\n    }\n    this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n    this.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":1200},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1195":{"this":{"__isSmartRef__":true,"id":1178},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1196}},"1196":{"$super":{"__isSmartRef__":true,"id":1197}},"1197":{"varMapping":{"__isSmartRef__":true,"id":1198},"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":1199},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1198":{"obj":{"__isSmartRef__":true,"id":1178},"name":"onDrag"},"1199":{},"1200":{"timestamp":{"__isSmartRef__":true,"id":1201},"user":"lauritz"},"1201":{"isSerializedDate":true,"string":"Thu Nov 17 2011 05:05:30 GMT+0100 (W. Europe Standard Time)"},"1202":{"varMapping":{"__isSmartRef__":true,"id":1203},"source":"function onDragEnd(evt) {\n    this.dragStartPoint = null;\n    this.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1208},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1203":{"this":{"__isSmartRef__":true,"id":1178},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1204}},"1204":{"$super":{"__isSmartRef__":true,"id":1205}},"1205":{"varMapping":{"__isSmartRef__":true,"id":1206},"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":1207},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1206":{"obj":{"__isSmartRef__":true,"id":1178},"name":"onDragEnd"},"1207":{},"1208":{"timestamp":{"__isSmartRef__":true,"id":1209},"user":"lauritz"},"1209":{"isSerializedDate":true,"string":"Thu Nov 17 2011 05:05:30 GMT+0100 (W. Europe Standard Time)"},"1210":{"varMapping":{"__isSmartRef__":true,"id":1211},"source":"function onDragStart(evt) {\n    this.dragStartPoint = evt.mousePoint;\n    this.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":1216},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1211":{"this":{"__isSmartRef__":true,"id":1178},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1212}},"1212":{"$super":{"__isSmartRef__":true,"id":1213}},"1213":{"varMapping":{"__isSmartRef__":true,"id":1214},"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":1215},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1214":{"obj":{"__isSmartRef__":true,"id":1178},"name":"onDragStart"},"1215":{},"1216":{"timestamp":{"__isSmartRef__":true,"id":1217},"user":"lauritz"},"1217":{"isSerializedDate":true,"string":"Thu Nov 17 2011 05:05:35 GMT+0100 (W. Europe Standard Time)"},"1218":{"submorphs":[{"__isSmartRef__":true,"id":1219},{"__isSmartRef__":true,"id":1234},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1294}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1324},"id":"3331788A-FA41-49AA-BA6C-87B8A1E87E9B","renderContextTable":{"__isSmartRef__":true,"id":1336},"eventHandler":{"__isSmartRef__":true,"id":1337},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1338},"_Position":{"__isSmartRef__":true,"id":1339},"windowMorph":{"__isSmartRef__":true,"id":0},"label":{"__isSmartRef__":true,"id":1219},"closeButton":{"__isSmartRef__":true,"id":1234},"menuButton":{"__isSmartRef__":true,"id":1264},"collapseButton":{"__isSmartRef__":true,"id":1294},"priorExtent":{"__isSmartRef__":true,"id":1340},"owner":{"__isSmartRef__":true,"id":0},"prevScroll":[0,0],"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"derivationIds":[228,"084DFF55-BC61-4772-8BF7-F6A87C08DE9F","D22EFB93-AC9B-4FCE-9464-3B314FFA4C11","A5F9692A-C657-42B0-B8AA-D2E922A1DE8D","C47683FE-BA01-4AAB-BDE0-4862C049BCE7","BD427B66-7BE7-4205-84EC-825840E59F49","6F8AB68A-FD2F-4173-9E71-BA00654D4F58","AD397669-1A90-4CB9-966E-9D9BC082CA8C","60B74E31-8884-4066-87B5-6EB21D772A4F","1BE4CB78-5683-4D6C-9858-00A70F6D9813","4A81A55D-6E6F-47D4-A387-28D5F03B7B03","B4EA1240-3219-4D9B-A933-AB7BC62B6196","6D135C5D-BF4D-420B-9B3F-CF8292442F2D","B06F4081-48E1-4C23-9FF4-8B205AE498E5","28919144-667B-40F2-B452-B55262628A49","44A4C164-88A9-40E0-AFDD-BD016C1D3293","08B35C77-7B1A-49C6-8A9F-BD8C4FF21EBA","6AB6BA90-1EB9-4926-9985-2B5CB19F72CC","E24D46AC-4F4B-4705-80B5-1FBC195E5DB0"],"targetMorph":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","draggableWithoutHalo":true,"_Scale":1,"__LivelyClassName__":"lively.morphic.TitleBar"},"1219":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1220},"id":"5D2E9A21-4846-4455-B528-7B7ED01BBEE3","renderContextTable":{"__isSmartRef__":true,"id":1226},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1227}],"eventHandler":{"__isSmartRef__":true,"id":1229},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":12,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1230},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1218},"priorExtent":{"__isSmartRef__":true,"id":1231},"_MaxTextWidth":771,"_MinTextWidth":771,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1232},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[229,"D760A244-216E-4A66-8201-25AFC3AB6CC3","D0DE1BA6-E69D-4C19-A257-9D846EA6D12C","7590D64D-7524-4378-BB7E-845EC8CAE745","8996B9DB-C10E-41E4-8286-056BBCF8E151","18942143-8626-4D26-A7D9-153295EE4B23","E7C13468-1AD8-4EE3-821C-7F666EE8FBAD","4EF818A9-8FB6-46DC-B20F-9C7A2BEF8756","7C4A5B49-E791-462B-A5E1-F09EB3B3C957","3BC84C92-6DB2-4C3B-8B13-028178A2B6E8","A985287D-F6E9-4156-9081-FB7EF8B7A590","0B55BECF-D497-4672-8859-16AF99D4EB29","89D59178-AEDB-46C6-B29A-795478A0ED4A","8D16B796-6D15-410D-B289-32BC03FABC01","8055064F-0942-4EE1-88F2-05E5E9E0DEDA","14EBC88E-91C5-4882-8656-C13CC92ABF78","58FD96E4-AD50-4F4D-B764-B18296400B35","E54B4BE3-095E-4CD7-AFCC-BDAAB207FCC2","8DFA053E-9938-4940-91B3-F59FCF42D004"],"_TextColor":{"__isSmartRef__":true,"id":1233},"prevScroll":[0,0],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1220":{"_Position":{"__isSmartRef__":true,"id":1221},"renderContextTable":{"__isSmartRef__":true,"id":1222},"_Extent":{"__isSmartRef__":true,"id":1223},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1224},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1225},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1221":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1222":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1223":{"x":771,"y":41,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1224":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1225":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1226":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1227":{"style":{"__isSmartRef__":true,"id":1228},"chunkOwner":{"__isSmartRef__":true,"id":1219},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"ObjectEditor","__LivelyClassName__":"lively.morphic.TextChunk"},"1228":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1229":{"morph":{"__isSmartRef__":true,"id":1219},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1230":{"resizeWidth":true},"1231":{"x":771,"y":41,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1232":{"x":47,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1233":{"r":0.12,"g":0.12,"b":0.12,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1234":{"submorphs":[{"__isSmartRef__":true,"id":1235}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1249},"id":"D460EEB0-08E1-44B2-A836-F31F21970207","renderContextTable":{"__isSmartRef__":true,"id":1254},"eventHandler":{"__isSmartRef__":true,"id":1255},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1256},"priorExtent":{"__isSmartRef__":true,"id":1257},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":1258},"label":{"__isSmartRef__":true,"id":1235},"owner":{"__isSmartRef__":true,"id":1218},"layout":{"__isSmartRef__":true,"id":1259},"attributeConnections":[{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[230,"EE58E329-4B81-4ABE-A8D6-A3E1AA5BF908","418BD036-5123-49E3-A68D-B2CA74DD4EBA","AB2EC618-F852-4DB4-8601-C98F851F983A","84444904-5A59-41A9-9200-77C2DFC28F0A","BCDE4CA6-1D56-45F5-980B-4BF689C874DD","C763D5DE-EB08-44F8-9A0B-591664D9F6B9","C265A06B-4EE8-4BF1-B47A-BA3A0B31FF73","9B3A2F2D-A395-4B27-9CFC-938734FF91E0","4589EBD1-7F52-4CF7-B9B8-5D401E62E931","2FAD6F67-9FA5-45FE-859D-847F599CAD00","4E0AE3EA-A8BA-4F75-B0B9-C34C90920521","F718EDA2-58FE-4F1B-9849-962E0A687BDA","7653E5E4-AAB8-4308-A70C-D6B544D362F8","0005ED42-B6A5-4FC0-B104-58105C57D944","A658DBD5-C49E-432D-993F-D86AA0ECDD8F","DB53751E-CF23-49BA-8C28-69D97E499530","04B87C06-281F-45CF-A8E0-3D11946EFFCB","5A127CD5-561B-4104-B528-A6438E7EF77F"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1235":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1236},"id":"0315E9C9-1F77-4B5D-BF33-F1EC083963E4","renderContextTable":{"__isSmartRef__":true,"id":1241},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1242}],"eventHandler":{"__isSmartRef__":true,"id":1244},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":16,"_Position":{"__isSmartRef__":true,"id":1245},"priorExtent":{"__isSmartRef__":true,"id":1246},"_MaxTextWidth":44,"_MinTextWidth":44,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1234},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[231,"8DB42E03-8473-4B83-81E2-61EE04DF890A","B50E6B6E-F836-4B3E-8AD1-2B34DA86CE3B","60439D94-5083-4977-8470-BD8843FF782A","5EC44375-A7D5-4BD3-AFC7-C507DF8D60C8","5BDCC4F6-C579-4A6F-96BB-2F59131EFD32","BACB1B9F-FE5C-4A59-B788-9056E5BD6934","5770BDF5-1E81-48B0-9BF7-52C77850AC27","4154BD43-5984-4311-9DE2-DDFDF54F189C","2558B2BB-7774-4F54-B56F-A03FCDB1EB2D","E6829D60-52CA-4FD1-AB2C-ECB4981FA79B","E9278158-FEB5-4640-809F-78C5B3CEFF7C","4247D52D-5AA1-47F5-84DF-AEAF4E79CF0F","7672F8C8-334C-4F87-A794-66B047152152","5AA67459-DECF-4F76-B2C0-937951AB845C","207932B4-FA2B-427D-85D5-49D2A8211E69","EECC42C1-2C56-4ED8-AE45-5C6D0C4416A0","790B5496-23AD-4222-951F-CBD1B0A1549B","9E08EC9E-DECF-49A5-A5A2-9F5927928B66"],"_TextColor":{"__isSmartRef__":true,"id":1247},"layout":{"__isSmartRef__":true,"id":1248},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1236":{"_Position":{"__isSmartRef__":true,"id":1237},"renderContextTable":{"__isSmartRef__":true,"id":1238},"_Extent":{"__isSmartRef__":true,"id":1239},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1240},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1225},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1237":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1238":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1239":{"x":44,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1240":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1241":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1242":{"style":{"__isSmartRef__":true,"id":1243},"chunkOwner":{"__isSmartRef__":true,"id":1235},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1243":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1244":{"morph":{"__isSmartRef__":true,"id":1235},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1245":{"x":0,"y":9.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1246":{"x":44,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1247":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1248":{"centeredVertical":true,"centeredHorizontal":true},"1249":{"_Position":{"__isSmartRef__":true,"id":1250},"renderContextTable":{"__isSmartRef__":true,"id":1251},"_Extent":{"__isSmartRef__":true,"id":1252},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1253},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":3,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1250":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1251":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1252":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1253":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1254":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1255":{"morph":{"__isSmartRef__":true,"id":1234},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1256":{"x":862,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1257":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1258":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1259":{"moveHorizontal":true,"adjustForNewBounds":true,"centeredVertical":true},"1260":{"sourceObj":{"__isSmartRef__":true,"id":1234},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1261},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1261":{"source":{"__isSmartRef__":true,"id":1234},"target":{"__isSmartRef__":true,"id":0}},"1262":{"sourceObj":{"__isSmartRef__":true,"id":1234},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1263},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1263":{"source":{"__isSmartRef__":true,"id":1234},"target":{"__isSmartRef__":true,"id":0}},"1264":{"submorphs":[{"__isSmartRef__":true,"id":1265}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1279},"id":"824041E7-0BA4-4000-88FC-563077EABF84","renderContextTable":{"__isSmartRef__":true,"id":1284},"eventHandler":{"__isSmartRef__":true,"id":1285},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1286},"priorExtent":{"__isSmartRef__":true,"id":1287},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":1288},"label":{"__isSmartRef__":true,"id":1265},"owner":{"__isSmartRef__":true,"id":1218},"attributeConnections":[{"__isSmartRef__":true,"id":1289},{"__isSmartRef__":true,"id":1291}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[232,"F393CBFF-A15D-4D1D-A3A3-DA0C7EF93B66","5BC57B43-1661-4C92-827E-E6CCB6E519E1","DDA3D28B-E4EA-4F17-9B68-D6964E9A2524","93D34CE0-A8E8-43DA-AA3B-3B32912E0BC1","93EA3F6A-3D2D-41E5-8FBD-16CDD8BD7946","D90B1B91-9645-46D9-B5AB-77CB5FBF24D9","99021FC3-31A1-440C-BD0E-492483BA40E4","AF85FA05-93C5-4546-B6DA-91D7C6287F81","232559D8-ABDF-46AA-ABAF-B0A30A529062","DAD04AD8-768B-41CA-83E8-ACF5561305E5","F1B64BC3-4C83-4742-9892-C1B4738D33F8","EA1523CF-96A5-4206-8CFB-73CBDC0C81E0","0B36B10B-D501-4C70-A9C2-165547949084","41E4C730-1AE8-4ECF-8D62-B882169687C0","B8990FB6-CD79-4F33-BD1A-36986F0C0C63","46D3ECD9-D724-4366-855D-3285AB145570","3037CCAE-9799-451D-A9E5-120ED3C3414B","0DBFD867-16D2-4371-ACF6-C77686BB1ED3"],"layout":{"__isSmartRef__":true,"id":1293},"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1265":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1266},"id":"82F37B9C-FC2C-46F4-AA7C-3DC06DE843DA","renderContextTable":{"__isSmartRef__":true,"id":1271},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1272}],"eventHandler":{"__isSmartRef__":true,"id":1274},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":16,"_Position":{"__isSmartRef__":true,"id":1275},"priorExtent":{"__isSmartRef__":true,"id":1276},"_MaxTextWidth":44,"_MinTextWidth":44,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1264},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[233,"E1DC624A-DE6A-4680-92DA-803BFFE6CD54","2EB42409-E0C2-408B-8F84-EDF9EBFB2590","0684F49F-5338-4D44-82C9-5A4E2D62EE72","0B73719D-BC87-4B8D-890D-30C0714B5584","90D2BAAA-EB9D-45AF-8770-9616421A5762","9090D29C-FB6A-4BC3-AC2D-C1DBD1F095F8","58D12C41-53CB-4CA3-8DEC-52331DAB8717","5C62879C-4EB7-49AD-80F8-9B7A65A5D8B7","841D7497-A69E-40C4-9874-29FF5F9CE3AF","7DA2FE49-7A4D-4F46-A11E-80B282FDD6F4","FBE093F7-D6FD-4849-8954-57BA2E52407E","30B8AC6B-0B2D-49E2-9D2C-4F303709C22D","C512A0F2-E289-4F6D-A1DF-1E24E55CCEF4","C54F0386-AF74-46EE-AAE8-AC602556439F","486CF4D1-BFBD-42D2-93A3-8E3E647DD9B2","816C8946-F0ED-402D-9C10-49476E25409D","7574CC99-B9BB-44B8-AE67-4FE81C99BC6E","91FF2396-D856-4DC9-8D50-9998C97F3248"],"_TextColor":{"__isSmartRef__":true,"id":1277},"layout":{"__isSmartRef__":true,"id":1278},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1266":{"_Position":{"__isSmartRef__":true,"id":1267},"renderContextTable":{"__isSmartRef__":true,"id":1268},"_Extent":{"__isSmartRef__":true,"id":1269},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1270},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1225},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1267":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1268":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1269":{"x":44,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1270":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1271":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1272":{"style":{"__isSmartRef__":true,"id":1273},"chunkOwner":{"__isSmartRef__":true,"id":1265},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1273":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1274":{"morph":{"__isSmartRef__":true,"id":1265},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1275":{"x":0,"y":9.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1276":{"x":44,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1277":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1278":{"centeredVertical":true,"centeredHorizontal":true},"1279":{"_Position":{"__isSmartRef__":true,"id":1280},"renderContextTable":{"__isSmartRef__":true,"id":1281},"_Extent":{"__isSmartRef__":true,"id":1282},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1283},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":3,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1280":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1282":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1283":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1284":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1285":{"morph":{"__isSmartRef__":true,"id":1264},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1286":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1287":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1288":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1289":{"sourceObj":{"__isSmartRef__":true,"id":1264},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1290},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1290":{"source":{"__isSmartRef__":true,"id":1264},"target":{"__isSmartRef__":true,"id":0}},"1291":{"sourceObj":{"__isSmartRef__":true,"id":1264},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1292":{"source":{"__isSmartRef__":true,"id":1264},"target":{"__isSmartRef__":true,"id":0}},"1293":{"adjustForNewBounds":true,"centeredVertical":true},"1294":{"submorphs":[{"__isSmartRef__":true,"id":1295}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1309},"id":"B49FF390-77F9-4557-BF01-49C625C71271","renderContextTable":{"__isSmartRef__":true,"id":1314},"eventHandler":{"__isSmartRef__":true,"id":1315},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1316},"priorExtent":{"__isSmartRef__":true,"id":1317},"value":false,"toggle":false,"isActive":true,"normalFill":null,"lighterFill":{"__isSmartRef__":true,"id":1318},"label":{"__isSmartRef__":true,"id":1295},"owner":{"__isSmartRef__":true,"id":1218},"layout":{"__isSmartRef__":true,"id":1319},"attributeConnections":[{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1322}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[234,"EC7EDE8E-294A-46CF-85BB-BBC525336E13","F24B29EE-0964-499D-834F-E3D087DC6003","F6F3659F-9229-46AA-9B9E-46627A7062B2","A88C4D93-582A-4C0D-9F97-F2F0E291BB7E","AA05682F-3E98-433C-8C01-422A46068DFC","409D0231-86EA-44E4-BB4E-E8D6169CC366","651A13FA-EACF-4FD8-9A24-0C264A171CC1","ABBE6C6D-DE28-43E6-BB25-5DFE0CFBADFF","06308363-67F6-418B-8C60-88A5924B583C","42A0B3BD-AB9E-4ACB-8314-74C1022D7047","6E8BD588-AEAD-4E02-94A7-A773CC8B51BB","3CFD31B4-A7EF-4287-92DB-8184B949CEE9","196DD665-DEDF-4388-AF58-45E9E97487E2","6D449E7D-C1F3-4150-A83F-F7B343573CDA","1C96F5CC-675C-4A74-B923-2B5DCC224C7D","F5235F31-BCFF-4651-8662-C50C62C1975E","95739BB0-6CC6-4EFA-AAAC-E5BC04D03EBD","D38B57D7-EC56-4897-9B42-E218A63CD488"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1295":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1296},"id":"58C8536E-5F27-4E7F-B32F-85FC2135277C","renderContextTable":{"__isSmartRef__":true,"id":1301},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1302}],"eventHandler":{"__isSmartRef__":true,"id":1304},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":16,"_Position":{"__isSmartRef__":true,"id":1305},"priorExtent":{"__isSmartRef__":true,"id":1306},"_MaxTextWidth":44,"_MinTextWidth":44,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1294},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[235,"F92ECC97-5F5B-4CDA-A829-270D000F0D88","A7CDAD5D-BCA1-4AF0-A092-9E81DF1F5C1B","35639FEE-51E8-4469-BB0E-5D1650F1E695","65EBC411-8078-4C93-9A62-F3E8D325DBA7","3F66B345-86BE-4AF4-84FC-BA468E960283","8D5FAA23-AC8C-4A61-AAEE-2661904C6E2A","5451C844-DAA6-4E82-ABAC-14209E71E7E8","D768E7F5-537B-46E2-B935-A6781D8CA96A","592D84CE-B8A2-4A1C-A419-A25CD1FA04D2","3E36CCD4-6ABE-4A4B-9564-52BE85A35BE2","7EE21076-2CF2-4816-9950-315CDC903E81","EB419B5E-4BAF-46A0-899D-4A23C07609BC","FD1F2C57-F098-476C-8509-587F78DE06C9","0497A0D0-4783-4565-B052-17DE4BA25C1A","32CD814F-FBA6-4F42-BC57-CE64CED17361","428C457A-5C5F-4193-BAC7-5CE958639C44","E9990BD4-AF95-4260-AFD1-4EB6848746F6","D802359B-B409-4C33-AED6-7B8FA8E2BFF8"],"_TextColor":{"__isSmartRef__":true,"id":1307},"layout":{"__isSmartRef__":true,"id":1308},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1296":{"_Position":{"__isSmartRef__":true,"id":1297},"renderContextTable":{"__isSmartRef__":true,"id":1298},"_Extent":{"__isSmartRef__":true,"id":1299},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1300},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1225},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1297":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1298":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1299":{"x":44,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1300":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1301":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1302":{"style":{"__isSmartRef__":true,"id":1303},"chunkOwner":{"__isSmartRef__":true,"id":1295},"storedString":"-","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1303":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1304":{"morph":{"__isSmartRef__":true,"id":1295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1305":{"x":0,"y":9.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1306":{"x":44,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1307":{"r":0.5599999999999999,"g":0.5599999999999999,"b":0.5599999999999999,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1308":{"centeredVertical":true,"centeredHorizontal":true},"1309":{"_Position":{"__isSmartRef__":true,"id":1310},"renderContextTable":{"__isSmartRef__":true,"id":1311},"_Extent":{"__isSmartRef__":true,"id":1312},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1313},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":3,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1310":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1311":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1312":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1315":{"morph":{"__isSmartRef__":true,"id":1294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1316":{"x":818,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1317":{"x":44,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1318":{"r":1,"g":1,"b":1,"a":0.3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1319":{"moveHorizontal":true,"adjustForNewBounds":true,"centeredVertical":true},"1320":{"sourceObj":{"__isSmartRef__":true,"id":1294},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1321},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1321":{"source":{"__isSmartRef__":true,"id":1294},"target":{"__isSmartRef__":true,"id":0}},"1322":{"sourceObj":{"__isSmartRef__":true,"id":1294},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1323},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1323":{"source":{"__isSmartRef__":true,"id":1294},"target":{"__isSmartRef__":true,"id":0}},"1324":{"_Position":{"__isSmartRef__":true,"id":1325},"renderContextTable":{"__isSmartRef__":true,"id":1326},"_Extent":{"__isSmartRef__":true,"id":1327},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1328},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1329},"_Fill":{"__isSmartRef__":true,"id":1330},"_StrokeOpacity":1,"_BorderRadius":"3px 3px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1326":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1327":{"x":906,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1328":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1329":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1330":{"stops":[{"__isSmartRef__":true,"id":1331},{"__isSmartRef__":true,"id":1333}],"vector":{"__isSmartRef__":true,"id":1335},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1331":{"offset":0,"color":{"__isSmartRef__":true,"id":1332}},"1332":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1333":{"offset":1,"color":{"__isSmartRef__":true,"id":1334}},"1334":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1335":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1336":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1337":{"morph":{"__isSmartRef__":true,"id":1218},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1338":{"resizeWidth":true,"adjustForNewBounds":true},"1339":{"x":0,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1340":{"x":906,"y":44,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1341":{"renderContextTable":{"__isSmartRef__":true,"id":1342},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1343},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1344},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1345},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1342":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1343":{"x":906,"y":547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1344":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1345":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1346":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1347":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1348":{"adjustForNewBounds":true},"1349":{"x":906,"y":547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1350":{"x":0,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1351":{"a":1,"b":0,"c":0,"d":1,"e":21,"f":92.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1352":{"x":723,"y":268,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1353":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":25.958169966165087,"f":125.02070906988553,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"1354":{"x":729,"y":365,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1355":{"requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/iPadWidgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a morph.","partName":"ObjectEditor","changes":[{"__isSmartRef__":true,"id":1356},{"__isSmartRef__":true,"id":1358},{"__isSmartRef__":true,"id":1360},{"__isSmartRef__":true,"id":1362},{"__isSmartRef__":true,"id":1364},{"__isSmartRef__":true,"id":1366},{"__isSmartRef__":true,"id":1368},{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1372},{"__isSmartRef__":true,"id":1374},{"__isSmartRef__":true,"id":1376},{"__isSmartRef__":true,"id":1378},{"__isSmartRef__":true,"id":1380},{"__isSmartRef__":true,"id":1382},{"__isSmartRef__":true,"id":1384},{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1388},{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1394},{"__isSmartRef__":true,"id":1396},{"__isSmartRef__":true,"id":1398},{"__isSmartRef__":true,"id":1400},{"__isSmartRef__":true,"id":1402},{"__isSmartRef__":true,"id":1404},{"__isSmartRef__":true,"id":1406},{"__isSmartRef__":true,"id":1408},{"__isSmartRef__":true,"id":1410},{"__isSmartRef__":true,"id":1412},{"__isSmartRef__":true,"id":1414},{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1424},{"__isSmartRef__":true,"id":1426},{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1430},{"__isSmartRef__":true,"id":1432},{"__isSmartRef__":true,"id":1434},{"__isSmartRef__":true,"id":1436},{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1440},{"__isSmartRef__":true,"id":1442},{"__isSmartRef__":true,"id":1444},{"__isSmartRef__":true,"id":1446},{"__isSmartRef__":true,"id":1448},{"__isSmartRef__":true,"id":1450},{"__isSmartRef__":true,"id":1452},{"__isSmartRef__":true,"id":1454},{"__isSmartRef__":true,"id":1456}],"revisionOnLoad":160739,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1356":{"date":{"__isSmartRef__":true,"id":1357},"author":"sstamm","message":"use code of touchmenu","id":"5404F97B-3668-458C-885E-7363170A4FE9"},"1357":{"isSerializedDate":true,"string":"Tue May 08 2012 17:00:22 GMT+0200 (W. Europe Daylight Time)"},"1358":{"date":{"__isSmartRef__":true,"id":1359},"author":"athomschke","message":"höhöhö","id":"8D2D9868-550F-44B8-967C-3B5D246E0DBE"},"1359":{"isSerializedDate":true,"string":"Thu Feb 09 2012 17:45:27 GMT+0100 (W. Europe Standard Time)"},"1360":{"date":{"__isSmartRef__":true,"id":1361},"author":"athomschke","message":"style","id":"9E24C53F-9384-43DC-BD72-C1CAC4B54154"},"1361":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:51:12 GMT+0100 (W. Europe Standard Time)"},"1362":{"date":{"__isSmartRef__":true,"id":1363},"author":"athomschke","message":"style","id":"C3F2E312-C855-4741-937B-ADFC4B09A438"},"1363":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:47:39 GMT+0100 (W. Europe Standard Time)"},"1364":{"date":{"__isSmartRef__":true,"id":1365},"author":"sstamm","message":"added save button","id":"3A85D0AF-64E0-40C7-8C4E-61CD462F3971"},"1365":{"isSerializedDate":true,"string":"Fri Feb 03 2012 11:45:18 GMT+0100 (W. Europe Standard Time)"},"1366":{"date":{"__isSmartRef__":true,"id":1367},"author":"bsiegmund","message":"Run Button now moving when window is resized","id":"9ECA7B2B-8322-42C5-8EFA-49AC432960B4"},"1367":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:36:10 GMT+0100 (W. Europe Standard Time)"},"1368":{"date":{"__isSmartRef__":true,"id":1369},"author":"lauritz","message":"changed label \"Category:\" to \"Tag:\".","id":"DBC877ED-0328-44A8-A46D-FE83C935797F"},"1369":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:50:45 GMT+0100 (W. Europe Standard Time)"},"1370":{"date":{"__isSmartRef__":true,"id":1371},"author":"lauritz","message":"adapted layout of notifications","id":"1C01FAB9-AD9A-44B5-BAF1-EC06408A767E"},"1371":{"isSerializedDate":true,"string":"Wed Nov 23 2011 18:26:48 GMT+0100 (W. Europe Standard Time)"},"1372":{"date":{"__isSmartRef__":true,"id":1373},"author":"lauritz","message":"fixed a bug (onBlur event handling) and added the world to the target chooser","id":"A8C151D4-0767-44E0-B586-090EA305BDF5"},"1373":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:14:00 GMT+0100 (W. Europe Standard Time)"},"1374":{"date":{"__isSmartRef__":true,"id":1375},"author":"jenslincke","message":"- reset title bar and borders","id":"8CE7DA3C-5C83-4151-A3A7-7B41D1C555BD"},"1375":{"isSerializedDate":true,"string":"Fri Nov 18 2011 15:26:49 GMT+0100 (W. Europe Standard Time)"},"1376":{"date":{"__isSmartRef__":true,"id":1377},"author":"lauritz","message":"Refactoring of script annotations (now at scripts not morphs). Added category tagging. Layout changes.","id":"1A9DA32B-8A1D-4CCF-92CB-47462F8CF117"},"1377":{"isSerializedDate":true,"string":"Thu Nov 17 2011 23:22:54 GMT+0100 (W. Europe Standard Time)"},"1378":{"date":{"__isSmartRef__":true,"id":1379},"author":"lauritz","message":"layout adaptions","id":"6F1AEBDC-EED3-4CE0-B84C-F4DD4DA784C5"},"1379":{"isSerializedDate":true,"string":"Wed Nov 16 2011 02:12:15 GMT+0100 (W. Europe Standard Time)"},"1380":{"date":{"__isSmartRef__":true,"id":1381},"author":"lauritz","message":"two more checks on attempts to remove scripts or connections.","id":"ED9F0090-C36C-4BC6-8FD2-A6FB60C7A0B2"},"1381":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:47:27 GMT+0100 (W. Europe Standard Time)"},"1382":{"date":{"__isSmartRef__":true,"id":1383},"author":"lauritz","message":"added confirmation before removal of scripts or connections.","id":"00B5B7BA-FC00-4B1C-A967-B8A38B05EEA8"},"1383":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:42:28 GMT+0100 (W. Europe Standard Time)"},"1384":{"date":{"__isSmartRef__":true,"id":1385},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1385":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:40:22 GMT+0200 (W. Europe Daylight Time)"},"1386":{"date":{"__isSmartRef__":true,"id":1387},"author":"lauritz","message":"Locked down submorphs of the editor pane. Grabbing and dragging disabled. "},"1387":{"isSerializedDate":true,"string":"Fri Oct 28 2011 05:36:22 GMT+0200 (W. Europe Daylight Time)"},"1388":{"date":{"__isSmartRef__":true,"id":1389},"author":"jenslincke","message":"bring resize handle to front","id":"996D26BC-8567-486E-B114-A9041230543D"},"1389":{"isSerializedDate":true,"string":"Fri Nov 04 2011 13:41:36 GMT+0100 (W. Europe Standard Time)"},"1390":{"date":{"__isSmartRef__":true,"id":1391},"author":"jenslincke","message":"set min extent to pt(500,300)","id":"20634435-660B-4E80-93FF-8B8C4F5E0453"},"1391":{"isSerializedDate":true,"string":"Fri Nov 04 2011 13:44:45 GMT+0100 (W. Europe Standard Time)"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"lauritz","message":"set a minExtent","id":"85B641E5-15C6-4C6D-BE9A-F4F96E347258"},"1393":{"isSerializedDate":true,"string":"Tue Nov 15 2011 20:12:45 GMT+0100 (W. Europe Standard Time)"},"1394":{"date":{"__isSmartRef__":true,"id":1395},"author":"lauritz","message":"removed a missed debugger statement. corrected setting of target.","id":"BD747202-2BE7-4560-8EB2-DBA586BAD46F"},"1395":{"isSerializedDate":true,"string":"Fri Nov 18 2011 20:19:07 GMT+0100 (W. Europe Standard Time)"},"1396":{"date":{"__isSmartRef__":true,"id":1397},"author":"lauritz","message":"added a border to notifications, centered notification text","id":"D1DDACFE-EC70-45FB-8178-0A93C8DC81F1"},"1397":{"isSerializedDate":true,"string":"Tue Nov 22 2011 23:02:14 GMT+0100 (W. Europe Standard Time)"},"1398":{"date":{"__isSmartRef__":true,"id":1399},"author":"lauritz","message":"renamed .categorize to .tag","id":"470CD024-16F9-4221-B2D7-87FAC17B198B"},"1399":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:44:44 GMT+0100 (W. Europe Standard Time)"},"1400":{"date":{"__isSmartRef__":true,"id":1401},"author":"lauritz","message":"fixed a defect (weeeeeird property caused an error on deserialization of copies)","id":"F6F92336-29F4-4FB4-B597-B8EF12E2922E"},"1401":{"isSerializedDate":true,"string":"Wed Nov 30 2011 23:55:11 GMT+0100 (W. Europe Standard Time)"},"1402":{"date":{"__isSmartRef__":true,"id":1403},"author":"lauritz","message":"fixed a bug regarding anonymous morphs.","id":"30C42CB6-324C-455D-8B3E-828A80325027"},"1403":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:31:58 GMT+0100 (W. Europe Standard Time)"},"1404":{"date":{"__isSmartRef__":true,"id":1405},"author":"lauritz","message":"workaround for issue #161 - target morph list is scrollable","id":"7D5DAE37-46E2-4C63-8008-AA553CD6B1E9"},"1405":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:13:13 GMT+0100 (W. Europe Standard Time)"},"1406":{"date":{"__isSmartRef__":true,"id":1407},"author":"lauritz","message":"removed a workaround","id":"9AC9A97B-E63C-4C24-BCAF-6DC61C3A677C"},"1407":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:56:45 GMT+0100 (W. Europe Standard Time)"},"1408":{"date":{"__isSmartRef__":true,"id":1409},"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"},"1409":{"isSerializedDate":true,"string":"Tue Dec 13 2011 22:04:53 GMT+0100 (W. Europe Standard Time)"},"1410":{"date":{"__isSmartRef__":true,"id":1411},"author":"lauritz","message":"sorted tag list.","id":"597DB7EB-1788-42DC-A64F-E061D7B831EC"},"1411":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:23:14 GMT+0100 (W. Europe Standard Time)"},"1412":{"date":{"__isSmartRef__":true,"id":1413},"author":"lauritz","message":"top-most entry of the tag list is \"all\" now.","id":"62D12D9E-7F42-40CC-BB5B-162130454572"},"1413":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:28:30 GMT+0100 (W. Europe Standard Time)"},"1414":{"date":{"__isSmartRef__":true,"id":1415},"author":"lauritz","message":"","id":"72E0F00D-53A7-43E9-AD7B-E34F485BC75E"},"1415":{"isSerializedDate":true,"string":"Fri Jan 06 2012 07:15:04 GMT+0100 (W. Europe Standard Time)"},"1416":{"date":{"__isSmartRef__":true,"id":1417},"author":"robertkrahn","message":"show scripts even if they are wrapped","id":"6F608C14-369B-49D6-8E91-81B35ABB14DE"},"1417":{"isSerializedDate":true,"string":"Fri Jan 27 2012 17:50:40 GMT+0100 (W. Europe Standard Time)"},"1418":{"date":{"__isSmartRef__":true,"id":1419},"author":"conradcalmez","message":"added run button for trying out methods","id":"D21502DF-B383-45AA-8DB2-16D6A4C7DFC0"},"1419":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:15 GMT+0100 (W. Europe Standard Time)"},"1420":{"date":{"__isSmartRef__":true,"id":1421},"author":"conradcalmez","message":"set selection of lists to null","id":"1C918344-7895-4714-9F8E-2BCC837250CA"},"1421":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:00:56 GMT+0100 (W. Europe Standard Time)"},"1422":{"date":{"__isSmartRef__":true,"id":1423},"author":"athomschke","message":"init","id":"49E1E6D6-74F1-420D-9393-B0260E81D55D"},"1423":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:43:41 GMT+0100 (W. Europe Standard Time)"},"1424":{"date":{"__isSmartRef__":true,"id":1425},"author":"athomschke","message":"dropdownLists","id":"E33C12AD-0891-47A6-A777-E0970EF3EDA8"},"1425":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:21:51 GMT+0100 (W. Europe Standard Time)"},"1426":{"date":{"__isSmartRef__":true,"id":1427},"author":"athomschke","message":"+ i button fitting","id":"650220E7-AB66-46CE-87B8-8DFD3E79170B"},"1427":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:36:25 GMT+0100 (W. Europe Standard Time)"},"1428":{"date":{"__isSmartRef__":true,"id":1429},"author":"athomschke","message":"design","id":"06168C0C-789B-41CA-8ACF-13F7EAE03BB1"},"1429":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:41:00 GMT+0100 (W. Europe Standard Time)"},"1430":{"date":{"__isSmartRef__":true,"id":1431},"author":"athomschke","message":"design","id":"C1FAEF8E-C9F8-4AAB-AEC8-1511577CBE39"},"1431":{"isSerializedDate":true,"string":"Tue Feb 07 2012 13:43:07 GMT+0100 (W. Europe Standard Time)"},"1432":{"date":{"__isSmartRef__":true,"id":1433},"author":"athomschke","message":"included iPad Lists","id":"7AA41632-315F-4C3C-8616-DDD353EC5C54"},"1433":{"isSerializedDate":true,"string":"Tue Feb 07 2012 14:35:29 GMT+0100 (W. Europe Standard Time)"},"1434":{"date":{"__isSmartRef__":true,"id":1435},"author":"athomschke","message":"setupConnections for Lists","id":"6809942F-4847-4AB6-8E81-9E95207A188C"},"1435":{"isSerializedDate":true,"string":"Tue Feb 07 2012 15:19:20 GMT+0100 (W. Europe Standard Time)"},"1436":{"date":{"__isSmartRef__":true,"id":1437},"author":"athomschke","message":"list action","id":"AA64E99D-77FE-45B7-BAE7-973D48714788"},"1437":{"isSerializedDate":true,"string":"Wed Feb 08 2012 13:30:24 GMT+0100 (W. Europe Standard Time)"},"1438":{"date":{"__isSmartRef__":true,"id":1439},"author":"athomschke","message":"styling","id":"48F79170-9A60-4A86-9B7A-CF8AEDF7679A"},"1439":{"isSerializedDate":true,"string":"Thu Feb 09 2012 10:50:12 GMT+0100 (W. Europe Standard Time)"},"1440":{"date":{"__isSmartRef__":true,"id":1441},"author":"athomschke","message":"list action","id":"146841FB-7275-4F16-A06F-6CBE557A3721"},"1441":{"isSerializedDate":true,"string":"Thu Feb 09 2012 17:43:00 GMT+0100 (W. Europe Standard Time)"},"1442":{"date":{"__isSmartRef__":true,"id":1443},"author":"athomschke","message":"larger title bar","id":"A06EF5F6-15E0-430F-BF1B-41E13E0A0FDB"},"1443":{"isSerializedDate":true,"string":"Fri Feb 10 2012 20:25:00 GMT+0100 (W. Europe Standard Time)"},"1444":{"date":{"__isSmartRef__":true,"id":1445},"author":"sstamm","message":"no comment","id":"821BC9A5-F89B-41D0-9BB0-8A624CC2A4C5"},"1445":{"isSerializedDate":true,"string":"Wed May 09 2012 16:46:16 GMT+0200 (W. Europe Daylight Time)"},"1446":{"date":{"__isSmartRef__":true,"id":1447},"author":"sstamm","message":"no comment","id":"00134BAD-A065-4211-A781-81B27B969B77"},"1447":{"isSerializedDate":true,"string":"Wed May 09 2012 16:50:47 GMT+0200 (W. Europe Daylight Time)"},"1448":{"date":{"__isSmartRef__":true,"id":1449},"author":"sstamm","message":"no comment","id":"6EE42C68-121B-4A61-9631-A2F7F6DBCC62"},"1449":{"isSerializedDate":true,"string":"Wed May 09 2012 16:55:00 GMT+0200 (W. Europe Daylight Time)"},"1450":{"date":{"__isSmartRef__":true,"id":1451},"author":"sstamm","message":"no comment","id":"C4182BF2-EDED-4CDD-ACD1-B77508928FC2"},"1451":{"isSerializedDate":true,"string":"Wed May 09 2012 16:57:10 GMT+0200 (W. Europe Daylight Time)"},"1452":{"date":{"__isSmartRef__":true,"id":1453},"author":"sstamm","message":"no comment","id":"0B79F6B7-7690-416E-8688-DB1FCCFB8D59"},"1453":{"isSerializedDate":true,"string":"Wed May 09 2012 17:01:13 GMT+0200 (W. Europe Daylight Time)"},"1454":{"date":{"__isSmartRef__":true,"id":1455},"author":"sstamm","message":"no comment","id":"01F59BAB-BA34-4311-AAB2-CEF9A297D759"},"1455":{"isSerializedDate":true,"string":"Wed May 09 2012 17:05:07 GMT+0200 (W. Europe Daylight Time)"},"1456":{"date":{"__isSmartRef__":true,"id":1457},"author":"sstamm","message":"no comment","id":"17A2D6ED-1646-4C4A-B2C2-4F03E74FF46C"},"1457":{"isSerializedDate":true,"string":"Wed May 09 2012 17:06:11 GMT+0200 (W. Europe Daylight Time)"},"1458":{"x":1346,"y":2017,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1459":{"x":25.958169966165087,"y":125.02070906988553,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1460":{"x":21,"y":92.89999999999998,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1461":{"x":500,"y":300,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1462":{"x":455,"y":268,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1463":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1464":{"setTarget":{"__isSmartRef__":true,"id":1465},"reset":{"__isSmartRef__":true,"id":1469},"onShutdown":{"__isSmartRef__":true,"id":1473}},"1465":{"varMapping":{"__isSmartRef__":true,"id":1466},"source":"function setTarget(t) {\n    this.targetMorph.setTarget(t);\n}","funcProperties":{"__isSmartRef__":true,"id":1467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1466":{"this":{"__isSmartRef__":true,"id":0}},"1467":{"timestamp":{"__isSmartRef__":true,"id":1468},"user":"lauritz","categories":[]},"1468":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:23 GMT+0100 (W. Europe Standard Time)"},"1469":{"varMapping":{"__isSmartRef__":true,"id":1470},"source":"function reset() {\n    this.targetMorph.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1471},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1470":{"this":{"__isSmartRef__":true,"id":0}},"1471":{"timestamp":{"__isSmartRef__":true,"id":1472},"user":"lauritz","categories":[]},"1472":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:23 GMT+0100 (W. Europe Standard Time)"},"1473":{"varMapping":{"__isSmartRef__":true,"id":1474},"source":"function onShutdown() {\n    this.targetMorph.onShutdown();\n}","funcProperties":{"__isSmartRef__":true,"id":1475},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1474":{"this":{"__isSmartRef__":true,"id":0}},"1475":{"timestamp":{"__isSmartRef__":true,"id":1476},"user":"lauritz","categories":[]},"1476":{"isSerializedDate":true,"string":"Tue Sep 27 2011 20:25:16 GMT+0200 (W. Europe Daylight Time)"},"isSimplifiedRegistry":true}}