has no method 'set'\nLine: undefined\nTypeError: Object has no method 'set'\n at Text. (eval at (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:15098:60))\n at Text. (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:15098:55)\n at Text.boundEval (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:15099:32)\n at Text.tryBoundEval (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:15102:27)\n at Text.evalSelection (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:15085:27)\n at Text.doDoit (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:14278:31)\n at Text.processCommandKeys (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:14204:30)\n at Text.onKeyDown (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:14100:31)\n at EventHandler.handleEvent (generated/combinedModules.js?23dc9d6729d0c4ea52294727e81ab8c8:20136:63)\n at HTMLDivElement.bound (lively/bootstrap.js:813:37)","__layered_draggingEnabled__":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":6631},"eventHandler":{"__isSmartRef__":true,"id":6632},"eventStartPos":null,"worldMenuOpened":true,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":6633}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"savedWorldAsURL":{"__isSmartRef__":true,"id":6638},"draggingEnabled":true,"clickedOnMorphTime":1340049721649,"_ClipMode":"visible","loadingMorph":{"__isSmartRef__":true,"id":6639},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":17},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":107},{"__isSmartRef__":true,"id":129},{"__isSmartRef__":true,"id":167},{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":262}],"scripts":[],"id":"2D630CD2-CDA8-4353-88F9-DEE3A9B00A82","shape":{"__isSmartRef__":true,"id":277},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":283},"showsHalos":false,"name":"JournalStack","partsBinMetaInfo":{"__isSmartRef__":true,"id":284},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":299},"eventHandler":{"__isSmartRef__":true,"id":300},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","84FCA2BE-CD39-4CB3-95BB-F1731376D2A1"],"partTests":{"__isSmartRef__":true,"id":301},"_ClipMode":"visible","moved":true,"layout":{"__isSmartRef__":true,"id":306},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":309},"isCopyMorphRef":true,"morphRefId":2,"isBeingDragged":false,"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.0060210561262526,"__LivelyClassName__":"lively.morphic.Box"},"2":{"submorphs":[],"scripts":[],"id":"67B4F8CA-4AD6-47CE-BD5D-891A73579114","shape":{"__isSmartRef__":true,"id":3},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":9},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6},"showsHalos":false,"_FontSize":25,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content1","partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"textChunks":[{"__isSmartRef__":true,"id":11}],"charsReplaced":"","lastFindLoc":29,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":13},"renderContextTable":{"__isSmartRef__":true,"id":14},"layout":{"__isSmartRef__":true,"id":15},"eventHandler":{"__isSmartRef__":true,"id":16},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3"],"owner":{"__isSmartRef__":true,"id":1},"isBeingDragged":false,"_Align":"center","_Rotation":0,"_Scale":0.9920279440699451,"priorSelectionRange":[58,58],"__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},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_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":782.1842271807045,"y":76,"__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","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"8":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"9":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"10":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11":{"style":{"__isSmartRef__":true,"id":12},"chunkOwner":{"__isSmartRef__":true,"id":2},"storedString":"Getting Started With Lively:\nHow to Create a Simple Todo App","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"12":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"13":{"x":782,"y":76,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"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","setStyleSheet":"setStyleSheetHTML","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":{"resizeWidth":true,"resizeHeight":false},"16":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"17":{"submorphs":[],"scripts":[],"id":"CC6DD4CF-C25F-40AF-9472-6229ECA6F81A","shape":{"__isSmartRef__":true,"id":18},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":24},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":21},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content3","partsBinMetaInfo":{"__isSmartRef__":true,"id":25},"textChunks":[{"__isSmartRef__":true,"id":26}],"charsReplaced":"Getting Started With Lively:\nHow to Create a Simple Todo App","lastFindLoc":0,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":28},"renderContextTable":{"__isSmartRef__":true,"id":29},"layout":{"__isSmartRef__":true,"id":30},"eventHandler":{"__isSmartRef__":true,"id":31},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","8383D9AB-6139-4609-904A-49940A6B4125"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":0.9920279440699455,"__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},"renderContextTable":{"__isSmartRef__":true,"id":22},"_BorderRadius":0,"_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":782.1842271807045,"y":96,"__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","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"23":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24":{"x":10,"y":101,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"25":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"26":{"style":{"__isSmartRef__":true,"id":27},"chunkOwner":{"__isSmartRef__":true,"id":17},"storedString":"In this tutorial we describe how to build the classic todo list example application with Lively. A perfect place to get started with Lively and its tool set. Just perform the steps described and you will soon have a very good idea on what Lively can offer you. You can of course also directly take a look at the final result when you scroll down to the bottom of the page.","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"color":"rgb(68,68,68)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"24px","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"x":782,"y":96,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"29":{"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","setStyleSheet":"setStyleSheetHTML","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"},"30":{"resizeWidth":true,"resizeHeight":false},"31":{"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"32":{"submorphs":[],"scripts":[],"id":"828EBD2D-810E-4440-8789-79760233C8B4","shape":{"__isSmartRef__":true,"id":33},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":39},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":36},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content4","partsBinMetaInfo":{"__isSmartRef__":true,"id":40},"textChunks":[{"__isSmartRef__":true,"id":41}],"charsReplaced":"In this tutorial we describe how to build the classic todo list example application with Lively. A perfect place to get started with Lively and its tool set. Just perform the steps described and you will soon have a very good idea on what Lively can offer you. You can of course also directly take a look at the final result when you scroll down to the bottom of the page.","lastFindLoc":0,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":43},"renderContextTable":{"__isSmartRef__":true,"id":44},"layout":{"__isSmartRef__":true,"id":45},"eventHandler":{"__isSmartRef__":true,"id":46},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":0.9920279440699457,"__LivelyClassName__":"lively.morphic.Text"},"33":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":34},"_Extent":{"__isSmartRef__":true,"id":35},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":36},"renderContextTable":{"__isSmartRef__":true,"id":37},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":38},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"34":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"35":{"x":782.1842271807045,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"36":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"37":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"38":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"39":{"x":10,"y":212,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"40":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"41":{"style":{"__isSmartRef__":true,"id":42},"chunkOwner":{"__isSmartRef__":true,"id":32},"storedString":"Let's start by setting up our environment:","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"42":{"color":"rgb(68,68,68)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"24px","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"43":{"x":782,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"44":{"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","setStyleSheet":"setStyleSheetHTML","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"},"45":{"resizeWidth":true,"resizeHeight":false},"46":{"morph":{"__isSmartRef__":true,"id":32},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"47":{"submorphs":[{"__isSmartRef__":true,"id":48}],"scripts":[],"id":"6E4CB0FF-8BC4-4648-9122-C2F50D9493C2","shape":{"__isSmartRef__":true,"id":64},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":79},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":80},"label":{"__isSmartRef__":true,"id":48},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":89},"attributeConnections":[{"__isSmartRef__":true,"id":98}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":58},"renderContextTable":{"__isSmartRef__":true,"id":99},"eventHandler":{"__isSmartRef__":true,"id":100},"distanceToDragEvent":{"__isSmartRef__":true,"id":101},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3","22F4E215-92E6-4A15-B782-9B308491AFA3"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":0.9980010000000001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.morphic.Button"},"48":{"submorphs":[],"scripts":[],"id":"65B46B93-CBBD-4B01-9E41-F7A3E0CC0B25","shape":{"__isSmartRef__":true,"id":49},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":55},"_MaxTextWidth":24.847771695619556,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":56},"_Padding":{"__isSmartRef__":true,"id":57},"owner":{"__isSmartRef__":true,"id":47},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":58},"textChunks":[{"__isSmartRef__":true,"id":59}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":61},"eventHandler":{"__isSmartRef__":true,"id":62},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5","59539A54-BDBF-4706-A76C-D09993453296"],"_MinTextWidth":24.847771695619556,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.Text"},"49":{"position":{"__isSmartRef__":true,"id":50},"_Extent":{"__isSmartRef__":true,"id":51},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":53},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":54},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"50":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"51":{"x":24.847771695619556,"y":24.006009012015017,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"52":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"53":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"54":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"55":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"56":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"57":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"58":{"x":24.847771695619556,"y":24.006009012015017,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"59":{"style":{"__isSmartRef__":true,"id":60},"chunkOwner":{"__isSmartRef__":true,"id":48},"storedString":"+","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"60":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"61":{"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","setStyleSheet":"setStyleSheetHTML","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"},"62":{"morph":{"__isSmartRef__":true,"id":48},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"63":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"64":{"position":{"__isSmartRef__":true,"id":65},"_Extent":{"__isSmartRef__":true,"id":51},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":66},"_Fill":{"__isSmartRef__":true,"id":67},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":77},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":78},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"65":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"66":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"67":{"stops":[{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":74}],"vector":{"__isSmartRef__":true,"id":76},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"68":{"offset":0,"color":{"__isSmartRef__":true,"id":69}},"69":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"70":{"offset":0.4,"color":{"__isSmartRef__":true,"id":71}},"71":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"72":{"offset":0.6,"color":{"__isSmartRef__":true,"id":73}},"73":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"74":{"offset":1,"color":{"__isSmartRef__":true,"id":75}},"75":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"76":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"77":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"78":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"79":{"x":10,"y":767,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"80":{"stops":[{"__isSmartRef__":true,"id":81},{"__isSmartRef__":true,"id":83},{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":87}],"vector":{"__isSmartRef__":true,"id":76},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"81":{"offset":0,"color":{"__isSmartRef__":true,"id":82}},"82":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"83":{"offset":0.4,"color":{"__isSmartRef__":true,"id":84}},"84":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"85":{"offset":0.6,"color":{"__isSmartRef__":true,"id":86}},"86":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"87":{"offset":1,"color":{"__isSmartRef__":true,"id":88}},"88":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"89":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":92},{"__isSmartRef__":true,"id":94},{"__isSmartRef__":true,"id":96}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"90":{"date":{"__isSmartRef__":true,"id":91},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"91":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"92":{"date":{"__isSmartRef__":true,"id":93},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"93":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"94":{"date":{"__isSmartRef__":true,"id":95},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"95":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"96":{"date":{"__isSmartRef__":true,"id":97},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"97":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:03:19 GMT-0700 (Pacific Daylight Time)"},"98":{"sourceObj":{"__isSmartRef__":true,"id":47},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":47},"targetMethodName":"doAction","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"99":{"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","setStyleSheet":"setStyleSheetHTML"},"100":{"morph":{"__isSmartRef__":true,"id":47},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"101":{"x":54.89016478027463,"y":-10.978032956054932,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"102":{"doAction":{"__isSmartRef__":true,"id":103}},"103":{"varMapping":{"__isSmartRef__":true,"id":104},"source":"function doAction() {\n var last = this.owner.submorphs.without(this).last(),\n lastCopy = last.copy();\n this.owner.addMorph(lastCopy);\n lastCopy.align(last.bounds().bottomLeft(), lastCopy.bounds().topLeft());\n if (lastCopy.isText) {\n lastCopy.insertTextStringAt(lastCopy.textString.length , \" ...\");\n }\n this.owner.applyLayout();\n}","funcProperties":{"__isSmartRef__":true,"id":105},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"104":{"this":{"__isSmartRef__":true,"id":47}},"105":{"timestamp":{"__isSmartRef__":true,"id":106},"user":"robertkrahn","tags":[]},"106":{"isSerializedDate":true,"string":"Thu Jun 14 2012 09:51:52 GMT-0700 (Pacific Daylight Time)"},"107":{"submorphs":[],"scripts":[],"id":"B0717EE2-AF93-49A8-8E63-DE142DE31FBC","shape":{"__isSmartRef__":true,"id":108},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":114},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":111},"showsHalos":false,"_FontSize":16,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content5","partsBinMetaInfo":{"__isSmartRef__":true,"id":115},"textChunks":[{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":118},{"__isSmartRef__":true,"id":120},{"__isSmartRef__":true,"id":123}],"charsReplaced":"","lastFindLoc":0,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":125},"renderContextTable":{"__isSmartRef__":true,"id":126},"layout":{"__isSmartRef__":true,"id":127},"eventHandler":{"__isSmartRef__":true,"id":128},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","FB641DF8-F688-4171-92A9-557F04EAB930"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"priorSelectionRange":[19,19],"_Rotation":0,"_Scale":0.9920279440699457,"__LivelyClassName__":"lively.morphic.Text"},"108":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":109},"_Extent":{"__isSmartRef__":true,"id":110},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":111},"renderContextTable":{"__isSmartRef__":true,"id":112},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"109":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"110":{"x":782.1842271807045,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"111":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"112":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"113":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"114":{"x":10,"y":251,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"115":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"116":{"style":{"__isSmartRef__":true,"id":117},"chunkOwner":{"__isSmartRef__":true,"id":107},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"117":{"color":"rgb(17,17,17)","fontWeight":"400","marginBottom":"24px","padding":"0px","fontSize":"21px","fontFamily":"Georgia,Palatino,serif","fontStyle":"normal","fontVariant":"normal","letterSpacing":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"118":{"style":{"__isSmartRef__":true,"id":119},"chunkOwner":{"__isSmartRef__":true,"id":107},"storedString":"Open a new empty ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"119":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"120":{"style":{"__isSmartRef__":true,"id":121},"chunkOwner":{"__isSmartRef__":true,"id":107},"storedString":"world","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"121":{"doit":{"__isSmartRef__":true,"id":122},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"122":{"code":"$world.showHint('What is a world in Lively?\\nA world is a working environment within the Lively Kernel. It can host an indefinite amount of user-created content, such as graphics, input widgets, or small applications. When a world is saved, its state is frozen and represented by its individual URL.')\n","context":null},"123":{"style":{"__isSmartRef__":true,"id":124},"chunkOwner":{"__isSmartRef__":true,"id":107},"storedString":" and save it to your user directory","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"124":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"125":{"x":782,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"126":{"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","setStyleSheet":"setStyleSheetHTML","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"},"127":{"resizeWidth":true,"resizeHeight":false},"128":{"morph":{"__isSmartRef__":true,"id":107},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"129":{"submorphs":[],"scripts":[],"id":"0896A60D-FC8A-4292-898F-1562F3B95A43","shape":{"__isSmartRef__":true,"id":130},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":136},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":133},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content8","partsBinMetaInfo":{"__isSmartRef__":true,"id":137},"textChunks":[{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":144},{"__isSmartRef__":true,"id":146},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":157},{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":161}],"charsReplaced":"","lastFindLoc":227,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":163},"renderContextTable":{"__isSmartRef__":true,"id":164},"layout":{"__isSmartRef__":true,"id":165},"eventHandler":{"__isSmartRef__":true,"id":166},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","98E9732F-A066-4346-BF22-02516F47329D","C9723EEA-51D2-4471-A8D1-11B2E4FC627D"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"priorSelectionRange":[209,209],"_Rotation":0,"_Scale":0.9920279440699458,"__LivelyClassName__":"lively.morphic.Text"},"130":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":131},"_Extent":{"__isSmartRef__":true,"id":132},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":133},"renderContextTable":{"__isSmartRef__":true,"id":134},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":135},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"131":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"132":{"x":782.1842271807045,"y":78,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"133":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"134":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"135":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"136":{"x":10,"y":291,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"137":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"138":{"style":{"__isSmartRef__":true,"id":139},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"139":{"color":"rgb(68,68,68)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"24px","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"140":{"style":{"__isSmartRef__":true,"id":141},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"● Go to ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"141":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"142":{"style":{"__isSmartRef__":true,"id":143},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"http://lively-kernel.org/repository/webwerkstatt/empty.xhtml","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"143":{"uri":"http://lively-kernel.org/repository/webwerkstatt/empty.xhtml","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"144":{"style":{"__isSmartRef__":true,"id":145},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":" ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"145":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"146":{"style":{"__isSmartRef__":true,"id":147},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"(You don't have an account?)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"147":{"doit":{"__isSmartRef__":true,"id":148},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"148":{"code":"$world.showHint('If you don\\'t have a user account at Webwerkstatt yet, you want to go register right away. Otherwise you will not be able to save your work.')\n","context":null},"149":{"style":{"__isSmartRef__":true,"id":150},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"\n● Right click in the background, then select ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"150":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"151":{"style":{"__isSmartRef__":true,"id":152},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"Save world as …","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"152":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"153":{"style":{"__isSmartRef__":true,"id":154},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"\n● Choose ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"154":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"155":{"style":{"__isSmartRef__":true,"id":156},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"users/YOUR_USERNAME/todolist.xhtml as the world’s filename","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"156":{"textDecoration":"normal","italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"157":{"style":{"__isSmartRef__":true,"id":158},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"\n● When asked whether you want to visit the world now, choose ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"158":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"159":{"style":{"__isSmartRef__":true,"id":160},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":"YES","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"160":{"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"161":{"style":{"__isSmartRef__":true,"id":162},"chunkOwner":{"__isSmartRef__":true,"id":129},"storedString":".","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"162":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"163":{"x":782,"y":78,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"164":{"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","setStyleSheet":"setStyleSheetHTML","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"},"165":{"resizeWidth":true,"resizeHeight":false},"166":{"morph":{"__isSmartRef__":true,"id":129},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"167":{"submorphs":[],"scripts":[],"id":"D1E31C03-1B58-4CB1-8C4C-D92875CEE201","shape":{"__isSmartRef__":true,"id":168},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":174},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":171},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content9","partsBinMetaInfo":{"__isSmartRef__":true,"id":175},"textChunks":[{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":185},{"__isSmartRef__":true,"id":187},{"__isSmartRef__":true,"id":189},{"__isSmartRef__":true,"id":191},{"__isSmartRef__":true,"id":193},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":199},{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":207}],"charsReplaced":"","lastFindLoc":144,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":209},"renderContextTable":{"__isSmartRef__":true,"id":210},"layout":{"__isSmartRef__":true,"id":211},"eventHandler":{"__isSmartRef__":true,"id":212},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","98E9732F-A066-4346-BF22-02516F47329D","C9723EEA-51D2-4471-A8D1-11B2E4FC627D","51E2E922-7405-446D-8E42-8EE5A273B434"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"previousSelection":[896,1005],"_Rotation":0,"_Scale":0.992027944069946,"priorSelectionRange":[896,1005],"__LivelyClassName__":"lively.morphic.Text"},"168":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":169},"_Extent":{"__isSmartRef__":true,"id":170},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"renderContextTable":{"__isSmartRef__":true,"id":172},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":173},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"169":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"170":{"x":782.1842271807045,"y":223,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"171":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"172":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"173":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"174":{"x":10,"y":424,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"175":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"176":{"style":{"__isSmartRef__":true,"id":177},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"177":{"color":"rgb(68,68,68)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"24px","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"178":{"style":{"__isSmartRef__":true,"id":179},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"179":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"180":{"style":{"__isSmartRef__":true,"id":181},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"Right click in the world and choose ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"181":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"182":{"style":{"__isSmartRef__":true,"id":183},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"PartsBin","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"183":{"doit":{"__isSmartRef__":true,"id":184},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"184":{"code":"$world.showHint('What\\'s the PartsBin?\\nThe PartsBin is Lively\\'s central platform for the distribution of Lively objects and small applications. You can find buttons, checkboxes or labels there, but also debugging tools or a chess game. Learn more in our PartsBin guide.')\n","context":null},"185":{"style":{"__isSmartRef__":true,"id":186},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"186":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"187":{"style":{"__isSmartRef__":true,"id":188},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"188":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"189":{"style":{"__isSmartRef__":true,"id":190},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"On the Basic page, grab a rectangle (simply left-click and drag it) and place it in your world\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"190":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"191":{"style":{"__isSmartRef__":true,"id":192},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"192":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"193":{"style":{"__isSmartRef__":true,"id":194},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"Open the Halos of the rectangle by right-clicking it\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"194":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"195":{"style":{"__isSmartRef__":true,"id":196},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"196":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"197":{"style":{"__isSmartRef__":true,"id":198},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"Click and hold the D symbol at the top to drag the rectangle in a suitable position and use the R-symbol to resize the rectangle to a size large enough to be able to show a list of todos (600 × 600 px should be a reasonable size). Hold down the ALT key to let the dragging or resizing happen in 10px steps.Rename the rectangle to TodoPane by clicking on its name (Rectangle) which is displayed below it.\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"198":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"199":{"style":{"__isSmartRef__":true,"id":200},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"200":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"201":{"style":{"__isSmartRef__":true,"id":202},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"Click the S symbol the open the style editor of the rectangle. Here you can adjust the color and border of the rectangle as you prefer.\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"202":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"203":{"style":{"__isSmartRef__":true,"id":204},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"● ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"204":{"color":"rgb(0,0,0)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"left","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"205":{"style":{"__isSmartRef__":true,"id":206},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"At this point it may be a good idea to save our work. So right-click in the world (outside of your rectangle) to bring up the world menu and choose Save world. When you now reload the page in your browser, it will be in the same state it was when you saved it.","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"206":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"207":{"style":{"__isSmartRef__":true,"id":208},"chunkOwner":{"__isSmartRef__":true,"id":167},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"208":{"backgroundColor":"rgb(238,238,238)","border":"1pxsolidrgb(170,170,170)","borderTopLeftRadius":"20px","borderTopRightRadius":"20px","borderBottomRightRadius":"20px","borderBottomLeftRadius":"20px","padding":"2pt4pt","fontFamily":"helvetica,arial,sans-serif","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"209":{"x":782,"y":223,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"210":{"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","setStyleSheet":"setStyleSheetHTML","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"},"211":{"resizeWidth":true,"resizeHeight":false},"212":{"morph":{"__isSmartRef__":true,"id":167},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"213":{"submorphs":[],"scripts":[],"id":"CE49D2B7-0336-484B-BEF5-C916CF71C980","shape":{"__isSmartRef__":true,"id":214},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":220},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":217},"showsHalos":false,"_FontSize":16,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content6","partsBinMetaInfo":{"__isSmartRef__":true,"id":221},"textChunks":[{"__isSmartRef__":true,"id":222},{"__isSmartRef__":true,"id":224}],"charsReplaced":"Open a new empty world? and save it to your user directory","lastFindLoc":0,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":226},"renderContextTable":{"__isSmartRef__":true,"id":227},"layout":{"__isSmartRef__":true,"id":228},"eventHandler":{"__isSmartRef__":true,"id":229},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","FB641DF8-F688-4171-92A9-557F04EAB930","61ED6EA4-E8ED-40C6-BC8E-BB7912B3005C"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":0.9920279440699459,"__LivelyClassName__":"lively.morphic.Text"},"214":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":215},"_Extent":{"__isSmartRef__":true,"id":216},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":217},"renderContextTable":{"__isSmartRef__":true,"id":218},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":219},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"215":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"216":{"x":782.1842271807045,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"217":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"218":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"219":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"220":{"x":10,"y":384,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"221":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"222":{"style":{"__isSmartRef__":true,"id":223},"chunkOwner":{"__isSmartRef__":true,"id":213},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"223":{"color":"rgb(17,17,17)","fontWeight":"400","marginBottom":"24px","padding":"0px","fontSize":"21px","fontFamily":"Georgia,Palatino,serif","fontStyle":"normal","fontVariant":"normal","letterSpacing":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"224":{"style":{"__isSmartRef__":true,"id":225},"chunkOwner":{"__isSmartRef__":true,"id":213},"storedString":"Create a rectangle which will build the basis of our todo list","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"225":{"color":"rgb(17,17,17)","fontWeight":"400","marginBottom":"24px","padding":"0px","fontSize":"21px","fontFamily":"Georgia,Palatino,serif","fontStyle":"normal","fontVariant":"normal","letterSpacing":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"226":{"x":782,"y":25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"227":{"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","setStyleSheet":"setStyleSheetHTML","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"},"228":{"resizeWidth":true,"resizeHeight":false},"229":{"morph":{"__isSmartRef__":true,"id":213},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"230":{"submorphs":[],"scripts":[],"id":"F0C27580-5D91-4FB6-AECB-11C846A4B4FA","shape":{"__isSmartRef__":true,"id":231},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":237},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":234},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content10","partsBinMetaInfo":{"__isSmartRef__":true,"id":238},"textChunks":[{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":241}],"charsReplaced":"● Right click in the world and choose PartsBin\n● On the Basic page, grab a rectangle (simply left-click and drag it) and place it in your world\n● Open the Halos of the rectangle by right-clicking it\n● Click and hold the D symbol at the top to drag the rectangle in a suitable position and use the R-symbol to resize the rectangle to a size large enough to be able to show a list of todos (600 × 600 px should be a reasonable size). Hold down the ALT key to let the dragging or resizing happen in 10px steps.Rename the rectangle to TodoPane by clicking on its name (Rectangle) which is displayed below it.\n● Click the S symbol the open the style editor of the rectangle. Here you can adjust the color and border of the rectangle as you prefer.\n● At this point it may be a good idea to save our work. So right-click in the world (outside of your rectangle) to bring up the world menu and choose Save world. When you now reload the page in your browser, it will be in the same state it was when you saved it.","lastFindLoc":1005,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":243},"renderContextTable":{"__isSmartRef__":true,"id":244},"layout":{"__isSmartRef__":true,"id":245},"eventHandler":{"__isSmartRef__":true,"id":246},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","98E9732F-A066-4346-BF22-02516F47329D","C9723EEA-51D2-4471-A8D1-11B2E4FC627D","51E2E922-7405-446D-8E42-8EE5A273B434","F8395373-6184-43C9-8E05-F3673C93448D"],"isBeingDragged":false,"_Align":"left","owner":{"__isSmartRef__":true,"id":1},"priorSelectionRange":[3,3],"_Rotation":0,"_Scale":0.9920279440699462,"__LivelyClassName__":"lively.morphic.Text"},"231":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":232},"_Extent":{"__isSmartRef__":true,"id":233},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":234},"renderContextTable":{"__isSmartRef__":true,"id":235},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":236},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"232":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"233":{"x":782.1842271807045,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"234":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"236":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"237":{"x":10,"y":661.9999999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"238":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"239":{"style":{"__isSmartRef__":true,"id":240},"chunkOwner":{"__isSmartRef__":true,"id":230},"storedString":"...","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"240":{"color":"rgb(68,68,68)","fontFamily":"Georgia,Palatino,serif","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"24px","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"normal","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"241":{"style":{"__isSmartRef__":true,"id":242},"chunkOwner":{"__isSmartRef__":true,"id":230},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"242":{"backgroundColor":"rgb(238,238,238)","border":"1pxsolidrgb(170,170,170)","borderTopLeftRadius":"20px","borderTopRightRadius":"20px","borderBottomRightRadius":"20px","borderBottomLeftRadius":"20px","padding":"2pt4pt","fontFamily":"helvetica,arial,sans-serif","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"243":{"x":782,"y":24,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"244":{"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","setStyleSheet":"setStyleSheetHTML","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"},"245":{"resizeWidth":true,"resizeHeight":false},"246":{"morph":{"__isSmartRef__":true,"id":230},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"247":{"submorphs":[],"scripts":[],"id":"4287FF7A-C99A-457F-A762-9F787CE2AA72","shape":{"__isSmartRef__":true,"id":248},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":254},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":251},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content13","partsBinMetaInfo":{"__isSmartRef__":true,"id":255},"textChunks":[{"__isSmartRef__":true,"id":256}],"charsReplaced":"● Right click in the world and choose PartsBin\n● On the Basic page, grab a rectangle (simply left-click and drag it) and place it in your world\n● Open the Halos of the rectangle by right-clicking it\n● Click and hold the D symbol at the top to drag the rectangle in a suitable position and use the R-symbol to resize the rectangle to a size large enough to be able to show a list of todos (600 × 600 px should be a reasonable size). Hold down the ALT key to let the dragging or resizing happen in 10px steps.Rename the rectangle to TodoPane by clicking on its name (Rectangle) which is displayed below it.\n● Click the S symbol the open the style editor of the rectangle. Here you can adjust the color and border of the rectangle as you prefer.\n● At this point it may be a good idea to save our work. So right-click in the world (outside of your rectangle) to bring up the world menu and choose Save world. When you now reload the page in your browser, it will be in the same state it was when you saved it.","lastFindLoc":1005,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":258},"renderContextTable":{"__isSmartRef__":true,"id":259},"layout":{"__isSmartRef__":true,"id":260},"eventHandler":{"__isSmartRef__":true,"id":261},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","98E9732F-A066-4346-BF22-02516F47329D","C9723EEA-51D2-4471-A8D1-11B2E4FC627D","51E2E922-7405-446D-8E42-8EE5A273B434","F8395373-6184-43C9-8E05-F3673C93448D","5C078562-8F56-46C9-9B9B-C600A47ECC85","6562558D-3F28-4780-9968-81DC12164558","0372A80C-F02A-4C22-A18D-CFCC18EF7074"],"isBeingDragged":false,"_Align":"left","previousSelection":[6,6],"owner":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":0.9920279440699462,"__LivelyClassName__":"lively.morphic.Text"},"248":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":249},"_Extent":{"__isSmartRef__":true,"id":250},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":251},"renderContextTable":{"__isSmartRef__":true,"id":252},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":253},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"249":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"250":{"x":782.1842271807045,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"251":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"252":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"253":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"254":{"x":10,"y":701.0000000000001,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"255":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"256":{"style":{"__isSmartRef__":true,"id":257},"chunkOwner":{"__isSmartRef__":true,"id":247},"storedString":"... ... a","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"257":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"258":{"x":782,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"259":{"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","setStyleSheet":"setStyleSheetHTML","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"},"260":{"resizeWidth":true,"resizeHeight":false},"261":{"morph":{"__isSmartRef__":true,"id":247},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"262":{"submorphs":[],"scripts":[],"id":"60EA7939-D207-48B4-8E23-66AFAD0C13C1","shape":{"__isSmartRef__":true,"id":263},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Georgia, Palatino, serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":269},"_MaxTextWidth":782.1842271807045,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":266},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"content14","partsBinMetaInfo":{"__isSmartRef__":true,"id":270},"textChunks":[{"__isSmartRef__":true,"id":271}],"charsReplaced":"● Right click in the world and choose PartsBin\n● On the Basic page, grab a rectangle (simply left-click and drag it) and place it in your world\n● Open the Halos of the rectangle by right-clicking it\n● Click and hold the D symbol at the top to drag the rectangle in a suitable position and use the R-symbol to resize the rectangle to a size large enough to be able to show a list of todos (600 × 600 px should be a reasonable size). Hold down the ALT key to let the dragging or resizing happen in 10px steps.Rename the rectangle to TodoPane by clicking on its name (Rectangle) which is displayed below it.\n● Click the S symbol the open the style editor of the rectangle. Here you can adjust the color and border of the rectangle as you prefer.\n● At this point it may be a good idea to save our work. So right-click in the world (outside of your rectangle) to bring up the world menu and choose Save world. When you now reload the page in your browser, it will be in the same state it was when you saved it.","lastFindLoc":1005,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":273},"renderContextTable":{"__isSmartRef__":true,"id":274},"layout":{"__isSmartRef__":true,"id":275},"eventHandler":{"__isSmartRef__":true,"id":276},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":782.1842271807045,"_MinTextHeight":null,"_ClipMode":"visible","derivationIds":[93,"F3F5ACC3-3437-43DB-9B8F-ED6509C055BD","8AD08A8F-6B5F-4537-8094-FE90CFA10FF3","53C49217-9A52-462A-841E-39662F1BB987","C34B1F11-64ED-4628-A9D6-6E147B60994A","98E9732F-A066-4346-BF22-02516F47329D","C9723EEA-51D2-4471-A8D1-11B2E4FC627D","51E2E922-7405-446D-8E42-8EE5A273B434","F8395373-6184-43C9-8E05-F3673C93448D","5C078562-8F56-46C9-9B9B-C600A47ECC85","6562558D-3F28-4780-9968-81DC12164558","0372A80C-F02A-4C22-A18D-CFCC18EF7074","4287FF7A-C99A-457F-A762-9F787CE2AA72"],"isBeingDragged":false,"_Align":"left","previousSelection":[6,6],"_Rotation":0,"_Scale":0.9920279440699462,"owner":{"__isSmartRef__":true,"id":1},"cachedTextString":"... ... a","__LivelyClassName__":"lively.morphic.Text"},"263":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":264},"_Extent":{"__isSmartRef__":true,"id":265},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":266},"renderContextTable":{"__isSmartRef__":true,"id":267},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":268},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"264":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"265":{"x":782.1842271807045,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"266":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"267":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"268":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"269":{"x":10,"y":733.9999999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"270":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"271":{"style":{"__isSmartRef__":true,"id":272},"chunkOwner":{"__isSmartRef__":true,"id":262},"storedString":"... ... a ...","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"272":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"273":{"x":782,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"274":{"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","setStyleSheet":"setStyleSheetHTML","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"},"275":{"resizeWidth":true,"resizeHeight":false},"276":{"morph":{"__isSmartRef__":true,"id":262},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"277":{"position":{"__isSmartRef__":true,"id":278},"_Extent":{"__isSmartRef__":true,"id":279},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":280},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":281},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":282},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"278":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"279":{"x":802.1842271807045,"y":801.006009012015,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"280":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"282":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"283":{"x":148,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"284":{"partsSpaceName":"PartsBin/Sandbox/","__SourceModuleName__":"Global.lively.PartsBin","comment":"Stackable text morphs","migrationLevel":4,"partName":"JournalStack","changes":[{"__isSmartRef__":true,"id":285},{"__isSmartRef__":true,"id":287},{"__isSmartRef__":true,"id":289},{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":293},{"__isSmartRef__":true,"id":295},{"__isSmartRef__":true,"id":297}],"revisionOnLoad":171630,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"285":{"date":{"__isSmartRef__":true,"id":286},"author":"bgnauk","message":"no comment","id":"D1916219-D1E7-46D1-B444-8E19CB9C41A8"},"286":{"isSerializedDate":true,"string":"Mon Jun 18 2012 11:28:39 GMT-0700 (Pacific Daylight Time)"},"287":{"date":{"__isSmartRef__":true,"id":288},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"288":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"289":{"date":{"__isSmartRef__":true,"id":290},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"290":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"291":{"date":{"__isSmartRef__":true,"id":292},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"292":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"293":{"date":{"__isSmartRef__":true,"id":294},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"294":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"295":{"date":{"__isSmartRef__":true,"id":296},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"296":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"297":{"date":{"__isSmartRef__":true,"id":298},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"298":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"299":{"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","setStyleSheet":"setStyleSheetHTML"},"300":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"301":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":302}},"302":{"test01IsMorph":{"__isSmartRef__":true,"id":303}},"303":{"varMapping":{"__isSmartRef__":true,"id":304},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"304":{"this":{"__isSmartRef__":true,"id":301}},"305":{},"306":{"layouter":{"__isSmartRef__":true,"id":307},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":308}},"307":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.JournalLayout"},"308":{"x":802.1842271807045,"y":705.006009012015,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"309":{"x":802.1842271807045,"y":966.006009012015,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"310":{"submorphs":[{"__isSmartRef__":true,"id":311},{"__isSmartRef__":true,"id":459},{"__isSmartRef__":true,"id":2016},{"__isSmartRef__":true,"id":2043}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2068},"id":"FE5326F8-01E0-4BA4-A9CD-43FDBBC9863A","renderContextTable":{"__isSmartRef__":true,"id":2073},"eventHandler":{"__isSmartRef__":true,"id":2074},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":2075},"LK2":true,"_Position":{"__isSmartRef__":true,"id":2076},"priorExtent":{"__isSmartRef__":true,"id":2077},"targetMorph":{"__isSmartRef__":true,"id":459},"titleBar":{"__isSmartRef__":true,"id":311},"contentOffset":{"__isSmartRef__":true,"id":1188},"collapsedTransform":{"__isSmartRef__":true,"id":2078},"collapsedExtent":{"__isSmartRef__":true,"id":2079},"expandedTransform":{"__isSmartRef__":true,"id":2080},"expandedExtent":{"__isSmartRef__":true,"id":2070},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2081},"name":"TextAttributePanel","showsHalos":false,"highlighted":false,"scriptAnnotations":{"__isSmartRef__":true,"id":2092},"__SourceModuleName__":"Global.lively.morphic.Widgets","prevDragPos":{"__isSmartRef__":true,"id":2095},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[215,"9A466584-5288-4C2B-AFD5-15C3A9C2B455","0AEDBE75-5FDE-4A42-AD5F-478035A21F9F","914D3386-C9D8-4BDD-8466-0E5EDDC6C998","CD85263D-6059-44B6-8C66-0E2A960014BD"],"expandedPosition":{"__isSmartRef__":true,"id":2096},"helperMorphs":[{"__isSmartRef__":true,"id":2016},{"__isSmartRef__":true,"id":2043}],"state":"expanded","collapsedPosition":{"__isSmartRef__":true,"id":2096},"_ClipMode":"visible","moved":true,"_Rotation":0,"_Scale":1.0060210561262526,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2097},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"311":{"submorphs":[{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":326},{"__isSmartRef__":true,"id":373},{"__isSmartRef__":true,"id":407}],"scripts":[],"shape":{"__isSmartRef__":true,"id":442},"id":"AA29DA9C-44F3-4592-BC60-1D805A854E55","renderContextTable":{"__isSmartRef__":true,"id":454},"eventHandler":{"__isSmartRef__":true,"id":455},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":456},"_Position":{"__isSmartRef__":true,"id":457},"windowMorph":{"__isSmartRef__":true,"id":310},"label":{"__isSmartRef__":true,"id":312},"closeButton":{"__isSmartRef__":true,"id":326},"menuButton":{"__isSmartRef__":true,"id":373},"collapseButton":{"__isSmartRef__":true,"id":407},"priorExtent":{"__isSmartRef__":true,"id":458},"owner":{"__isSmartRef__":true,"id":310},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[255,"C941E0C3-8A8E-4806-8668-7D5278116D7A","7DAAEB6C-9DE8-4B84-8D06-D8913EB9E935","5F544D73-4923-489E-A1B1-1AA5128FCBEE","B14CBAD7-4FF0-46EF-86A8-5A9BACC10D14"],"showsHalos":false,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar"},"312":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":313},"id":"B1C83077-5032-4C8D-9DB3-C1E11A1A3294","renderContextTable":{"__isSmartRef__":true,"id":319},"textChunks":[{"__isSmartRef__":true,"id":320}],"eventHandler":{"__isSmartRef__":true,"id":322},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":323},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":311},"priorExtent":{"__isSmartRef__":true,"id":324},"_MaxTextWidth":237.70019193195049,"_MinTextWidth":237.70019193195049,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":325},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[256,"E2B781FC-EC28-4491-B2D1-E7415DAD3230","5136A733-044A-42DF-B8F7-48BB75C43498","B6B08DA4-A6E6-48C0-A480-AD702DE8C9AF","C6BCE604-2B56-41DC-B9F3-191E92490B2B"],"__LivelyClassName__":"lively.morphic.Text"},"313":{"_Position":{"__isSmartRef__":true,"id":314},"renderContextTable":{"__isSmartRef__":true,"id":315},"_Extent":{"__isSmartRef__":true,"id":316},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":317},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":318},"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"316":{"x":237.70019193195049,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"317":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"318":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"319":{"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","setStyleSheet":"setStyleSheetHTML","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"},"320":{"style":{"__isSmartRef__":true,"id":321},"chunkOwner":{"__isSmartRef__":true,"id":312},"storedString":"TextAttributePanel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"321":{"fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"322":{"morph":{"__isSmartRef__":true,"id":312},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"323":{"resizeWidth":true},"324":{"x":237.70019193195049,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"325":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"326":{"submorphs":[{"__isSmartRef__":true,"id":327}],"scripts":[],"shape":{"__isSmartRef__":true,"id":339},"id":"FDB6E077-C61D-43AD-BFBD-3EAE1DBAADAF","renderContextTable":{"__isSmartRef__":true,"id":355},"eventHandler":{"__isSmartRef__":true,"id":356},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":357},"priorExtent":{"__isSmartRef__":true,"id":358},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":344},"lighterFill":{"__isSmartRef__":true,"id":359},"label":{"__isSmartRef__":true,"id":327},"owner":{"__isSmartRef__":true,"id":311},"layout":{"__isSmartRef__":true,"id":368},"attributeConnections":[{"__isSmartRef__":true,"id":369},{"__isSmartRef__":true,"id":371}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[257,"D9ECBAEF-DA40-4DF9-AE90-2AC5BE8E6017","43C7FAA5-6704-4655-B951-EE0F65C94665","C285854D-6252-409E-9D96-C08D6763A5A8","ED18BE3A-5C85-4260-8BF9-C45A1C164124"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"327":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":328},"id":"304CC23A-2D6C-41A0-82A2-CF3562514ADD","renderContextTable":{"__isSmartRef__":true,"id":333},"textChunks":[{"__isSmartRef__":true,"id":334}],"eventHandler":{"__isSmartRef__":true,"id":336},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":337},"priorExtent":{"__isSmartRef__":true,"id":338},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":326},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[258,"26204582-9E07-4ACF-85F6-1DD3B239444A","F79F471E-9E1A-4EB2-A440-1BA2296D69B3","00920858-C8D2-4DF3-836F-1FC4E427CE6D","DBDBBE00-12DA-46EB-B5A3-93FC236105C3"],"__LivelyClassName__":"lively.morphic.Text"},"328":{"_Position":{"__isSmartRef__":true,"id":329},"renderContextTable":{"__isSmartRef__":true,"id":330},"_Extent":{"__isSmartRef__":true,"id":331},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":317},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":332},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"329":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"331":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"332":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"333":{"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","setStyleSheet":"setStyleSheetHTML","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"},"334":{"style":{"__isSmartRef__":true,"id":335},"chunkOwner":{"__isSmartRef__":true,"id":327},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"335":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"336":{"morph":{"__isSmartRef__":true,"id":327},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"337":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"338":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"339":{"_Position":{"__isSmartRef__":true,"id":340},"renderContextTable":{"__isSmartRef__":true,"id":341},"_Extent":{"__isSmartRef__":true,"id":342},"_ClipMode":"visible","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":343},"_Fill":{"__isSmartRef__":true,"id":344},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":354},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"340":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"341":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"342":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"343":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"344":{"stops":[{"__isSmartRef__":true,"id":345},{"__isSmartRef__":true,"id":347},{"__isSmartRef__":true,"id":349},{"__isSmartRef__":true,"id":351}],"vector":{"__isSmartRef__":true,"id":353},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"345":{"offset":0,"color":{"__isSmartRef__":true,"id":346}},"346":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"347":{"offset":0.4,"color":{"__isSmartRef__":true,"id":348}},"348":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"349":{"offset":0.6,"color":{"__isSmartRef__":true,"id":350}},"350":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"351":{"offset":1,"color":{"__isSmartRef__":true,"id":352}},"352":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"353":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"354":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"355":{"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","setStyleSheet":"setStyleSheetHTML"},"356":{"morph":{"__isSmartRef__":true,"id":326},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"357":{"x":276.7001919319505,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"358":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"359":{"stops":[{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":366}],"vector":{"__isSmartRef__":true,"id":353},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"360":{"offset":0,"color":{"__isSmartRef__":true,"id":361}},"361":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"362":{"offset":0.4,"color":{"__isSmartRef__":true,"id":363}},"363":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"364":{"offset":0.6,"color":{"__isSmartRef__":true,"id":365}},"365":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"366":{"offset":1,"color":{"__isSmartRef__":true,"id":367}},"367":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"368":{"moveHorizontal":true},"369":{"sourceObj":{"__isSmartRef__":true,"id":326},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":370},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"370":{"source":{"__isSmartRef__":true,"id":326},"target":{"__isSmartRef__":true,"id":310}},"371":{"sourceObj":{"__isSmartRef__":true,"id":326},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":372},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"372":{"source":{"__isSmartRef__":true,"id":326},"target":{"__isSmartRef__":true,"id":310}},"373":{"submorphs":[{"__isSmartRef__":true,"id":374}],"scripts":[],"shape":{"__isSmartRef__":true,"id":385},"id":"3B456A7C-CB49-4606-A329-82FC9802C6FD","renderContextTable":{"__isSmartRef__":true,"id":390},"eventHandler":{"__isSmartRef__":true,"id":391},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":392},"priorExtent":{"__isSmartRef__":true,"id":393},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":344},"lighterFill":{"__isSmartRef__":true,"id":394},"label":{"__isSmartRef__":true,"id":374},"owner":{"__isSmartRef__":true,"id":311},"attributeConnections":[{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":405}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[259,"E8F69BF7-66BF-43A2-8C7D-8107DA0590AF","1742F187-8770-4FCB-BEFF-38C57886B243","E76F7B83-C575-4040-ACE7-843F1FC19A68","66A494A1-4CB4-4961-9E15-19E98279CBC7"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"374":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":375},"id":"58595848-D758-4E23-A08B-6D6760466A7D","renderContextTable":{"__isSmartRef__":true,"id":379},"textChunks":[{"__isSmartRef__":true,"id":380}],"eventHandler":{"__isSmartRef__":true,"id":382},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":383},"priorExtent":{"__isSmartRef__":true,"id":384},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":373},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[260,"2EFE7412-BA56-4CB8-8A56-BEB0386895CC","EE38F136-1CD6-47A9-B857-CF474DAAB3E5","3D45B393-6B5E-498A-BBE0-106AE5839214","EEE89276-C25B-4E0A-A0D8-C56F8449873A"],"__LivelyClassName__":"lively.morphic.Text"},"375":{"_Position":{"__isSmartRef__":true,"id":376},"renderContextTable":{"__isSmartRef__":true,"id":377},"_Extent":{"__isSmartRef__":true,"id":378},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":317},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":332},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"376":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"378":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"379":{"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","setStyleSheet":"setStyleSheetHTML","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"},"380":{"style":{"__isSmartRef__":true,"id":381},"chunkOwner":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"381":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"382":{"morph":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"383":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"384":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"385":{"_Position":{"__isSmartRef__":true,"id":386},"renderContextTable":{"__isSmartRef__":true,"id":387},"_Extent":{"__isSmartRef__":true,"id":388},"_ClipMode":"visible","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":343},"_Fill":{"__isSmartRef__":true,"id":344},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":389},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"386":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"387":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"388":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"389":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"390":{"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","setStyleSheet":"setStyleSheetHTML"},"391":{"morph":{"__isSmartRef__":true,"id":373},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"392":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"393":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"394":{"stops":[{"__isSmartRef__":true,"id":395},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":399},{"__isSmartRef__":true,"id":401}],"vector":{"__isSmartRef__":true,"id":353},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"395":{"offset":0,"color":{"__isSmartRef__":true,"id":396}},"396":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"397":{"offset":0.4,"color":{"__isSmartRef__":true,"id":398}},"398":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"399":{"offset":0.6,"color":{"__isSmartRef__":true,"id":400}},"400":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"401":{"offset":1,"color":{"__isSmartRef__":true,"id":402}},"402":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"403":{"sourceObj":{"__isSmartRef__":true,"id":373},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":404},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"404":{"source":{"__isSmartRef__":true,"id":373},"target":{"__isSmartRef__":true,"id":310}},"405":{"sourceObj":{"__isSmartRef__":true,"id":373},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":406},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"406":{"source":{"__isSmartRef__":true,"id":373},"target":{"__isSmartRef__":true,"id":310}},"407":{"submorphs":[{"__isSmartRef__":true,"id":408}],"scripts":[],"shape":{"__isSmartRef__":true,"id":419},"id":"5C60578B-A14C-4ED9-BD1F-1DCCA498035D","renderContextTable":{"__isSmartRef__":true,"id":433},"eventHandler":{"__isSmartRef__":true,"id":434},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":435},"priorExtent":{"__isSmartRef__":true,"id":436},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":344},"lighterFill":{"__isSmartRef__":true,"id":423},"label":{"__isSmartRef__":true,"id":408},"owner":{"__isSmartRef__":true,"id":311},"layout":{"__isSmartRef__":true,"id":437},"attributeConnections":[{"__isSmartRef__":true,"id":438},{"__isSmartRef__":true,"id":440}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[261,"F18D267E-E8F2-4D92-AD1D-5B24F7D0FB82","6A2086EC-26A0-4407-B753-1A0646CE6C75","615D15EF-61F8-4F47-BBC7-97623180C7B0","8AAA3AC1-299C-4FAF-B994-7BB087B70297"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"408":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":409},"id":"3252CD8A-0F2B-49D3-8018-625CF32D1F90","renderContextTable":{"__isSmartRef__":true,"id":413},"textChunks":[{"__isSmartRef__":true,"id":414}],"eventHandler":{"__isSmartRef__":true,"id":416},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":417},"priorExtent":{"__isSmartRef__":true,"id":418},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":407},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[262,"52F0E421-C7EA-4D88-BE12-0BBBDA3E76E8","D2EAFEC5-9CFF-4D61-8875-378920168783","7F67D07B-06B2-4942-962F-C0F31EF0F515","4B818E77-41CF-4818-B037-C964E74DAFC4"],"__LivelyClassName__":"lively.morphic.Text"},"409":{"_Position":{"__isSmartRef__":true,"id":410},"renderContextTable":{"__isSmartRef__":true,"id":411},"_Extent":{"__isSmartRef__":true,"id":412},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":317},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":332},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"410":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"411":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"412":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"413":{"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","setStyleSheet":"setStyleSheetHTML","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"},"414":{"style":{"__isSmartRef__":true,"id":415},"chunkOwner":{"__isSmartRef__":true,"id":408},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"415":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"416":{"morph":{"__isSmartRef__":true,"id":408},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"417":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"418":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"419":{"_Position":{"__isSmartRef__":true,"id":420},"renderContextTable":{"__isSmartRef__":true,"id":421},"_Extent":{"__isSmartRef__":true,"id":422},"_ClipMode":"visible","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":343},"_Fill":{"__isSmartRef__":true,"id":423},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":432},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"420":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"421":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"422":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"423":{"stops":[{"__isSmartRef__":true,"id":424},{"__isSmartRef__":true,"id":426},{"__isSmartRef__":true,"id":428},{"__isSmartRef__":true,"id":430}],"vector":{"__isSmartRef__":true,"id":353},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"424":{"offset":0,"color":{"__isSmartRef__":true,"id":425}},"425":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"426":{"offset":0.4,"color":{"__isSmartRef__":true,"id":427}},"427":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"428":{"offset":0.6,"color":{"__isSmartRef__":true,"id":429}},"429":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"430":{"offset":1,"color":{"__isSmartRef__":true,"id":431}},"431":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"432":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"433":{"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","setStyleSheet":"setStyleSheetHTML"},"434":{"morph":{"__isSmartRef__":true,"id":407},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"435":{"x":257.7001919319505,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"436":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"437":{"moveHorizontal":true},"438":{"sourceObj":{"__isSmartRef__":true,"id":407},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":439},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"439":{"source":{"__isSmartRef__":true,"id":407},"target":{"__isSmartRef__":true,"id":310}},"440":{"sourceObj":{"__isSmartRef__":true,"id":407},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":310},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":441},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"441":{"source":{"__isSmartRef__":true,"id":407},"target":{"__isSmartRef__":true,"id":310}},"442":{"_Position":{"__isSmartRef__":true,"id":443},"renderContextTable":{"__isSmartRef__":true,"id":444},"_Extent":{"__isSmartRef__":true,"id":445},"_ClipMode":"visible","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":446},"_Fill":{"__isSmartRef__":true,"id":447},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"443":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"444":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"445":{"x":296.7001919319505,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"446":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"447":{"stops":[{"__isSmartRef__":true,"id":448},{"__isSmartRef__":true,"id":450}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"448":{"offset":0,"color":{"__isSmartRef__":true,"id":449}},"449":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"450":{"offset":1,"color":{"__isSmartRef__":true,"id":451}},"451":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"452":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"453":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"454":{"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","setStyleSheet":"setStyleSheetHTML"},"455":{"morph":{"__isSmartRef__":true,"id":311},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"456":{"resizeWidth":true,"adjustForNewBounds":true},"457":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"458":{"x":296.7001919319505,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"459":{"submorphs":[{"__isSmartRef__":true,"id":460}],"scripts":[],"id":"AD6844A4-4AD7-4E92-BD85-460A178634C9","shape":{"__isSmartRef__":true,"id":1181},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1188},"showsHalos":false,"name":"TextAttributePanel","partsBinMetaInfo":{"__isSmartRef__":true,"id":1189},"__SourceModuleName__":"Global.lively.morphic.Core","selectedFont":null,"attributeConnections":[{"__isSmartRef__":true,"id":1190}],"doNotSerialize":["layer","withoutLayers","targetMorph","$$focusedText"],"doNotCopyProperties":["$$focusedText"],"layout":{"__isSmartRef__":true,"id":1191},"priorExtent":{"__isSmartRef__":true,"id":1192},"renderContextTable":{"__isSmartRef__":true,"id":1193},"eventHandler":{"__isSmartRef__":true,"id":1194},"owner":{"__isSmartRef__":true,"id":310},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[216,"3D339AFC-F1BE-44FC-9545-5E5A5B854496","B279463E-77F9-4386-891F-CDBAA0946C91","500A5E6B-A395-44C9-9E8F-C9341196C755","6D7497B2-34AD-4B71-943F-6CC705B00044"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"focusedText":{"__isSmartRef__":true,"id":1195},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1947},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.ObserveTextFocusLayer2"]},"460":{"submorphs":[{"__isSmartRef__":true,"id":461},{"__isSmartRef__":true,"id":490},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":879},{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":995},{"__isSmartRef__":true,"id":1041},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1122}],"scripts":[],"id":"E6301C4B-2B50-4DA5-8397-9E3D282AEFC1","shape":{"__isSmartRef__":true,"id":1167},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1174},"showsHalos":false,"name":"Rectangle2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1175},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1176},"eventHandler":{"__isSmartRef__":true,"id":1177},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":459},"layout":{"__isSmartRef__":true,"id":1178},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1180},"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[217,"B003E424-3AB5-4470-AC9E-6F6F70C68E9B","1EED47C1-4591-4FD6-8CAD-AC683C1C4FB1","B32E7217-3095-40FE-A00F-F2E3A0436F75","673A9087-9653-4894-B926-4EEC849AD4D3"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"461":{"submorphs":[{"__isSmartRef__":true,"id":462}],"scripts":[],"id":"AC709068-8CEB-4A0E-BCD1-C43DCDB37EDE","shape":{"__isSmartRef__":true,"id":476},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":483},"showsHalos":false,"name":"Rectangle3","partsBinMetaInfo":{"__isSmartRef__":true,"id":484},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":485},"eventHandler":{"__isSmartRef__":true,"id":486},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":460},"layout":{"__isSmartRef__":true,"id":487},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":489},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[218,"247E8908-D7CD-489B-8A79-1D781BD09A67","5ABA537F-CB57-42CC-B689-B3437E13070B","46654705-D887-49C0-A4B1-81CF21EA4DA8","5FA6FB44-9336-4A6A-93D6-FE4F884B6397"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"462":{"submorphs":[],"scripts":[],"id":"B36CE9F8-BFCE-4E03-8A20-347C4AF0D62D","shape":{"__isSmartRef__":true,"id":463},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":469},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":466},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":470},"textChunks":[{"__isSmartRef__":true,"id":471}],"charsReplaced":"text","lastFindLoc":-4,"priorSelectionRange":[5,5],"prevScroll":[0,0],"_ClipMode":"hidden","owner":{"__isSmartRef__":true,"id":461},"priorExtent":{"__isSmartRef__":true,"id":473},"renderContextTable":{"__isSmartRef__":true,"id":474},"eventHandler":{"__isSmartRef__":true,"id":475},"previousSelection":[5,10],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[219,"C44FE0A5-6E98-4AE0-AEED-5965D9440E22","1E8D1643-ABFA-4DB3-9428-1CE3DCA5B69E","FF877464-8DFE-4410-BAB0-A378416937DF","09DDE261-D466-44E2-90E2-1240E92A5CA6"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"463":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":464},"_Extent":{"__isSmartRef__":true,"id":465},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":466},"renderContextTable":{"__isSmartRef__":true,"id":467},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":468},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"464":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"465":{"x":64,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"466":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"467":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"468":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"469":{"x":5.16,"y":5.16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"470":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"471":{"style":{"__isSmartRef__":true,"id":472},"morph":{"__isSmartRef__":true,"id":462},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":462},"storedString":"font color:","__LivelyClassName__":"lively.morphic.TextChunk"},"472":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"473":{"x":64,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"474":{"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","setStyleSheet":"setStyleSheetHTML","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"},"475":{"morph":{"__isSmartRef__":true,"id":462},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"476":{"position":{"__isSmartRef__":true,"id":477},"_Extent":{"__isSmartRef__":true,"id":478},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":479},"_Fill":{"__isSmartRef__":true,"id":480},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":481},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":482},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"477":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"478":{"x":112.32,"y":27.32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"479":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"480":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"481":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"482":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"483":{"x":2.1800000000000006,"y":22.18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"484":{"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"},"485":{"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","setStyleSheet":"setStyleSheetHTML"},"486":{"morph":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"487":{"layouter":{"__isSmartRef__":true,"id":488}},"488":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":5.16,"spacing":15,"container":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"489":{"x":112.32,"y":31.32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"490":{"submorphs":[{"__isSmartRef__":true,"id":491},{"__isSmartRef__":true,"id":505}],"scripts":[],"id":"3189C629-A26A-4FAC-A370-342044148A11","shape":{"__isSmartRef__":true,"id":572},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":579},"showsHalos":false,"name":"Rectangle6","partsBinMetaInfo":{"__isSmartRef__":true,"id":580},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":581},"eventHandler":{"__isSmartRef__":true,"id":582},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":583},"distanceToDragEvent":{"__isSmartRef__":true,"id":584},"layout":{"__isSmartRef__":true,"id":585},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[222,"6248B503-1E54-433D-B826-D62E58ED20CA","E6078FE9-ADA4-41D0-A32D-D3FEC663774A","2493C04B-7EBC-4D06-9198-5AE033DDAE25","48AA6DD6-EA33-4E0E-89AC-D9BE6DB68C89"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"491":{"submorphs":[],"scripts":[],"id":"9BFAC8ED-34FE-41F6-B0F0-071B5CCE5A1C","shape":{"__isSmartRef__":true,"id":492},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":498},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":495},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":499},"textChunks":[{"__isSmartRef__":true,"id":500}],"charsReplaced":"background","lastFindLoc":10,"priorSelectionRange":[0,4],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":502},"renderContextTable":{"__isSmartRef__":true,"id":503},"eventHandler":{"__isSmartRef__":true,"id":504},"owner":{"__isSmartRef__":true,"id":490},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[2,2],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[223,"7BE7F1E6-333C-40C1-AEF1-1493EBEA3547","76B00BD1-7E24-4518-8922-FB34009F4336","0ADA6D1E-F594-4294-9A85-538F931C7FF5","204EB57B-25F1-4D33-B754-AFEC7A389CF5"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"492":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":493},"_Extent":{"__isSmartRef__":true,"id":494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":495},"renderContextTable":{"__isSmartRef__":true,"id":496},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"493":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"494":{"x":31,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"495":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"498":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"499":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"500":{"style":{"__isSmartRef__":true,"id":501},"morph":{"__isSmartRef__":true,"id":491},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":491},"storedString":"size:","__LivelyClassName__":"lively.morphic.TextChunk"},"501":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"502":{"x":31,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"503":{"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","setStyleSheet":"setStyleSheetHTML","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"},"504":{"morph":{"__isSmartRef__":true,"id":491},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"505":{"submorphs":[{"__isSmartRef__":true,"id":506}],"scripts":[],"id":"2377A7BF-81AD-4FF6-B334-823D2D23F248","shape":{"__isSmartRef__":true,"id":521},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":528},"_MaxTextWidth":30,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":524},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"FontSizeText","partsBinMetaInfo":{"__isSmartRef__":true,"id":529},"textChunks":[{"__isSmartRef__":true,"id":530}],"charsReplaced":"","lastFindLoc":3,"prevScroll":[0,0],"_ClipMode":"hidden","list":[4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,48,56,64,72],"attributeConnections":[{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":533},{"__isSmartRef__":true,"id":534}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":490},"priorExtent":{"__isSmartRef__":true,"id":535},"renderContextTable":{"__isSmartRef__":true,"id":536},"eventHandler":{"__isSmartRef__":true,"id":537},"_MinTextWidth":30,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[224,"CE607DA2-873E-48F6-A7F0-AA201BDFC12B","F20D890C-4892-4E6A-AA68-5693C4AF19E3","12772743-B27D-4BD8-B706-5E406BC22C17","C49F4037-E8EA-4C33-9AD9-A8DB0B5D2120"],"selection":28,"savedTextString":"1","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":538},"__LivelyClassName__":"lively.morphic.Text"},"506":{"submorphs":[],"scripts":[],"id":"EB9BA500-0C4F-4E35-A57B-9F9845C824CF","shape":{"__isSmartRef__":true,"id":507},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":514},"_MaxTextWidth":73.09490509490479,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":510},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"comboLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":515},"textChunks":[{"__isSmartRef__":true,"id":516}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[9,9],"prevScroll":[0,0],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":505},"priorExtent":{"__isSmartRef__":true,"id":518},"renderContextTable":{"__isSmartRef__":true,"id":519},"eventHandler":{"__isSmartRef__":true,"id":520},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":73.09490509490479,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"derivationIds":[225,"E4E552A3-280E-4D45-B628-F8ACED30CDE3","678843B6-ECF3-4FAF-8C33-026820029DFD","81A77700-2C15-4F24-B6EA-16CDD863D841","22B7845F-50D0-433B-8ADA-6F565B7B2189"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"507":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":508},"_Extent":{"__isSmartRef__":true,"id":509},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":510},"renderContextTable":{"__isSmartRef__":true,"id":511},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":512},"_Padding":{"__isSmartRef__":true,"id":513},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"508":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"509":{"x":73.09490509490479,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"510":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"511":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"512":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"513":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"514":{"x":-107,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"515":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"516":{"style":{"__isSmartRef__":true,"id":517},"morph":{"__isSmartRef__":true,"id":506},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":506},"storedString":"font size:","__LivelyClassName__":"lively.morphic.TextChunk"},"517":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"518":{"x":73.09490509490479,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"519":{"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","setStyleSheet":"setStyleSheetHTML","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"},"520":{"morph":{"__isSmartRef__":true,"id":506},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"521":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":522},"_Extent":{"__isSmartRef__":true,"id":523},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":524},"renderContextTable":{"__isSmartRef__":true,"id":525},"_ClipMode":"hidden","_Fill":{"__isSmartRef__":true,"id":526},"_Padding":{"__isSmartRef__":true,"id":527},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"522":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"523":{"x":30,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"524":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"525":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"526":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"527":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"528":{"x":49.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"529":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"530":{"style":{"__isSmartRef__":true,"id":531},"chunkOwner":{"__isSmartRef__":true,"id":505},"storedString":"23\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"531":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"532":{"sourceObj":{"__isSmartRef__":true,"id":505},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":505},"targetMethodName":"textString","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"533":{"sourceObj":{"__isSmartRef__":true,"id":505},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":505},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"534":{"sourceObj":{"__isSmartRef__":true,"id":505},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateFontSize","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"535":{"x":30,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"536":{"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","setStyleSheet":"setStyleSheetHTML","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"},"537":{"morph":{"__isSmartRef__":true,"id":505},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"538":{"onMouseUp":{"__isSmartRef__":true,"id":539},"getList":{"__isSmartRef__":true,"id":546},"setList":{"__isSmartRef__":true,"id":549},"reset":{"__isSmartRef__":true,"id":552},"example":{"__isSmartRef__":true,"id":555},"removeList":{"__isSmartRef__":true,"id":558},"onBlur":{"__isSmartRef__":true,"id":561},"createListMorph":{"__isSmartRef__":true,"id":568}},"539":{"varMapping":{"__isSmartRef__":true,"id":540},"source":"function onMouseUp(evt) {\n\tif (evt.world.clickedOnMorph !== this) return false;\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.world().addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.worldPoint(this.shape.bounds().bottomLeft()))\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":545},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"540":{"this":{"__isSmartRef__":true,"id":505},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":541}},"541":{"$super":{"__isSmartRef__":true,"id":542}},"542":{"varMapping":{"__isSmartRef__":true,"id":543},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":544},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"543":{"obj":{"__isSmartRef__":true,"id":505},"name":"onMouseUp"},"544":{},"545":{},"546":{"varMapping":{"__isSmartRef__":true,"id":547},"source":"function getList() {\n\treturn this.list || []\n}","funcProperties":{"__isSmartRef__":true,"id":548},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"547":{"this":{"__isSmartRef__":true,"id":505}},"548":{},"549":{"varMapping":{"__isSmartRef__":true,"id":550},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":551},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"550":{"this":{"__isSmartRef__":true,"id":505}},"551":{},"552":{"varMapping":{"__isSmartRef__":true,"id":553},"source":"function reset() {\n\tthis.list = [];\n\tthis.textString = 'empty';\n\tthis.removeList()\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString')\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":554},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"553":{"this":{"__isSmartRef__":true,"id":505}},"554":{},"555":{"varMapping":{"__isSmartRef__":true,"id":556},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":557},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"556":{"this":{"__isSmartRef__":true,"id":505}},"557":{},"558":{"varMapping":{"__isSmartRef__":true,"id":559},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":560},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"559":{"this":{"__isSmartRef__":true,"id":505}},"560":{},"561":{"varMapping":{"__isSmartRef__":true,"id":562},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":567},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"562":{"this":{"__isSmartRef__":true,"id":505},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":563}},"563":{"$super":{"__isSmartRef__":true,"id":564}},"564":{"varMapping":{"__isSmartRef__":true,"id":565},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":566},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"565":{"obj":{"__isSmartRef__":true,"id":505},"name":"onBlur"},"566":{},"567":{},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 100), this.getList());\n list.disableGrabbing();\n list.disableDragging();\n list.disableDropping();\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"569":{"this":{"__isSmartRef__":true,"id":505}},"570":{"timestamp":{"__isSmartRef__":true,"id":571},"user":"lauritz","tags":[]},"571":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:00:56 GMT-0800 (Pacific Standard Time)"},"572":{"position":{"__isSmartRef__":true,"id":573},"_Extent":{"__isSmartRef__":true,"id":574},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":575},"_Fill":{"__isSmartRef__":true,"id":576},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":577},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":578},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"573":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"574":{"x":126.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"575":{"r":0,"g":0,"b":0,"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","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"578":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"579":{"x":2.1800000000000006,"y":78.34,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"580":{"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"},"581":{"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","setStyleSheet":"setStyleSheetHTML"},"582":{"morph":{"__isSmartRef__":true,"id":490},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"583":{"x":126.84,"y":27.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"584":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"585":{"layouter":{"__isSmartRef__":true,"id":586}},"586":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":490},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"587":{"submorphs":[{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":602}],"scripts":[],"id":"F431D1B1-F3DE-4509-8BAA-E762E8120A18","shape":{"__isSmartRef__":true,"id":669},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":676},"showsHalos":false,"name":"Rectangle7","partsBinMetaInfo":{"__isSmartRef__":true,"id":677},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":678},"eventHandler":{"__isSmartRef__":true,"id":679},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":680},"distanceToDragEvent":{"__isSmartRef__":true,"id":681},"layout":{"__isSmartRef__":true,"id":682},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[226,"1A64C37C-2755-4234-8676-4016B7E8DA34","CDAEB221-6D54-4CC5-A944-AAAF7AA4C3BE","35B232F7-B735-4F9A-A30C-B40A36585B49","30F6E764-17B9-4A13-AFA3-66B906FFCDD0"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"588":{"submorphs":[],"scripts":[],"id":"5D6E24D8-6F11-4E3F-A629-5337D78BFB50","shape":{"__isSmartRef__":true,"id":589},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":595},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":592},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":596},"textChunks":[{"__isSmartRef__":true,"id":597}],"charsReplaced":"background","lastFindLoc":10,"priorSelectionRange":[0,4],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":599},"renderContextTable":{"__isSmartRef__":true,"id":600},"eventHandler":{"__isSmartRef__":true,"id":601},"owner":{"__isSmartRef__":true,"id":587},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[1,1],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[227,"81945C61-BE62-4C12-B3AC-B618A5C1A7EA","09195360-A2CF-4EE2-94CF-BE6AE112D6F7","896D9951-1643-419E-9130-0E538F0F11DF","40AF075A-F548-46EF-8BF3-D27919B3D608"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"589":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":590},"_Extent":{"__isSmartRef__":true,"id":591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"renderContextTable":{"__isSmartRef__":true,"id":593},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":594},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"590":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"591":{"x":46,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"592":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"593":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"594":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"595":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"596":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"597":{"style":{"__isSmartRef__":true,"id":598},"morph":{"__isSmartRef__":true,"id":588},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":588},"storedString":"weight:","__LivelyClassName__":"lively.morphic.TextChunk"},"598":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"599":{"x":46,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"600":{"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","setStyleSheet":"setStyleSheetHTML","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"},"601":{"morph":{"__isSmartRef__":true,"id":588},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"602":{"submorphs":[{"__isSmartRef__":true,"id":603}],"scripts":[],"id":"A0EA87B5-1CF9-4B71-B3FE-9F3BA2CF4A80","shape":{"__isSmartRef__":true,"id":618},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":625},"_MaxTextWidth":59,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":621},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"FontWeightText","partsBinMetaInfo":{"__isSmartRef__":true,"id":626},"textChunks":[{"__isSmartRef__":true,"id":627}],"charsReplaced":"empty","lastFindLoc":-5,"prevScroll":[0,0],"_ClipMode":"hidden","list":["normal","bold"],"attributeConnections":[{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":631}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":587},"priorExtent":{"__isSmartRef__":true,"id":632},"renderContextTable":{"__isSmartRef__":true,"id":633},"eventHandler":{"__isSmartRef__":true,"id":634},"_MinTextWidth":59,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[228,"0E55D69D-5DD7-40E1-A2A7-A2F01C76E9B2","B938B328-F2D3-4587-BD89-81EA993AA969","E1DC56D3-A5E8-4C7A-A52F-6BE7C00DE079","144BA5AC-7392-468A-8260-622DED0373FC"],"selection":"bold","savedTextString":"100","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":635},"__LivelyClassName__":"lively.morphic.Text"},"603":{"submorphs":[],"scripts":[],"id":"3C0122A8-280D-4C3C-86C5-9ADC277A21C4","shape":{"__isSmartRef__":true,"id":604},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":611},"_MaxTextWidth":80.09490509490479,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":607},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"comboLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":612},"textChunks":[{"__isSmartRef__":true,"id":613}],"charsReplaced":"size","lastFindLoc":1,"priorSelectionRange":[0,5],"prevScroll":[0,0],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":602},"priorExtent":{"__isSmartRef__":true,"id":615},"renderContextTable":{"__isSmartRef__":true,"id":616},"eventHandler":{"__isSmartRef__":true,"id":617},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":80.09490509490479,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"derivationIds":[229,"326A600A-2417-404D-B64F-D3B97F24F4C9","FB3A08DC-E3DA-465F-820D-2DC1AF6527B8","D05F96A8-005F-47A1-85E2-47CF3ACC1AFD","00F8C52B-F3F6-4ADA-9A34-BE422DECECDE"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"604":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":605},"_Extent":{"__isSmartRef__":true,"id":606},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":607},"renderContextTable":{"__isSmartRef__":true,"id":608},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":609},"_Padding":{"__isSmartRef__":true,"id":610},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"605":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"606":{"x":80.09490509490479,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"607":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"608":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"609":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"610":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"611":{"x":-107.96803196803216,"y":2.0139860139860275,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"612":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"613":{"style":{"__isSmartRef__":true,"id":614},"morph":{"__isSmartRef__":true,"id":603},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":603},"storedString":"font weight:","__LivelyClassName__":"lively.morphic.TextChunk"},"614":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"615":{"x":80.09490509490479,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"616":{"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","setStyleSheet":"setStyleSheetHTML","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"},"617":{"morph":{"__isSmartRef__":true,"id":603},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"618":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":619},"_Extent":{"__isSmartRef__":true,"id":620},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":621},"renderContextTable":{"__isSmartRef__":true,"id":622},"_ClipMode":"hidden","_Fill":{"__isSmartRef__":true,"id":623},"_Padding":{"__isSmartRef__":true,"id":624},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"619":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"620":{"x":59,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"621":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"622":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"623":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"624":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"625":{"x":64.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"626":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"627":{"style":{"__isSmartRef__":true,"id":628},"chunkOwner":{"__isSmartRef__":true,"id":602},"storedString":"normal","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"628":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"629":{"sourceObj":{"__isSmartRef__":true,"id":602},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":602},"targetMethodName":"textString","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"630":{"sourceObj":{"__isSmartRef__":true,"id":602},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":602},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"631":{"sourceObj":{"__isSmartRef__":true,"id":602},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateFontWeight","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"632":{"x":59,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"633":{"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","setStyleSheet":"setStyleSheetHTML","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"},"634":{"morph":{"__isSmartRef__":true,"id":602},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"635":{"onMouseUp":{"__isSmartRef__":true,"id":636},"getList":{"__isSmartRef__":true,"id":643},"setList":{"__isSmartRef__":true,"id":646},"reset":{"__isSmartRef__":true,"id":649},"example":{"__isSmartRef__":true,"id":652},"removeList":{"__isSmartRef__":true,"id":655},"onBlur":{"__isSmartRef__":true,"id":658},"createListMorph":{"__isSmartRef__":true,"id":665}},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"source":"function onMouseUp(evt) {\nif (evt.world.clickedOnMorph !== this) return false;\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.world().addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.worldPoint(this.shape.bounds().bottomLeft()))\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":642},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"637":{"this":{"__isSmartRef__":true,"id":602},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":638}},"638":{"$super":{"__isSmartRef__":true,"id":639}},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":641},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"640":{"obj":{"__isSmartRef__":true,"id":602},"name":"onMouseUp"},"641":{},"642":{},"643":{"varMapping":{"__isSmartRef__":true,"id":644},"source":"function getList() {\n\treturn this.list || []\n}","funcProperties":{"__isSmartRef__":true,"id":645},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"644":{"this":{"__isSmartRef__":true,"id":602}},"645":{},"646":{"varMapping":{"__isSmartRef__":true,"id":647},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":648},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"647":{"this":{"__isSmartRef__":true,"id":602}},"648":{},"649":{"varMapping":{"__isSmartRef__":true,"id":650},"source":"function reset() {\n\tthis.list = [];\n\tthis.textString = 'empty';\n\tthis.removeList()\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString')\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":651},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"650":{"this":{"__isSmartRef__":true,"id":602}},"651":{},"652":{"varMapping":{"__isSmartRef__":true,"id":653},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":654},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"653":{"this":{"__isSmartRef__":true,"id":602}},"654":{},"655":{"varMapping":{"__isSmartRef__":true,"id":656},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":657},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"656":{"this":{"__isSmartRef__":true,"id":602}},"657":{},"658":{"varMapping":{"__isSmartRef__":true,"id":659},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":664},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"659":{"this":{"__isSmartRef__":true,"id":602},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":660}},"660":{"$super":{"__isSmartRef__":true,"id":661}},"661":{"varMapping":{"__isSmartRef__":true,"id":662},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":663},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"662":{"obj":{"__isSmartRef__":true,"id":602},"name":"onBlur"},"663":{},"664":{},"665":{"varMapping":{"__isSmartRef__":true,"id":666},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 100), this.getList());\n list.disableGrabbing();\n list.disableDragging();\n list.disableDropping();\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":667},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"666":{"this":{"__isSmartRef__":true,"id":602}},"667":{"timestamp":{"__isSmartRef__":true,"id":668},"user":"lauritz","tags":[]},"668":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:01:06 GMT-0800 (Pacific Standard Time)"},"669":{"position":{"__isSmartRef__":true,"id":670},"_Extent":{"__isSmartRef__":true,"id":671},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":672},"_Fill":{"__isSmartRef__":true,"id":673},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":674},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":675},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"670":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"671":{"x":162.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"672":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"673":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"674":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"675":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"676":{"x":2.1800000000000006,"y":108.18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"677":{"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"},"678":{"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","setStyleSheet":"setStyleSheetHTML"},"679":{"morph":{"__isSmartRef__":true,"id":587},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"680":{"x":162.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"681":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"682":{"layouter":{"__isSmartRef__":true,"id":683}},"683":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":587},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"684":{"submorphs":[{"__isSmartRef__":true,"id":685},{"__isSmartRef__":true,"id":699}],"scripts":[],"id":"5D22E935-7A13-4036-9016-19A12A93508C","shape":{"__isSmartRef__":true,"id":767},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":774},"showsHalos":false,"name":"Rectangle8","partsBinMetaInfo":{"__isSmartRef__":true,"id":775},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":776},"eventHandler":{"__isSmartRef__":true,"id":777},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":778},"distanceToDragEvent":{"__isSmartRef__":true,"id":779},"layout":{"__isSmartRef__":true,"id":780},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[230,"51C19F55-A916-4C44-9099-1ACC2AECCC35","E3353112-0ABD-49D8-84DA-BCD5A4B29D26","A78DD8E9-4597-4A43-B3DE-02056ADB8645","7C963770-CE87-4113-A871-3922612D4FD9"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"685":{"submorphs":[],"scripts":[],"id":"03152B0B-7AA8-4D8C-954D-A3C7CF08769E","shape":{"__isSmartRef__":true,"id":686},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":692},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":689},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":693},"textChunks":[{"__isSmartRef__":true,"id":694}],"charsReplaced":"emphasis","lastFindLoc":8,"priorSelectionRange":[0,10],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":696},"renderContextTable":{"__isSmartRef__":true,"id":697},"eventHandler":{"__isSmartRef__":true,"id":698},"owner":{"__isSmartRef__":true,"id":684},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[0,10],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[231,"AE059CDD-8A1E-4D9A-83E8-407ACF2E7093","41BB0F78-DF28-41BB-ADD2-94133E9FE38D","FF53F7A6-FD15-4C3A-B31A-ABCDF2EF6D9E","6B6141EC-BBE2-4684-A5EF-EEE99583D41F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"686":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":687},"_Extent":{"__isSmartRef__":true,"id":688},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":689},"renderContextTable":{"__isSmartRef__":true,"id":690},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":691},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"687":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"688":{"x":72,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"689":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"690":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"691":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"692":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"693":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"694":{"style":{"__isSmartRef__":true,"id":695},"morph":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":685},"storedString":"decoration:","__LivelyClassName__":"lively.morphic.TextChunk"},"695":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"696":{"x":72,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"697":{"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","setStyleSheet":"setStyleSheetHTML","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"},"698":{"morph":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"699":{"submorphs":[{"__isSmartRef__":true,"id":700}],"scripts":[],"id":"7A6A1EDD-168C-40AE-A2D9-058A49930841","shape":{"__isSmartRef__":true,"id":715},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":722},"_MaxTextWidth":59,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":718},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"FontDecorationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":723},"textChunks":[{"__isSmartRef__":true,"id":724}],"charsReplaced":"empty","lastFindLoc":-5,"prevScroll":[0,0],"_ClipMode":"hidden","list":["normal","underline","line-through","overline","blink","italic"],"attributeConnections":[{"__isSmartRef__":true,"id":726},{"__isSmartRef__":true,"id":727},{"__isSmartRef__":true,"id":728}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":684},"priorExtent":{"__isSmartRef__":true,"id":729},"renderContextTable":{"__isSmartRef__":true,"id":730},"eventHandler":{"__isSmartRef__":true,"id":731},"_MinTextWidth":59,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[232,"F770CB39-B59A-41A7-8929-75425D79BB94","7808574F-0646-48F4-BDC4-7F4B14647814","651D3C96-A6F2-4585-9068-AEADCD14C6C7","1B0EA403-B3EA-4801-960B-59A964A32E50"],"selection":"italic","savedTextString":"100","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":732},"__LivelyClassName__":"lively.morphic.Text"},"700":{"submorphs":[],"scripts":[],"id":"71160844-21DB-46A5-A548-C1CF1F4FAAB7","shape":{"__isSmartRef__":true,"id":701},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":708},"_MaxTextWidth":106.09490509490479,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":704},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"comboLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":709},"textChunks":[{"__isSmartRef__":true,"id":710}],"charsReplaced":"size","lastFindLoc":1,"priorSelectionRange":[8,8],"prevScroll":[0,0],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":699},"priorExtent":{"__isSmartRef__":true,"id":712},"renderContextTable":{"__isSmartRef__":true,"id":713},"eventHandler":{"__isSmartRef__":true,"id":714},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":106.09490509490479,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"derivationIds":[233,"A4239210-5BCC-489D-B0DC-D79538E5489C","D383B30C-5A77-4E3E-904C-39C679C41200","C464A5B6-B71C-4697-A046-FE84A7D68034","2B18BAAC-DFA6-4617-AE1C-34BDD6CF53B4"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"701":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":702},"_Extent":{"__isSmartRef__":true,"id":703},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":704},"renderContextTable":{"__isSmartRef__":true,"id":705},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":706},"_Padding":{"__isSmartRef__":true,"id":707},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"702":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"703":{"x":106.09490509490479,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"704":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"705":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"706":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"707":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"708":{"x":-106.96803196803216,"y":2.0139860139860275,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"709":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"710":{"style":{"__isSmartRef__":true,"id":711},"morph":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":700},"storedString":"font decoration:","__LivelyClassName__":"lively.morphic.TextChunk"},"711":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"712":{"x":106.09490509490479,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"713":{"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","setStyleSheet":"setStyleSheetHTML","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"},"714":{"morph":{"__isSmartRef__":true,"id":700},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"715":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":716},"_Extent":{"__isSmartRef__":true,"id":717},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":718},"renderContextTable":{"__isSmartRef__":true,"id":719},"_ClipMode":"hidden","_Fill":{"__isSmartRef__":true,"id":720},"_Padding":{"__isSmartRef__":true,"id":721},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"716":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"717":{"x":59,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"718":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"719":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"720":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"721":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"722":{"x":90.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"723":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"724":{"style":{"__isSmartRef__":true,"id":725},"chunkOwner":{"__isSmartRef__":true,"id":699},"storedString":"normal","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"725":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"726":{"sourceObj":{"__isSmartRef__":true,"id":699},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":699},"targetMethodName":"textString","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"727":{"sourceObj":{"__isSmartRef__":true,"id":699},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":699},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"728":{"sourceObj":{"__isSmartRef__":true,"id":699},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateFontDecoration","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"729":{"x":59,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"730":{"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","setStyleSheet":"setStyleSheetHTML","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"},"731":{"morph":{"__isSmartRef__":true,"id":699},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"732":{"onMouseUp":{"__isSmartRef__":true,"id":733},"getList":{"__isSmartRef__":true,"id":740},"setList":{"__isSmartRef__":true,"id":743},"reset":{"__isSmartRef__":true,"id":746},"example":{"__isSmartRef__":true,"id":750},"removeList":{"__isSmartRef__":true,"id":753},"onBlur":{"__isSmartRef__":true,"id":756},"createListMorph":{"__isSmartRef__":true,"id":763}},"733":{"varMapping":{"__isSmartRef__":true,"id":734},"source":"function onMouseUp(evt) {\n\tif (evt.world.clickedOnMorph !== this) return false;\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.world().addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.worldPoint(this.shape.bounds().bottomLeft()))\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":739},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"734":{"this":{"__isSmartRef__":true,"id":699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":735}},"735":{"$super":{"__isSmartRef__":true,"id":736}},"736":{"varMapping":{"__isSmartRef__":true,"id":737},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"737":{"obj":{"__isSmartRef__":true,"id":699},"name":"onMouseUp"},"738":{},"739":{},"740":{"varMapping":{"__isSmartRef__":true,"id":741},"source":"function getList() {\n\treturn this.list || []\n}","funcProperties":{"__isSmartRef__":true,"id":742},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"741":{"this":{"__isSmartRef__":true,"id":699}},"742":{},"743":{"varMapping":{"__isSmartRef__":true,"id":744},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":745},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"744":{"this":{"__isSmartRef__":true,"id":699}},"745":{},"746":{"varMapping":{"__isSmartRef__":true,"id":747},"source":"function reset() {\n\tthis.list = ['normal','underline','line-through','overline','blink','italic'];\n\tthis.textString = 'empty';\n\tthis.removeList();\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString')\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":748},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"747":{"this":{"__isSmartRef__":true,"id":699}},"748":{"timestamp":{"__isSmartRef__":true,"id":749},"user":"lauritz","tags":[]},"749":{"isSerializedDate":true,"string":"Mon Dec 19 2011 14:56:56 GMT-0800 (Pacific Standard Time)"},"750":{"varMapping":{"__isSmartRef__":true,"id":751},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":752},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"751":{"this":{"__isSmartRef__":true,"id":699}},"752":{},"753":{"varMapping":{"__isSmartRef__":true,"id":754},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":755},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"754":{"this":{"__isSmartRef__":true,"id":699}},"755":{},"756":{"varMapping":{"__isSmartRef__":true,"id":757},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":762},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"757":{"this":{"__isSmartRef__":true,"id":699},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":758}},"758":{"$super":{"__isSmartRef__":true,"id":759}},"759":{"varMapping":{"__isSmartRef__":true,"id":760},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":761},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"760":{"obj":{"__isSmartRef__":true,"id":699},"name":"onBlur"},"761":{},"762":{},"763":{"varMapping":{"__isSmartRef__":true,"id":764},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 100), this.getList());\n list.disableGrabbing();\n list.disableDragging();\n list.disableDropping();\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":765},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"764":{"this":{"__isSmartRef__":true,"id":699}},"765":{"timestamp":{"__isSmartRef__":true,"id":766},"user":"lauritz","tags":[]},"766":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:01:14 GMT-0800 (Pacific Standard Time)"},"767":{"position":{"__isSmartRef__":true,"id":768},"_Extent":{"__isSmartRef__":true,"id":769},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":770},"_Fill":{"__isSmartRef__":true,"id":771},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":772},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":773},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"768":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"769":{"x":162.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"770":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"771":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"772":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"773":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"774":{"x":2.1800000000000006,"y":138.02000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"775":{"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"},"776":{"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","setStyleSheet":"setStyleSheetHTML"},"777":{"morph":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"778":{"x":162.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"779":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"780":{"layouter":{"__isSmartRef__":true,"id":781}},"781":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"782":{"submorphs":[{"__isSmartRef__":true,"id":783},{"__isSmartRef__":true,"id":797}],"scripts":[],"id":"1301817B-6957-4830-989F-0F2C8699C023","shape":{"__isSmartRef__":true,"id":864},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":871},"showsHalos":false,"name":"Rectangle9","partsBinMetaInfo":{"__isSmartRef__":true,"id":872},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":873},"eventHandler":{"__isSmartRef__":true,"id":874},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":875},"distanceToDragEvent":{"__isSmartRef__":true,"id":876},"layout":{"__isSmartRef__":true,"id":877},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[234,"30621404-C42C-4408-9299-DE582516B703","9F9DF8AB-D6B6-41F5-9D14-780BCDBA0BAA","720F52B6-7D09-410F-934C-1D23F1D21DB5","B9FC704B-273B-4887-BF09-015FEC68A650"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"783":{"submorphs":[],"scripts":[],"id":"D9933DFB-1D86-47D4-B25A-8DB794DFAF57","shape":{"__isSmartRef__":true,"id":784},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":790},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":787},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":791},"textChunks":[{"__isSmartRef__":true,"id":792}],"charsReplaced":"background","lastFindLoc":10,"priorSelectionRange":[0,10],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":794},"renderContextTable":{"__isSmartRef__":true,"id":795},"eventHandler":{"__isSmartRef__":true,"id":796},"owner":{"__isSmartRef__":true,"id":782},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[6,6],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[235,"C27D61EF-E402-4A76-9657-03E8BB1CEA21","0D845BA2-3383-44B9-BF8E-41E372EDDC92","FBA4D7B3-D532-481F-B04F-FA215C389405","B1A4CBA2-2758-410F-BFB0-A59B8DC1F653"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"784":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":785},"_Extent":{"__isSmartRef__":true,"id":786},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":787},"renderContextTable":{"__isSmartRef__":true,"id":788},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":789},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"785":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"786":{"x":70,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"787":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"788":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"789":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"790":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"791":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"792":{"style":{"__isSmartRef__":true,"id":793},"morph":{"__isSmartRef__":true,"id":783},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":783},"storedString":"font family:","__LivelyClassName__":"lively.morphic.TextChunk"},"793":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"794":{"x":70,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"795":{"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","setStyleSheet":"setStyleSheetHTML","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"},"796":{"morph":{"__isSmartRef__":true,"id":783},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"797":{"submorphs":[{"__isSmartRef__":true,"id":798}],"scripts":[],"id":"E89A848F-9B1E-4003-93CA-EC2ED1DDBC85","shape":{"__isSmartRef__":true,"id":813},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":820},"_MaxTextWidth":162,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":816},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"FontChooserComboBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":821},"textChunks":[{"__isSmartRef__":true,"id":822}],"charsReplaced":"empty","lastFindLoc":-5,"prevScroll":[0,0],"_ClipMode":"hidden","list":[],"attributeConnections":[{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":826}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":782},"priorExtent":{"__isSmartRef__":true,"id":827},"renderContextTable":{"__isSmartRef__":true,"id":828},"eventHandler":{"__isSmartRef__":true,"id":829},"_MinTextWidth":162,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[236,"9372722F-0F3A-46A3-B910-F57B24B2422C","52DA028D-EA63-40CB-99A1-7F17A473CA8C","569C1535-7127-48E1-B9DD-78F8A43A5498","61066527-8E44-4FA4-8259-813D0B2047C1"],"selection":"monaco ","savedTextString":"100","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":830},"__LivelyClassName__":"lively.morphic.Text"},"798":{"submorphs":[],"scripts":[],"id":"B10FD6E0-EA83-4DA7-85D2-42703539103E","shape":{"__isSmartRef__":true,"id":799},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":806},"_MaxTextWidth":73.09490509490479,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":802},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontFamilyLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":807},"textChunks":[{"__isSmartRef__":true,"id":808}],"charsReplaced":"size","lastFindLoc":1,"priorSelectionRange":[5,11],"prevScroll":[0,0],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":797},"priorExtent":{"__isSmartRef__":true,"id":810},"renderContextTable":{"__isSmartRef__":true,"id":811},"eventHandler":{"__isSmartRef__":true,"id":812},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":73.09490509490479,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"derivationIds":[237,"30F44A02-CB5B-42A2-8030-1D155B66FDD7","1280CACD-399B-4013-89DF-85BB5E35FADC","A4F76743-1977-445A-9411-D48146744825","59358002-54C7-459A-A00C-900636411B5A"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"799":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":800},"_Extent":{"__isSmartRef__":true,"id":801},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":802},"renderContextTable":{"__isSmartRef__":true,"id":803},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":804},"_Padding":{"__isSmartRef__":true,"id":805},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"800":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"801":{"x":73.09490509490479,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"802":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"803":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"804":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"805":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"806":{"x":-106.07192807192837,"y":1.4055944055943428,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"807":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"808":{"style":{"__isSmartRef__":true,"id":809},"morph":{"__isSmartRef__":true,"id":798},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":798},"storedString":"font family:","__LivelyClassName__":"lively.morphic.TextChunk"},"809":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"810":{"x":73.09490509490479,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"811":{"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","setStyleSheet":"setStyleSheetHTML","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"},"812":{"morph":{"__isSmartRef__":true,"id":798},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"813":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":814},"_Extent":{"__isSmartRef__":true,"id":815},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":816},"renderContextTable":{"__isSmartRef__":true,"id":817},"_ClipMode":"hidden","_Fill":{"__isSmartRef__":true,"id":818},"_Padding":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"814":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"815":{"x":162,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"816":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"818":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"819":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"820":{"x":88.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"821":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"822":{"style":{"__isSmartRef__":true,"id":823},"chunkOwner":{"__isSmartRef__":true,"id":797},"storedString":"Georgia, Palatino, serif","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"823":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"824":{"sourceObj":{"__isSmartRef__":true,"id":797},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":797},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"825":{"sourceObj":{"__isSmartRef__":true,"id":797},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":797},"targetMethodName":"selection","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"826":{"sourceObj":{"__isSmartRef__":true,"id":797},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateFontFamily","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"827":{"x":162,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"828":{"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","setStyleSheet":"setStyleSheetHTML","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"},"829":{"morph":{"__isSmartRef__":true,"id":797},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"830":{"onMouseUp":{"__isSmartRef__":true,"id":831},"getList":{"__isSmartRef__":true,"id":838},"setList":{"__isSmartRef__":true,"id":841},"reset":{"__isSmartRef__":true,"id":844},"example":{"__isSmartRef__":true,"id":847},"removeList":{"__isSmartRef__":true,"id":850},"onBlur":{"__isSmartRef__":true,"id":853},"createListMorph":{"__isSmartRef__":true,"id":860}},"831":{"varMapping":{"__isSmartRef__":true,"id":832},"source":"function onMouseUp(evt) {\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.world().addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.worldPoint(this.shape.bounds().bottomLeft()))\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":837},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"832":{"this":{"__isSmartRef__":true,"id":797},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":833}},"833":{"$super":{"__isSmartRef__":true,"id":834}},"834":{"varMapping":{"__isSmartRef__":true,"id":835},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":836},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"835":{"obj":{"__isSmartRef__":true,"id":797},"name":"onMouseUp"},"836":{},"837":{},"838":{"varMapping":{"__isSmartRef__":true,"id":839},"source":"function getList() {\n\treturn this.list || []\n}","funcProperties":{"__isSmartRef__":true,"id":840},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"839":{"this":{"__isSmartRef__":true,"id":797}},"840":{},"841":{"varMapping":{"__isSmartRef__":true,"id":842},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":843},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"842":{"this":{"__isSmartRef__":true,"id":797}},"843":{},"844":{"varMapping":{"__isSmartRef__":true,"id":845},"source":"function reset() {\n\tthis.list = [];\n\tthis.textString = 'empty';\n\tthis.removeList()\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString')\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"845":{"this":{"__isSmartRef__":true,"id":797}},"846":{},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":849},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"848":{"this":{"__isSmartRef__":true,"id":797}},"849":{},"850":{"varMapping":{"__isSmartRef__":true,"id":851},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":852},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"851":{"this":{"__isSmartRef__":true,"id":797}},"852":{},"853":{"varMapping":{"__isSmartRef__":true,"id":854},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":859},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"854":{"this":{"__isSmartRef__":true,"id":797},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":855}},"855":{"$super":{"__isSmartRef__":true,"id":856}},"856":{"varMapping":{"__isSmartRef__":true,"id":857},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"857":{"obj":{"__isSmartRef__":true,"id":797},"name":"onBlur"},"858":{},"859":{},"860":{"varMapping":{"__isSmartRef__":true,"id":861},"source":"function createListMorph() {\n var list = lively.PartsBin.getPart('FontList', 'PartsBin/Text');\n list.listAvailableFonts();\n\n list.disableGrabbing();\n list.disableDragging();\n list.disableDropping();\n\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":862},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"861":{"this":{"__isSmartRef__":true,"id":797}},"862":{"timestamp":{"__isSmartRef__":true,"id":863},"user":"lauritz","tags":[]},"863":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:07:24 GMT-0800 (Pacific Standard Time)"},"864":{"position":{"__isSmartRef__":true,"id":865},"_Extent":{"__isSmartRef__":true,"id":866},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":867},"_Fill":{"__isSmartRef__":true,"id":868},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":869},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":870},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"865":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"866":{"x":274.68000000000006,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"867":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"868":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"869":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"870":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"871":{"x":2.1800000000000006,"y":167.86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"872":{"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"},"873":{"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","setStyleSheet":"setStyleSheetHTML"},"874":{"morph":{"__isSmartRef__":true,"id":782},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"875":{"x":274.68000000000006,"y":30.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"876":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"877":{"layouter":{"__isSmartRef__":true,"id":878}},"878":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":782},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"879":{"submorphs":[{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":894}],"scripts":[],"id":"C94BA8F8-0284-46FA-B5DF-A8789245413E","shape":{"__isSmartRef__":true,"id":950},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":957},"showsHalos":false,"name":"Rectangle12","partsBinMetaInfo":{"__isSmartRef__":true,"id":958},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":959},"eventHandler":{"__isSmartRef__":true,"id":960},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":961},"distanceToDragEvent":{"__isSmartRef__":true,"id":962},"layout":{"__isSmartRef__":true,"id":963},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[238,"681899A5-4309-4996-B7F3-65B7E64EA47B","CFE57F8E-97F7-4F96-9E82-9D968A30375C","B495F6F1-AB71-4F9F-83BB-309C84290F08","F247BE65-800C-4FFB-9478-F4EFC60818F2"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"880":{"submorphs":[],"scripts":[],"id":"D9D1E094-1AD9-462F-9FE1-41C9E61FD4E9","shape":{"__isSmartRef__":true,"id":881},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":887},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":884},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":888},"textChunks":[{"__isSmartRef__":true,"id":889}],"charsReplaced":"background:","lastFindLoc":0,"priorSelectionRange":[8,8],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":891},"renderContextTable":{"__isSmartRef__":true,"id":892},"eventHandler":{"__isSmartRef__":true,"id":893},"owner":{"__isSmartRef__":true,"id":879},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[6,6],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[239,"0CB6999D-CB86-4676-9773-677C9D67C880","53C40AC3-74A4-4324-ACC9-EBFFA52025BB","AE6D1CC3-18FC-4697-BC10-ED4DC8ABC257","E99F254E-7CEA-461E-89FC-262A3BE85828"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"881":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":882},"_Extent":{"__isSmartRef__":true,"id":883},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":884},"renderContextTable":{"__isSmartRef__":true,"id":885},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":886},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"882":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"883":{"x":66,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"884":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"885":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"886":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"887":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"888":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"889":{"style":{"__isSmartRef__":true,"id":890},"chunkOwner":{"__isSmartRef__":true,"id":880},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"clip mode:","__LivelyClassName__":"lively.morphic.TextChunk"},"890":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"15px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"891":{"x":66,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"892":{"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","setStyleSheet":"setStyleSheetHTML","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"},"893":{"morph":{"__isSmartRef__":true,"id":880},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"894":{"submorphs":[],"scripts":[],"id":"208B6353-E7EA-48BA-898E-27C54C427270","shape":{"__isSmartRef__":true,"id":895},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":901},"_MaxTextWidth":62,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":898},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"clipModeInput","partsBinMetaInfo":{"__isSmartRef__":true,"id":902},"textChunks":[{"__isSmartRef__":true,"id":903}],"charsReplaced":"empty","lastFindLoc":-5,"prevScroll":[0,0],"_ClipMode":"hidden","list":["visible","hidden","scroll","auto"],"attributeConnections":[{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":906},{"__isSmartRef__":true,"id":907}],"doNotSerialize":["$$selection","$$savedTextString"],"doNotCopyProperties":["$$selection","$$savedTextString"],"listMorph":null,"_WhiteSpaceHandling":"pre-wrap","renderContextTable":{"__isSmartRef__":true,"id":912},"priorExtent":{"__isSmartRef__":true,"id":913},"eventHandler":{"__isSmartRef__":true,"id":914},"owner":{"__isSmartRef__":true,"id":879},"layout":{"__isSmartRef__":true,"id":915},"_MinTextWidth":62,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[240,"2C761263-39B9-4340-B8E0-10249BAF3A14","18EC1F80-9D00-4CFC-B9CD-8B8569FBDE8A","CC432075-7B33-4A4D-B8B9-7DD864135C2E","81549CDA-2948-4ED1-803A-F1727117D0D4"],"selection":"visible","savedTextString":"100","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":916},"__LivelyClassName__":"lively.morphic.Text"},"895":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":896},"_Extent":{"__isSmartRef__":true,"id":897},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":898},"renderContextTable":{"__isSmartRef__":true,"id":899},"_ClipMode":"hidden","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":900},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"896":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"897":{"x":62,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"898":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"899":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"900":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"901":{"x":84.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"902":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ComboText","comment":"Click on it and you get a list of things to choose from. Similar to choice button but you can enter a custom input and press CMD+S to get the same effect as when you choose a predefined item.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"903":{"style":{"__isSmartRef__":true,"id":904},"chunkOwner":{"__isSmartRef__":true,"id":894},"storedString":"visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"904":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"905":{"sourceObj":{"__isSmartRef__":true,"id":894},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":894},"targetMethodName":"textString","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"906":{"sourceObj":{"__isSmartRef__":true,"id":894},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":894},"targetMethodName":"selection","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"907":{"sourceObj":{"__isSmartRef__":true,"id":894},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateStyle","converterString":"function (input) { return {clipMode: input}}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":908},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":909},"__LivelyClassName__":"AttributeConnection"},"908":{"source":{"__isSmartRef__":true,"id":894},"target":{"__isSmartRef__":true,"id":459}},"909":{"converter":{"__isSmartRef__":true,"id":910}},"910":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":908},"source":"function (input) { return {clipMode: input}}","funcProperties":{"__isSmartRef__":true,"id":911},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"911":{},"912":{"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","setStyleSheet":"setStyleSheetHTML","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"},"913":{"x":62,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"914":{"morph":{"__isSmartRef__":true,"id":894},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"915":{},"916":{"onMouseUp":{"__isSmartRef__":true,"id":917},"getList":{"__isSmartRef__":true,"id":924},"setList":{"__isSmartRef__":true,"id":927},"reset":{"__isSmartRef__":true,"id":930},"example":{"__isSmartRef__":true,"id":933},"removeList":{"__isSmartRef__":true,"id":936},"onBlur":{"__isSmartRef__":true,"id":939},"createListMorph":{"__isSmartRef__":true,"id":946}},"917":{"varMapping":{"__isSmartRef__":true,"id":918},"source":"function onMouseUp(evt) {\n\tif (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n\tif (this.listMorph) { this.removeList();\treturn true }\n\tvar list = this.createListMorph();\n\tthis.world().addMorph(list);\n\tlist.align(list.bounds().topLeft(), this.worldPoint(this.shape.bounds().bottomLeft()))\n\tconnect(list, 'selection', this, 'selection');\n\tconnect(list, 'selection', this, 'removeList');\n\tif (this.listMorph) this.listMorph.remove();\n\tthis.listMorph = list;\n\treturn true;\n}","funcProperties":{"__isSmartRef__":true,"id":923},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"918":{"this":{"__isSmartRef__":true,"id":894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":919}},"919":{"$super":{"__isSmartRef__":true,"id":920}},"920":{"varMapping":{"__isSmartRef__":true,"id":921},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"921":{"obj":{"__isSmartRef__":true,"id":894},"name":"onMouseUp"},"922":{},"923":{},"924":{"varMapping":{"__isSmartRef__":true,"id":925},"source":"function getList() {\n\treturn this.list || []\n}","funcProperties":{"__isSmartRef__":true,"id":926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"925":{"this":{"__isSmartRef__":true,"id":894}},"926":{},"927":{"varMapping":{"__isSmartRef__":true,"id":928},"source":"function setList(list) {\n\treturn this.list = list;\n}","funcProperties":{"__isSmartRef__":true,"id":929},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"928":{"this":{"__isSmartRef__":true,"id":894}},"929":{},"930":{"varMapping":{"__isSmartRef__":true,"id":931},"source":"function reset() {\n\tthis.list = [];\n\tthis.textString = 'empty';\n\tthis.removeList()\n\tdisconnectAll(this)\n\tconnect(this, 'selection', this, 'textString')\n\tconnect(this, 'savedTextString', this, 'selection')\n\tthis.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'hidden'})\n}","funcProperties":{"__isSmartRef__":true,"id":932},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"931":{"this":{"__isSmartRef__":true,"id":894}},"932":{},"933":{"varMapping":{"__isSmartRef__":true,"id":934},"source":"function example() {\n/*\nthis.example()\nthis.getList()\n*/\n\tthis.setList(Array.range(0,100));\n\tthis.textString = 'empty';\n}","funcProperties":{"__isSmartRef__":true,"id":935},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"934":{"this":{"__isSmartRef__":true,"id":894}},"935":{},"936":{"varMapping":{"__isSmartRef__":true,"id":937},"source":"function removeList() {\n\tthis.listMorph && this.listMorph.remove()\n\tthis.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"937":{"this":{"__isSmartRef__":true,"id":894}},"938":{},"939":{"varMapping":{"__isSmartRef__":true,"id":940},"source":"function onBlur() {\n\t$super();\n\tthis.removeList();\n}","funcProperties":{"__isSmartRef__":true,"id":945},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"940":{"this":{"__isSmartRef__":true,"id":894},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":941}},"941":{"$super":{"__isSmartRef__":true,"id":942}},"942":{"varMapping":{"__isSmartRef__":true,"id":943},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":944},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"943":{"obj":{"__isSmartRef__":true,"id":894},"name":"onBlur"},"944":{},"945":{},"946":{"varMapping":{"__isSmartRef__":true,"id":947},"source":"function createListMorph() {\n var list = new lively.morphic.List(new Rectangle(0,0, this.getExtent().x, 100), this.getList());\n list.disableGrabbing();\n list.disableDragging();\n list.disableDropping();\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":948},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"947":{"this":{"__isSmartRef__":true,"id":894}},"948":{"timestamp":{"__isSmartRef__":true,"id":949},"user":"lauritz","tags":[]},"949":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:01:24 GMT-0800 (Pacific Standard Time)"},"950":{"position":{"__isSmartRef__":true,"id":951},"_Extent":{"__isSmartRef__":true,"id":952},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":953},"_Fill":{"__isSmartRef__":true,"id":954},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":955},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":956},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"951":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"952":{"x":147.84,"y":29.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"953":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"954":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"955":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"956":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"957":{"x":2.1800000000000006,"y":247.38000000000005,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"958":{"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"},"959":{"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","setStyleSheet":"setStyleSheetHTML"},"960":{"morph":{"__isSmartRef__":true,"id":879},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"961":{"x":147.84,"y":31.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"962":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"963":{"layouter":{"__isSmartRef__":true,"id":964}},"964":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":879},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"965":{"submorphs":[{"__isSmartRef__":true,"id":966}],"scripts":[],"id":"6809424B-D5D1-4D71-8D5B-04B21D84AA72","shape":{"__isSmartRef__":true,"id":980},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":987},"showsHalos":false,"name":"Rectangle4","partsBinMetaInfo":{"__isSmartRef__":true,"id":988},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":989},"eventHandler":{"__isSmartRef__":true,"id":990},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":460},"priorExtent":{"__isSmartRef__":true,"id":991},"distanceToDragEvent":{"__isSmartRef__":true,"id":992},"layout":{"__isSmartRef__":true,"id":993},"isInLayoutCycle":false,"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[241,"D2D775CB-F706-409D-8E2A-7D35F5BAE79C","C69054F5-5595-4AB4-AC7E-C06B76A5CE84","7EC4FE38-3452-4CC4-8595-90EBBFB4D998","4B259480-EAFC-42D7-A035-6FF40EF90D0D"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"966":{"submorphs":[],"scripts":[],"id":"6CA28FEE-BB2E-4E1D-8BF0-F6A3129C7663","shape":{"__isSmartRef__":true,"id":967},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":973},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":970},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":974},"textChunks":[{"__isSmartRef__":true,"id":975}],"charsReplaced":"","lastFindLoc":17,"priorSelectionRange":[14,14],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":977},"renderContextTable":{"__isSmartRef__":true,"id":978},"eventHandler":{"__isSmartRef__":true,"id":979},"owner":{"__isSmartRef__":true,"id":965},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[13,13],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[242,"1DD40D84-E7B1-4DB1-BBB8-71B5EDC3803B","47459CE6-9BDB-4995-A085-E98BCB6C8B0E","DE53BF23-797D-4EAD-A1AC-B5F8AB302010","E6D5E897-208C-490C-AF99-8995CB0BE342"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"967":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":968},"_Extent":{"__isSmartRef__":true,"id":969},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":970},"renderContextTable":{"__isSmartRef__":true,"id":971},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":972},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"968":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"969":{"x":116,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"970":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"971":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"972":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"973":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"974":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"975":{"style":{"__isSmartRef__":true,"id":976},"morph":{"__isSmartRef__":true,"id":966},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":966},"storedString":"background color:","__LivelyClassName__":"lively.morphic.TextChunk"},"976":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"977":{"x":116,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"978":{"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","setStyleSheet":"setStyleSheetHTML","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"},"979":{"morph":{"__isSmartRef__":true,"id":966},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"980":{"position":{"__isSmartRef__":true,"id":981},"_Extent":{"__isSmartRef__":true,"id":982},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":983},"_Fill":{"__isSmartRef__":true,"id":984},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":985},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":986},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"981":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"982":{"x":162.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"983":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"984":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"985":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"986":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"987":{"x":2.1800000000000006,"y":53.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"988":{"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"},"989":{"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","setStyleSheet":"setStyleSheetHTML"},"990":{"morph":{"__isSmartRef__":true,"id":965},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"991":{"x":162.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"992":{"x":119,"y":-13.319999999999993,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"993":{"layouter":{"__isSmartRef__":true,"id":994}},"994":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":965},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"995":{"submorphs":[{"__isSmartRef__":true,"id":996},{"__isSmartRef__":true,"id":1010}],"scripts":[],"id":"3625CFD9-3D33-4596-B4CA-FB8357386952","shape":{"__isSmartRef__":true,"id":1026},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1033},"showsHalos":false,"name":"Rectangle10","partsBinMetaInfo":{"__isSmartRef__":true,"id":1034},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1035},"eventHandler":{"__isSmartRef__":true,"id":1036},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":1037},"distanceToDragEvent":{"__isSmartRef__":true,"id":1038},"layout":{"__isSmartRef__":true,"id":1039},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[244,"2BB6A93D-6C3F-4A31-873C-2F32059E64E6","8BFCE97C-9683-48DF-945D-8E263B9D2F82","040300E3-F948-4A3D-868B-43A99B292294","B22A9D56-373A-4CA1-B998-2401213509CC"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"996":{"submorphs":[],"scripts":[],"id":"82D7F2B3-8B91-447D-A5DA-83792343DE9D","shape":{"__isSmartRef__":true,"id":997},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1003},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1000},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1004},"textChunks":[{"__isSmartRef__":true,"id":1005}],"charsReplaced":"background:","lastFindLoc":0,"priorSelectionRange":[7,7],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1007},"renderContextTable":{"__isSmartRef__":true,"id":1008},"eventHandler":{"__isSmartRef__":true,"id":1009},"owner":{"__isSmartRef__":true,"id":995},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[3,3],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[245,"381FA480-EC69-4CCA-B2CE-0F81D3D2F43C","76BF2B59-A5A4-410E-BDA6-3DEF38432F89","9B05FCA9-F3E2-4190-89D1-D60505F85A00","1ED9874C-72C0-4876-9E23-5889E630A6F8"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"997":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":998},"_Extent":{"__isSmartRef__":true,"id":999},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1000},"renderContextTable":{"__isSmartRef__":true,"id":1001},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":1002},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"998":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"999":{"x":72,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1000":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1001":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1002":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1003":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1004":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1005":{"style":{"__isSmartRef__":true,"id":1006},"chunkOwner":{"__isSmartRef__":true,"id":996},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"fixed width:","__LivelyClassName__":"lively.morphic.TextChunk"},"1006":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"15px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1007":{"x":72,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1008":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1009":{"morph":{"__isSmartRef__":true,"id":996},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1010":{"submorphs":[],"scripts":[],"id":"4BA80B55-BDB7-445C-A5F6-5A08D976DDFF","shape":{"__isSmartRef__":true,"id":1011},"droppingEnabled":false,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":1016},"name":"fixedWidthCheckBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":1017},"priorExtent":{"__isSmartRef__":true,"id":1018},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":995},"attributeConnections":[{"__isSmartRef__":true,"id":1019}],"doNotSerialize":["$$checked"],"doNotCopyProperties":["$$checked"],"renderContextTable":{"__isSmartRef__":true,"id":1024},"eventHandler":{"__isSmartRef__":true,"id":1025},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[246,"788B5E3C-51A1-4D33-8464-E07DC195C06F","687529D7-92CB-479A-AA1D-A291F378D56F","826AC166-28CE-4D0B-810E-E0A6380B5C86","CB35B37E-DA24-45B3-A6CE-C8D3B820BCE4"],"checked":true,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.CheckBox"},"1011":{"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1012},"_Extent":{"__isSmartRef__":true,"id":1013},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1014},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":1015},"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.External"},"1012":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1013":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1014":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"1015":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1016":{"x":91.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1017":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1018":{"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1019":{"sourceObj":{"__isSmartRef__":true,"id":1010},"sourceAttrName":"checked","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateStyle","converterString":"function (bool) { return {fixedWidth: bool}}","updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1020},"__LivelyClassName__":"AttributeConnection"},"1020":{"converter":{"__isSmartRef__":true,"id":1021}},"1021":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1022},"source":"function (bool) { return {fixedWidth: bool}}","funcProperties":{"__isSmartRef__":true,"id":1023},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1022":{},"1023":{},"1024":{"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","setStyleSheet":"setStyleSheetHTML"},"1025":{"morph":{"__isSmartRef__":true,"id":1010},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1026":{"position":{"__isSmartRef__":true,"id":1027},"_Extent":{"__isSmartRef__":true,"id":1028},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1029},"_Fill":{"__isSmartRef__":true,"id":1030},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1031},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1032},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1027":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1028":{"x":107.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1029":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1030":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1031":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1032":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1033":{"x":2.1800000000000006,"y":197.7,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1034":{"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"},"1035":{"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","setStyleSheet":"setStyleSheetHTML"},"1036":{"morph":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1037":{"x":107.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1038":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1039":{"layouter":{"__isSmartRef__":true,"id":1040}},"1040":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"1041":{"submorphs":[{"__isSmartRef__":true,"id":1042}],"scripts":[],"id":"F77CC150-71BF-41E4-BBF3-37ACA9223677","shape":{"__isSmartRef__":true,"id":1057},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1064},"_MaxTextWidth":254.336,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1060},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"selectedTextName","partsBinMetaInfo":{"__isSmartRef__":true,"id":1065},"textChunks":[{"__isSmartRef__":true,"id":1066}],"charsReplaced":"s","lastFindLoc":6,"prevScroll":[0,0],"_ClipMode":"hidden","owner":{"__isSmartRef__":true,"id":460},"_WhiteSpaceHandling":"pre-wrap","priorExtent":{"__isSmartRef__":true,"id":1068},"renderContextTable":{"__isSmartRef__":true,"id":1069},"eventHandler":{"__isSmartRef__":true,"id":1070},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"previousSelection":[0,8],"layout":{"__isSmartRef__":true,"id":1071},"isBeingDragged":false,"lastDragTime":1315408325243,"_Align":"center","_MinTextWidth":254.336,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[247,"F66A3F3F-8A71-47BA-98C8-6F9B0270E118","DA483941-BF8C-48CA-9DC5-E42E564D5F8F","A0556E86-7365-46E4-98A1-03D1425F06E4","0ABF0E3E-C24E-4A96-8713-302CF393A648"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1042":{"submorphs":[],"scripts":[],"id":"9B25D5D8-A314-4748-A03B-777D87170807","shape":{"__isSmartRef__":true,"id":1043},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1050},"_MaxTextWidth":93.09490509490479,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1046},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"selectedTextLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":1051},"textChunks":[{"__isSmartRef__":true,"id":1052}],"charsReplaced":"focus","lastFindLoc":-5,"priorSelectionRange":[5,5],"prevScroll":[0,0],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":1041},"priorExtent":{"__isSmartRef__":true,"id":1054},"renderContextTable":{"__isSmartRef__":true,"id":1055},"eventHandler":{"__isSmartRef__":true,"id":1056},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":93.09490509490479,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"derivationIds":[248,"2ADB1B34-0A2F-4D4F-9278-783E1482E0EF","E9FB2D02-9862-417C-BFA9-CC2640CBC78A","EF8E0EF2-4D69-4CF5-87A5-E042DE862CFF","30BDCF25-10C7-4638-A064-3E1545E565FA"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1043":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1044},"_Extent":{"__isSmartRef__":true,"id":1045},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1046},"renderContextTable":{"__isSmartRef__":true,"id":1047},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":1048},"_Padding":{"__isSmartRef__":true,"id":1049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1044":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1045":{"x":93.09490509490479,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1046":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1047":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1048":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1050":{"x":-50,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1051":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1052":{"style":{"__isSmartRef__":true,"id":1053},"morph":{"__isSmartRef__":true,"id":1042},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1042},"storedString":"text:","__LivelyClassName__":"lively.morphic.TextChunk"},"1053":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1054":{"x":93.09490509490479,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1055":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1056":{"morph":{"__isSmartRef__":true,"id":1042},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1057":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1058},"_Extent":{"__isSmartRef__":true,"id":1059},"_BorderWidth":1.332,"_BorderColor":{"__isSmartRef__":true,"id":1060},"renderContextTable":{"__isSmartRef__":true,"id":1061},"_ClipMode":"hidden","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":1062},"_Padding":{"__isSmartRef__":true,"id":1063},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1058":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1059":{"x":274,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1060":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1062":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1063":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1064":{"x":2.1800000000000006,"y":2.1800000000000006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1065":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1066":{"style":{"__isSmartRef__":true,"id":1067},"chunkOwner":{"__isSmartRef__":true,"id":1041},"storedString":"content1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1067":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1068":{"x":274,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1069":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1070":{"morph":{"__isSmartRef__":true,"id":1041},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1071":{},"1072":{"submorphs":[{"__isSmartRef__":true,"id":1073},{"__isSmartRef__":true,"id":1087}],"scripts":[],"id":"85E32BBB-6BEB-4EFF-A1FA-383408F60D7B","shape":{"__isSmartRef__":true,"id":1107},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1114},"showsHalos":false,"name":"Rectangle13","partsBinMetaInfo":{"__isSmartRef__":true,"id":1115},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1116},"eventHandler":{"__isSmartRef__":true,"id":1117},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":1118},"distanceToDragEvent":{"__isSmartRef__":true,"id":1119},"layout":{"__isSmartRef__":true,"id":1120},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[249,"2A2A835A-E05D-4602-95D6-1263B63BB8B9","7A96C50A-F788-4501-9D41-2AE1EBFF17E1","AEC02A06-2488-42A5-8689-30F1E732FF19","FDEB2AB3-9021-49A2-8130-1A40A12E8588"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"1073":{"submorphs":[],"scripts":[],"id":"DD89AF4A-C8A7-4D63-B052-B63887215DBE","shape":{"__isSmartRef__":true,"id":1074},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1080},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1077},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1081},"textChunks":[{"__isSmartRef__":true,"id":1082}],"charsReplaced":"clip mode","lastFindLoc":18,"priorSelectionRange":[6,6],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1084},"renderContextTable":{"__isSmartRef__":true,"id":1085},"eventHandler":{"__isSmartRef__":true,"id":1086},"owner":{"__isSmartRef__":true,"id":1072},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[5,5],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[250,"610E0A62-71F1-42A2-B5E4-309C3C9A2B8A","B3EC99F4-2B31-4134-8634-5C86D7E25BEA","F4F03624-2EB6-4F20-92FC-0A8F6E9A5B11","30985429-3BBD-48E6-B9E6-D3BC715D5150"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1074":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1075},"_Extent":{"__isSmartRef__":true,"id":1076},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1077},"renderContextTable":{"__isSmartRef__":true,"id":1078},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1075":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1076":{"x":55,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1077":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1079":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1080":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1081":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1082":{"style":{"__isSmartRef__":true,"id":1083},"chunkOwner":{"__isSmartRef__":true,"id":1073},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"padding:","__LivelyClassName__":"lively.morphic.TextChunk"},"1083":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"15px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1084":{"x":55,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1085":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1086":{"morph":{"__isSmartRef__":true,"id":1073},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1087":{"submorphs":[],"scripts":[],"id":"FDAB39B0-EE7A-4C2A-815C-245CB4BEDEA8","shape":{"__isSmartRef__":true,"id":1088},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1095},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1091},"showsHalos":false,"_FontSize":10,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"paddingInput","partsBinMetaInfo":{"__isSmartRef__":true,"id":1096},"textChunks":[{"__isSmartRef__":true,"id":1097}],"charsReplaced":"0,0","lastFindLoc":19,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1099},"owner":{"__isSmartRef__":true,"id":1072},"isInputLine":true,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","allowInput":true,"attributeConnections":[{"__isSmartRef__":true,"id":1100}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1105},"eventHandler":{"__isSmartRef__":true,"id":1106},"previousSelection":[15,15],"isBeingDragged":false,"lastDragTime":1315415107682,"_MinTextWidth":null,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[251,"F634DE4C-EEE9-4175-A8AA-894B74AE2332","F5572179-02A6-4B21-BEF9-0775861F088E","E69BDC89-508D-42E1-AEE8-21C7B8313C2E","453C9FC1-29D2-45FC-B3E1-791C7E0599A4"],"savedTextString":"rect(pt(5,5),pt(5,5))","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1088":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1089},"_Extent":{"__isSmartRef__":true,"id":1090},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1091},"_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":1092},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":1093},"_Padding":{"__isSmartRef__":true,"id":1094},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1089":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1090":{"x":248,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1091":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1092":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1093":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1094":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1095":{"x":73.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1096":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1097":{"style":{"__isSmartRef__":true,"id":1098},"chunkOwner":{"__isSmartRef__":true,"id":1087},"storedString":"lively.rect(lively.pt(0.0,0.0),lively.pt(0.0,0.0))","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1098":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1099":{"x":248,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1100":{"sourceObj":{"__isSmartRef__":true,"id":1087},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateStyle","converterString":"function (input) {\n try {\n var r = eval(input);\n if (!r.constructor === Rectangle)\n throw new Error('Not a rectangle: ' + r)\n } catch(e) {\n alert('Cannot set padding: ' + e)\n return;\n }\n return {padding: r}\n\n}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1101},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1102},"__LivelyClassName__":"AttributeConnection"},"1101":{"source":{"__isSmartRef__":true,"id":1087},"target":{"__isSmartRef__":true,"id":459}},"1102":{"converter":{"__isSmartRef__":true,"id":1103}},"1103":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1101},"source":"function (input) {\n try {\n var r = eval(input);\n if (!r.constructor === Rectangle)\n throw new Error('Not a rectangle: ' + r)\n } catch(e) {\n alert('Cannot set padding: ' + e)\n return;\n }\n return {padding: r}\n\n}","funcProperties":{"__isSmartRef__":true,"id":1104},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1104":{},"1105":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1106":{"morph":{"__isSmartRef__":true,"id":1087},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1107":{"position":{"__isSmartRef__":true,"id":1108},"_Extent":{"__isSmartRef__":true,"id":1109},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1110},"_Fill":{"__isSmartRef__":true,"id":1111},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1112},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1113},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1108":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1109":{"x":269.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1110":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1111":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1112":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1113":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1114":{"x":2.1799999999999997,"y":277.22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1115":{"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"},"1116":{"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","setStyleSheet":"setStyleSheetHTML"},"1117":{"morph":{"__isSmartRef__":true,"id":1072},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1118":{"x":269.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1119":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1120":{"layouter":{"__isSmartRef__":true,"id":1121}},"1121":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":1072},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"1122":{"submorphs":[{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1137}],"scripts":[],"id":"03490733-E6FA-4A11-8264-31495E43AF8B","shape":{"__isSmartRef__":true,"id":1152},"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1159},"showsHalos":false,"name":"Rectangle11","partsBinMetaInfo":{"__isSmartRef__":true,"id":1160},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1161},"eventHandler":{"__isSmartRef__":true,"id":1162},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":1163},"distanceToDragEvent":{"__isSmartRef__":true,"id":1164},"layout":{"__isSmartRef__":true,"id":1165},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":460},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[252,"92055B44-2435-40B9-BE95-E9F072DB9812","04DA860B-1958-4C3B-A4C2-CA7354BC24CA","79B13176-94FB-49A2-9A2E-AEB8ABB2822D","234F28D8-1325-4FE4-A7E0-DDDDAA0EA3DD"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"1123":{"submorphs":[],"scripts":[],"id":"0133774E-E075-4821-9272-74E6B91C0169","shape":{"__isSmartRef__":true,"id":1124},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1130},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1127},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"fontColorLabel1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1131},"textChunks":[{"__isSmartRef__":true,"id":1132}],"charsReplaced":"background:","lastFindLoc":0,"priorSelectionRange":[8,8],"prevScroll":[0,0],"_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1134},"renderContextTable":{"__isSmartRef__":true,"id":1135},"eventHandler":{"__isSmartRef__":true,"id":1136},"owner":{"__isSmartRef__":true,"id":1122},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"lastDragTime":1315407805804,"previousSelection":[9,9],"_MinTextWidth":null,"_MinTextHeight":null,"_WhiteSpaceHandling":"pre-wrap","draggingEnabled":false,"isLabel":true,"_HandStyle":"default","allowInput":false,"eventsAreIgnored":true,"derivationIds":[253,"4D54FD27-9438-4E79-8AAE-386F49B3F383","E6268574-429B-4193-BA9D-4E4C03D6F74F","D593105D-588E-48A5-9F2B-9A2C0142B43A","A82904BA-5603-45E8-946E-C1A33FD07AF4"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1124":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1125},"_Extent":{"__isSmartRef__":true,"id":1126},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1127},"renderContextTable":{"__isSmartRef__":true,"id":1128},"_ClipMode":"hidden","_Fill":null,"_Padding":{"__isSmartRef__":true,"id":1129},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1125":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1126":{"x":77,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1127":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1128":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1129":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1130":{"x":3.92,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1131":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1132":{"style":{"__isSmartRef__":true,"id":1133},"chunkOwner":{"__isSmartRef__":true,"id":1123},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"fixed height:","__LivelyClassName__":"lively.morphic.TextChunk"},"1133":{"color":"rgb(0,0,0)","fontFamily":"Arial,sans-serif","fontSize":"15px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1134":{"x":77,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1135":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1136":{"morph":{"__isSmartRef__":true,"id":1123},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1137":{"submorphs":[],"scripts":[],"id":"2202898D-9FCA-4E26-9CFC-660CD7D7F575","shape":{"__isSmartRef__":true,"id":1138},"droppingEnabled":false,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":1142},"name":"fixedHeightCheckBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":1143},"priorExtent":{"__isSmartRef__":true,"id":1144},"__SourceModuleName__":"Global.lively.morphic.Widgets","owner":{"__isSmartRef__":true,"id":1122},"attributeConnections":[{"__isSmartRef__":true,"id":1145}],"doNotSerialize":["$$checked"],"doNotCopyProperties":["$$checked"],"renderContextTable":{"__isSmartRef__":true,"id":1150},"eventHandler":{"__isSmartRef__":true,"id":1151},"grabbingEnabled":false,"draggingEnabled":false,"derivationIds":[254,"6CC63CEE-FEBB-4DB7-B00A-F75467A822BA","4E2DD96D-17C6-49A5-9C80-691CF1D4404D","1CB63ADA-0EB5-466A-A05B-F2DC560A814B","6C9F1F56-C121-43B9-B10F-4A6F7FA6B653"],"checked":false,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.CheckBox"},"1138":{"stringifiedShapeNode":"","extent":{"__isSmartRef__":true,"id":1139},"_Extent":{"__isSmartRef__":true,"id":1140},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1141},"_ClipMode":"visible","_Fill":{"__isSmartRef__":true,"id":1015},"_BorderWidth":0,"__LivelyClassName__":"lively.morphic.Shapes.External"},"1139":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1140":{"x":12,"y":12,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1141":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML","getExtent":"getExtentHTML","initFromStringifiedShapeNode":"initFromStringifiedShapeNodeHTML"},"1142":{"x":96.92000000000002,"y":3.92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1143":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1144":{"x":12,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1145":{"sourceObj":{"__isSmartRef__":true,"id":1137},"sourceAttrName":"checked","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateStyle","converterString":"function (bool) { return {fixedHeight: bool}}","updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1146},"__LivelyClassName__":"AttributeConnection"},"1146":{"converter":{"__isSmartRef__":true,"id":1147}},"1147":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1148},"source":"function (bool) { return {fixedHeight: bool}}","funcProperties":{"__isSmartRef__":true,"id":1149},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1148":{},"1149":{},"1150":{"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","setStyleSheet":"setStyleSheetHTML"},"1151":{"morph":{"__isSmartRef__":true,"id":1137},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1152":{"position":{"__isSmartRef__":true,"id":1153},"_Extent":{"__isSmartRef__":true,"id":1154},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1155},"_Fill":{"__isSmartRef__":true,"id":1156},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1157},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1158},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1153":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1154":{"x":112.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1155":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1156":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1157":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1158":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1159":{"x":2.1799999999999997,"y":222.54000000000002,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1160":{"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"},"1161":{"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","setStyleSheet":"setStyleSheetHTML"},"1162":{"morph":{"__isSmartRef__":true,"id":1122},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1163":{"x":112.84,"y":24.84,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1164":{"x":82,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1165":{"layouter":{"__isSmartRef__":true,"id":1166}},"1166":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":3.92,"spacing":15,"container":{"__isSmartRef__":true,"id":1122},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.TightHorizontalLayout"},"1167":{"position":{"__isSmartRef__":true,"id":1168},"_Extent":{"__isSmartRef__":true,"id":1169},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1170},"_Fill":{"__isSmartRef__":true,"id":1171},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1172},"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":1173},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1168":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1169":{"x":279.0400000000001,"y":304.24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1170":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1171":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1172":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1173":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1174":{"x":7,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1175":{"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"},"1176":{"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","setStyleSheet":"setStyleSheetHTML"},"1177":{"morph":{"__isSmartRef__":true,"id":460},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1178":{"layouter":{"__isSmartRef__":true,"id":1179}},"1179":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":2.18,"spacing":0,"container":{"__isSmartRef__":true,"id":460},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"1180":{"x":278.0400000000001,"y":303.24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1181":{"position":{"__isSmartRef__":true,"id":1182},"_Extent":{"__isSmartRef__":true,"id":1183},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1184},"_Fill":{"__isSmartRef__":true,"id":1185},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1186},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1187},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1182":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1183":{"x":296.7001919319505,"y":315.39055082886716,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1184":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1185":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1186":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"1187":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1188":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1189":{"partsSpaceName":"PartsBin/NewWorld/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"requiredModules":["lively.LayerableMorphs"],"partName":"TextAttributePanel","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1190":{"sourceObj":{"__isSmartRef__":true,"id":459},"sourceAttrName":"focusedText","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"selectTextMorph","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1191":{"resizeWidth":true,"resizeHeight":true},"1192":{"x":295.7001919319505,"y":315.39055082886716,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"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","setStyleSheet":"setStyleSheetHTML"},"1194":{"morph":{"__isSmartRef__":true,"id":459},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1195":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1196},"id":"312F0CDC-C454-4F36-BB7B-87FDC34DB4CE","renderContextTable":{"__isSmartRef__":true,"id":1203},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1204}],"eventHandler":{"__isSmartRef__":true,"id":1206},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1207},"priorExtent":{"__isSmartRef__":true,"id":1208},"_MaxTextWidth":444,"_MinTextWidth":444,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CommitMessageText","owner":{"__isSmartRef__":true,"id":1209},"distanceToDragEvent":{"__isSmartRef__":true,"id":1945},"previousSelection":[14,15],"charsReplaced":"don't crash if there is no selection","lastFindLoc":36,"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2890,"40048B1D-9547-4EA6-AB66-31168A1C9FAE","8A0DE790-FA6C-41C9-BA2B-84397DA3F39E","DCFEEBC9-D891-408E-A103-19356A96070F","EAEE386C-B48C-44E1-B80C-6830217A2FC6","6CABE716-A9A0-4BED-ACA6-4C0C9C6C8E5E","C2DC6D12-6F98-4236-AA47-1BD438BE5E56","BFEBFDBE-0C30-407F-9B3C-B45A27971468","923C751C-6180-4C96-A3FC-42A8AF1B4298","0D556A07-77CA-478F-95B3-E3051804BF9C","D952B070-654E-40FA-9076-7E8156C9C87C","2EB5AAE4-7C54-466F-8C70-E3BD1E218C90","D6863F0B-0CE5-401F-9646-2A748564AB54","B422EE4A-2E17-4752-812B-1DFCDFBFE4D4","52701E3E-E7F1-4A2F-B8FE-2115D0544509","392D7685-0EDA-4891-9220-82C9DC2C3CCD"],"savedTextString":"","layout":{"__isSmartRef__":true,"id":1946},"_Rotation":0,"_Scale":1,"priorSelectionRange":[0,36],"__LivelyClassName__":"lively.morphic.Text"},"1196":{"_Position":{"__isSmartRef__":true,"id":1197},"renderContextTable":{"__isSmartRef__":true,"id":1198},"_Extent":{"__isSmartRef__":true,"id":1199},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1200},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1201},"_Fill":{"__isSmartRef__":true,"id":1202},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1197":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1198":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1199":{"x":454,"y":102,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1200":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1201":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1202":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1203":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1204":{"style":{"__isSmartRef__":true,"id":1205},"chunkOwner":{"__isSmartRef__":true,"id":1195},"storedString":"prevented the text attribute panel from crashing when there is no selection.","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1205":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1206":{"morph":{"__isSmartRef__":true,"id":1195},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1207":{"x":10,"y":260,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1208":{"x":454,"y":102,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1209":{"submorphs":[{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1195},{"__isSmartRef__":true,"id":1226},{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1259},{"__isSmartRef__":true,"id":1275},{"__isSmartRef__":true,"id":1292},{"__isSmartRef__":true,"id":1308},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1475},{"__isSmartRef__":true,"id":1491},{"__isSmartRef__":true,"id":1507}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1557},"id":"46189464-A16C-4F32-839D-9335463009BC","renderContextTable":{"__isSmartRef__":true,"id":1564},"eventHandler":{"__isSmartRef__":true,"id":1565},"droppingEnabled":true,"halosEnabled":true,"isLockOwner":false,"layout":{"__isSmartRef__":true,"id":1566},"attributeConnections":[],"ownerApp":{"__isSmartRef__":true,"id":1567},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Core","name":"PublishPartPanePane","doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":1661},"isBeingDragged":false,"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":1662},"grabbingEnabled":false,"_Position":{"__isSmartRef__":true,"id":1663},"owner":{"__isSmartRef__":true,"id":1664},"target":{"__isSmartRef__":true,"id":310},"derivationIds":[2888,"7CD647EF-2BB4-4CD9-9D3B-4EE7BC59ECC2","B983FB4F-9323-4304-9603-5615E93C6C42","E738FAD5-9C83-4390-B193-06C21B6E51B0","5ED6DC7B-74C2-4149-BF56-1622F302C51E","B125F66F-9D66-44AC-A04B-E3A1CB7C1474","8DD88D93-D7DB-4957-A724-C19836CD8C03","1405B5AF-8461-4497-952D-024E06F6F395","7CD3B3FE-D49D-436B-A738-6F960136F93C","C28EE17A-8653-4C4E-AEAA-89B45CB54684","97E867C3-A9EC-42CF-916F-788C94BE0955","8DBA20C0-E93B-4679-BD70-63D956C8D56B","03F1C6E5-5D38-4B2A-B96A-7545B2EA78A4","101E56F8-6494-4A33-A341-C532CBE53645","7B5BEA4B-7600-495A-8017-6D2CED2DFC29","C97C0E53-522D-414C-9555-2228E8BA8F71"],"partsBinMetaInfo":{"__isSmartRef__":true,"id":1903},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1904},"__LivelyClassName__":"lively.morphic.Box","withLayers":["Global.lively.morphic.GrabbingLayer"]},"1210":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1211},"id":"2C9904AA-5712-404E-8535-9028A0A546F9","renderContextTable":{"__isSmartRef__":true,"id":1218},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1219}],"eventHandler":{"__isSmartRef__":true,"id":1221},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1222},"priorExtent":{"__isSmartRef__":true,"id":1223},"_MaxTextWidth":164,"_MinTextWidth":164,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1209},"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1224},"previousSelection":[1,1],"priorSelectionRange":[0,10],"isLockOwner":false,"name":"NameText","isCopyMorphRef":true,"morphRefId":1,"derivationIds":[2889,"9A8B5C1C-95BB-40F5-B9EF-B89DD5451B64","C49BF160-BBBE-422E-BDDC-B9A98A72ABFF","42B7E940-3BB5-4B79-B5D8-E4C8E780FF3B","50B247C7-D8F3-4CF5-BD3F-2A2867827CF1","674DADA8-0E51-4FAB-8522-A9D91F270267","105181E3-2D4E-49C3-9C63-13D1F9E311AB","54D6890B-898B-44EC-8BDF-688522764BD8","A8821E63-E9F3-4FE1-94FC-897C0E64A537","1A1BA90B-CA62-4F00-8A36-CC210F473907","E8C3B7B8-5E66-4470-A4B0-C4103AA45358","95511FB8-0146-4A7A-900F-72D7EE65877A","7DA33C42-0FC5-4616-B97B-FA67332B7859","D05E45C6-2CC5-44AB-B3FD-904395A33093","83AF3D18-D412-4D65-B8FD-51A225F1371F","238498B0-5A4F-416E-9ED6-096FE9C41557"],"savedTextString":"CommitMessageTest1","isBeingDragged":false,"charsReplaced":"7","lastFindLoc":2,"layout":{"__isSmartRef__":true,"id":1225},"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1211":{"_Position":{"__isSmartRef__":true,"id":1212},"renderContextTable":{"__isSmartRef__":true,"id":1213},"_Extent":{"__isSmartRef__":true,"id":1214},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1215},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1216},"_Fill":{"__isSmartRef__":true,"id":1217},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1212":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1213":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1214":{"x":174,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1215":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1216":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1217":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1218":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1219":{"style":{"__isSmartRef__":true,"id":1220},"chunkOwner":{"__isSmartRef__":true,"id":1210},"storedString":"TextAttributePanel","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1220":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1221":{"morph":{"__isSmartRef__":true,"id":1210},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1222":{"x":10,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1223":{"x":174,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1224":{"x":119,"y":-15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1225":{"adjustForNewBounds":true,"resizeWidth":true},"1226":{"submorphs":[],"scripts":[],"id":"4DAB0AAC-D162-4AC6-AD57-10D8DC440334","shape":{"__isSmartRef__":true,"id":1227},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1233},"_MaxTextWidth":114,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1230},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":1234},"textChunks":[{"__isSmartRef__":true,"id":1235}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[0,4],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1237},"renderContextTable":{"__isSmartRef__":true,"id":1238},"eventHandler":{"__isSmartRef__":true,"id":1239},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1240},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":1209},"_MinTextWidth":114,"_MinTextHeight":null,"previousSelection":[3,3],"distanceToDragEvent":{"__isSmartRef__":true,"id":1241},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2891,"E101CA30-35F9-42F0-A46C-28671530C787","CE7E7640-C507-43BF-88EF-C4ACE8CCF564","F04823B9-5B0B-4CCA-B8F7-00BD8608ED16","DD4402A8-C90A-4187-92DA-813F59FF86E6","90452494-6B16-4189-8CC1-4EB76FCCCBC9","A1BA43C9-3B13-4744-893E-8B39CEDA44D3","A4DDC2E9-14D8-4DA1-A960-4BB1DF3A45CD","97027388-2CC6-4B87-880F-D9048C0EAB5A","97A71E75-471E-4C94-879E-0ECD50A4DA7D","B952E46A-0593-4861-A364-746D14830709","CFEB54E4-C6B5-4DEC-9C82-93FEC6192DF8","8F33B7B6-1D97-4422-9D4C-562576803FAE","EE6FBA69-D693-41BD-A1D6-7852A30ADE28","D0A85886-302D-46FB-8139-F28D0A45D0E2","A5589A0F-6873-4F7B-ACEE-A7C2706973BC"],"layout":{"__isSmartRef__":true,"id":1242},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1227":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1228},"_Extent":{"__isSmartRef__":true,"id":1229},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1230},"renderContextTable":{"__isSmartRef__":true,"id":1231},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1232},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1228":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1229":{"x":114,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1230":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1231":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1232":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1233":{"x":10,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1234":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1235":{"style":{"__isSmartRef__":true,"id":1236},"morph":{"__isSmartRef__":true,"id":1226},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1226},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk"},"1236":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1237":{"x":114,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1238":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1239":{"morph":{"__isSmartRef__":true,"id":1226},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1240":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1241":{"x":78,"y":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1242":{"moveHorizontal":false},"1243":{"submorphs":[],"scripts":[],"id":"EA3A7013-7465-4694-8210-91342B1DBBAC","shape":{"__isSmartRef__":true,"id":1244},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1250},"_MaxTextWidth":250,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1247},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":1251},"textChunks":[{"__isSmartRef__":true,"id":1252}],"charsReplaced":"changes","lastFindLoc":7,"priorSelectionRange":[0,14],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1254},"renderContextTable":{"__isSmartRef__":true,"id":1255},"eventHandler":{"__isSmartRef__":true,"id":1256},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1257},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":250,"_MinTextHeight":null,"previousSelection":[0,14],"distanceToDragEvent":{"__isSmartRef__":true,"id":1258},"owner":{"__isSmartRef__":true,"id":1209},"isLockOwner":false,"derivationIds":[2892,"E5DC0070-3EA2-4212-9AA7-E3C865547E5E","809E256F-82F6-4A22-B614-DE8C08FA5970","272C0F9A-E7EF-4ECE-851D-08ACB35EA24D","8AA544F8-6F47-454D-AE18-A264ACDEFA7E","8374F17A-0E7E-4436-931A-1BA6E7CEAB7D","2FA9E6A8-96E0-4B11-B3BE-D625991003B4","EF4AC0A8-BC6A-4E7E-A4A1-838717896172","7E58BFFB-E384-4B68-A4C8-A32E7A93B8FC","BFCA8D00-622E-4E2D-998E-56C8E2DB8351","0DD88B54-97A9-4F81-BEC4-474DB9D20DF5","6400C374-D5C5-4AF3-BDD4-466198D5C4BA","6AB467AF-2289-4696-B2B0-AF36BFC54FDA","1E30FC69-CA06-403F-AE8B-4A12304F1FEB","EB7FBB3F-8989-4980-9DA2-4D10CB466437","0D191BF2-AA67-4F93-94C2-A719DA9CC670"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1244":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1245},"_Extent":{"__isSmartRef__":true,"id":1246},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1247},"renderContextTable":{"__isSmartRef__":true,"id":1248},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1249},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1245":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1246":{"x":250,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1247":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1248":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1249":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1250":{"x":10,"y":240,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1251":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1252":{"style":{"__isSmartRef__":true,"id":1253},"morph":{"__isSmartRef__":true,"id":1243},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1243},"storedString":"commit message","__LivelyClassName__":"lively.morphic.TextChunk"},"1253":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1254":{"x":250,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1255":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1256":{"morph":{"__isSmartRef__":true,"id":1243},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1257":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1258":{"x":174,"y":-21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1259":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1260},"id":"B38EF87D-6012-4E5D-94C5-FAF6F0CAE6E9","renderContextTable":{"__isSmartRef__":true,"id":1267},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1268}],"eventHandler":{"__isSmartRef__":true,"id":1270},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1271},"priorExtent":{"__isSmartRef__":true,"id":1272},"_MaxTextWidth":250,"_MinTextWidth":250,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CategoryText","owner":{"__isSmartRef__":true,"id":1209},"previousSelection":[0,14],"priorSelectionRange":[5,5],"charsReplaced":"CommitMessageTest1","lastFindLoc":18,"distanceToDragEvent":{"__isSmartRef__":true,"id":1273},"isLockOwner":false,"derivationIds":[2893,"FBE4B17F-DC2B-4783-899B-CF1B051F14D9","A2C45BC5-C44B-4AEA-A29E-ADE3DAF08638","640BD984-1AB2-45B8-BCEC-AB32A6199D68","BE2E06DB-4DFC-4628-9FED-8F3E87D18E07","6D28F6C5-8D27-4A2D-A13E-55172343909B","9537F96B-5D0E-47CF-9435-5850919DA5A2","B8516280-8A31-4C9E-A9EF-3C058FB084E5","0A41986D-4F2B-4D8B-8A35-AEB659C5D25A","7A7E3053-DA4F-465C-B558-5138BE382156","7024A970-16E6-4DE1-9BD6-6DC50779F4AA","181F12CB-A2A2-4A98-A3B0-9CAC859DFC66","B6176017-4E7E-463E-82DF-DFC54EB00EC9","2956D5AA-C488-4F2E-AEDF-6D795EEECAB3","DB745EE2-3FE0-42B6-8D29-E2B6215E2B17","BD1B8949-BF8B-4B64-A2A5-95E8919FD98B"],"savedTextString":"PartsBin/Basic","layout":{"__isSmartRef__":true,"id":1274},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1260":{"_Position":{"__isSmartRef__":true,"id":1261},"renderContextTable":{"__isSmartRef__":true,"id":1262},"_Extent":{"__isSmartRef__":true,"id":1263},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1264},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1265},"_Fill":{"__isSmartRef__":true,"id":1266},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1261":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1262":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1263":{"x":260,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1264":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1265":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1266":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1267":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1268":{"style":{"__isSmartRef__":true,"id":1269},"chunkOwner":{"__isSmartRef__":true,"id":1259},"storedString":"PartsBin/Tools/","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1269":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1270":{"morph":{"__isSmartRef__":true,"id":1259},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1271":{"x":204,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1272":{"x":260,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1273":{"x":132,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1274":{"resizeWidth":false,"moveHorizontal":true},"1275":{"submorphs":[],"scripts":[],"id":"F3926254-EBEE-44B8-AF36-656832DB8CD5","shape":{"__isSmartRef__":true,"id":1276},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1282},"_MaxTextWidth":114,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1279},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":1283},"textChunks":[{"__isSmartRef__":true,"id":1284}],"charsReplaced":"name","lastFindLoc":4,"priorSelectionRange":[0,8],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1286},"renderContextTable":{"__isSmartRef__":true,"id":1287},"eventHandler":{"__isSmartRef__":true,"id":1288},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1289},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":114,"_MinTextHeight":null,"previousSelection":[2,2],"distanceToDragEvent":{"__isSmartRef__":true,"id":1290},"owner":{"__isSmartRef__":true,"id":1209},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2894,"75F41AE1-CA7A-48D0-AE2C-7AAF6101B89C","CB87A9FB-0776-4109-BDE0-0E8C61F1626C","954BD4D6-BBF2-4D3C-94CA-21A38F66F449","5C78A757-B050-43F1-B4CF-26CE9CC58B03","A90A2B0B-A1A7-4F19-8FFB-1D98E8CF7BE6","181AA91A-3D90-4322-ACB9-3D707A3994E0","8A6171C0-493C-475F-B974-54B0FE5DD81C","246AA662-2B7A-4ABE-AB30-734548540344","708636F1-5D64-47AD-B72E-1E255924638B","3C7D4704-AD28-4978-B6A1-2646B7BAA9B3","D7754A0E-4F0E-4363-907A-4743D1254104","CBD21E5F-99E6-4DDA-BF27-42D3424DB513","BBA77A6C-FD26-4279-8919-1A8114C6F035","BB158E68-208B-4E62-81D2-9B057CA86DBF","037F2BD3-0CFD-4A28-AF42-35D6DEC633C0"],"layout":{"__isSmartRef__":true,"id":1291},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1276":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1277},"_Extent":{"__isSmartRef__":true,"id":1278},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1279},"renderContextTable":{"__isSmartRef__":true,"id":1280},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1281},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1277":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1278":{"x":114,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1279":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1280":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1281":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1282":{"x":205,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1283":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1284":{"style":{"__isSmartRef__":true,"id":1285},"chunkOwner":{"__isSmartRef__":true,"id":1275},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"category","__LivelyClassName__":"lively.morphic.TextChunk"},"1285":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1286":{"x":114,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1287":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1288":{"morph":{"__isSmartRef__":true,"id":1275},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1289":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1290":{"x":87,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1291":{"moveVertical":false,"moveHorizontal":true},"1292":{"submorphs":[],"scripts":[],"id":"5CAA6FEC-3B0C-454C-9D8E-4DFC33C68A90","shape":{"__isSmartRef__":true,"id":1293},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1299},"_MaxTextWidth":325,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1296},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text8","partsBinMetaInfo":{"__isSmartRef__":true,"id":1300},"textChunks":[{"__isSmartRef__":true,"id":1301}],"charsReplaced":"Publish Object in PartsBin","lastFindLoc":26,"priorSelectionRange":[0,36],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1303},"renderContextTable":{"__isSmartRef__":true,"id":1304},"eventHandler":{"__isSmartRef__":true,"id":1305},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1306},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":325,"_MinTextHeight":null,"previousSelection":[0,36],"distanceToDragEvent":{"__isSmartRef__":true,"id":1307},"owner":{"__isSmartRef__":true,"id":1209},"isLockOwner":false,"isBeingDragged":false,"derivationIds":[2895,"3AFBC971-95B4-48C4-888D-22FCBB742090","D0394F71-EBB2-452A-A71F-D172D5B1CAD6","79EDAC74-BD6B-42B1-BBBA-71B07578D1E0","C19A8344-D637-44B7-BB1F-FD0153E5A62B","9C41963E-088E-48CA-9CAA-572564F7CA69","F9411AD0-B890-4EA9-9222-209167943D0D","BF073247-EC88-4664-A2E2-A5E520CFD169","3C9640D6-8AED-4E2A-87F1-8F94D4E9F1B7","01AB4BED-5CFA-4FDE-9D09-535678684FC5","929E4D49-C1D6-4DB2-B2E9-562DE9C7861C","CF0E2CD7-7316-4423-80BC-485A9F57DDBD","62300CE2-71BF-4F7E-AC36-4D3DCEA754B5","4180FEEB-3566-4FAA-BF0A-0F21B049922B","A397C34C-C857-4CF3-8D36-F9C6A51978D7","BBDFAB6B-53A5-4C6F-BF60-3B29C30AECCF"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1293":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1294},"_Extent":{"__isSmartRef__":true,"id":1295},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1296},"renderContextTable":{"__isSmartRef__":true,"id":1297},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1298},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1294":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1295":{"x":325,"y":19,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1296":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1297":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1298":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1299":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1300":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1301":{"style":{"__isSmartRef__":true,"id":1302},"chunkOwner":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Upload part to the shared repository","__LivelyClassName__":"lively.morphic.TextChunk"},"1302":{"italics":"normal","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1303":{"x":325,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1304":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1305":{"morph":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1306":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1307":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1308":{"submorphs":[{"__isSmartRef__":true,"id":1309}],"scripts":[],"id":"357D174B-D94A-4D36-86EB-E35D33A25C40","shape":{"__isSmartRef__":true,"id":1324},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1328},"lighterFill":{"__isSmartRef__":true,"id":1340},"label":{"__isSmartRef__":true,"id":1309},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1349},"attributeConnections":[{"__isSmartRef__":true,"id":1350}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1386},"renderContextTable":{"__isSmartRef__":true,"id":1387},"eventHandler":{"__isSmartRef__":true,"id":1388},"distanceToDragEvent":{"__isSmartRef__":true,"id":1389},"_Position":{"__isSmartRef__":true,"id":1390},"owner":{"__isSmartRef__":true,"id":1209},"derivationIds":[2896,"40384C75-EF01-4AAD-AA1C-A7C19EDB6A0F","21376B8E-78CF-456D-87AA-4D62D86B16D2","E9336A59-C7BF-4C91-88B0-0D0477AA75AE","A5E21E04-05F3-4A15-AAFA-55946EEC5F80","28512033-1B92-4388-B125-1C3DCE6D560F","A7B2B1EE-CD9D-4B35-828A-8F1DE0A24BFC","2E2676E6-1ACE-478E-A54F-49E5754BF3B4","E0DE5483-F457-472E-825E-B6AF8056A1C9","EFBD20B8-E9F6-4777-AA08-A2DA3C8E3E70","D7EF09B6-7888-4F5B-BCEF-E68021A415D6","7FBF982F-F25A-45D8-922E-09822EAC94CE","CBC56727-1E95-4C35-9241-E2876D5B0481","EE9C4AEC-448E-4355-AE9B-D9C3C648F6B4","AAD76550-B8F6-48FF-B41F-B67FB753D845","741803B0-4054-48F3-823E-04D50A704085"],"layout":{"__isSmartRef__":true,"id":1391},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1309":{"submorphs":[],"scripts":[],"id":"56B3DC52-DD22-49DF-8E78-CFA5684E4A22","shape":{"__isSmartRef__":true,"id":1310},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1316},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1317},"_Padding":{"__isSmartRef__":true,"id":1318},"owner":{"__isSmartRef__":true,"id":1308},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1319},"textChunks":[{"__isSmartRef__":true,"id":1320}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1322},"eventHandler":{"__isSmartRef__":true,"id":1323},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"derivationIds":[2897,"92EB5E70-61BB-4A71-942C-A34A20789B2F","A9C9F9CF-1BAC-4074-A093-4EB0C3C90866","2FE50303-6361-4A70-9BD5-0D8D1C8B5176","D774C172-7EE9-40AE-9949-340BA8EDBD37","9B5186A1-2B8E-406C-B165-05F327435DC2","9D4948C2-2429-4333-8F3D-89BB96D33894","748160AD-0FF7-4E89-9BB5-486870332207","944E6E30-642C-448D-BBFE-03835C34628C","254F8208-565C-4C75-A5F5-00426CEB4B73","501AF004-4601-4260-8B81-C8F07DB46A9D","A8CA8FB2-5C27-4E5A-8EC1-6697FE1FF0DD","8517C0CE-CE66-435A-B522-21B2A78DFEE9","3CA33CEB-8ACD-4C69-A01F-254F6D1DA196","B1DA64A1-C447-44F0-8186-BB6E6E7DF3CB","E5464D79-8548-4E65-8C48-D9046F121681"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1310":{"position":{"__isSmartRef__":true,"id":1311},"_Extent":{"__isSmartRef__":true,"id":1312},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1313},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1314},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1315},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1311":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1312":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1313":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1314":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1315":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1316":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1317":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1318":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1319":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1320":{"style":{"__isSmartRef__":true,"id":1321},"chunkOwner":{"__isSmartRef__":true,"id":1309},"storedString":"cancel","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1321":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1322":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1323":{"morph":{"__isSmartRef__":true,"id":1309},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1324":{"position":{"__isSmartRef__":true,"id":1325},"_Extent":{"__isSmartRef__":true,"id":1326},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1327},"_Fill":{"__isSmartRef__":true,"id":1328},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1338},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1339},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1325":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1326":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1327":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1328":{"stops":[{"__isSmartRef__":true,"id":1329},{"__isSmartRef__":true,"id":1331},{"__isSmartRef__":true,"id":1333},{"__isSmartRef__":true,"id":1335}],"vector":{"__isSmartRef__":true,"id":1337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1329":{"offset":0,"color":{"__isSmartRef__":true,"id":1330}},"1330":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1331":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1332}},"1332":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1333":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1334}},"1334":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1335":{"offset":1,"color":{"__isSmartRef__":true,"id":1336}},"1336":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1337":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1338":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1339":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1340":{"stops":[{"__isSmartRef__":true,"id":1341},{"__isSmartRef__":true,"id":1343},{"__isSmartRef__":true,"id":1345},{"__isSmartRef__":true,"id":1347}],"vector":{"__isSmartRef__":true,"id":1337},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1341":{"offset":0,"color":{"__isSmartRef__":true,"id":1342}},"1342":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1343":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1344}},"1344":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1345":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1346}},"1346":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1347":{"offset":1,"color":{"__isSmartRef__":true,"id":1348}},"1348":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1349":{"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"},"1350":{"sourceObj":{"__isSmartRef__":true,"id":1308},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1209},"targetMethodName":"onCancel","visualConnector":{"__isSmartRef__":true,"id":1351},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1351":{"submorphs":[{"__isSmartRef__":true,"id":1352}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1367},"id":352,"renderContextTable":{"__isSmartRef__":true,"id":1374},"eventHandler":{"__isSmartRef__":true,"id":1375},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1376},{"__isSmartRef__":true,"id":1377}],"con":{"__isSmartRef__":true,"id":1350},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1378},"__LivelyClassName__":"lively.morphic.Path"},"1352":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1353},"id":353,"renderContextTable":{"__isSmartRef__":true,"id":1364},"eventHandler":{"__isSmartRef__":true,"id":1365},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1366},"owner":{"__isSmartRef__":true,"id":1351},"_Rotation":-2.716760490670451,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1353":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1355},{"__isSmartRef__":true,"id":1356},{"__isSmartRef__":true,"id":1357}],"renderContextTable":{"__isSmartRef__":true,"id":1358},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1359},"_Extent":{"__isSmartRef__":true,"id":1360},"_Padding":{"__isSmartRef__":true,"id":1361},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1362},"_Fill":{"__isSmartRef__":true,"id":1363},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1354":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1355":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1356":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1357":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1358":{"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"},"1359":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1360":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1361":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1362":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1363":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1364":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1365":{"morph":{"__isSmartRef__":true,"id":1352},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1366":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1367":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1368},{"__isSmartRef__":true,"id":1369}],"renderContextTable":{"__isSmartRef__":true,"id":1370},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1371},"_Extent":{"__isSmartRef__":true,"id":1372},"_Padding":{"__isSmartRef__":true,"id":1373},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1362},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1368":{"isAbsolute":true,"x":420,"y":190,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1369":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1370":{"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"},"1371":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1372":{"x":421,"y":191,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1373":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1374":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1375":{"morph":{"__isSmartRef__":true,"id":1351},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1376":{"morph":{"__isSmartRef__":true,"id":1351},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1377":{"morph":{"__isSmartRef__":true,"id":1351},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1352},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1378":{"morphMenuItems":{"__isSmartRef__":true,"id":1379}},"1379":{"varMapping":{"__isSmartRef__":true,"id":1380},"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 || '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, 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(), 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":1385},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1380":{"this":{"__isSmartRef__":true,"id":1351},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1381}},"1381":{"$super":{"__isSmartRef__":true,"id":1382}},"1382":{"varMapping":{"__isSmartRef__":true,"id":1383},"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":1384},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1383":{"obj":{"__isSmartRef__":true,"id":1351},"name":"morphMenuItems"},"1384":{},"1385":{},"1386":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1387":{"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"},"1388":{"morph":{"__isSmartRef__":true,"id":1308},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1389":{"x":77,"y":-5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1390":{"x":355,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1391":{"moveVertical":true,"moveHorizontal":true},"1392":{"submorphs":[{"__isSmartRef__":true,"id":1393}],"scripts":[],"id":"217E4F3F-E7DD-4362-9116-09A7A0A44452","shape":{"__isSmartRef__":true,"id":1408},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1424},"lighterFill":{"__isSmartRef__":true,"id":1412},"label":{"__isSmartRef__":true,"id":1393},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1433},"attributeConnections":[{"__isSmartRef__":true,"id":1434}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1469},"renderContextTable":{"__isSmartRef__":true,"id":1470},"eventHandler":{"__isSmartRef__":true,"id":1471},"distanceToDragEvent":{"__isSmartRef__":true,"id":1472},"_Position":{"__isSmartRef__":true,"id":1473},"owner":{"__isSmartRef__":true,"id":1209},"derivationIds":[2898,"9D27A522-4E3D-482F-97CF-3CA3247A3999","4EBF07AD-25C0-4034-BC06-31F137F70FA1","DC6D6B8E-37AE-4815-A81A-AC7071124A26","42DF6D49-8482-40A3-B901-512013BB5C75","0D3EB4E1-46E7-4B1E-8273-6432575F84B5","733427E4-0BB2-4FB7-917C-4A3D98C50589","001872CD-CE26-4A7A-AB1F-3EFF5AC6D6A3","2FFB821F-9334-4125-8541-31C21E305B78","A3635A2F-B9AE-4CAA-A07F-76E90A2AF718","ACE7DD81-434E-40D4-A12D-CB728F4CFA61","15D1D871-417C-444D-B7E7-4556C755A914","AEC9FEB8-505A-4D19-9C25-747D78D04F17","38C38B49-0343-41FA-BC14-2FAF64266DB0","55C4703F-8F22-4BB7-A09A-4186B8A404F2","6F234AFA-11CA-48C1-841A-536E5A48FE21"],"layout":{"__isSmartRef__":true,"id":1474},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1393":{"submorphs":[],"scripts":[],"id":"E0E8120E-07A2-4441-B108-E75BA4B54542","shape":{"__isSmartRef__":true,"id":1394},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1400},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1401},"_Padding":{"__isSmartRef__":true,"id":1402},"owner":{"__isSmartRef__":true,"id":1392},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1403},"textChunks":[{"__isSmartRef__":true,"id":1404}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1406},"eventHandler":{"__isSmartRef__":true,"id":1407},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"derivationIds":[2899,"4F00D1F5-B85C-479E-BDDE-322DF2F432A3","5E7BC7AC-9EF9-4CF5-9196-A542A26534CA","46616896-CA46-4B43-B694-9FB001B32989","F73D407C-A72D-414B-AB8D-1E28025BCA1C","C5B395F9-BF24-4FA7-87D3-03E9AE9C4E45","ECEC7694-EF15-4DE7-A847-9DB2D4B99B3C","AE0EC189-A810-44FB-948F-F8667AF67929","CC950242-2CF1-48D3-B3C3-EF03073D145F","181712FB-04E9-40DA-ABEF-E711AC15A136","08CA5C5C-AAE0-4E6D-BFA4-04C9735965CC","F06603E2-E026-4DB9-B64F-71C0F6BE4CAA","5F5EDDF1-7355-4EE9-8286-9B0FC87B4A34","79E77E86-9ABD-4417-A260-E0CAABA3925E","11030354-936E-4E5D-BEB5-643D96C0CE06","34136BAA-3143-44E9-AA72-B7030E66E400"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1394":{"position":{"__isSmartRef__":true,"id":1395},"_Extent":{"__isSmartRef__":true,"id":1396},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1397},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1398},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1399},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1395":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1396":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1397":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1398":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1399":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1400":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1401":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1402":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1403":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1404":{"style":{"__isSmartRef__":true,"id":1405},"chunkOwner":{"__isSmartRef__":true,"id":1393},"storedString":"publish","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1405":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1406":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1407":{"morph":{"__isSmartRef__":true,"id":1393},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1408":{"position":{"__isSmartRef__":true,"id":1409},"_Extent":{"__isSmartRef__":true,"id":1410},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1411},"_Fill":{"__isSmartRef__":true,"id":1412},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1422},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1423},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1409":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1410":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1411":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1412":{"stops":[{"__isSmartRef__":true,"id":1413},{"__isSmartRef__":true,"id":1415},{"__isSmartRef__":true,"id":1417},{"__isSmartRef__":true,"id":1419}],"vector":{"__isSmartRef__":true,"id":1421},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1413":{"offset":0,"color":{"__isSmartRef__":true,"id":1414}},"1414":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1415":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1416}},"1416":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1417":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1418}},"1418":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1419":{"offset":1,"color":{"__isSmartRef__":true,"id":1420}},"1420":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1421":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1422":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1423":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1424":{"stops":[{"__isSmartRef__":true,"id":1425},{"__isSmartRef__":true,"id":1427},{"__isSmartRef__":true,"id":1429},{"__isSmartRef__":true,"id":1431}],"vector":{"__isSmartRef__":true,"id":1421},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1425":{"offset":0,"color":{"__isSmartRef__":true,"id":1426}},"1426":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1427":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1428}},"1428":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1429":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1430}},"1430":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1431":{"offset":1,"color":{"__isSmartRef__":true,"id":1432}},"1432":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1433":{"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"},"1434":{"sourceObj":{"__isSmartRef__":true,"id":1392},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1209},"targetMethodName":"onPublish","visualConnector":{"__isSmartRef__":true,"id":1435},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1435":{"submorphs":[{"__isSmartRef__":true,"id":1436}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1450},"id":139,"renderContextTable":{"__isSmartRef__":true,"id":1457},"eventHandler":{"__isSmartRef__":true,"id":1458},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1459},{"__isSmartRef__":true,"id":1460}],"con":{"__isSmartRef__":true,"id":1434},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1461},"__LivelyClassName__":"lively.morphic.Path"},"1436":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1437},"id":140,"renderContextTable":{"__isSmartRef__":true,"id":1447},"eventHandler":{"__isSmartRef__":true,"id":1448},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1449},"owner":{"__isSmartRef__":true,"id":1435},"_Rotation":-2.5917394709132084,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1437":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1439},{"__isSmartRef__":true,"id":1440},{"__isSmartRef__":true,"id":1441}],"renderContextTable":{"__isSmartRef__":true,"id":1442},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1443},"_Extent":{"__isSmartRef__":true,"id":1444},"_Padding":{"__isSmartRef__":true,"id":1445},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1362},"_Fill":{"__isSmartRef__":true,"id":1446},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1438":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1439":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1440":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1441":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1442":{"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"},"1443":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1444":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1445":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1446":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1447":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1448":{"morph":{"__isSmartRef__":true,"id":1436},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1449":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1450":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1451},{"__isSmartRef__":true,"id":1452}],"renderContextTable":{"__isSmartRef__":true,"id":1453},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1454},"_Extent":{"__isSmartRef__":true,"id":1455},"_Padding":{"__isSmartRef__":true,"id":1456},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1362},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1451":{"isAbsolute":true,"x":310,"y":190,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1452":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1453":{"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"},"1454":{"x":-0.5,"y":-0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1455":{"x":311,"y":191,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1456":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1457":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1458":{"morph":{"__isSmartRef__":true,"id":1435},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1459":{"morph":{"__isSmartRef__":true,"id":1435},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1460":{"morph":{"__isSmartRef__":true,"id":1435},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1436},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1461":{"morphMenuItems":{"__isSmartRef__":true,"id":1462}},"1462":{"varMapping":{"__isSmartRef__":true,"id":1463},"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 || '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, 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(), 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":1468},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1463":{"this":{"__isSmartRef__":true,"id":1435},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1464}},"1464":{"$super":{"__isSmartRef__":true,"id":1465}},"1465":{"varMapping":{"__isSmartRef__":true,"id":1466},"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":1467},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1466":{"obj":{"__isSmartRef__":true,"id":1435},"name":"morphMenuItems"},"1467":{},"1468":{},"1469":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1470":{"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"},"1471":{"morph":{"__isSmartRef__":true,"id":1392},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1472":{"x":62,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1473":{"x":245,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1474":{"moveVertical":true,"moveHorizontal":true},"1475":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1476},"id":"55DCC8BD-3ED6-44E7-98A4-A8F7A3FFFE8C","renderContextTable":{"__isSmartRef__":true,"id":1483},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1484}],"eventHandler":{"__isSmartRef__":true,"id":1486},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1487},"priorExtent":{"__isSmartRef__":true,"id":1488},"_MaxTextWidth":445,"_MinTextWidth":445,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"name":"CommentText","distanceToDragEvent":{"__isSmartRef__":true,"id":1489},"previousSelection":[0,46],"priorSelectionRange":[0,0],"charsReplaced":"CommitMessageTest1","lastFindLoc":18,"isLockOwner":false,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":1209},"derivationIds":[2900,"7E82C349-9FC9-48B5-B84C-30E99FC40DF2","A07EAFD3-B03B-4E4C-BC72-FB29F65F543A","888FB55C-0365-4B40-A9B4-33FD19FA1E91","37AE3F7E-8AF9-413E-BDB9-796C3CE0C0A6","C19CF401-2869-429B-8C7E-3679F2C07B10","16D31632-3C1B-4388-9753-E178F4D74EC3","CE8B7F8B-0B5D-4A03-AFA0-CB5E4A9EE815","A0B7AE1E-340F-4786-A906-37B5D92B955E","6FB3DD7F-E27E-4C14-B6A7-87EE557243E3","8C9DC597-8FB3-409F-9F92-43E22D1EE113","96E19549-1C58-47D1-AABB-06F24696272A","20261F28-5D7A-4D9C-9F1F-79FC901C5E5F","9596C6D2-BEBD-47B3-B8A0-CD4AEBEF927D","420AC273-AA29-49EC-A1C7-C0E272006666","5D4C09DA-AAFB-4330-8646-23901C1FDB84"],"savedTextString":"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!","layout":{"__isSmartRef__":true,"id":1490},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1476":{"_Position":{"__isSmartRef__":true,"id":1477},"renderContextTable":{"__isSmartRef__":true,"id":1478},"_Extent":{"__isSmartRef__":true,"id":1479},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1480},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1481},"_Fill":{"__isSmartRef__":true,"id":1482},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1477":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1478":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1479":{"x":455,"y":120,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1480":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1481":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1482":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1483":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1484":{"style":{"__isSmartRef__":true,"id":1485},"chunkOwner":{"__isSmartRef__":true,"id":1475},"storedString":"A simple text attribute panel","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1485":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1486":{"morph":{"__isSmartRef__":true,"id":1475},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1487":{"x":10,"y":110,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1488":{"x":455,"y":120,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1489":{"x":346,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1490":{"resizeWidth":true},"1491":{"submorphs":[],"scripts":[],"id":"177777D5-A25C-4649-8A6C-A24298C3DC41","shape":{"__isSmartRef__":true,"id":1492},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1498},"_MaxTextWidth":250,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1495},"showsHalos":false,"_FontSize":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text9","partsBinMetaInfo":{"__isSmartRef__":true,"id":1499},"textChunks":[{"__isSmartRef__":true,"id":1500}],"charsReplaced":"commit message","lastFindLoc":14,"priorSelectionRange":[0,14],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1502},"renderContextTable":{"__isSmartRef__":true,"id":1503},"eventHandler":{"__isSmartRef__":true,"id":1504},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":1505},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":250,"_MinTextHeight":null,"previousSelection":[0,6],"distanceToDragEvent":{"__isSmartRef__":true,"id":1506},"isLockOwner":false,"owner":{"__isSmartRef__":true,"id":1209},"derivationIds":[2901,"8E267E15-1052-4F9C-B863-B733384EF1DA","851C46B4-347F-4AE4-9C04-C321E7CC8EA5","D33CE057-77D6-4CCC-90F9-867C622B3572","F9BFA4FE-D786-4384-B9F8-89EEA1D41685","95D3D9C3-CA8D-42A5-833B-30E01D630A4A","9FC24DFC-050E-423E-A017-2D5704509876","1EF71F38-5BCB-4C26-AB60-E2105330181C","7D191F0F-E475-47CF-BABE-55A543C7158D","F6ACFDD6-981C-4170-82C4-1AA9C3090741","092A05B9-0347-411B-8E2A-89272FF7A531","ABE15D91-8819-412F-9FAA-FC6A2F8AD14A","1F266812-1C31-4C6F-9676-B9E59DEA4864","F99A2F51-81DC-4D7F-93A2-84EFBFBC119F","7C9D55B3-6BFC-4DE2-B574-F4A3A11ECF00","08ABC4D8-386F-404A-AB0C-E90DC2E84DC0"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1492":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1493},"_Extent":{"__isSmartRef__":true,"id":1494},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1495},"renderContextTable":{"__isSmartRef__":true,"id":1496},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1493":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1494":{"x":250,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1495":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1498":{"x":10,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1499":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1500":{"style":{"__isSmartRef__":true,"id":1501},"morph":{"__isSmartRef__":true,"id":1491},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1491},"storedString":"comment","__LivelyClassName__":"lively.morphic.TextChunk"},"1501":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1502":{"x":250,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1503":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1504":{"morph":{"__isSmartRef__":true,"id":1491},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1505":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1506":{"x":163,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1507":{"submorphs":[{"__isSmartRef__":true,"id":1508}],"scripts":[],"id":"DDB0F7DA-C631-40BA-A420-B525C6BA783A","shape":{"__isSmartRef__":true,"id":1523},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1527},"lighterFill":{"__isSmartRef__":true,"id":1539},"label":{"__isSmartRef__":true,"id":1508},"name":"DiffButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1548},"attributeConnections":[{"__isSmartRef__":true,"id":1549}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1551},"renderContextTable":{"__isSmartRef__":true,"id":1552},"eventHandler":{"__isSmartRef__":true,"id":1553},"distanceToDragEvent":{"__isSmartRef__":true,"id":1554},"_Position":{"__isSmartRef__":true,"id":1555},"derivationIds":[2898,"9D27A522-4E3D-482F-97CF-3CA3247A3999","4EBF07AD-25C0-4034-BC06-31F137F70FA1","DC6D6B8E-37AE-4815-A81A-AC7071124A26","42DF6D49-8482-40A3-B901-512013BB5C75","132901B3-F9F2-482D-99E6-40EAECDCEF13","7BC760E1-232D-4654-8D89-3E2AF9B63E8A","10CF8C2D-EC10-4718-9BB8-A4D765C25CA2","E1457927-6D7F-4C43-A0D3-4606E937C36C","B2BCD5A8-36BB-4202-B2F1-480CA22D151C","16C66256-7472-4B33-A3FC-D41E1123E484","9D6EC181-02A4-4AA3-9511-97B61299072E","514B5C5C-2E93-4CD5-913F-C4210C8D3803","A4836A2F-5B4D-4F0C-BA65-6DF7DB4D4262","DD94CDA9-6F9F-4B4F-9D75-C57314BFD093","AB91D3DA-E1FA-400A-813B-C9670264E72F","9E97E660-33C2-4D79-9407-0794A939EBC2"],"owner":{"__isSmartRef__":true,"id":1209},"layout":{"__isSmartRef__":true,"id":1556},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"1508":{"submorphs":[],"scripts":[],"id":"90FAEE21-4083-4948-B907-170466661A4B","shape":{"__isSmartRef__":true,"id":1509},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1515},"_MaxTextWidth":150,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1516},"_Padding":{"__isSmartRef__":true,"id":1517},"owner":{"__isSmartRef__":true,"id":1507},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1518},"textChunks":[{"__isSmartRef__":true,"id":1519}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1521},"eventHandler":{"__isSmartRef__":true,"id":1522},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":150,"_MinTextHeight":null,"derivationIds":[2899,"4F00D1F5-B85C-479E-BDDE-322DF2F432A3","5E7BC7AC-9EF9-4CF5-9196-A542A26534CA","46616896-CA46-4B43-B694-9FB001B32989","F73D407C-A72D-414B-AB8D-1E28025BCA1C","E34F55EC-06D3-4965-A0D2-625CA896E3B7","2C75B823-DD52-427F-A501-B824B4C4AFFF","B4D1CBE5-9DEA-4728-8803-CCD541086497","6E0FBCF8-EAA4-4635-A092-F3A690EE9EF7","89A9C61E-62E5-4DC5-9ABB-48A97517BF54","7481FBBB-A4A7-4F5E-A153-60033229DE49","FEBD2158-DF74-4EDF-BD2A-2C5A19DDF177","129B298F-732B-46E2-AB44-60B8E8AC2378","92CFB2AD-D63D-4DD7-A729-6D0962A7C5FC","BC6FB6FB-EF63-4C39-9668-0462E42556C2","8BE2159A-9EB3-44EC-8BAD-0CF297F58645","D81DC308-8273-4F17-A7C0-849953D6454B"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1509":{"position":{"__isSmartRef__":true,"id":1510},"_Extent":{"__isSmartRef__":true,"id":1511},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1512},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1513},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1514},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1510":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1511":{"x":150,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1512":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1513":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1514":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1515":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1516":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1517":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1518":{"x":150,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1519":{"style":{"__isSmartRef__":true,"id":1520},"chunkOwner":{"__isSmartRef__":true,"id":1508},"storedString":"check for updates","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1520":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1521":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1522":{"morph":{"__isSmartRef__":true,"id":1508},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1523":{"position":{"__isSmartRef__":true,"id":1524},"_Extent":{"__isSmartRef__":true,"id":1525},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1526},"_Fill":{"__isSmartRef__":true,"id":1527},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1537},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1538},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1524":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1525":{"x":150,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1526":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1527":{"stops":[{"__isSmartRef__":true,"id":1528},{"__isSmartRef__":true,"id":1530},{"__isSmartRef__":true,"id":1532},{"__isSmartRef__":true,"id":1534}],"vector":{"__isSmartRef__":true,"id":1536},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1528":{"offset":0,"color":{"__isSmartRef__":true,"id":1529}},"1529":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1530":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1531}},"1531":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1532":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1533}},"1533":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1534":{"offset":1,"color":{"__isSmartRef__":true,"id":1535}},"1535":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1536":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1537":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1538":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1539":{"stops":[{"__isSmartRef__":true,"id":1540},{"__isSmartRef__":true,"id":1542},{"__isSmartRef__":true,"id":1544},{"__isSmartRef__":true,"id":1546}],"vector":{"__isSmartRef__":true,"id":1536},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1540":{"offset":0,"color":{"__isSmartRef__":true,"id":1541}},"1541":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1542":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1543}},"1543":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1544":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1545}},"1545":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1546":{"offset":1,"color":{"__isSmartRef__":true,"id":1547}},"1547":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1548":{"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"},"1549":{"sourceObj":{"__isSmartRef__":true,"id":1507},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1209},"targetMethodName":"checkForUpdates","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1550},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1550":{"source":{"__isSmartRef__":true,"id":1507},"target":{"__isSmartRef__":true,"id":1209}},"1551":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1552":{"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"},"1553":{"morph":{"__isSmartRef__":true,"id":1507},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1554":{"x":69.5,"y":-18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1555":{"x":10,"y":378,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1556":{"moveVertical":true},"1557":{"_Position":{"__isSmartRef__":true,"id":1558},"renderContextTable":{"__isSmartRef__":true,"id":1559},"_Extent":{"__isSmartRef__":true,"id":1560},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1561},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1562},"_Fill":{"__isSmartRef__":true,"id":1563},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1558":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1559":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1560":{"x":479,"y":415,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1561":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1562":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1563":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1564":{"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"},"1565":{"morph":{"__isSmartRef__":true,"id":1209},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1566":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1567":{"message":"Please enter a name for the part","attributeConnections":[{"__isSmartRef__":true,"id":1568}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"CommitMessageTest1","panel":{"__isSmartRef__":true,"id":1209},"label":{"__isSmartRef__":true,"id":1569},"cancelButton":{"__isSmartRef__":true,"id":1581},"okButton":{"__isSmartRef__":true,"id":1627},"inputText":{"__isSmartRef__":true,"id":1210},"view":{"__isSmartRef__":true,"id":1209},"__SourceModuleName__":"Global.lively.morphic.Widgets","result":"CommitMessageTest1","__LivelyClassName__":"lively.morphic.PromptDialog"},"1568":{"sourceObj":{"__isSmartRef__":true,"id":1567},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":1567},"targetMethodName":"triggerCallback","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1569":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1570},"id":3220,"renderContextTable":{"__isSmartRef__":true,"id":1575},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1576}],"eventHandler":{"__isSmartRef__":true,"id":1578},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1579},"priorExtent":{"__isSmartRef__":true,"id":1580},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.Text"},"1570":{"_Position":{"__isSmartRef__":true,"id":1571},"renderContextTable":{"__isSmartRef__":true,"id":1572},"_Extent":{"__isSmartRef__":true,"id":1573},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1215},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1216},"_Fill":{"__isSmartRef__":true,"id":1574},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1571":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1572":{"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"},"1573":{"x":226,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1574":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1575":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1576":{"style":{"__isSmartRef__":true,"id":1577},"chunkOwner":{"__isSmartRef__":true,"id":1569},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1577":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1578":{"morph":{"__isSmartRef__":true,"id":1569},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1579":{"x":4,"y":4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1580":{"x":226,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1581":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1582},"id":6793,"renderContextTable":{"__isSmartRef__":true,"id":1598},"eventHandler":{"__isSmartRef__":true,"id":1599},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1600},"priorExtent":{"__isSmartRef__":true,"id":1601},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1588},"lighterFill":{"__isSmartRef__":true,"id":1602},"label":{"__isSmartRef__":true,"id":1611},"layout":{"__isSmartRef__":true,"id":1623},"owner":null,"attributeConnections":[{"__isSmartRef__":true,"id":1624},{"__isSmartRef__":true,"id":1625}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","isCopyMorphRef":true,"morphRefId":1,"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Button"},"1582":{"_Position":{"__isSmartRef__":true,"id":1583},"renderContextTable":{"__isSmartRef__":true,"id":1584},"_Extent":{"__isSmartRef__":true,"id":1585},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1586},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1587},"_Fill":{"__isSmartRef__":true,"id":1588},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1583":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1584":{"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"},"1585":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1586":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1587":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1588":{"stops":[{"__isSmartRef__":true,"id":1589},{"__isSmartRef__":true,"id":1591},{"__isSmartRef__":true,"id":1593},{"__isSmartRef__":true,"id":1595}],"vector":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1589":{"offset":0,"color":{"__isSmartRef__":true,"id":1590}},"1590":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1591":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1592}},"1592":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1593":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1594}},"1594":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1595":{"offset":1,"color":{"__isSmartRef__":true,"id":1596}},"1596":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1597":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1598":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1599":{"morph":{"__isSmartRef__":true,"id":1581},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1600":{"x":478,"y":187,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1601":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1602":{"stops":[{"__isSmartRef__":true,"id":1603},{"__isSmartRef__":true,"id":1605},{"__isSmartRef__":true,"id":1607},{"__isSmartRef__":true,"id":1609}],"vector":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1603":{"offset":0,"color":{"__isSmartRef__":true,"id":1604}},"1604":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1605":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1606}},"1606":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1607":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1608}},"1608":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1609":{"offset":1,"color":{"__isSmartRef__":true,"id":1610}},"1610":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1611":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1612},"id":6794,"renderContextTable":{"__isSmartRef__":true,"id":1617},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1618}],"eventHandler":{"__isSmartRef__":true,"id":1620},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1621},"priorExtent":{"__isSmartRef__":true,"id":1622},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"1612":{"_Position":{"__isSmartRef__":true,"id":1613},"renderContextTable":{"__isSmartRef__":true,"id":1614},"_Extent":{"__isSmartRef__":true,"id":1615},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1616},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1216},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1613":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1614":{"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"},"1615":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1616":{"x":0,"y":6,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1617":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1618":{"style":{"__isSmartRef__":true,"id":1619},"chunkOwner":{"__isSmartRef__":true,"id":1611},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1619":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1620":{"morph":{"__isSmartRef__":true,"id":1611},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1621":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1622":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1623":{"moveVertical":true,"moveHorizontal":true},"1624":{"sourceObj":{"__isSmartRef__":true,"id":1581},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1567},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1625":{"sourceObj":{"__isSmartRef__":true,"id":1581},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1567},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1626},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1626":{"source":{"__isSmartRef__":true,"id":1581},"target":{"__isSmartRef__":true,"id":1567}},"1627":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1628},"id":6795,"renderContextTable":{"__isSmartRef__":true,"id":1633},"eventHandler":{"__isSmartRef__":true,"id":1634},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1635},"priorExtent":{"__isSmartRef__":true,"id":1636},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1588},"lighterFill":{"__isSmartRef__":true,"id":1637},"label":{"__isSmartRef__":true,"id":1646},"layout":{"__isSmartRef__":true,"id":1658},"owner":null,"attributeConnections":[{"__isSmartRef__":true,"id":1659},{"__isSmartRef__":true,"id":1660}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","isCopyMorphRef":true,"morphRefId":2,"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Button"},"1628":{"_Position":{"__isSmartRef__":true,"id":1629},"renderContextTable":{"__isSmartRef__":true,"id":1630},"_Extent":{"__isSmartRef__":true,"id":1631},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1632},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1587},"_Fill":{"__isSmartRef__":true,"id":1588},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1629":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1630":{"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"},"1631":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1632":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1633":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1634":{"morph":{"__isSmartRef__":true,"id":1627},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1635":{"x":414,"y":187,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1636":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1637":{"stops":[{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1640},{"__isSmartRef__":true,"id":1642},{"__isSmartRef__":true,"id":1644}],"vector":{"__isSmartRef__":true,"id":1597},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1638":{"offset":0,"color":{"__isSmartRef__":true,"id":1639}},"1639":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1640":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1641}},"1641":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1642":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1643}},"1643":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1644":{"offset":1,"color":{"__isSmartRef__":true,"id":1645}},"1645":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1646":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1647},"id":6796,"renderContextTable":{"__isSmartRef__":true,"id":1652},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1653}],"eventHandler":{"__isSmartRef__":true,"id":1655},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1656},"priorExtent":{"__isSmartRef__":true,"id":1657},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"1647":{"_Position":{"__isSmartRef__":true,"id":1648},"renderContextTable":{"__isSmartRef__":true,"id":1649},"_Extent":{"__isSmartRef__":true,"id":1650},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1651},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1216},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1648":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1649":{"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"},"1650":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1651":{"x":0,"y":6,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1652":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1653":{"style":{"__isSmartRef__":true,"id":1654},"chunkOwner":{"__isSmartRef__":true,"id":1646},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1654":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1655":{"morph":{"__isSmartRef__":true,"id":1646},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1656":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1657":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1658":{"moveVertical":true,"moveHorizontal":true},"1659":{"sourceObj":{"__isSmartRef__":true,"id":1627},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1567},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1660":{"sourceObj":{"__isSmartRef__":true,"id":1627},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1210},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1661":{"x":479,"y":415,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1662":{"x":365,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1663":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1664":{"submorphs":[{"__isSmartRef__":true,"id":1665},{"__isSmartRef__":true,"id":1209},{"__isSmartRef__":true,"id":1815}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1869},"id":"3BC67352-7624-4C28-AA15-A16E84DC03DC","renderContextTable":{"__isSmartRef__":true,"id":1873},"eventHandler":{"__isSmartRef__":true,"id":1874},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":1875},"LK2":true,"priorExtent":{"__isSmartRef__":true,"id":1876},"targetMorph":{"__isSmartRef__":true,"id":1209},"titleBar":{"__isSmartRef__":true,"id":1665},"contentOffset":{"__isSmartRef__":true,"id":1877},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":1878},"isBeingDragged":false,"showsHalos":false,"name":"PublishPartDialog","partsBinMetaInfo":{"__isSmartRef__":true,"id":1879},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[{"__isSmartRef__":true,"id":1900}],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"_Position":{"__isSmartRef__":true,"id":1901},"isCopyMorphRef":true,"morphRefId":12,"derivationIds":[2879,"91414FD8-3775-435F-96A6-39E0CB891CD7","9CB574CD-94E3-465A-B85C-91F97E070BC3","C9D390C2-399F-44AF-A316-A4A117E5F7B6","0A0B9181-A04D-441B-944F-585ED335E81B","DEDFDD48-51F2-4C04-9681-6B64D465BE14","FD496905-E054-4BF1-B162-EB0F08C1C829","7A7DC0E8-6CA2-49DC-A660-7E873F834AB2","401B15D2-9AFF-4843-85A2-16186AFFDFD4","D4692AD1-A7CA-4F57-A55F-B485279A8B90","DDF6DDB6-572F-4DC7-911A-4F7E5F310189","41BEABE5-C184-4F59-93F1-139F711489DC","43B559FD-8DA9-41DE-91F3-B4DDD6788A58","C6E534FD-BA26-4A2F-987E-2254EB4D1D7B","7F7C3464-9B3C-4C47-B577-D69567B5AD63","BD18ABC3-C773-4121-B919-8E27D8B9E0A4"],"moved":true,"minExtent":{"__isSmartRef__":true,"id":1902},"headRevision":147095,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1665":{"submorphs":[{"__isSmartRef__":true,"id":1666},{"__isSmartRef__":true,"id":1680},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1762}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1798},"id":"3E827BE3-4FE2-4888-994D-7ED8FBDE6038","renderContextTable":{"__isSmartRef__":true,"id":1810},"eventHandler":{"__isSmartRef__":true,"id":1811},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1812},"_Position":{"__isSmartRef__":true,"id":1813},"windowMorph":{"__isSmartRef__":true,"id":1664},"label":{"__isSmartRef__":true,"id":1666},"closeButton":{"__isSmartRef__":true,"id":1680},"menuButton":{"__isSmartRef__":true,"id":1727},"collapseButton":{"__isSmartRef__":true,"id":1762},"priorExtent":{"__isSmartRef__":true,"id":1814},"owner":{"__isSmartRef__":true,"id":1664},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2880,"108B5871-F6C8-4442-82D1-F8776D2C85A2","503529CB-0F23-4456-8597-CD5E86CF03F0","4FB4914E-E245-4D67-BE3B-63091E2C8C95","B69B0DCD-8CC6-4A06-B738-A12B5269CD7D","6D1BAF1C-9402-44ED-A26B-9B74CF07DF60","B4808FFA-4EA4-43B1-A7FC-0BEF063FC467","C49A9265-2632-4101-BEB3-C57320C2187A","0E3215D4-8AAB-4F52-8AD0-FC2EEC395A9A","0B36C705-2DB1-4ECE-8E5D-164334FB519B","305AE4E8-ADC7-4C81-BF54-3C180FEF414F","D1F1142B-FB6A-475C-8903-13CCF46FCD5D","5C6E462F-7D1A-4876-8D43-4374443981CD","88DEBD44-6D08-4854-9CA8-A147B160BDAB","4BF8EFA1-572E-4713-A755-97054D0EF029","1EEB7A79-5546-44ED-929C-FA7B2F3352E9"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.TitleBar"},"1666":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1667},"id":"D8971BF5-F2B8-4157-A94B-51ED15CE9997","renderContextTable":{"__isSmartRef__":true,"id":1673},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1674}],"eventHandler":{"__isSmartRef__":true,"id":1676},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1677},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1665},"priorExtent":{"__isSmartRef__":true,"id":1678},"_MaxTextWidth":420,"_MinTextWidth":420,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1679},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2881,"A06A709C-AD42-48D0-A66A-9C21EA4F4E66","EE1A345D-476E-4E22-BE89-E59A0C11001B","90634CE5-77D0-4064-961C-4CBADE59C6F8","C26670E3-5765-406B-972F-888FD1EAF967","E252D4C8-705A-4A40-B4E8-3638444DBAC4","89C11EA9-F897-4A67-9CDD-A79FAF7B04F1","1D2D6235-8732-4E39-829D-8C599DE39537","4819892D-6CED-4387-A505-50ADEC598F02","63A7D46C-A16B-464D-9315-8AD0CFC0FD20","CA96C77F-AAE5-4A7A-9D8A-F4B2DFC9148D","A1B3FB84-D9F7-45FA-9D28-FFDF2664D5BE","DA408E78-CC3F-4430-9268-6C9365622D04","960BDC3B-D0CF-4613-8E6B-5F26D733BD89","7F5621B0-5A9D-4812-9108-85C0997AEE3F","4D639952-4608-44C7-A1CC-73DE757149C9"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1667":{"_Position":{"__isSmartRef__":true,"id":1668},"renderContextTable":{"__isSmartRef__":true,"id":1669},"_Extent":{"__isSmartRef__":true,"id":1670},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1671},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1672},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1668":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1669":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1670":{"x":420,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1671":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1672":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1673":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1674":{"style":{"__isSmartRef__":true,"id":1675},"chunkOwner":{"__isSmartRef__":true,"id":1666},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Publish in PartsBin","__LivelyClassName__":"lively.morphic.TextChunk"},"1675":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1676":{"morph":{"__isSmartRef__":true,"id":1666},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1677":{"resizeWidth":true},"1678":{"x":420,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1679":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1680":{"submorphs":[{"__isSmartRef__":true,"id":1681}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1693},"id":"65BBE17C-CD33-4BA1-B20A-645814E19942","renderContextTable":{"__isSmartRef__":true,"id":1709},"eventHandler":{"__isSmartRef__":true,"id":1710},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1711},"priorExtent":{"__isSmartRef__":true,"id":1712},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1699},"lighterFill":{"__isSmartRef__":true,"id":1713},"label":{"__isSmartRef__":true,"id":1681},"owner":{"__isSmartRef__":true,"id":1665},"layout":{"__isSmartRef__":true,"id":1722},"attributeConnections":[{"__isSmartRef__":true,"id":1723},{"__isSmartRef__":true,"id":1725}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[2882,"6FF08B49-B1B5-4E12-8CE8-DF895115627D","7F48C6F9-BB0C-405E-991B-410F179F7FE6","8405D63F-4E07-4FE8-9008-DD8AE000B5C8","D81DD158-CA4D-44A9-B0A6-3FD7DF7EFD68","B32CD4CF-CE28-40AB-8F9E-23E12B00C595","581848BC-C01C-443F-B6AD-4A61CE8EB72E","62393865-D1D9-40DE-B048-1249932ECD31","8FB8E2BF-E816-4D6F-8E57-4D1FEAB65258","BE49E07E-D7F5-4EB9-9CED-C5857E3E2E05","8400BD9B-C243-4480-8B72-9881692A9AC4","67A14C8D-9131-4F19-9649-DF83E2220076","2B1EAF02-F491-4C0D-90C4-D0D118EF409B","473E46FF-11E0-4875-80B6-8EE5D321E59F","D1DA13CC-5998-4C2D-803A-094CC9251276","A95DD13F-8C05-4E35-9C89-5BBF4C0D1C71"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1681":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1682},"id":"0CE40E45-C4B2-49DE-B0BE-09C0DBE3DAFD","renderContextTable":{"__isSmartRef__":true,"id":1687},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1688}],"eventHandler":{"__isSmartRef__":true,"id":1690},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1691},"priorExtent":{"__isSmartRef__":true,"id":1692},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1680},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2883,"9FBA502B-65B1-4FF2-A0A6-9951E3C50B9C","9F297DAE-65AA-45A3-AFAE-BD35F359E24A","75386CDF-09C9-47F2-8762-F737A49FD645","C43A7038-D61D-47C7-BFA8-8C8A77627643","5BF20970-1750-47F6-8D9D-E7A798428D52","74925934-1F3C-432E-BBD6-02C666263ED7","C4BDF6D3-0621-4923-A192-E4488E7679D1","376C89CF-A021-4CA6-A6AC-47177BFB2062","878C6C67-6B17-432C-B06E-FBBC1FDADE0D","D49A7E68-DC41-42E3-8DC4-073D080B4548","557AD9C4-D5B4-49A0-9508-53CA902EA479","10DA2DAE-51E0-4668-905A-C95891803AE7","FE63ADA2-09D3-415B-90BE-D2B42D51C838","B351C8F1-0939-47C8-8017-69AB7EAE3CFF","C397207D-9190-4230-96BF-6A91C483ED49"],"showsHalos":false,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1682":{"_Position":{"__isSmartRef__":true,"id":1683},"renderContextTable":{"__isSmartRef__":true,"id":1684},"_Extent":{"__isSmartRef__":true,"id":1685},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1686},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1672},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1683":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1684":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1685":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1686":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1687":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1688":{"style":{"__isSmartRef__":true,"id":1689},"chunkOwner":{"__isSmartRef__":true,"id":1681},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1689":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1690":{"morph":{"__isSmartRef__":true,"id":1681},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1691":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1692":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1693":{"_Position":{"__isSmartRef__":true,"id":1694},"renderContextTable":{"__isSmartRef__":true,"id":1695},"_Extent":{"__isSmartRef__":true,"id":1696},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1697},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1698},"_Fill":{"__isSmartRef__":true,"id":1699},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1694":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1695":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1696":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1697":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1698":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1699":{"stops":[{"__isSmartRef__":true,"id":1700},{"__isSmartRef__":true,"id":1702},{"__isSmartRef__":true,"id":1704},{"__isSmartRef__":true,"id":1706}],"vector":{"__isSmartRef__":true,"id":1708},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1700":{"offset":0,"color":{"__isSmartRef__":true,"id":1701}},"1701":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1702":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1703}},"1703":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1704":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1705}},"1705":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1706":{"offset":1,"color":{"__isSmartRef__":true,"id":1707}},"1707":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1708":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1709":{"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"},"1710":{"morph":{"__isSmartRef__":true,"id":1680},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1711":{"x":459,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1712":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1713":{"stops":[{"__isSmartRef__":true,"id":1714},{"__isSmartRef__":true,"id":1716},{"__isSmartRef__":true,"id":1718},{"__isSmartRef__":true,"id":1720}],"vector":{"__isSmartRef__":true,"id":1708},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1714":{"offset":0,"color":{"__isSmartRef__":true,"id":1715}},"1715":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1716":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1717}},"1717":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1718":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1719}},"1719":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1720":{"offset":1,"color":{"__isSmartRef__":true,"id":1721}},"1721":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1722":{"moveHorizontal":true},"1723":{"sourceObj":{"__isSmartRef__":true,"id":1680},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1724},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1724":{"source":{"__isSmartRef__":true,"id":1680},"target":{"__isSmartRef__":true,"id":1664}},"1725":{"sourceObj":{"__isSmartRef__":true,"id":1680},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1726},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1726":{"source":{"__isSmartRef__":true,"id":1680},"target":{"__isSmartRef__":true,"id":1664}},"1727":{"submorphs":[{"__isSmartRef__":true,"id":1728}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1740},"id":"F02F24FA-4FA3-430E-BF8B-1A9123A64C22","renderContextTable":{"__isSmartRef__":true,"id":1745},"eventHandler":{"__isSmartRef__":true,"id":1746},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1747},"priorExtent":{"__isSmartRef__":true,"id":1748},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1699},"lighterFill":{"__isSmartRef__":true,"id":1749},"label":{"__isSmartRef__":true,"id":1728},"owner":{"__isSmartRef__":true,"id":1665},"attributeConnections":[{"__isSmartRef__":true,"id":1758},{"__isSmartRef__":true,"id":1760}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2884,"64F20257-1A1D-4B3E-97C4-BC5D1F1E14B5","A377FFCE-0FDC-41B6-BD34-D9F0507B57DA","7334352E-B497-4F10-8C06-FBE36AA778C7","E8269870-961E-49ED-ACE6-3CB90CD1937A","3182A6E6-F492-4D7F-B240-55DC62E7DDF9","5983668D-3862-4DE4-8C9C-57903C2FF112","7EA72C52-A5FE-49D7-B644-F1CF1E948B7A","378BCE5E-C14D-460C-B7E5-BA2B832168F0","3C395E36-6E1E-4715-AE14-CBAB23875359","3A64C38B-ACDD-4EE3-9CB8-1CF3F5338FBC","B5F36159-C71D-48E3-A1A9-7BDA18656622","0E65BDFD-4304-4131-9821-83A87E58A857","335EC22A-00F4-444F-A9A3-6FCC3D3B375B","4C230C0D-A5D1-4E2E-9FB9-67140E87E5CF","0797CCF7-CD32-4ECC-A641-400C7287B414"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1728":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1729},"id":"B13B262B-0824-4928-AC95-2E975C6FB2C3","renderContextTable":{"__isSmartRef__":true,"id":1734},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1735}],"eventHandler":{"__isSmartRef__":true,"id":1737},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1738},"priorExtent":{"__isSmartRef__":true,"id":1739},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1727},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2885,"EC48B50E-CD5B-46FB-BF78-484373EED980","59F8AF9B-799B-413B-86B2-BFD03A4B2559","F8293A60-E9DB-40E3-B202-D547939F8A8D","30E16AEA-8638-441D-A4B6-A7F2EB4D1987","012E89E5-818C-4BAE-B1DB-B01796C23183","D8FA4A79-180A-4D30-B4C8-2AC5E176057B","7184ABDF-8484-4658-8968-C1DD68EFFC46","4BC7DE67-2773-45F7-BA0D-BB473B463C0B","1350953C-3FB0-428F-ADAF-AB46A2A7743D","677531C6-1A55-423B-AD8E-B0CF60EA6AE7","7AC83B39-6446-453C-BE0C-3A985B6F29D7","7F97ADF7-B704-42C0-98D2-BFA189A6C2B8","692C1E4C-8458-4EB7-9179-457C75884C65","5F49459C-26AA-49F6-8216-2CA3571A899B","115E4B3E-1C79-4A8A-BCF9-E132122C3995"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1729":{"_Position":{"__isSmartRef__":true,"id":1730},"renderContextTable":{"__isSmartRef__":true,"id":1731},"_Extent":{"__isSmartRef__":true,"id":1732},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1733},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1672},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1730":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1731":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1732":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1733":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1734":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1735":{"style":{"__isSmartRef__":true,"id":1736},"chunkOwner":{"__isSmartRef__":true,"id":1728},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1736":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1737":{"morph":{"__isSmartRef__":true,"id":1728},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1738":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1739":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1740":{"_Position":{"__isSmartRef__":true,"id":1741},"renderContextTable":{"__isSmartRef__":true,"id":1742},"_Extent":{"__isSmartRef__":true,"id":1743},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1744},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1698},"_Fill":{"__isSmartRef__":true,"id":1699},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1741":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1742":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1743":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1744":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1745":{"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"},"1746":{"morph":{"__isSmartRef__":true,"id":1727},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1747":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1748":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1749":{"stops":[{"__isSmartRef__":true,"id":1750},{"__isSmartRef__":true,"id":1752},{"__isSmartRef__":true,"id":1754},{"__isSmartRef__":true,"id":1756}],"vector":{"__isSmartRef__":true,"id":1708},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1750":{"offset":0,"color":{"__isSmartRef__":true,"id":1751}},"1751":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1752":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1753}},"1753":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1754":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1755}},"1755":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1756":{"offset":1,"color":{"__isSmartRef__":true,"id":1757}},"1757":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1758":{"sourceObj":{"__isSmartRef__":true,"id":1727},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1759},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1759":{"source":{"__isSmartRef__":true,"id":1727},"target":{"__isSmartRef__":true,"id":1664}},"1760":{"sourceObj":{"__isSmartRef__":true,"id":1727},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1761},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1761":{"source":{"__isSmartRef__":true,"id":1727},"target":{"__isSmartRef__":true,"id":1664}},"1762":{"submorphs":[{"__isSmartRef__":true,"id":1763}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1775},"id":"BFA5E4AE-7F39-4718-8C00-90CE61DA7E0E","renderContextTable":{"__isSmartRef__":true,"id":1780},"eventHandler":{"__isSmartRef__":true,"id":1781},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1782},"priorExtent":{"__isSmartRef__":true,"id":1783},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1699},"lighterFill":{"__isSmartRef__":true,"id":1784},"label":{"__isSmartRef__":true,"id":1763},"owner":{"__isSmartRef__":true,"id":1665},"layout":{"__isSmartRef__":true,"id":1793},"attributeConnections":[{"__isSmartRef__":true,"id":1794},{"__isSmartRef__":true,"id":1796}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[2886,"9FC4F0BE-916D-456B-AEC7-E6C1AC6040CA","A0A4775F-7F2F-4563-840D-CAA5CB435D75","C87D3EB9-4C3B-4230-9794-F5B71B528C74","D62C35A2-6803-4217-9DFD-0E480D4B82AE","D8274457-EA55-431C-BA2E-C227C335C1FB","943A7D62-2DE4-42E8-AC93-4E68B660CEF2","E83FFE4B-9181-44F7-A77C-84E5625F788A","6A34C9A1-6B4C-430B-ACD4-6A29D0F20D42","BD7F031B-2DEE-4151-ABD8-B5A513D25129","AD3F7784-7CB8-4CFE-98B0-83A4D43542C7","52BD4109-B6AE-4A69-83C9-19EB655F4780","82224D11-CDCA-43C8-A6FD-E794D5917E70","6DF19762-00E0-4952-9D0F-ED6A72B7580B","BAE5C2EA-CE02-4EF6-AA20-1FCE523D6634","484A4F26-09F0-4A4E-90E4-A4A0A4C09ACE"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"1763":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1764},"id":"D7BCA7E5-5486-4AB8-B14B-B95CD10F2A28","renderContextTable":{"__isSmartRef__":true,"id":1769},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1770}],"eventHandler":{"__isSmartRef__":true,"id":1772},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1773},"priorExtent":{"__isSmartRef__":true,"id":1774},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1762},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[2887,"42347453-BADB-4DB0-9486-C479B704CD7C","B0BBE9B3-B5DD-4E4F-A1AA-1C03BB1BFF4E","8AE3BC44-F336-420E-A2E9-BBA0DC6A3D72","3DC5BABC-5EF1-4FC6-805B-0FC1CC02282F","C5E01762-30EA-4342-A348-F75EA6C33D11","209EBE14-87CB-44C9-B8C0-1A74CE2ACDB6","1A0CE8F3-7342-484C-BA10-2E8291158E44","28A42BB4-7534-4B0D-BBE9-B4D3FDCF024F","D5D7B12C-1731-4943-BD69-699C99C398E1","DD22A464-4EB8-41F8-9103-DEE095D40932","F16ED660-1D92-485E-B022-9FB466AC307F","AA93DB0B-89EB-44EB-9D56-ADE75D275E62","AB55C6ED-56F9-48F7-A4B1-6D3A6070E047","0CCF4C25-456D-4FF1-89DC-F3601FC379FF","700A6EE7-EDB4-4DFF-9BFA-A2FEBA66E699"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1764":{"_Position":{"__isSmartRef__":true,"id":1765},"renderContextTable":{"__isSmartRef__":true,"id":1766},"_Extent":{"__isSmartRef__":true,"id":1767},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1768},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1672},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1765":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1766":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1767":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1768":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1769":{"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","setStyleSheet":"setStyleSheetHTML","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"},"1770":{"style":{"__isSmartRef__":true,"id":1771},"chunkOwner":{"__isSmartRef__":true,"id":1763},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1771":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1772":{"morph":{"__isSmartRef__":true,"id":1763},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1773":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1774":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1775":{"_Position":{"__isSmartRef__":true,"id":1776},"renderContextTable":{"__isSmartRef__":true,"id":1777},"_Extent":{"__isSmartRef__":true,"id":1778},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1779},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1698},"_Fill":{"__isSmartRef__":true,"id":1699},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1776":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1777":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1778":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1779":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1780":{"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"},"1781":{"morph":{"__isSmartRef__":true,"id":1762},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1782":{"x":440,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1783":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1784":{"stops":[{"__isSmartRef__":true,"id":1785},{"__isSmartRef__":true,"id":1787},{"__isSmartRef__":true,"id":1789},{"__isSmartRef__":true,"id":1791}],"vector":{"__isSmartRef__":true,"id":1708},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1785":{"offset":0,"color":{"__isSmartRef__":true,"id":1786}},"1786":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1787":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1788}},"1788":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1789":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1790}},"1790":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1791":{"offset":1,"color":{"__isSmartRef__":true,"id":1792}},"1792":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1793":{"moveHorizontal":true},"1794":{"sourceObj":{"__isSmartRef__":true,"id":1762},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1795},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1795":{"source":{"__isSmartRef__":true,"id":1762},"target":{"__isSmartRef__":true,"id":1664}},"1796":{"sourceObj":{"__isSmartRef__":true,"id":1762},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1664},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1797},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1797":{"source":{"__isSmartRef__":true,"id":1762},"target":{"__isSmartRef__":true,"id":1664}},"1798":{"_Position":{"__isSmartRef__":true,"id":1799},"renderContextTable":{"__isSmartRef__":true,"id":1800},"_Extent":{"__isSmartRef__":true,"id":1801},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1802},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1803},"_Fill":{"__isSmartRef__":true,"id":1804},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1799":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1801":{"x":479,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1802":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1803":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1804":{"stops":[{"__isSmartRef__":true,"id":1805},{"__isSmartRef__":true,"id":1807}],"vector":{"__isSmartRef__":true,"id":1809},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1805":{"offset":0,"color":{"__isSmartRef__":true,"id":1806}},"1806":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1807":{"offset":1,"color":{"__isSmartRef__":true,"id":1808}},"1808":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1809":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1810":{"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"},"1811":{"morph":{"__isSmartRef__":true,"id":1665},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1812":{"resizeWidth":true,"adjustForNewBounds":true},"1813":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1814":{"x":479,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1815":{"submorphs":[],"scripts":[],"id":"FF171F3C-0D04-4271-8329-AF2C85CD5168","shape":{"__isSmartRef__":true,"id":1816},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1823},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":1824},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":1825},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":1826},"eventHandler":{"__isSmartRef__":true,"id":1827},"priorExtent":{"__isSmartRef__":true,"id":1828},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","F0667EB1-BF07-4E63-BA56-99189F82C865","DFDE68D2-3731-46DE-ADC8-56E32998CE07","D914121B-05B0-490E-A9F7-FE9AB53455A3","685BF0CF-E831-4670-98CD-A84F0E9D3C1A","7F4A1B67-C3C5-4398-9FC6-EEECF75FF81D","ABACD15A-2A09-48B6-91CF-E5BD3A9974FB","06D7E052-8590-4522-B7F3-1A59D4B017E7"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":1829}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"owner":{"__isSmartRef__":true,"id":1664},"distanceToDragEvent":{"__isSmartRef__":true,"id":1830},"cornerName":"bottomRight","_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1831},"__LivelyClassName__":"lively.morphic.Box"},"1816":{"position":{"__isSmartRef__":true,"id":1817},"_Extent":{"__isSmartRef__":true,"id":1818},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1819},"_Fill":{"__isSmartRef__":true,"id":1820},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1821},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1822},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1817":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1818":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1819":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1820":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1821":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1822":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1823":{"x":469,"y":427,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1824":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1825":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1826":{"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"},"1827":{"morph":{"__isSmartRef__":true,"id":1815},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1828":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1829":{"sourceObj":{"__isSmartRef__":true,"id":1815},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":1815},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1830":{"x":42,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1831":{"onDrag":{"__isSmartRef__":true,"id":1832},"onDragEnd":{"__isSmartRef__":true,"id":1840},"onDragStart":{"__isSmartRef__":true,"id":1848},"reset":{"__isSmartRef__":true,"id":1856},"morphMenuItems":{"__isSmartRef__":true,"id":1859},"alignToOwner":{"__isSmartRef__":true,"id":1866}},"1832":{"varMapping":{"__isSmartRef__":true,"id":1833},"source":"function onDrag(evt) {\n // alert(\"onDrag\")\n // this.owner.setPosition(pt(0,0))\n // this.owner.setOrigin(pt(0,0))\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n \n // moveDelta = moveDelta.maxPt(pt(0,0))\n var ownerExtent = this.owner.getExtent();\n\n // TODO does not work\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n if (maxDelta == 0) return;\n var factor = ownerExtent.x / ownerExtent.y\n moveDelta = pt(maxDelta * factor, maxDelta )\n }\n var accessor = \"with\" + this.cornerName.charAt(0).toUpperCase() + this.cornerName.substring(1);\n\n var newCorner = this.originalTargetBounds[this.cornerName]().addPt(moveDelta);\n var newBounds = this.originalTargetBounds[accessor ](newCorner);\n\n this.owner.setBounds(newBounds);\n \n // var newExtent = this.originalTargetExtent.addPt(moveDelta)\n // alertOK(\"new extent\" + newExtent)\n // this.owner.setExtent(newExtent);\n this.owner.submorphs.select(function(ea) {\n return ea.isResizeCorner\n }).invoke('alignToOwner');\n if (this.owner.halos) {\n this.owner.halos.invoke('alignAtTarget')\n }\n // alertOK(\"relative \" + this.relativeOrigin)\n var newOrigin = pt(0,0).extent(this.owner.getExtent()).relativeToAbsPoint(this.relativeOrigin)\n\n // TODO IMPLEMENT updating the origin does not work yet\n // this.owner.setOrigin(newOrigin);\n // alertOK(\"new origin \" + newOrigin)\n\n}","funcProperties":{"__isSmartRef__":true,"id":1838},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1833":{"this":{"__isSmartRef__":true,"id":1815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1834}},"1834":{"$super":{"__isSmartRef__":true,"id":1835}},"1835":{"varMapping":{"__isSmartRef__":true,"id":1836},"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":1837},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1836":{"obj":{"__isSmartRef__":true,"id":1815},"name":"onDrag"},"1837":{},"1838":{"timestamp":{"__isSmartRef__":true,"id":1839},"user":"sstamm","tags":[]},"1839":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:08:52 GMT-0800 (Pacific Standard Time)"},"1840":{"varMapping":{"__isSmartRef__":true,"id":1841},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1841":{"this":{"__isSmartRef__":true,"id":1815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1842}},"1842":{"$super":{"__isSmartRef__":true,"id":1843}},"1843":{"varMapping":{"__isSmartRef__":true,"id":1844},"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":1845},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1844":{"obj":{"__isSmartRef__":true,"id":1815},"name":"onDragEnd"},"1845":{},"1846":{"timestamp":{"__isSmartRef__":true,"id":1847},"user":"sstamm","tags":[]},"1847":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:09:00 GMT-0800 (Pacific Standard Time)"},"1848":{"varMapping":{"__isSmartRef__":true,"id":1849},"source":"function onDragStart(evt) {\n var absToRelativePoint = function (r, absPt) {\n\t\treturn new Point(\n\t\t\t(absPt.x - r.x) / r.width,\n\t\t\t(absPt.y - r.y) / r.height)\n\t}\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(20,20))\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(0,0))\n // absToRelativePoint(new Rectangle(-100,-100,200,200), pt(0,0))\n\n\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetBounds= this.owner.bounds();\n this.relativeOrigin = absToRelativePoint(pt(0,0).extent(this.owner.getExtent()), this.owner.getOrigin())\n}","funcProperties":{"__isSmartRef__":true,"id":1854},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1849":{"this":{"__isSmartRef__":true,"id":1815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1850}},"1850":{"$super":{"__isSmartRef__":true,"id":1851}},"1851":{"varMapping":{"__isSmartRef__":true,"id":1852},"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":1853},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1852":{"obj":{"__isSmartRef__":true,"id":1815},"name":"onDragStart"},"1853":{},"1854":{"timestamp":{"__isSmartRef__":true,"id":1855},"user":"sstamm","tags":[]},"1855":{"isSerializedDate":true,"string":"Thu Feb 23 2012 03:08:40 GMT-0800 (Pacific Standard Time)"},"1856":{"varMapping":{"__isSmartRef__":true,"id":1857},"source":"function reset() {\n this.isResizeCorner = true\n this.cornerName = 'bottomRight'\n this.setExtent(pt(10,10));\n this.setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":1858},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1857":{"this":{"__isSmartRef__":true,"id":1815}},"1858":{},"1859":{"varMapping":{"__isSmartRef__":true,"id":1860},"source":"function morphMenuItems() {\n return $super().concat([\n [\"corner\", [\n [\"top left\", function() { this.cornerName = 'topLeft'}.bind(this)],\n [\"top right\", function() { this.cornerName = 'topRight'}.bind(this)],\n [\"bottom right\", function() { this.cornerName = 'bottomRight'}.bind(this)],\n [\"bottom left\", function() { this.cornerName = 'bottomLeft'}.bind(this)],\n ]]\n ])\t\n}","funcProperties":{"__isSmartRef__":true,"id":1865},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1860":{"this":{"__isSmartRef__":true,"id":1815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1861}},"1861":{"$super":{"__isSmartRef__":true,"id":1862}},"1862":{"varMapping":{"__isSmartRef__":true,"id":1863},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":1864},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1863":{"obj":{"__isSmartRef__":true,"id":1815},"name":"morphMenuItems"},"1864":{},"1865":{},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":1868},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1815}},"1868":{},"1869":{"renderContextTable":{"__isSmartRef__":true,"id":1870},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1871},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1872},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1870":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1871":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1872":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1873":{"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"},"1874":{"morph":{"__isSmartRef__":true,"id":1664},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1875":{"adjustForNewBounds":true},"1876":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1877":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1878":{"x":1059,"y":485,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1879":{"partName":"PublishPartDialog","requiredModules":[],"migrationLevel":4,"partsSpaceName":"PartsBin/Dialogs","__SourceModuleName__":"Global.lively.PartsBin","comment":"A dialog for publishing parts in the PartsBin.","changes":[{"__isSmartRef__":true,"id":1880},{"__isSmartRef__":true,"id":1882},{"__isSmartRef__":true,"id":1884},{"__isSmartRef__":true,"id":1886},{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":1890},{"__isSmartRef__":true,"id":1892},{"__isSmartRef__":true,"id":1894},{"__isSmartRef__":true,"id":1896},{"__isSmartRef__":true,"id":1898}],"revisionOnLoad":154052,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1880":{"date":{"__isSmartRef__":true,"id":1881},"author":"undefined","message":"resetted view","id":"61086210-FA8D-49B7-9E8F-E1E202A9ECD7"},"1881":{"isSerializedDate":true,"string":"Wed Mar 21 2012 06:50:23 GMT-0700 (Pacific Daylight Time)"},"1882":{"date":{"__isSmartRef__":true,"id":1883},"author":"undefined","message":"added show diff button","id":"93AC78DB-FFE8-40AC-B8FC-34B0936B39A7"},"1883":{"isSerializedDate":true,"string":"Wed Mar 21 2012 06:49:44 GMT-0700 (Pacific Daylight Time)"},"1884":{"date":{"__isSmartRef__":true,"id":1885},"author":"undefined","message":"","id":"A5F4EACF-EF62-483F-B8B3-65966A895FA4"},"1885":{"isSerializedDate":true,"string":"Tue Mar 20 2012 05:00:03 GMT-0700 (Pacific Daylight Time)"},"1886":{"date":{"__isSmartRef__":true,"id":1887},"author":"jenslincke","message":"first commit of Publish dialog using the publish dialog itself!"},"1887":{"isSerializedDate":true,"string":"Wed Oct 19 2011 05:54:16 GMT-0700 (Pacific Daylight Time)"},"1888":{"date":{"__isSmartRef__":true,"id":1889},"author":"jenslincke","message":""},"1889":{"isSerializedDate":true,"string":"Wed Oct 19 2011 05:52:26 GMT-0700 (Pacific Daylight Time)"},"1890":{"date":{"__isSmartRef__":true,"id":1891},"author":"jenslincke","message":"store an uuid when publishing an object"},"1891":{"isSerializedDate":true,"string":"Fri Oct 28 2011 06:15:02 GMT-0700 (Pacific Daylight Time)"},"1892":{"date":{"__isSmartRef__":true,"id":1893},"author":"jenslincke","message":""},"1893":{"isSerializedDate":true,"string":"Fri Oct 28 2011 07:06:16 GMT-0700 (Pacific Daylight Time)"},"1894":{"date":{"__isSmartRef__":true,"id":1895},"author":"jenslincke","message":"- fixed issue 283 (Reproduction: Open part, select publish from menu, focus part name input field in dialog, press enter.-> window pane disappears; window decoration stays; part is not published)","id":"1A260BD5-E668-4BD4-B7A2-94E087AB4CE1"},"1895":{"isSerializedDate":true,"string":"Thu Jan 26 2012 03:10:41 GMT-0800 (Pacific Standard Time)"},"1896":{"date":{"__isSmartRef__":true,"id":1897},"author":"undefined","message":"init for change - don't remove on click","id":"00A6DFFB-70D2-44A4-B5F9-0778E1CA5724"},"1897":{"isSerializedDate":true,"string":"Tue Mar 20 2012 04:04:27 GMT-0700 (Pacific Daylight Time)"},"1898":{"date":{"__isSmartRef__":true,"id":1899},"author":"undefined","message":"added possibility to show diff and adapted to new publishing workflow (check for overwrites)","id":"2BD37BED-1605-4FD2-8D2C-25552A379B49"},"1899":{"isSerializedDate":true,"string":"Thu Mar 22 2012 02:30:02 GMT-0700 (Pacific Daylight Time)"},"1900":{"sourceObj":{"__isSmartRef__":true,"id":1664},"sourceAttrName":"remove","targetObj":{"__isSmartRef__":true,"id":1209},"targetMethodName":"onRemove","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1901":{"x":712.5,"y":265,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1902":{"x":479,"y":437,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1903":{"partName":"PublishPartPanePane","requiredModules":[],"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1904":{"copyToPartsBin":{"__isSmartRef__":true,"id":1905},"onPublish":{"__isSmartRef__":true,"id":1913},"onCancel":{"__isSmartRef__":true,"id":1917},"setTarget":{"__isSmartRef__":true,"id":1921},"reset":{"__isSmartRef__":true,"id":1925},"showDiff":{"__isSmartRef__":true,"id":1929},"checkForUpdates":{"__isSmartRef__":true,"id":1933},"askForDiffViewer":{"__isSmartRef__":true,"id":1937},"onRemove":{"__isSmartRef__":true,"id":1941}},"1905":{"varMapping":{"__isSmartRef__":true,"id":1906},"source":"function copyToPartsBin(morph) {\n var name = this.get('NameText').textString\n\n var info = morph.getPartsBinMetaInfo();\n morph.setName(name);\n\n info.partsSpaceName = this.get('CategoryText').textString\n info.comment = this.get('CommentText').textString\n\n if (! info.changes) info.changes = [];\n var change = { \n date: new Date(), \n author: this.world().getUserName(), \n message: this.get('CommitMessageText').textString,\n id: Strings.newUUID()\n }\n info.changes.push(change) \n\n morph.copyToPartsBin();\n}","funcProperties":{"__isSmartRef__":true,"id":1911},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1906":{"this":{"__isSmartRef__":true,"id":1209},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1907}},"1907":{"$super":{"__isSmartRef__":true,"id":1908}},"1908":{"varMapping":{"__isSmartRef__":true,"id":1909},"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":1910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1909":{"obj":{"__isSmartRef__":true,"id":1209},"name":"copyToPartsBin"},"1910":{},"1911":{"timestamp":{"__isSmartRef__":true,"id":1912},"user":"jenslincke","tags":[]},"1912":{"isSerializedDate":true,"string":"Fri Oct 28 2011 06:13:21 GMT-0700 (Pacific Daylight Time)"},"1913":{"varMapping":{"__isSmartRef__":true,"id":1914},"source":"function onPublish() {\n if (!this.target) alert(\"No target to upload\");\n this.copyToPartsBin(this.target);\n}","funcProperties":{"__isSmartRef__":true,"id":1915},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1914":{"this":{"__isSmartRef__":true,"id":1209}},"1915":{"timestamp":{"__isSmartRef__":true,"id":1916},"user":"undefined","tags":[]},"1916":{"isSerializedDate":true,"string":"Thu Mar 29 2012 06:46:31 GMT-0700 (Pacific Daylight Time)"},"1917":{"varMapping":{"__isSmartRef__":true,"id":1918},"source":"function onCancel() {\n alertOK(\"cancel upload \") \n this.owner.remove()\n}","funcProperties":{"__isSmartRef__":true,"id":1919},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1918":{"this":{"__isSmartRef__":true,"id":1209}},"1919":{"timestamp":{"__isSmartRef__":true,"id":1920},"user":"jenslincke","tags":[]},"1920":{"isSerializedDate":true,"string":"Wed Oct 19 2011 05:52:17 GMT-0700 (Pacific Daylight Time)"},"1921":{"varMapping":{"__isSmartRef__":true,"id":1922},"source":"function setTarget(morph) {\n this.target = morph \n if (!morph) {\n this.get('NameText').textString = 'Anonymous';\n this.get('CategoryText').textString = 'Default';\n this.get('CommentText').textString = 'no comment'; \n this.get('CommitMessageText').textString = 'no comment' \n return\n }\n var info = this.target.getPartsBinMetaInfo();\n this.get('NameText').textString = info.partName || morph.getName();\n if (info.partsSpaceName) this.get('CategoryText').textString = info.partsSpaceName;\n if (info.comment) this.get('CommentText').textString = info.comment; \n\n}","funcProperties":{"__isSmartRef__":true,"id":1923},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1922":{"this":{"__isSmartRef__":true,"id":1209}},"1923":{"timestamp":{"__isSmartRef__":true,"id":1924},"user":"jenslincke","tags":[]},"1924":{"isSerializedDate":true,"string":"Fri Apr 20 2012 02:59:07 GMT-0700 (Pacific Daylight Time)"},"1925":{"varMapping":{"__isSmartRef__":true,"id":1926},"source":"function reset() {\n this.setTarget(null)\n \n}","funcProperties":{"__isSmartRef__":true,"id":1927},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1926":{"this":{"__isSmartRef__":true,"id":1209}},"1927":{"timestamp":{"__isSmartRef__":true,"id":1928},"user":"jenslincke","tags":[]},"1928":{"isSerializedDate":true,"string":"Wed Oct 19 2011 05:45:36 GMT-0700 (Pacific Daylight Time)"},"1929":{"varMapping":{"__isSmartRef__":true,"id":1930},"source":"function showDiff() {\n if (this.target) {\n if (typeof(this.target.showThreeWayDiff) === 'function') {\n this.target.showThreeWayDiff();\n }\n else {\n alert('Three Way Diff is not implemented yet')\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1931},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1930":{"this":{"__isSmartRef__":true,"id":1209}},"1931":{"timestamp":{"__isSmartRef__":true,"id":1932},"user":"undefined","tags":[]},"1932":{"isSerializedDate":true,"string":"Thu Mar 22 2012 02:32:37 GMT-0700 (Pacific Daylight Time)"},"1933":{"varMapping":{"__isSmartRef__":true,"id":1934},"source":"function checkForUpdates() {\n var space = lively.PartsBin.partsSpaceNamed(this.get('CategoryText').textString),\n name = this.get('NameText').textString,\n fileUrl = space.getURL().withFilename(encodeURI(name))+'.json';\n\n var webR = new WebResource(fileUrl);\n \n if (webR.exists()) {\n var rev = webR.getHeadRevision().headRevision;\n if (this.target.getPartsBinMetaInfo().revisionOnLoad == rev) \n alertOK(\"No changes since last update.\")\n else {\n this.askForDiffViewer();\n }\n }\n else \n alertOK(\"Part does not exist in PartsBin.\") \n \n}","funcProperties":{"__isSmartRef__":true,"id":1935},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1934":{"this":{"__isSmartRef__":true,"id":1209}},"1935":{"timestamp":{"__isSmartRef__":true,"id":1936},"user":"undefined","tags":[]},"1936":{"isSerializedDate":true,"string":"Fri Mar 23 2012 07:12:03 GMT-0700 (Pacific Daylight Time)"},"1937":{"varMapping":{"__isSmartRef__":true,"id":1938},"source":"function askForDiffViewer() {\n $world.confirm('A newer version of '+this.get('NameText').textString+' is available. Show diff?', function (bool) {bool && this.showDiff()}.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":1939},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1938":{"this":{"__isSmartRef__":true,"id":1209}},"1939":{"timestamp":{"__isSmartRef__":true,"id":1940},"user":"undefined","tags":[]},"1940":{"isSerializedDate":true,"string":"Fri Mar 23 2012 07:08:43 GMT-0700 (Pacific Daylight Time)"},"1941":{"varMapping":{"__isSmartRef__":true,"id":1942},"source":"function onRemove() {\n $world.publishPartDialog && $world.publishPartDialog.remove()\n}","funcProperties":{"__isSmartRef__":true,"id":1943},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1942":{"this":{"__isSmartRef__":true,"id":1209}},"1943":{"timestamp":{"__isSmartRef__":true,"id":1944},"user":"undefined","tags":[]},"1944":{"isSerializedDate":true,"string":"Thu Mar 29 2012 06:54:34 GMT-0700 (Pacific Daylight Time)"},"1945":{"x":351,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1946":{"resizeWidth":true,"resizeHeight":true},"1947":{"setupConnections":{"__isSmartRef__":true,"id":1948},"reset":{"__isSmartRef__":true,"id":1952},"getObserveTextLayer":{"__isSmartRef__":true,"id":1956},"hookIntoTextClass":{"__isSmartRef__":true,"id":1960},"selectTextMorph":{"__isSmartRef__":true,"id":1964},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":1968},"updateFontFamily":{"__isSmartRef__":true,"id":1976},"updateFontSize":{"__isSmartRef__":true,"id":1980},"updateFontWeight":{"__isSmartRef__":true,"id":1984},"updateFontDecoration":{"__isSmartRef__":true,"id":1988},"updateFontColor":{"__isSmartRef__":true,"id":1992},"remove":{"__isSmartRef__":true,"id":1996},"updateStyle":{"__isSmartRef__":true,"id":2004},"updateBackgroundColor":{"__isSmartRef__":true,"id":2008},"getLayers":{"__isSmartRef__":true,"id":2012}},"1948":{"varMapping":{"__isSmartRef__":true,"id":1949},"source":"function setupConnections() {\n// disconnectAll(this.get('FontChooserComboBox'))\n connect(this.get('FontChooserComboBox'), 'selection', this, 'updateFontFamily');\n connect(this.get('FontSizeText'), 'selection', this, 'updateFontSize');\n connect(this.get('FontWeightText'), 'selection', this, 'updateFontWeight');\n connect(this.get('FontDecorationText'), 'selection', this, 'updateFontDecoration');\n connect(this.get('FontColorField'), 'color', this, 'updateFontColor');\n connect(this.get('BackgroundColorField'), 'color', this, 'updateBackgroundColor')\n\n // connect(this.get('unselectButton'), 'fire', this, 'updateFontColor');\n\n connect(this.get('fixedWidthCheckBox'), 'checked', this, 'updateStyle', {\n converter: function(bool) { return {fixedWidth: bool}}});\n\n connect(this.get('fixedHeightCheckBox'), 'checked', this, 'updateStyle', {\n converter: function(bool) { return {fixedHeight: bool}}});\n\n connect(this.get('clipModeInput'), 'savedTextString', this, 'updateStyle', {\n converter: function(input) { return {clipMode: input}}});\n}","funcProperties":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1949":{"this":{"__isSmartRef__":true,"id":459}},"1950":{"timestamp":{"__isSmartRef__":true,"id":1951},"tags":[]},"1951":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"1952":{"varMapping":{"__isSmartRef__":true,"id":1953},"source":"function reset() {\n if (this.layer) this.layer.beNotGlobal();\n this.layer = null;\n disconnectAll(this)\n connect(this, 'focusedText', this, 'selectTextMorph')\n this.selectTextMorph(null)\n this.hookIntoTextClass();\n if (!this.hasOwnProperty('doNotSerialize'))\n this.doNotSerialize = [];\n/*\nthis.doNotSerialize = this.doNotSerialize.uniq()\nthis.doNotSerialize = ['layer', 'withoutLayers', '$$focusedText', 'targetMorph']\nthis.onLoadFromPartsBin\nthis === this.constructor.prototype\nthis.getPartsBinMetaInfo().addRequiredModule('lively.LayerableMorphs')\nthis.constructor.prototype._renderContext\nmodule('lively.LayerableMorphs').load(true)\nthis.submorphs.reject(function(ea) { return ea === this.get('selectedTextName') }, this).invoke('moveBy', pt(-2,0))\n*/\n}","funcProperties":{"__isSmartRef__":true,"id":1954},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1953":{"this":{"__isSmartRef__":true,"id":459}},"1954":{"timestamp":{"__isSmartRef__":true,"id":1955},"tags":[]},"1955":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"1956":{"varMapping":{"__isSmartRef__":true,"id":1957},"source":"function getObserveTextLayer() {\n if (this.layer) return this.layer;\n var layerName = 'ObserveTextFocusLayer', counter = 1;\n while (Global[layerName + counter]) { counter++ }\n layerName += counter;\n this.layer = cop.create(layerName);\n this.setWithoutLayers([this.layer]);\n return this.layer;\n}","funcProperties":{"__isSmartRef__":true,"id":1958},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1957":{"this":{"__isSmartRef__":true,"id":459}},"1958":{"timestamp":{"__isSmartRef__":true,"id":1959},"tags":[]},"1959":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"1960":{"varMapping":{"__isSmartRef__":true,"id":1961},"source":"function hookIntoTextClass() {\n var textAttributePanel = this;\n this. getObserveTextLayer().refineClass(lively.morphic.Text, {\n onFocus: function(evt) { cop.proceed(evt); textAttributePanel.focusedText = this },\n onBlur: function(evt) { cop.proceed(evt); /*textAttributePanel.focusedText = null*/ },\n }).beGlobal()\n}","funcProperties":{"__isSmartRef__":true,"id":1962},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1961":{"this":{"__isSmartRef__":true,"id":459}},"1962":{"timestamp":{"__isSmartRef__":true,"id":1963},"tags":[]},"1963":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"1964":{"varMapping":{"__isSmartRef__":true,"id":1965},"source":"function selectTextMorph(morph) {\n this.targetMorph = morph;\n if (!morph) return;\n this.get('selectedTextName').textString = morph ? morph.name || String(morph) : 'no text selected'\n this.get('FontChooserComboBox').textString = morph.getFontFamily();\n this.get('FontSizeText').textString = morph.getFontSize();\n this.get('FontWeightText').textString = 'normal';\n this.get('FontDecorationText').textString = 'normal';\n this.get('FontColorField').setFill(morph.getTextColor())\n\n this.get('fixedWidthCheckBox').setChecked(morph.fixedWidth)\n this.get('fixedHeightCheckBox').setChecked(morph.fixedHeight)\n this.get('clipModeInput').setTextString(morph.getClipMode())\n this.get('paddingInput').setTextString(String(this.targetMorph.getPadding()))\n}","funcProperties":{"__isSmartRef__":true,"id":1966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1965":{"this":{"__isSmartRef__":true,"id":459}},"1966":{"timestamp":{"__isSmartRef__":true,"id":1967},"tags":[]},"1967":{"isSerializedDate":true,"string":"Wed Sep 07 2011 08:50:31 GMT-0700 (Pacific Daylight Time)"},"1968":{"varMapping":{"__isSmartRef__":true,"id":1969},"source":"function onLoadFromPartsBin() {\n $super();\n module('lively.LayerableMorphs').load(true);\n this.hookIntoTextClass();\n}","funcProperties":{"__isSmartRef__":true,"id":1974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1969":{"this":{"__isSmartRef__":true,"id":459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1970}},"1970":{"$super":{"__isSmartRef__":true,"id":1971}},"1971":{"varMapping":{"__isSmartRef__":true,"id":1972},"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":1973},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1972":{"obj":{"__isSmartRef__":true,"id":459},"name":"onLoadFromPartsBin"},"1973":{},"1974":{"timestamp":{"__isSmartRef__":true,"id":1975},"tags":[]},"1975":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"1976":{"varMapping":{"__isSmartRef__":true,"id":1977},"source":"function updateFontFamily(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n cop.withoutLayers(this.getLayers(), function() {\n if (!selRange || selRange[0] == selRange[1]) { m.setFontFamily(value); return }\n else m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph({fontFamily: value})\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1978},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1977":{"this":{"__isSmartRef__":true,"id":459}},"1978":{"timestamp":{"__isSmartRef__":true,"id":1979},"tags":[]},"1979":{"isSerializedDate":true,"string":"Wed May 09 2012 10:37:48 GMT-0700 (Pacific Daylight Time)"},"1980":{"varMapping":{"__isSmartRef__":true,"id":1981},"source":"function updateFontSize(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n cop.withoutLayers(this.getLayers(), function() {\n if (!selRange || selRange[0] == selRange[1]) { m.setFontSize(value); return }\n else m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph({fontSize: value})\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1982},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1981":{"this":{"__isSmartRef__":true,"id":459}},"1982":{"timestamp":{"__isSmartRef__":true,"id":1983},"tags":[]},"1983":{"isSerializedDate":true,"string":"Wed May 09 2012 10:38:02 GMT-0700 (Pacific Daylight Time)"},"1984":{"varMapping":{"__isSmartRef__":true,"id":1985},"source":"function updateFontWeight(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n cop.withoutLayers(this.getLayers(), function() {\n if (!selRange || selRange[0] == selRange[1]) return;\n else m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph({fontWeight: value})\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1985":{"this":{"__isSmartRef__":true,"id":459}},"1986":{"timestamp":{"__isSmartRef__":true,"id":1987},"tags":[]},"1987":{"isSerializedDate":true,"string":"Wed May 09 2012 10:38:12 GMT-0700 (Pacific Daylight Time)"},"1988":{"varMapping":{"__isSmartRef__":true,"id":1989},"source":"function updateFontDecoration(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n cop.withoutLayers(this.getLayers(), function() {\n if (!selRange || selRange[0] == selRange[1]) return;\n var emphObject;\n if (value === 'italic') {\n emphObject = {italics: value, textDecoration: 'normal'}\n } else {\n emphObject = {textDecoration: value, italics: 'normal'}\n }\n m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph(emphObject);\n });\n });\n}","funcProperties":{"__isSmartRef__":true,"id":1990},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1989":{"this":{"__isSmartRef__":true,"id":459}},"1990":{"timestamp":{"__isSmartRef__":true,"id":1991},"tags":[]},"1991":{"isSerializedDate":true,"string":"Wed May 09 2012 10:37:21 GMT-0700 (Pacific Daylight Time)"},"1992":{"varMapping":{"__isSmartRef__":true,"id":1993},"source":"function updateFontColor(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n if (!selRange) return;\n cop.withoutLayers(this.getLayers(), function() {\n if (selRange[0] == selRange[1]) { m.setTextColor(value); return }\n else m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph({color: value})\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1993":{"this":{"__isSmartRef__":true,"id":459}},"1994":{"timestamp":{"__isSmartRef__":true,"id":1995},"tags":[]},"1995":{"isSerializedDate":true,"string":"Wed May 09 2012 10:37:03 GMT-0700 (Pacific Daylight Time)"},"1996":{"varMapping":{"__isSmartRef__":true,"id":1997},"source":"function remove() {\n $super();\n this. getObserveTextLayer().beNotGlobal();\n}","funcProperties":{"__isSmartRef__":true,"id":2002},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1997":{"this":{"__isSmartRef__":true,"id":459},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1998}},"1998":{"$super":{"__isSmartRef__":true,"id":1999}},"1999":{"varMapping":{"__isSmartRef__":true,"id":2000},"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":2001},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2000":{"obj":{"__isSmartRef__":true,"id":459},"name":"remove"},"2001":{},"2002":{"timestamp":{"__isSmartRef__":true,"id":2003},"tags":[]},"2003":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"2004":{"varMapping":{"__isSmartRef__":true,"id":2005},"source":"function updateStyle(style) {\n var m = this.targetMorph;\n m && m.applyStyle(style);\n}","funcProperties":{"__isSmartRef__":true,"id":2006},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2005":{"this":{"__isSmartRef__":true,"id":459}},"2006":{"timestamp":{"__isSmartRef__":true,"id":2007},"tags":[]},"2007":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:44 GMT-0700 (Pacific Daylight Time)"},"2008":{"varMapping":{"__isSmartRef__":true,"id":2009},"source":"function updateBackgroundColor(value) {\n var m = this.targetMorph, selRange = m.priorSelectionRange;\n if (!selRange) return;\n cop.withoutLayers(this.getLayers(), function() {\n m.changeEmphasis(selRange[0], selRange[1], function(prevEmph, doEmph) {\n doEmph({backgroundColor: value})\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2010},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2009":{"this":{"__isSmartRef__":true,"id":459}},"2010":{"timestamp":{"__isSmartRef__":true,"id":2011},"tags":[]},"2011":{"isSerializedDate":true,"string":"Wed May 09 2012 10:36:55 GMT-0700 (Pacific Daylight Time)"},"2012":{"varMapping":{"__isSmartRef__":true,"id":2013},"source":"function getLayers() {\n \n return this.layer ? [this.layer] : []\n}","funcProperties":{"__isSmartRef__":true,"id":2014},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2013":{"this":{"__isSmartRef__":true,"id":459}},"2014":{"timestamp":{"__isSmartRef__":true,"id":2015},"user":"jenslincke","tags":[]},"2015":{"isSerializedDate":true,"string":"Tue May 08 2012 08:32:20 GMT-0700 (Pacific Daylight Time)"},"2016":{"submorphs":[],"scripts":[],"id":"E1C4C0E9-7B41-4E08-A371-CC0C9F1ECC28","shape":{"__isSmartRef__":true,"id":2017},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2024},"showsHalos":false,"name":"FontColorField","partsBinMetaInfo":{"__isSmartRef__":true,"id":2025},"__SourceModuleName__":"Global.lively.morphic.ColorChooserDraft","target":{"__isSmartRef__":true,"id":2026},"attributeConnections":[{"__isSmartRef__":true,"id":2037}],"doNotSerialize":["$$color"],"doNotCopyProperties":["$$color"],"renderContextTable":{"__isSmartRef__":true,"id":2039},"eventHandler":{"__isSmartRef__":true,"id":2040},"distanceToDragEvent":{"__isSmartRef__":true,"id":2041},"derivationIds":[11768,"A59996B9-7D37-46E1-BD07-233B96B678A9","0E563461-71D2-4ABE-8BC9-3D3F41FD13D3","26888307-3E73-4702-9106-2F1F194A5304","20535855-BF49-4558-9F35-258572E19192","65C46EF7-F811-4CD6-BA9B-A8A7DE313804"],"isBeingDragged":true,"owner":{"__isSmartRef__":true,"id":310},"color":{"__isSmartRef__":true,"id":2042},"_ClipMode":"visible","_Rotation":0,"_Scale":0.996005996001,"__LivelyClassName__":"lively.morphic.ColorField"},"2017":{"position":{"__isSmartRef__":true,"id":2018},"_Extent":{"__isSmartRef__":true,"id":2019},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2020},"_Fill":{"__isSmartRef__":true,"id":2021},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2022},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2023},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2018":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2019":{"x":30,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2020":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2021":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2023":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2024":{"x":170,"y":50,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2025":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2026":{"submorphs":[],"scripts":[],"id":212,"cachedTextString":"Meta: I know its a bit risky using a new system for text production, but we need to get it going so I hope Robert, you know what we are doing... :-)","shape":{"__isSmartRef__":true,"id":2027},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2032},"_MaxTextWidth":545,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2030},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2033},"charsReplaced":"","lastFindLoc":1,"isCopyMorphRef":true,"morphRefId":1,"textChunks":[{"__isSmartRef__":true,"id":2034}],"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":2036},"__LivelyClassName__":"lively.morphic.Text"},"2027":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2028},"_Extent":{"__isSmartRef__":true,"id":2029},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2030},"_Fill":{"__isSmartRef__":true,"id":2031},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2028":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"x":545,"y":66,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2030":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2031":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2032":{"x":33,"y":105,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2033":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2034":{"style":{"__isSmartRef__":true,"id":2035},"chunkOwner":{"__isSmartRef__":true,"id":2026},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2035":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2036":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2037":{"sourceObj":{"__isSmartRef__":true,"id":2016},"sourceAttrName":"color","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateFontColor","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2038},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2038":{"source":{"__isSmartRef__":true,"id":2016},"target":{"__isSmartRef__":true,"id":459}},"2039":{"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","setStyleSheet":"setStyleSheetHTML"},"2040":{"morph":{"__isSmartRef__":true,"id":2016},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2041":{"x":30.981880469694715,"y":-10.742209072942387,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2042":{"r":1,"g":0,"b":0.58,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2043":{"submorphs":[],"scripts":[],"id":"9F2034F2-A4CE-44A6-8175-41822AC8658C","shape":{"__isSmartRef__":true,"id":2044},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2050},"showsHalos":false,"name":"BackgroundColorField","partsBinMetaInfo":{"__isSmartRef__":true,"id":2051},"__SourceModuleName__":"Global.lively.morphic.ColorChooserDraft","target":{"__isSmartRef__":true,"id":2052},"attributeConnections":[{"__isSmartRef__":true,"id":2063}],"doNotSerialize":["$$color"],"doNotCopyProperties":["$$color"],"renderContextTable":{"__isSmartRef__":true,"id":2065},"eventHandler":{"__isSmartRef__":true,"id":2066},"distanceToDragEvent":{"__isSmartRef__":true,"id":2067},"derivationIds":[11768,"A59996B9-7D37-46E1-BD07-233B96B678A9","0E563461-71D2-4ABE-8BC9-3D3F41FD13D3","A058346C-278F-499E-B848-30F45CB6E3D7","13D0A16F-D696-42C7-A96E-A148530510C6","6A1C7AA9-68E0-4BBF-AE48-D034CACB6855","7EC2D89D-53EE-4F23-A29B-C9F2927AC671"],"isBeingDragged":true,"owner":{"__isSmartRef__":true,"id":310},"color":null,"_ClipMode":"visible","_Rotation":0,"_Scale":0.9920279440699442,"__LivelyClassName__":"lively.morphic.ColorField"},"2044":{"position":{"__isSmartRef__":true,"id":2045},"_Extent":{"__isSmartRef__":true,"id":2046},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2047},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2048},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2045":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2046":{"x":30,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2047":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2048":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2050":{"x":170,"y":80,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2051":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2052":{"submorphs":[],"scripts":[],"id":212,"cachedTextString":"Meta: I know its a bit risky using a new system for text production, but we need to get it going so I hope Robert, you know what we are doing... :-)","shape":{"__isSmartRef__":true,"id":2053},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2058},"_MaxTextWidth":545,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2056},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2059},"charsReplaced":"","lastFindLoc":1,"isCopyMorphRef":true,"morphRefId":1,"textChunks":[{"__isSmartRef__":true,"id":2060}],"_ClipMode":"visible","renderContextTable":{"__isSmartRef__":true,"id":2062},"__LivelyClassName__":"lively.morphic.Text"},"2053":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2054},"_Extent":{"__isSmartRef__":true,"id":2055},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2056},"_Fill":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2054":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2055":{"x":545,"y":66,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2056":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2057":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2058":{"x":33,"y":105,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2059":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2060":{"style":{"__isSmartRef__":true,"id":2061},"chunkOwner":{"__isSmartRef__":true,"id":2052},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2061":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2062":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2063":{"sourceObj":{"__isSmartRef__":true,"id":2043},"sourceAttrName":"color","targetObj":{"__isSmartRef__":true,"id":459},"targetMethodName":"updateBackgroundColor","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2064},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2064":{"source":{"__isSmartRef__":true,"id":2043},"target":{"__isSmartRef__":true,"id":459}},"2065":{"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","setStyleSheet":"setStyleSheetHTML"},"2066":{"morph":{"__isSmartRef__":true,"id":2043},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2067":{"x":35.00887812553947,"y":-14.667207886614989,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2068":{"renderContextTable":{"__isSmartRef__":true,"id":2069},"_ClipMode":"visible","_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":2070},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":2071},"_Position":{"__isSmartRef__":true,"id":2072},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2069":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2070":{"x":296.7001919319505,"y":336.39055082886716,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2071":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2072":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2073":{"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","setStyleSheet":"setStyleSheetHTML"},"2074":{"morph":{"__isSmartRef__":true,"id":310},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2075":{"adjustForNewBounds":true},"2076":{"x":1134,"y":128,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2077":{"x":296.7001919319505,"y":336.39055082886716,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2078":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":440.8891202323927,"f":148.3751989240942,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"2079":{"x":296.7001919319505,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2080":{"a":1.0040100200350561,"b":0,"c":0,"d":1.0040100200350561,"e":440.8891202323927,"f":148.3751989240942,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"lively.morphic.Similitude"},"2081":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"requiredModules":["lively.LayerableMorphs"],"partName":"TextAttributePanel","comment":"A simple text attribute panel","changes":[{"__isSmartRef__":true,"id":2082},{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2086},{"__isSmartRef__":true,"id":2088},{"__isSmartRef__":true,"id":2090}],"revisionOnLoad":160914,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2082":{"date":{"__isSmartRef__":true,"id":2083},"author":"lauritz","message":"","id":"8196E8AB-A3AA-4EB7-8705-B90C17D5844B"},"2083":{"isSerializedDate":true,"string":"Mon Dec 19 2011 14:58:22 GMT-0800 (Pacific Standard Time)"},"2084":{"date":{"__isSmartRef__":true,"id":2085},"author":"lauritz","message":"propagated moving of the font family chooser to \"Text\" from \"Text support\" (merged those categories)","id":"1D344FE2-490B-403A-8285-31C859DCA396"},"2085":{"isSerializedDate":true,"string":"Mon Dec 19 2011 14:04:26 GMT-0800 (Pacific Standard Time)"},"2086":{"date":{"__isSmartRef__":true,"id":2087},"author":"lauritz","message":"locked down","id":"7048928B-E205-4BC1-9B25-17F00DC8B74F"},"2087":{"isSerializedDate":true,"string":"Mon Dec 19 2011 15:08:44 GMT-0800 (Pacific Standard Time)"},"2088":{"date":{"__isSmartRef__":true,"id":2089},"author":"jenslincke","message":"fixdd font choosers","id":"E852D32E-49AA-4D20-8566-D537731A009D"},"2089":{"isSerializedDate":true,"string":"Tue Feb 14 2012 09:54:19 GMT-0800 (Pacific Standard Time)"},"2090":{"date":{"__isSmartRef__":true,"id":2091},"author":"jenslincke","message":"better initials","id":"FB3F9781-9013-4442-B77D-99A3EAFF72C7"},"2091":{"isSerializedDate":true,"string":"Tue Feb 14 2012 09:55:29 GMT-0800 (Pacific Standard Time)"},"2092":{"selectTextMorph":{"__isSmartRef__":true,"id":2093}},"2093":{"time":{"__isSmartRef__":true,"id":2094},"user":"robertkrahn"},"2094":{"isSerializedDate":true,"string":"Tue Sep 13 2011 22:36:24 GMT-0700 (Pacific Daylight Time)"},"2095":{"x":1194,"y":134,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2096":{"x":440.8891202323927,"y":148.3751989240942,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2097":{"selectTextMorph":{"__isSmartRef__":true,"id":2098}},"2098":{"varMapping":{"__isSmartRef__":true,"id":2099},"source":"function selectTextMorph(morph) {\n this.targetMorph.selectTextMorph(morph)\n}","funcProperties":{"__isSmartRef__":true,"id":2100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2099":{"this":{"__isSmartRef__":true,"id":310}},"2100":{},"2101":{"submorphs":[],"scripts":[],"id":"4D88A97C-EA84-48C2-94C8-63D266332075","shape":{"__isSmartRef__":true,"id":2102},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2109},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":2110},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2125},"eventHandler":{"__isSmartRef__":true,"id":2126},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C"],"partTests":{"__isSmartRef__":true,"id":2127},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":2132},"isBeingDragged":false,"_Rotation":0,"_Scale":1.002003004005006,"eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Box"},"2102":{"position":{"__isSmartRef__":true,"id":2103},"_Extent":{"__isSmartRef__":true,"id":2104},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2105},"_Fill":{"__isSmartRef__":true,"id":2106},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2107},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2108},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2103":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2104":{"x":279.64017999999965,"y":81.03798099999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2105":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2106":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2107":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2108":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2109":{"x":1143,"y":552.9999999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2110":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really orange one. Its amazing what you can build out of simple boxes.... Who needs stars when you got orange rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":2111},{"__isSmartRef__":true,"id":2113},{"__isSmartRef__":true,"id":2115},{"__isSmartRef__":true,"id":2117},{"__isSmartRef__":true,"id":2119},{"__isSmartRef__":true,"id":2121},{"__isSmartRef__":true,"id":2123}],"revisionOnLoad":171602,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2111":{"date":{"__isSmartRef__":true,"id":2112},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"2112":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"2113":{"date":{"__isSmartRef__":true,"id":2114},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"2114":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"2115":{"date":{"__isSmartRef__":true,"id":2116},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2116":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"2117":{"date":{"__isSmartRef__":true,"id":2118},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2118":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"2119":{"date":{"__isSmartRef__":true,"id":2120},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2120":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"2121":{"date":{"__isSmartRef__":true,"id":2122},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2122":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"2123":{"date":{"__isSmartRef__":true,"id":2124},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"2124":{"isSerializedDate":true,"string":"Mon Jun 18 2012 10:35:08 GMT-0700 (Pacific Daylight Time)"},"2125":{"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","setStyleSheet":"setStyleSheetHTML"},"2126":{"morph":{"__isSmartRef__":true,"id":2101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2127":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2128}},"2128":{"test01IsMorph":{"__isSmartRef__":true,"id":2129}},"2129":{"varMapping":{"__isSmartRef__":true,"id":2130},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2131},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2130":{"this":{"__isSmartRef__":true,"id":2127}},"2131":{},"2132":{"x":280.63818099999963,"y":81.03798099999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2133":{"submorphs":[{"__isSmartRef__":true,"id":2134}],"scripts":[],"id":"341C75DE-435E-4D9E-8435-2EC49CBD9386","shape":{"__isSmartRef__":true,"id":2150},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2166},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2154},"lighterFill":{"__isSmartRef__":true,"id":2167},"label":{"__isSmartRef__":true,"id":2134},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2176},"attributeConnections":[{"__isSmartRef__":true,"id":2185}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":2186},"renderContextTable":{"__isSmartRef__":true,"id":2187},"eventHandler":{"__isSmartRef__":true,"id":2188},"distanceToDragEvent":{"__isSmartRef__":true,"id":2189},"derivationIds":[7251,"3F26258D-0EE1-4A94-8419-5EE2BB6065A6","B624295D-42E3-4E0A-B370-844C2B43F4F0","F5D160C8-1C2F-47D9-9BE1-2FD26C53BFB3"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2190},"__LivelyClassName__":"lively.morphic.Button"},"2134":{"submorphs":[],"scripts":[],"id":"DFF8AD1C-A813-49BA-811D-1175C9C63A65","shape":{"__isSmartRef__":true,"id":2135},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2141},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":2142},"_Padding":{"__isSmartRef__":true,"id":2143},"owner":{"__isSmartRef__":true,"id":2133},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":2144},"textChunks":[{"__isSmartRef__":true,"id":2145}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":2147},"eventHandler":{"__isSmartRef__":true,"id":2148},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"4881773E-A824-4992-B814-33C8D37580C6","EE955AA4-D648-4DFC-8E2D-08881D605170","7EC413DD-D34D-449D-B448-2F3904B04FA5"],"_MinTextWidth":101,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":2149},"__LivelyClassName__":"lively.morphic.Text"},"2135":{"position":{"__isSmartRef__":true,"id":2136},"_Extent":{"__isSmartRef__":true,"id":2137},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2138},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2139},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2140},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2136":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2137":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2138":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2139":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2140":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2141":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2142":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2143":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2144":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2145":{"style":{"__isSmartRef__":true,"id":2146},"chunkOwner":{"__isSmartRef__":true,"id":2134},"storedString":"Button","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2146":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2147":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2148":{"morph":{"__isSmartRef__":true,"id":2134},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2149":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2150":{"position":{"__isSmartRef__":true,"id":2151},"_Extent":{"__isSmartRef__":true,"id":2152},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2153},"_Fill":{"__isSmartRef__":true,"id":2154},"_BorderRadius":4.46,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2164},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2165},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2151":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2152":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2153":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2154":{"stops":[{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2161}],"vector":{"__isSmartRef__":true,"id":2163},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2155":{"offset":0,"color":{"__isSmartRef__":true,"id":2156}},"2156":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2157":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2158}},"2158":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2159":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2160}},"2160":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2161":{"offset":1,"color":{"__isSmartRef__":true,"id":2162}},"2162":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2163":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2164":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2165":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2166":{"x":1519,"y":375,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2167":{"stops":[{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2170},{"__isSmartRef__":true,"id":2172},{"__isSmartRef__":true,"id":2174}],"vector":{"__isSmartRef__":true,"id":2163},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2168":{"offset":0,"color":{"__isSmartRef__":true,"id":2169}},"2169":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2170":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2171}},"2171":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2172":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2173}},"2173":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2174":{"offset":1,"color":{"__isSmartRef__":true,"id":2175}},"2175":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2176":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":2177},{"__isSmartRef__":true,"id":2179},{"__isSmartRef__":true,"id":2181},{"__isSmartRef__":true,"id":2183}],"revisionOnLoad":169199,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2177":{"date":{"__isSmartRef__":true,"id":2178},"author":"undefined","message":"","id":"7074B413-6CF0-4892-9D18-52009A2A2E03"},"2178":{"isSerializedDate":true,"string":"Fri Apr 13 2012 12:04:01 GMT-0700 (Pacific Daylight Time)"},"2179":{"date":{"__isSmartRef__":true,"id":2180},"author":"sstamm","message":"reverted button","id":"9B7AA90A-42FC-4DE8-A4DE-51AB903A740E"},"2180":{"isSerializedDate":true,"string":"Mon Apr 16 2012 01:36:21 GMT-0700 (Pacific Daylight Time)"},"2181":{"date":{"__isSmartRef__":true,"id":2182},"author":"robertkrahn","message":"no comment","id":"97D17254-EAC6-4494-8330-A347909590D6"},"2182":{"isSerializedDate":true,"string":"Sat Apr 21 2012 05:08:58 GMT-0700 (Pacific Daylight Time)"},"2183":{"date":{"__isSmartRef__":true,"id":2184},"author":"robertkrahn","message":"no comment","id":"DDE22D44-9A6D-4485-80F3-262D5DA0CC07"},"2184":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:03:19 GMT-0700 (Pacific Daylight Time)"},"2185":{"sourceObj":{"__isSmartRef__":true,"id":2133},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2133},"targetMethodName":"doAction","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2186":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2187":{"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","setStyleSheet":"setStyleSheetHTML"},"2188":{"morph":{"__isSmartRef__":true,"id":2133},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2189":{"x":68,"y":-15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2190":{"doAction":{"__isSmartRef__":true,"id":2191}},"2191":{"varMapping":{"__isSmartRef__":true,"id":2192},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":2193},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2192":{"this":{"__isSmartRef__":true,"id":2133}},"2193":{"timestamp":{"__isSmartRef__":true,"id":2194},"user":"robertkrahn","tags":[]},"2194":{"isSerializedDate":true,"string":"Tue Jun 05 2012 05:02:40 GMT-0700 (Pacific Daylight Time)"},"2195":{"submorphs":[{"__isSmartRef__":true,"id":2196},{"__isSmartRef__":true,"id":3864},{"__isSmartRef__":true,"id":3899}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4024},"derivationIds":[null],"id":"F2C73741-9CF8-4320-BAE7-B54E0399E42E","renderContextTable":{"__isSmartRef__":true,"id":4028},"eventHandler":{"__isSmartRef__":true,"id":4029},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":4030},"LK2":true,"_Position":{"__isSmartRef__":true,"id":4031},"priorExtent":{"__isSmartRef__":true,"id":4032},"targetMorph":{"__isSmartRef__":true,"id":2196},"reframeHandle":{"__isSmartRef__":true,"id":3864},"titleBar":{"__isSmartRef__":true,"id":3899},"contentOffset":{"__isSmartRef__":true,"id":3862},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":false,"prevDragPos":{"__isSmartRef__":true,"id":4033},"isBeingDragged":false,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2196":{"submorphs":[{"__isSmartRef__":true,"id":2197},{"__isSmartRef__":true,"id":3773},{"__isSmartRef__":true,"id":3804},{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":3553},{"__isSmartRef__":true,"id":3656},{"__isSmartRef__":true,"id":3698},{"__isSmartRef__":true,"id":3835},{"__isSmartRef__":true,"id":3735},{"__isSmartRef__":true,"id":2213},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2289},{"__isSmartRef__":true,"id":2322},{"__isSmartRef__":true,"id":2355},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2421}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3853},"derivationIds":[null],"id":"A0AD545E-BF1E-4631-8FF3-F6D9BBEFFE34","renderContextTable":{"__isSmartRef__":true,"id":3859},"eventHandler":{"__isSmartRef__":true,"id":3860},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3861},"_Position":{"__isSmartRef__":true,"id":3862},"locationPane":{"__isSmartRef__":true,"id":2197},"codeBaseDirBtn":{"__isSmartRef__":true,"id":3773},"localDirBtn":{"__isSmartRef__":true,"id":3804},"Pane1":{"__isSmartRef__":true,"id":2461},"Pane2":{"__isSmartRef__":true,"id":3553},"Pane3":{"__isSmartRef__":true,"id":3656},"Pane4":{"__isSmartRef__":true,"id":3698},"midResizer":{"__isSmartRef__":true,"id":3835},"sourcePane":{"__isSmartRef__":true,"id":3735},"ownerWidget":{"__isSmartRef__":true,"id":2211},"owner":{"__isSmartRef__":true,"id":2195},"ownerApp":{"__isSmartRef__":true,"id":2211},"targetURL":{"__isSmartRef__":true,"id":2459},"priorExtent":{"__isSmartRef__":true,"id":3863},"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2197":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2198},"derivationIds":[null],"id":"6AA40113-27A5-498D-8384-E64137B039EA","renderContextTable":{"__isSmartRef__":true,"id":2203},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2204}],"eventHandler":{"__isSmartRef__":true,"id":2206},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":2207},"priorExtent":{"__isSmartRef__":true,"id":2208},"_MaxTextWidth":777.9999999999998,"_MinTextWidth":777.9999999999998,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2196},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":2209},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":2210}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"_TextColor":{"__isSmartRef__":true,"id":3741},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2198":{"_Position":{"__isSmartRef__":true,"id":2199},"renderContextTable":{"__isSmartRef__":true,"id":2200},"_Extent":{"__isSmartRef__":true,"id":2201},"_Padding":{"__isSmartRef__":true,"id":2202},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":449},"_NodeClass":["morph","text"],"_NodeId":"morph-6aa40113-27a5-498d-8384-e64137b039ea","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2199":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2200":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2201":{"x":779.9999999999998,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2202":{"x":1,"y":1,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2203":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2204":{"style":{"__isSmartRef__":true,"id":2205},"chunkOwner":{"__isSmartRef__":true,"id":2197},"storedString":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2205":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2206":{"morph":{"__isSmartRef__":true,"id":2197},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2207":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2208":{"x":779.9999999999998,"y":23.609999999999996,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2209":{"scaleVertical":true,"scaleHorizontal":true},"2210":{"sourceObj":{"__isSmartRef__":true,"id":2197},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setTargetURL","converter":null,"converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3772},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2211":{"buttonCommands":[{"__isSmartRef__":true,"id":2212},{"__isSmartRef__":true,"id":2255},{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2321},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2387},{"__isSmartRef__":true,"id":2420}],"RootFilters":[{"__isSmartRef__":true,"id":2453}],"Pane1Filters":[{"__isSmartRef__":true,"id":2454},{"__isSmartRef__":true,"id":2455}],"Pane2Filters":[{"__isSmartRef__":true,"id":2456}],"Pane3Filters":[{"__isSmartRef__":true,"id":2457}],"Pane4Filters":[{"__isSmartRef__":true,"id":2458}],"evaluate":true,"targetURL":{"__isSmartRef__":true,"id":2459},"panel":{"__isSmartRef__":true,"id":2196},"attributeConnections":[{"__isSmartRef__":true,"id":2460},{"__isSmartRef__":true,"id":3552},{"__isSmartRef__":true,"id":3655},{"__isSmartRef__":true,"id":3697},{"__isSmartRef__":true,"id":3734},{"__isSmartRef__":true,"id":3753}],"SourceString":"module('lively.morphic.Widgets').requires('lively.morphic.Core', 'lively.morphic.Events', 'lively.WidgetsTraits', 'lively.morphic.Styles').toRun(function() {\n\nlively.morphic.Morph.subclass('lively.morphic.Button',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\n\n\nlively.morphic.Button.subclass('lively.morphic.ImageButton',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Image',\n'initializing', {\n doNotSerialize: ['isLoaded'],\n initialize: function($super, bounds, url, useNativeExtent) {\n var imageShape = this.createImageShape(bounds.extent().extentAsRectangle(), url);\n $super(imageShape);\n this.setPosition(bounds.topLeft());\n if (useNativeExtent) {\n connect(imageShape, 'isLoaded', this, 'setNativeExtent',\n {removeAfterUpdate: true});\n } else {\n connect(imageShape, 'isLoaded', this, 'setExtent',\n {removeAfterUpdate: true, converter: function() {\n return this.targetObj.getExtent() }});\n }\n },\n createImageShape: function(bounds, url) {\n return new lively.morphic.Shapes.Image(bounds, url);\n },\n},\n'accessing', {\n setImageURL: function(url) { return this.shape.setImageURL(url) },\n getImageURL: function() { return this.shape.getImageURL() },\n getNativeExtent: function() { return this.shape.getNativeExtent() },\n setNativeExtent: function() {\n var ext = this.getNativeExtent();\n // FIXME magic numbers\n if (ext.x < 10) ext.x = 10;\n if (ext.y < 10) ext.y = 10;\n return this.setExtent(ext);\n },\n},\n'halos', {\n getHaloClasses: function($super) {\n return $super().concat([lively.morphic.SetImageURLHalo]);\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n items.push(['set to original extent', this.setNativeExtent.bind(this)]);\n items.push(['inline image data', this.convertToBase64.bind(this)]);\n return items;\n },\n},\n'keyboard events', {\n onKeyPress: function($super, evt) {\n // The extent of iages should can be changed by using the + and - key\n var key = evt.getKeyChar();\n\n switch (key) {\n case \"-\": {\n this.setExtent(this.getExtent().scaleBy(0.8))\n return true;\n }\n case \"+\": {\n this.setExtent(this.getExtent().scaleBy(1.1))\n return true;\n }\n }\n return $super(evt)\n }\n},\n'inline image', {\n convertToBase64: function() {\n var urlString = this.getImageURL();\n\n var type = urlString.substring(urlString.lastIndexOf('.') + 1, urlString.length)\n if (type == 'jpg') type = 'jpeg'\n if (!['gif', 'jpeg', 'png', 'tiff'].include(type)) type = 'gif'\n\n if (false && Global.btoa) {\n // FIXME actually this should work but the encoding result is wrong...\n // maybe the binary image content is not loaded correctly because of encoding?\n urlString = URL.makeProxied(urlString);\n var content = new WebResource(urlString).get(null, 'image/' + type).content\n\n var fixedContent = content.replace(/./g, function(m) {\n return String.fromCharCode(m.charCodeAt(0) & 0xff);\n });\n var encoded = btoa(fixedContent);\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n } else {\n if (!urlString.startsWith('http'))\n urlString = URL.source.getDirectory().withFilename(urlString).toString()\n require('server.nodejs.WebInterface').toRun(function() { // FIXME\n var encoded = this.encodeOnServer(urlString)\n if (!encoded || encoded == '')\n lively.morphic.World.current().alert('Cannot convert image with url ' + urlString + ' to base64');\n else\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n }.bind(this));\n }\n },\n encodeOnServer: function(urlString) {\n var cmd = 'curl --silent \"' + urlString + '\" | openssl base64',\n result = new CommandLineServerInterface().beSync().runCommand(cmd).result;\n return result && result.stdout ? result.stdout : '';\n },\n});\nObject.extend(lively.morphic.Image, {\n fromURL: function(url, optBounds) {\n var bounds = optBounds || new Rectangle(0,0, 100, 100);\n return new lively.morphic.Image(bounds, url, optBounds == undefined)\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.CheckBox',\n'properties', {\n connections: {\n setChecked: {}\n }\n},\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n this.setChecked(isChecked);\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'checkbox';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n setChecked: function(bool) {\n this.checked = bool;\n this.renderContext().shapeNode.checked = bool;\n return bool;\n },\n},\n'testing', {\n isChecked: function() {\n return this.checked;\n },\n},\n'event handling', {\n onClick: function(evt) {\n // for halos/menus\n if (evt.isCommandKey() || !evt.isLeftMouseButtonDown()) {\n evt.stop()\n return true;\n }\n // we do it ourselves\n this.setChecked(!this.isChecked());\n return true;\n },\n},\n'serialization', {\n prepareForNewRenderContext: function ($super, renderCtx) {\n $super(renderCtx);\n // FIXME what about connections to this.isChecked?\n // they would be updated here...\n this.setChecked(this.isChecked());\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.PasswordInput',\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'password';\n node.className = 'visibleSelection';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n set value(string) {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n if (inputNode) {\n inputNode.value = string;\n }\n\n lively.bindings.signal(this, 'value', string);\n return string;\n },\n get value() {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n return inputNode ? inputNode.value : '';\n }\n});\n\nlively.morphic.Box.subclass('lively.morphic.ProgressBar',\n'settings', {\n style: {\n fill: Color.white, borderColor: Color.rgb(170,170,170), borderWidth: 1, borderRadius: 5,\n adjustForNewBounds: true,\n clipMode: 'hidden', // so that sharp borders of progress do not stick out\n },\n progressStyle: {\n scaleHorizontal: true,\n scaleVertical: true,\n borderColor: Color.rgb(170,170,170),\n borderWidth: 1,\n borderRadius: \"5px 0px 0px 5px\",\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(223,223,223)},\n {offset: 1, color: Color.rgb(204,204,204)}]),\n clipMode: 'hidden', // for label\n },\n labelStyle: {\n fontSize: 11,\n fixedWidth: true,\n fixedHeight: false,\n clipMode: 'hidden',\n align: 'center',\n },\n},\n'initializing', {\n initialize: function($super, bounds) {\n bounds = bounds || new Rectangle(0,0, 200,22);\n $super(bounds);\n this.createProgressMorph();\n this.createLabel();\n this.value = 0;\n },\n createProgressMorph: function() {\n var bounds = this.innerBounds();\n this.progressMorph = this.addMorph(lively.morphic.Morph.makeRectangle(bounds.withWidth(0)));\n this.progressMorph.applyStyle(this.progressStyle);\n this.progressMorph.ignoreEvents();\n },\n createLabel: function() {\n this.labelBlack = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.black, centeredVertical: true, scaleHorizontal: true}, this.labelStyle));\n this.labelWhite = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.white}, this.labelStyle));\n\n this.addMorphBack(this.labelBlack);\n this.progressMorph.addMorph(this.labelWhite);\n\n this.labelBlack.ignoreEvents();\n this.labelWhite.ignoreEvents();\n\n connect(this.labelBlack, 'extent', this.labelWhite, 'setExtent')\n connect(this.labelBlack, 'position', this.labelWhite, 'setPosition')\n this.labelBlack.setBounds(this.innerBounds());\n this.labelBlack.fit();\n },\n\n\n},\n'accessing', {\n getValue: function() { return this.value },\n setValue: function(v) { this.updateBar(v); return this.value = v },\n setLabel: function(string) {\n this.labelBlack.textString = string;\n this.labelWhite.textString = string;\n },\n\n},\n'updating', {\n updateBar: function(value) {\n\tvar maxExt = this.getExtent();\n // this.progressMorph.setPosition(pt(1,1));\n this.progressMorph.setExtent(pt(Math.floor(maxExt.x * value), maxExt.y));\n },\n});\n\nlively.morphic.Text.subclass('lively.morphic.FrameRateMorph', {\n\n initialize: function($super, shape) {\n // Steps at maximum speed, and gathers stats on ticks per sec and max latency\n $super(shape);\n this.setTextString('FrameRateMorph')\n this.reset(new Date());\n },\n\n reset: function(date) {\n this.lastTick = date.getSeconds();\n this.lastMS = date.getTime();\n this.stepsSinceTick = 0;\n this.maxLatency = 0;\n },\n\n nextStep: function() {\n var date = new Date();\n this.stepsSinceTick++;\n var nowMS = date.getTime();\n this.maxLatency = Math.max(this.maxLatency, nowMS - this.lastMS);\n this.lastMS = nowMS;\n var nowTick = date.getSeconds();\n if (nowTick != this.lastTick) {\n this.lastTick = nowTick;\n var ms = (1000 / Math.max(this. stepsSinceTick,1)).roundTo(1);\n this.setTextString(this.stepsSinceTick + \" frames/sec (\" + ms + \"ms avg),\\nmax latency \" + this.maxLatency + \" ms.\");\n this.reset(date);\n }\n },\n\n startSteppingScripts: function() { this.startStepping(1, 'nextStep'); }\n\n});\n\nlively.morphic.Box.subclass('lively.morphic.Menu',\n'settings', {\n style: {\n fill: Color.gray.lighter(3),\n borderColor: Color.gray.lighter(),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n opacity: 0.95,\n },\n isEpiMorph: true,\n},\n'initializing', {\n initialize: function($super, title, items) {\n $super(new Rectangle(0,0, 120, 10));\n this.items = [];\n this.itemMorphs = [];\n\n if (title) this.setupTitle(title);\n if (items) this.addItems(items);\n },\n setupTitle: function(title) {\n if (this.title) this.title.remove()\n this.title = new lively.morphic.Text(\n new Rectangle(0,0, this.getExtent().x, 25),\n String(title).truncate(26)).beLabel({\n borderRadius: this.getBorderRadius(),\n borderColor: this.getBorderColor(),\n borderWidth: 0,\n fill: new lively.morphic.LinearGradient([{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray}]),\n textColor: CrayonColors.lead,\n clipMode: 'hidden',\n fixedWidth: false,\n fixedHeight: true,\n borderColor: Color.gray.lighter(2),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n padding: Rectangle.inset(5,5,5,5),\n emphasize: {fontWeight: 'bold'}\n });\n this.title.align(this.title.bounds().bottomLeft(), pt(0,0));\n this.addMorph(this.title);\n this.fitToItems()\n },\n},\n'opening', {\n openIn: function(parentMorph, pos, remainOnScreen, captionIfAny) {\n this.setPosition(pos || pt(0,0));\n\n if (captionIfAny) { this.setupTitle(captionIfAny) };\n\n var owner = parentMorph || lively.morphic.World.current();\n this.remainOnScreen = remainOnScreen;\n if (!remainOnScreen) {\n if (owner.currentMenu) { owner.currentMenu.remove() };\n owner.currentMenu = this;\n } else {\n this.isEpiMorph = false;\n }\n\n owner.addMorph(this);\n this.fitToItems.bind(this).delay(0);\n\n this.offsetForWorld(pos);\n // delayed because of fitToItems\n // currently this is deactivated because the initial bounds are correct\n // for our current usage\n // this.offsetForWorld.curry(pos).bind(this).delay(0);\n\n return this;\n },\n},\n'removing', {\n remove: function($super) {\n var w = this.world();\n if (w && w.currentMenu === this) w.currentMenu = null;\n $super();\n },\n},\n'item management', {\n removeAllItems: function() {\n this.items = [];\n this.itemMorphs = [];\n this.submorphs.without(this.title).invoke('remove');\n },\n\n createMenuItems: function(items) {\n function createItem(string, value, idx, callback, callback2, isSubMenu) {\n return {\n isMenuItem: true,\n isListItem: true,\n\t\t\t\tisSubMenu: isSubMenu,\n string: string,\n value: value,\n idx: idx,\n onClickCallback: callback,\n onMouseOverCallback: callback2,\n }\n }\n var result = [], self = this;\n items.forEach(function(item, i) {\n if (item.isMenuItem) { item.idx = i; result.push(item); return };\n // item = [name, callback]\n if (Object.isArray(item) && Object.isFunction(item[1])) {\n result.push(createItem(String(item[0]), item[0], i, item[1]))\n return;\n }\n // item = [name, target, methodName, args...]\n if (Object.isArray(item) && Object.isString(item[2])) {\n result.push(createItem(String(item[0]), item[0], i, function(evt) {\n var receiver = item[1],\n method = receiver[item[2]],\n args = item.slice(3);\n method.apply(receiver, args) }))\n return;\n }\n // sub menu item = [name, [sub elements]]\n if (Object.isArray(item) && Object.isArray(item[1])) {\n var name = item[0], subItems = item[1];\n result.push(createItem(name, name, i, null, function(evt) {\n self.openSubMenu(evt, name, subItems) }, true));\n return;\n }\n // item = \"some string\"\n result.push(createItem(String(item), item, i, function() { alert('clicked ' + self.idx) }));\n });\n return result;\n },\n\n addItems: function(items) {\n this.removeAllItems();\n this.items = this.createMenuItems(items);\n var y = 0, x = 0, self = this;\n\n this.items.forEach(function(item) {\n \n // Always start menu items with a capital letter\n var title = item.string //.substr(0,1).toUpperCase() + item.string.substr(1, item.string.length-1);\n \n var itemHeight = 23,\n itemMorph = new lively.morphic.Text(\n new Rectangle(0, y, this.getExtent().x, itemHeight), title);\n \n // If an item has a sub menu, add an arrow icon to it\n if (item.isSubMenu) {\n var arrowMorph = new lively.morphic.Text(\n new Rectangle(0, 0, 10, itemHeight), \"▶\");\n arrowMorph.setPosition(pt(this.getExtent().x, y));\n arrowMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10,\n padding: Rectangle.inset(3,2) });\n itemMorph.addMorph(arrowMorph);\n }\n \n\n this.itemMorphs.push(this.addMorph(itemMorph));\n \n\n itemMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10.5,\n padding: Rectangle.inset(3,2) });\n itemMorph.onMouseUp = function(evt) {\n if((evt.world.clickedOnMorph !== itemMorph)\n && (Date.now() - evt.world.clickedOnMorphTime < 500))\n return false; // only a click\n // FIXME $super\n lively.morphic.Morph.prototype.onMouseUp(evt);\n //if (!evt.isLeftMouseButtonDown()) return false;\n item.onClickCallback && item.onClickCallback(evt);\n if (!self.remainOnScreen) self.remove(); // remove the menu\n evt.stop();\n return true;\n }\n\n itemMorph.registerForEvent('mouseover', itemMorph, 'onMouseOver');\n itemMorph.onMouseOver = function(evt) {\n if (itemMorph.isSelected) return true;\n itemMorph.isSelected = true;\n itemMorph.owner.itemMorphs.without(itemMorph).invoke('deselect');\n itemMorph.applyStyle({\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(100,131,248)},\n {offset: 1, color: Color.rgb(34,85,245)}]),\n textColor: Color.white,\n borderRadius: 4\n })\n \n // if the item is a submenu, set its textColor to white\n var arrow = itemMorph.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.white});\n }\n \n self.overItemMorph = itemMorph;\n self.removeSubMenu()\n item.onMouseOverCallback && item.onMouseOverCallback(evt);\n evt.stop();\n return true;\n };\n itemMorph.addScript(function onMouseWheel(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function onSelectStart(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n \n // if the item is a submenu, set its textColor back to black\n var arrow = this.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.black});\n }\n })\n y += itemHeight;\n x = Math.max(x, itemMorph.getTextExtent().x);\n }, this)\n // this.setExtent(pt(this.getExtent().x, y))\n if (this.title) y += this.title.bounds().height;\n this.setExtent(pt(x, y));\n },\n addItems2: function() {\n/* use list morph for items...\n var listMorph = new lively.morphic.List(new Rectangle(0,0, 200, 0), this.items);\n listMorph.applyStyle({clipMode: 'visible', fill: Color.white})\n listMorph.addScript(function onMouseOver(evt) {\n // just highlight\n var idx = this.renderContextDispatch('getItemIndexFromEvent', evt);\n this.renderContextDispatch('selectAt', idx);\n var item = this.itemList[idx];\n this.owner.removeSubMenu()\n this.owner.overItemMorph = this;\n if (item && item.onMouseOverCallback) item.onMouseOverCallback(evt);\n evt.stop()\n return true;\n })\n listMorph.addScript(function onMouseDown(evt) {\n if (!$super(evt)) return false;\n var item = this.itemList[this.selectedLineNo];\n if (item && item.onClickCallback) item.onClickCallback(evt);\n this.owner.remove();\n evt.stop();\n return true;\n })\n this.addMorph(listMorph);\n(function() { listMorph.setExtent(listMorph.getListExtent()); }).delay(0);\n// lively.bindings.callWhenNotNull(\n // this, 'owner',\n // {fit: function() { alert(listMorph.getListExtent()); listMorph.setExtent(listMorph.getListExtent()); }}, 'fit');\n\n return;\n*/\n },\n},\n'sub menu', {\n openSubMenu: function(evt, name, items) {\n var m = new lively.morphic.Menu(null, items);\n this.addMorph(m);\n m.fitToItems.bind(m).delay(0);\n this.subMenu = m;\n m.ownerMenu = this;\n\n // we do this twice because effect of fitToItems is delayed\n m.setVisible(false); // we hide it because it is first shown at the wrong position\n m.offsetForOwnerMenu();\n (function() {\n m.offsetForOwnerMenu()\n m.setVisible(true);\n }).delay(0);\n\n return m;\n },\n removeSubMenu: function() { if (this.subMenu) { var m = this.subMenu; m.ownerMenu = null; this.subMenu = null; m.remove() } },\n removeOwnerMenu: function() { if (this.ownerMenu) { var m = this.ownerMenu; this.ownerMenu = null; m.remove() } },\n},\n'removal', {\n remove: function($super) {\n $super();\n this.removeSubMenu();\n this.removeOwnerMenu();\n },\n},\n'bounds calculation', {\n moveBoundsForVisibility: function(menuBounds, visibleBounds) {\n var offsetX = 0,\n offsetY = 0;\n Global.lastMenuBounds = menuBounds;\n\n if (menuBounds.right() > visibleBounds.right())\n offsetX = -1 * (menuBounds.right() - visibleBounds.right());\n\n var overlapLeft = menuBounds.left() + offsetX;\n if (overlapLeft < 0)\n offsetX += -overlapLeft;\n\n if (menuBounds.bottom() > visibleBounds.bottom()) {\n offsetY = -1 * (menuBounds.bottom() - visibleBounds.bottom());\n // so that hand is not directly over menu, does not work when\n // menu is in the bottom right corner\n offsetX += 1;\n }\n var overlapTop = menuBounds.top() + offsetY;\n if (overlapTop < 0)\n offsetY += -overlapTop;\n\n return menuBounds.translatedBy(pt(offsetX, offsetY));\n },\n moveSubMenuBoundsForVisibility: function(subMenuBnds, mainMenuItemBnds, visibleBounds, direction) {\n // subMenuBnds is bounds to be transformed, mainMenuItemBnds is the bounds of the menu\n // item that caused the submenu to appear, visbleBounds is the bounds that the submenu\n // should fit into, when there are multiple submenus force one direction with forceDirection\n if (!direction) {\n direction = mainMenuItemBnds.right() + subMenuBnds.width > visibleBounds.right() ?\n 'left' : 'right';\n }\n var extent = subMenuBnds.extent();\n if (direction === 'left') {\n subMenuBnds = mainMenuItemBnds.topLeft().addXY(-extent.x, 0).extent(extent);\n } else {\n subMenuBnds = mainMenuItemBnds.topRight().extent(extent);\n }\n\n if (subMenuBnds.bottom() > visibleBounds.bottom()) {\n var deltaY = -1 * (subMenuBnds.bottom() - visibleBounds.bottom());\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n // if it overlaps at the top move the bounds so that it aligns woitht he top\n if (subMenuBnds.top() < visibleBounds.top()) {\n var deltaY = visibleBounds.top() - subMenuBnds.top();\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n return subMenuBnds;\n },\n\n offsetForWorld: function(pos) {\n var bounds = this.innerBounds().translatedBy(pos);\n if (this.title) {\n bounds = bounds.withTopLeft(bounds.topLeft().addXY(0, this.title.getExtent().y));\n }\n if (this.owner.visibleBounds) {\n bounds = this.moveBoundsForVisibility(bounds, this.owner.visibleBounds());\n }\n this.setBounds(bounds);\n },\n\n offsetForOwnerMenu: function() {\n var owner = this.ownerMenu,\n visibleBounds = this.world().visibleBounds(),\n localVisibleBounds = this.getTransform().inverse().transformRectToRect(visibleBounds),\n newBounds = this.moveSubMenuBoundsForVisibility(\n this.innerBounds(),\n owner.overItemMorph ? owner.overItemMorph.bounds() : new Rectangle(0,0,0,0),\n localVisibleBounds);\n this.setBounds(newBounds);\n },\n\n fitToItems: function() {\n var offset = 10 + 20,\n morphs = this.itemMorphs;\n if (this.title) morphs = morphs.concat([this.title]);\n var widths = morphs.invoke('getTextExtent').pluck('x');\n var width = Math.max.apply(Global, widths) + offset;\n var newExtent = this.getExtent().withX(width);\n this.setExtent(newExtent);\n morphs.forEach(function(ea) { \n ea.setExtent(ea.getExtent().withX(newExtent.x));\n if (ea.submorphs.length>0) { \n var arrow = ea.submorphs.first();\n arrow.setPosition(arrow.getPosition().withX(newExtent.x-17));\n }\n })\n }\n\n});\n\nObject.extend(lively.morphic.Menu, {\n openAtHand: function(title, items) {\n return this.openAt(lively.morphic.World.current().firstHand().getPosition(), title, items);\n },\n openAt: function(pos, title, items) {\n var menu = new lively.morphic.Menu(title, items);\n return menu.openIn(lively.morphic.World.current(), pos, false);\n },\n});\n\n\nlively.morphic.Morph.addMethods(\n'menu', {\n enableMorphMenu: function() {\n this.showsMorphMenu = true;\n },\n disableMorphMenu: function() { this.showsMorphMenu = false },\n openMorphMenuAt: function(pos, itemFilter) {\n if (!(itemFilter instanceof Function)) {\n itemFilter = function (items) { return items }\n }\n return lively.morphic.Menu.openAt(pos, this.name || this.toString(), itemFilter(this.morphMenuItems()));\n },\n showMorphMenu: function(evt) {\n this.openMorphMenuAt(evt.getPosition());\n evt.stop();\n return true;\n },\n morphMenuItems: function() {\n var self = this, items = [];\n items.push([\n 'publish', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }])\n items.push(['open in window', function(evt){\n self.openInWindow(evt.mousePoint);\n }]);\n\n // Drilling into scene to addMorph or get a halo\n var morphs = this.world().morphsContainingPoint(this.worldPoint(pt(0,0)))\n .reject(function(ea) { return ea === self})\n .reject(function(ea) { return ea === $world})\n var self = this;\n items.push([\"add morph to...\", morphs.collect(function(ea) {\n return [ea, function() { ea.addMorph(self)}]\n })])\n items.push([\"get halo on...\", morphs.collect(function(ea) {\n return [ea, function(evt) { ea.toggleHalos(evt)}]\n })])\n var steppingItems = [];\n \n if (this.startSteppingScripts) {\n steppingItems.push([\"start stepping\", function(){self.startSteppingScripts()}])\n } \n if (this.scripts.length != 0) {\n steppingItems.push([\"stop stepping\", function(){self.stopStepping()}])\n }\n if (steppingItems.length != 0) {\n items.push([\"stepping\", steppingItems])\n } \n if (this.attributeConnections && this.attributeConnections.length > 0) {\n items.push([\"connections\", this.attributeConnections\n .reject(function(ea) { return ea.dependedBy}) // Meta connection\n .reject(function(ea) { return ea.targetMethodName == 'alignToMagnet'}) // Meta connection\n .collect(function(ea) {\n var s = ea.sourceAttrName + \" -> \" + ea.targetObj + \".\" + ea.targetMethodName\n return [s, [\n [\"disconnect\", function() {\n alertOK(\"disconnecting \" + ea)\n ea.disconnect()}],\n [\"edit converter\", function() {\n var window = lively.bindings.editConnection(ea);\n }],\n [\"show\", function() {\n lively.bindings.showConnection(ea);\n }],\n [\"hide\", function() {\n if (ea.visualConnector) ea.visualConnector.remove();\n }],\n ]]\n })])\n }\n\n if (this.grabbingEnabled || this.grabbingEnabled == undefined) {\n items.push([\"disable grabbing\", this.disableGrabbing.bind(this)])\n } else {\n items.push([\"enable grabbing\", this.enableGrabbing.bind(this)])\n }\n\n if (this.owner && this.owner.submorphs.length > 1) {\n var arrange = [];\n arrange.push([\"bring to front\", function(){self.bringToFront()}]);\n arrange.push([\"send to back\", function(){self.sendToBack()}]);\n items.push([\"arrange morph\", arrange]);\n }\n \n\n if (this.submorphs.length > 0) {\n if (this.isLocked()) {\n items.push([\"unlock parts\", this.unlock.bind(this)])\n } else {\n items.push([\"lock parts\", this.lock.bind(this)])\n }\n }\n\n if (false) {\n items.push([\"enable internal selections\", function() {\n Trait('SelectionMorphTrait').applyTo(self, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n self.enableDragging();\n }])\n }\n\n if (this.reset)\n items.push(['reset', this.reset.bind(this)]);\n\n if (this.owner.owner) { // Is owner owner a Stack?\n if (this.owner.owner.pageArray) {\n this.owner.owner.stackMenuItems(this, items) // move between page and background\n }\n }\n\n return items;\n },\n getWindow: function() {\n if (this.isWorld) {\n return null;\n }\n if (this.isWindow) {\n return this;\n }\n if (this.owner) {\n return this.owner.getWindow();\n }\n return null;\n },\n\n\n\n\n});\nlively.morphic.Text.addMethods(\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n (this.evalEnabled ? '[X]' : '[ ]') + ' eval',\n function() { self.evalEnabled = !self.evalEnabled }\n ]);\n items.push([\n (this.syntaxHighlightingWhileTyping ? '[X]' : '[ ]') + ' syntax highlighting',\n function() { self.syntaxHighlightingWhileTyping ?\n self.disableSyntaxHighlighting() : self.enableSyntaxHighlighting() }\n ]);\n items.push([\n 'convert to annotation',\n function() {\n var part = $world.openPartItem('AnnotationPin', 'PartsBin/Documentation');\n part.setPosition(self.getPosition());\n part.createAnnotationFromText(self);\n self.remove();\n }\n ]);\n items.push([\n (self.isInChunkDebugMode() ? 'disable' : 'enable') + ' text chunk debugging',\n function() { self.setChunkDebugMode(!self.isInChunkDebugMode()) }]);\n return items;\n },\n\n});\n\n\nlively.morphic.World.addMethods(\n'tools', {\n loadPartItem: function(partName, optPartspaceName) {\n var optPartspaceName = optPartspaceName || 'PartsBin/NewWorld';\n var part = lively.PartsBin.getPart(partName, optPartspaceName);\n if (!part)\n \treturn;\n if (part.onCreateFromPartsBin) part.onCreateFromPartsBin();\n return part;\n },\n openPartItem: function(partName, optPartspaceName) {\n var part = this.loadPartItem(partName, optPartspaceName);\n part.openInWorld(pt(0,0))\n part.align(part.bounds().center(), this.visibleBounds().center());\n return part;\n },\n openPartsBin: function(evt) {\n return this.openPartItem('PartsBinBrowser', 'PartsBin/Tools');\n },\n openInspectorFor: function(object, evt) {\n var name = Config.useObjectInspector ? \"ObjectInspector\" : \"Explorer\";\n var part = this.openPartItem(name, 'PartsBin/Tools');\n part.explore(object);\n return part;\n },\n openStyleEditorFor: function(morph, evt) {\n var editor = this.openPartItem('StyleEditor', 'PartsBin/Tools');\n editor.setTarget(morph);\n var globalPos = morph.owner.getGlobalTransform().transformPoint(\n morph.bounds().bottomLeft());\n editor.align(editor.bounds().topLeft(),globalPos);\n return editor;\n },\n openObjectEditor: function() {\n return this.openPartItem('ObjectEditor', 'PartsBin/Tools');\n },\n openObjectEditorFor: function(morph) {\n var part = this.openObjectEditor();\n part.setTarget(morph);\n return part;\n },\n openMethodFinder: function() {\n return this.openPartItem('MethodFinder', 'PartsBin/Tools');\n },\n openMethodFinderFor: function(searchString) {\n var toolPane = this.get('ToolTabPane');\n if (!toolPane) {\n toolPane = this.openPartItem('ToolTabPane', 'PartsBin/Dialogs');\n toolPane.openInWindow();\n toolPane.owner.name = toolPane.name +\"Window\";\n toolPane.owner.minExtent = pt(700,370);\n var corner = toolPane.withAllSubmorphsDetect(function (ea) {\n return ea.name == \"ResizeCorner\";\n });\n corner && toolPane.owner.addMorph(corner)\n }\n var part = toolPane.openMethodFinderFor(searchString)\n part.setExtent(toolPane.tabPaneExtent)\n part.owner.layout = part.owner.layout || {};\n part.owner.layout.resizeWidth = true;\n part.owner.layout.resizeHeight = true;\n part.owner.layout.adjustForNewBounds = true;\n return part;\n },\n openVersionViewer: function(evt) {\n return this.openPartItem('VersionViewer', 'PartsBin/Wiki');\n },\n openTestRunner: function() {\n var m = this.openPartItem('TestRunner', 'PartsBin/Tools');\n m.align(m.bounds().topCenter().addPt(pt(0,-20)), this.visibleBounds().topCenter());\n return m\n },\n openClassBrowserFor: function(searchString) {\n var part = this.openPartItem('ClassBrowser', 'PartsBin/Tools');\n part.targetMorph.searchClass(searchString);\n return part;\n },\n openPublishPartDialogFor: function(morph) {\n var publishDialog = this.loadPartItem('PublishPartDialog', 'PartsBin/Dialogs');\n var metaInfo = morph.getPartsBinMetaInfo();\n publishDialog.targetMorph.setTarget(morph);\n publishDialog.openInWorldCenter();\n $world.publishPartDialog = publishDialog;\n return publishDialog;\n },\n openConnectDocumentation: function() {\n return this.openPartItem('HowConnectWorks', 'PartsBin/Documentation');\n },\n openShortcutDocumentation: function() {\n return this.openPartItem('HelpfulShortcuts', 'PartsBin/Documentation');\n },\n openPartsBinDocumentation: function() {\n return this.openPartItem('LivelysPartsBin', 'PartsBin/Documentation');\n },\n openSystemBrowser: function(evt) {\n var world = this,\n browser;\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n browser = new lively.ide.SystemBrowser();\n browser.openIn(world);\n\n var lastOpened = lively.ide.SourceControl.registeredBrowsers.last();\n lastOpened && browser.setTargetURL(lastOpened.targetURL)\n });\n return browser;\n },\n browseCode: function(/*args*/) {\n // find code and browse it\n // args can be objectName, methodName, sourceModuleName\n // see lively.ide.browse for more options\n var args = Array.from(arguments);\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n lively.ide.browse.apply(lively.ide, args);\n });\n },\n\n openWorkspace: function(evt) {\n var text = this.addTextWindow({title: 'Workspace',\n content: 'nothing', syntaxHighlighting: true})\n text.accessibleInInactiveWindow = true;\n text.setFontFamily('Monaco,monospace');\n return text;\n },\n openAboutBox: function() {\n var text = this.addTextWindow({title: 'About Lively Kernel'});\n text.owner.setExtent(pt(390, 105));\n var webR = new WebResource(new URL(Config.rootPath));\n var licenseURL = 'http://lively-kernel.org/license/index.html';\n var headRevision = webR.getHeadRevision().headRevision;\n var repositoryString = 'Repository: ' + Config.rootPath;\n var revisionString = '\\n\\nRevision: ' + headRevision;\n var licenseString = '\\n\\nLicense: ' + licenseURL;\n text.setTextString(repositoryString + revisionString + licenseString);\n text.changeEmphasis('Repository: '.length, repositoryString.length + 1, function(emph, doEmph) {\n doEmph({uri: Config.rootPath});\n });\n text.changeEmphasis(repositoryString.length + revisionString.length + '\\n\\nLicense: '.length, repositoryString.length + revisionString.length + licenseString.length + 1, function(emph, doEmph) {\n doEmph({uri: licenseURL});\n });\n text.setSelectionRange(0,0)\n return text;\n },\n openBootstrapParts: function() {\n // load the bootstrap part from webwerkstat\n // this part can fetch all his friends :-)\n var oldRootPath = Config.rootPath\n try {\n Config.rootPath = 'http://lively-kernel.org/repository/webwerkstatt/'\n this.openPartItem(\"BootstrapParts\", \"PartsBin/Tools\")\n } finally {\n Config.rootPath = oldRootPath\n }\n },\n openSystemConsole: function() {\n return this.openPartItem('SystemConsole', 'PartsBin/Tools');\n }\n},\n'menu', {\n morphMenuPartsBinItems: function() {\n var partSpaceName = 'PartsBin/NewWorld'\n var partSpace = lively.PartsBin.partsSpaceNamed(partSpaceName);\n partSpace.load()\n return partSpace.getPartNames().sort().collect(function(ea) { return [ea, function() {\n var part = lively.PartsBin.getPart(ea, partSpaceName)\n lively.morphic.World.current().firstHand().addMorph(part)\n }]})\n },\n morphMenuDefaultPartsItems: function() {\n var items = [],\n partNames = [\"Rectangle\", \"Ellipse\", \"Image\", \"Text\", 'Line'].sort();\n\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Basic',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n\n partNames = [\"List\", \"Slider\", \"ScriptableButton\", \"Button\"].sort()\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Inputs',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n return items;\n },\n\n debuggingMenuItems: function(world) {\n var items = [\n ['Reset world scale', this.resetScale.bind(this)],\n ['Reset title bars', this.resetAllTitleBars.bind(this)],\n ['Reset button labels', this.resetAllButtonLabels.bind(this)],\n ['World serialization info', function() {\n require('lively.persistence.Debugging').toRun(function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n })}]];\n\n // world requirements\n var changeSet = this.getChangeSet()\n worldRequirementsChange = changeSet.getWorldRequirementsList(),\n worldRequirements = worldRequirementsChange.evaluate(),\n removeRequirement = function(name) {\n changeSet.removeWorldRequirement(name);\n alertOK(name + ' is not loaded at startup anymore');\n },\n menuItems = worldRequirements.collect(function(name) {\n return [name, [['Remove', removeRequirement.curry(name)]]];\n });\n items.push(['Requirements', menuItems]);\n\n // method tracing items\n function disableGlobalTracing() {\n // FIXME better to move this functionality into lively.Tracing\n var controller = $morph(\"TracingController\");\n if (controller) {\n controller.stopTrace();\n } else {\n lively.Tracing.stopGlobalDebugging();\n }\n }\n var tracersInstalled = lively.Tracing && lively.Tracing.stackTracingEnabled,\n globalTracingEnabled = tracersInstalled && lively.Tracing.globalTracingEnabled;\n if (tracersInstalled) {\n items.push([\"Remove trace wrappers\", function() {\n if (globalTracingEnabled) disableGlobalTracing();\n lively.Tracing.uninstallStackTracers();\n }]);\n\n if (!globalTracingEnabled) {\n items.push(['Start global tracing', function() {\n lively.Tracing.startGlobalTracing()\n }]);\n items.push(['Start global debugging', function() {\n require('lively.ast.Morphic').toRun(function() {\n lively.Tracing.startGlobalDebugging()\n });\n }]);\n }\n } else {\n items.push(['Prepare system for tracing/debugging', function() {\n require(\"lively.Tracing\").toRun(function() {\n lively.Tracing.installStackTracers();\n });\n }]);\n }\n if (Global.DebugScriptsLayer && DebugScriptsLayer.isGlobal()) {\n items.push(['[X] Debug Morphic Scripts', function() {\n DebugScriptsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Morphic Scripts', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugScriptsLayer.beGlobal()\n });\n }]);\n }\n if (Global.DebugMethodsLayer && DebugMethodsLayer.isGlobal()) {\n items.push(['[X] Debug Methods', function() {\n DebugMethodsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Methods', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugMethodsLayer.beGlobal()\n });\n }]);\n }\n if (Global.AdvancedSyntaxHighlighting && AdvancedSyntaxHighlighting.isGlobal()) {\n items.push(['[X] Advanced Syntax Highlighting', function() {\n AdvancedSyntaxHighlighting.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Advanced Syntax Highlighting', function() {\n require('lively.ast.StaticAnalysis').toRun(function() {\n AdvancedSyntaxHighlighting.beGlobal();\n });\n }]);\n }\n if (Global.AutoIndentLayer && AutoIndentLayer.isGlobal()) {\n items.push(['[X] Auto Indent', function() {\n AutoIndentLayer.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Auto Indent', function() {\n require('users.cschuster.AutoIndent').toRun(function() {\n AutoIndentLayer.beGlobal();\n });\n }]);\n }\n return items;\n },\n\n morphMenuItems: function() {\n var world = this;\n var items = [\n ['PartsBin', this.openPartsBin.bind(this)],\n ['Parts', this.morphMenuDefaultPartsItems()],\n ['Tools', [\n ['Workspace', this.openWorkspace.bind(this)],\n\t\t['System Code Browser', this.openSystemBrowser.bind(this)],\n ['Object Editor', this.openObjectEditor.bind(this)],\n ['Test Runner', this.openTestRunner.bind(this)],\n ['Method Finder', this.openMethodFinder.bind(this)],\n ['Text Editor', function() { new lively.morphic.TextEditor().openIn(world) }],\n ['System Console', this.openSystemConsole.bind(this)]\n ]],\n ['Stepping', [\n ['Start stepping', function() { world.submorphs.each(\n function(ea) {ea.startSteppingScripts && ea.startSteppingScripts()})}],\n ['Stop stepping', function() { world.submorphs.each(\n function(ea) {ea.stopStepping && ea.stopStepping()})}],\n ]], \n ['Preferences', [\n ['Set username', this.askForUserName.bind(this)],\n ['My user config', this.showUserConfig.bind(this)],\n ['Set extent', this.askForNewWorldExtent.bind(this)],\n ['Set background color', this.askForNewBackgroundColor.bind(this)]]\n ],\n ['Debugging', this.debuggingMenuItems(world)],\n ['Wiki', [\n ['About this wiki', this.openAboutBox.bind(this)],\n ['Bootstrap parts from webwerkstatt', this.openBootstrapParts.bind(this)],\n ['View versions of this world', this.openVersionViewer.bind(this)],\n ['Download world', function() {\n require('lively.persistence.StandAlonePackaging').toRun(function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n });\n }],\n ['Upload world to Dropbox', function() {\n require('apps.Dropbox').toRun(function() {\n DropboxAPI.uploadArchivedWorld();\n });\n }],\n ['Delete world', this.interactiveDeleteWorldOnServer.bind(this)]\n ]],\n ['Documentation', [\n [\"On short cuts\", this.openShortcutDocumentation.bind(this)],\n [\"On connect data bindings\", this.openConnectDocumentation.bind(this)],\n\t\t\t\t [\"On Lively's PartsBin\", this.openPartsBinDocumentation.bind(this)],\n [\"More ...\", function() { window.open(Config.rootPath + 'documentation/'); }]\n ]],\n ['Save world as ...', this.interactiveSaveWorldAs.bind(this), 'synchron'],\n ['Save world', this.saveWorld.bind(this), 'synchron']\n ];\n return items;\n }\n},\n'positioning', {\n positionForNewMorph: function (newMorph, relatedMorph) {\n // this should be much smarter than the following:\n if (relatedMorph)\n return relatedMorph.bounds().topLeft().addPt(pt(5, 0));\n var pos = this.firstHand().getPosition();\n if (!newMorph) return pos;\n var viewRect = this.visibleBounds().insetBy(80),\n newMorphBounds = pos.extent(newMorph.getExtent());\n\n // newShowRect(viewRect)\n return viewRect.containsRect(newMorphBounds) ?\n pos : viewRect.center().subPt(newMorphBounds.extent().scaleBy(0.5));\n },\n},\n'windows', {\n addFramedMorph: function(morph, title, optLoc, optSuppressControls, suppressReframeHandle) {\n var w = this.addMorph(\n new lively.morphic.Window(morph, title || 'Window',\n optSuppressControls, suppressReframeHandle));\n w.setPosition(optLoc || this.positionForNewMorph(morph));\n return w;\n },\n\n addTextWindow: function(spec) {\n // FIXME: typecheck the spec\n if (Object.isString(spec.valueOf())) spec = {content: spec}; // convenience\n var extent = spec.extent || pt(500, 200),\n textMorph = new lively.morphic.Text(extent.extentAsRectangle(), spec.content || \"\"),\n pane = this.internalAddWindow(textMorph, spec.title, spec.position);\n textMorph.applyStyle({\n clipMode: 'auto',\n fixedWidth: true, fixedHeight: true,\n resizeWidth: true, resizeHeight: true,\n syntaxHighlighting: spec.syntaxHighlighting,\n padding: Rectangle.inset(4,2)});\n return pane;\n },\n\n internalAddWindow: function(morph, title, pos, suppressReframeHandle) {\n morph.applyStyle({borderWidth: 1, borderColor: CrayonColors.iron});\n pos = pos || this.firstHand().getPosition().subPt(pt(5, 5));\n var win = this.addFramedMorph(morph, String(title || \"\"), pos, suppressReframeHandle);\n return morph;\n },\n},\n'dialogs', {\n openDialog: function(dialog) {\n var activeWindow = $world.getActiveWindow() || $world,\n visibleBounds = this.visibleBounds(),\n blockee = activeWindow.targetMorph || $world,\n pointOfAlign = activeWindow.targetMorph ?\n blockee.getShape().getBounds().topRight() :\n this.visibleBounds().center(),\n window = dialog.openIn(this, pt(0,0)),\n d,\n transparentMorph,\n blockMorph;\n window.align(window.owner.localize(window.bounds().center()), visibleBounds.center());\n window.focus();\n d = dialog\n if (!activeWindow) return d;\n\n // normal bounds can be negative.. we want the shape bounds here\n var bounds = blockee.shape.bounds().translatedBy(blockee.getPosition());\n blockMorph = lively.morphic.Morph.makeRectangle(bounds);\n blockMorph.disableGrabbing();\n blockMorph.disableDragging();\n blockMorph.isEpiMorph = true;\n blockMorph.applyStyle({\n fill: null,\n borderWidth: 0,\n });\n transparentMorph = lively.morphic.Morph.makeRectangle(blockMorph.getShape().getBounds());\n transparentMorph.disableGrabbing();\n transparentMorph.disableDragging();\n transparentMorph.isEpiMorph = true;\n blockMorph.addMorph(transparentMorph);\n transparentMorph.applyStyle({\n fill: Color.black,\n opacity: 0.5,\n });\n\n blockMorph.addMorph(d.panel);\n\n if(activeWindow.targetMorph){\n d.panel.align(d.panel.bounds().topRight(), pointOfAlign);\n } else {\n d.panel.align(d.panel.bounds().center(), pointOfAlign);\n }\n\n activeWindow.addMorph(blockMorph);\n connect(d.panel, 'remove', blockMorph, 'remove');\n return dialog;\n },\n confirm: function (message, callback) {\n return this.openDialog(new lively.morphic.ConfirmDialog(message, callback));\n },\n prompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.PromptDialog(message, callback, defaultInput))\n },\n editPrompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.EditDialog(message, callback, defaultInput))\n }\n},\n'progress bar', {\n addProgressBar: function(optPt, optLabel) {\n var progressBar = new lively.morphic.ProgressBar(),\n center = optPt || this.visibleBounds().center();\n this.addMorph(progressBar);\n progressBar.align(progressBar.bounds().center(), center);\n progressBar.setLabel(optLabel || '');\n progressBar.ignoreEvents();\n return progressBar\n },\n},\n'preferences', {\n askForUserName: function() {\n var world = this;\n this.prompt(\"Please, give your username\", function(name) {\n if (name) {\n alertOK(\"setting username to: \" + name)\n world.setCurrentUser(name);\n } else {\n alertOK(\"removing username\")\n world.setCurrentUser(undefined);\n }\n })\n },\n askForNewWorldExtent: function() {\n var world = this;\n this.prompt(\"Please, give new world extent\", function(str) {\n if (!str) return;\n var newExtent;\n try {\n newExtent = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newExtent instanceof lively.Point)) {\n alert(\"\" + newExtent + \" \" + \"is not a proper extent\")\n return\n }\n alert(\"set world extent to \" + newExtent);\n world.setExtent(newExtent)\n }, this.getExtent())\n },\n askForNewBackgroundColor: function() {\n var world = this,\n oldColor = this.getFill();\n if(! (oldColor instanceof Color)){\n oldColor = Color.rgb(255,255,255);\n }\n this.prompt(\"Please, give new world background color\", function(str) {\n if (!str) return;\n var newColor;\n try {\n newColor = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newColor instanceof Color)) {\n alert(\"\" + newColor + \" \" + \"is not a proper Color\")\n return\n }\n alert(\"set world background color \" + newColor);\n world.setFill(newColor)\n }, \"Color.\" + oldColor)\n },\n\n setCurrentUser: function(username) {\n this.currentUser = username;\n if (lively.LocalStorage)\n lively.LocalStorage.set('UserName', username);\n },\n},\n'morph selection', {\n withSelectedMorphsDo: function(func, context) {\n // FIXME currently it is the halo target...\n if (!this.currentHaloTarget) return;\n func.call(context || Global, this.currentHaloTarget);\n },\n},\n'debugging', {\n resetAllScales: function() {\n this.withAllSubmorphsDo(function(ea) {\n ea.setScale(1);\n })\n },\n\tresetScale: function () {\n\t\tthis.setScale(1);\n\t\tthis.firstHand().setScale(1)\n\t},\n\tresetAllTitleBars: function() {\n this.submorphs.select(function(ea) {\n return ea instanceof lively.morphic.Window\n }).invoke('resetTitleBar')\n },\n resetAllButtonLabels: function() {\n this.withAllSubmorphsDo(function(ea) {\n if (ea instanceof lively.morphic.Button) {\n // doppelt haellt besser ;) (old german proverb)\n ea.setLabel(ea.getLabel());\n ea.setLabel(ea.getLabel());\n }\n })\n },\n},\n'wiki', {\n interactiveDeleteWorldOnServer: function() {\n var url = URL.source;\n this.world().confirm('Do you really want to delete ' + url.filename() + '?',\n function(answer) {\n if (!answer) return;\n new WebResource(URL.source)\n .statusMessage('Removed ' + url, 'Error removing ' + url, true)\n .del();\n })\n },\n getActiveWindow: function () {\n return this.submorphs.detect(function (ea) { return ea.isWindow && ea.isActive() });\n }\n});\n\nlively.morphic.List.addMethods(\n'documentation', {\n connections: {\n selection: {},\n itemList: {},\n selectedLineNo: {}\n },\n},\n'settings', {\n style: {borderColor: Color.black, borderWidth: 0, fill: Color.gray.lighter().lighter(), clipMode: 'auto', fontFamily: 'Helvetica', fontSize: 10, enableGrabbing: false},\n selectionColor: Color.green.lighter(),\n isList: true,\n},\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds);\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n if (optItems) this.updateList(optItems);\n },\n},\n'accessing', {\n setExtent: function($super, extent) {\n $super(extent);\n this.resizeList();\n },\n getListExtent: function() { return this.renderContextDispatch('getListExtent') },\n\n\n},\n'list interface', {\n getMenu: function() { /*FIXME actually menu items*/ return [] },\n updateList: function(items) {\n if (!items) items = [];\n this.itemList = items;\n var that = this;\n var itemStrings = items.collect(function(ea) { return that.renderFunction(ea); });\n this.renderContextDispatch('updateListContent', itemStrings);\n },\n addItem: function(item) {\n this.updateList(this.itemList.concat([item]));\n },\n\n selectAt: function(idx) {\n if (!this.isMultipleSelectionList)\n this.clearSelections();\n this.renderContextDispatch('selectAllAt', [idx]);\n this.updateSelectionAndLineNoProperties(idx);\n },\n deselectAt: function(idx) { this.renderContextDispatch('deselectAt', idx) },\n\n updateSelectionAndLineNoProperties: function(selectionIdx) {\n var item = this.itemList[selectionIdx];\n this.selectedLineNo = selectionIdx;\n this.selection = item && (item.value !== undefined) ? item.value : item;\n },\n\n setList: function(items) { return this.updateList(items) },\n getList: function() { return this.itemList },\n getValues: function() {\n return this.getList().collect(function(ea) { return ea.isListItem ? ea. value : ea})\n },\n\n setSelection: function(sel) {\n this.selectAt(this.find(sel));\n },\n getSelection: function() { return this.selection },\n getItem: function(value) {\n return this.itemList[this.find(value)];\n },\n removeItemOrValue: function(itemOrValue) {\n var idx = this.find(itemOrValue), item = this.itemList[idx];\n this.updateList(this.itemList.without(item));\n return item;\n },\n\n getSelectedItem: function() {\n return this.selection && this.selection.isListItem ? this.itemList[this.selectedLineNo] : this.selection;\n },\n moveUpInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx-1);\n },\n moveDownInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx+1);\n },\n clearSelections: function() { this.renderContextDispatch('clearSelections') },\n\n},\n'private list functions', {\n changeListPosition: function(oldIdx, newIdx) {\n var item = this.itemList[oldIdx];\n this.itemList.removeAt(oldIdx);\n this.itemList.pushAt(item, newIdx);\n this.updateList(this.itemList);\n this.selectAt(newIdx);\n },\n resizeList: function(idx) {\n this.renderContextDispatch('resizeList');\n },\n find: function(itemOrValue) {\n // returns the index in this.itemList\n for (var i = 0; i < this.itemList.length; i++) {\n var val = this.itemList[i];\n if (val === itemOrValue || (val && val.isListItem && val.value === itemOrValue))\n return i\n }\n },\n\n},\n'styling', {\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.fontFamily !== undefined) this.setFontFamily(spec.fontFamily);\n if (spec.fontSize !== undefined) this.setFontSize(spec.fontSize);\n },\n setFontSize: function(fontSize) { return this.morphicSetter('FontSize', fontSize) },\n getFontSize: function() { return this.morphicGetter('FontSize') || 10 },\n setFontFamily: function(fontFamily) { return this.morphicSetter('FontFamily', fontFamily) },\n getFontFamily: function() { return this.morphicSetter('FontFamily') || 'Helvetica' },\n},\n'multiple selection support', {\n enableMultipleSelections: function() {\n this.isMultipleSelectionList = true;\n this.renderContextDispatch('enableMultipleSelections');\n },\n getSelectedItems: function() {\n var items = this.itemList;\n return this.getSelectedIndexes().collect(function(i) { return items[i] });\n },\n getSelectedIndexes: function() { return this.renderContextDispatch('getSelectedIndexes') },\n\n getSelections: function() {\n return this.getSelectedItems().collect(function(ea) {return ea.isListItem ? ea.value : ea})\n },\n setSelections: function(arr) {\n var indexes = arr.collect(function(ea) { return this.find(ea) }, this);\n this.selectAllAt(indexes);\n },\n setSelectionMatching: function(string) {\n for (var i = 0; i < this.itemList.length; i++) {\n var itemString = this.itemList[i].string || String(this.itemList[i]);\n if (string == itemString)\n this.selectAt(i);\n }\n },\n selectAllAt: function(indexes) {\n this.renderContextDispatch('selectAllAt', indexes)\n },\n renderFunction: function(anObject) {\n return anObject.string || String(anObject);\n },\n\n});\nlively.morphic.DropDownList.addMethods(\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds, optItems);\n },\n});\n\nlively.morphic.Button.subclass(\"lively.morphic.WindowControl\",\n'documentation', {\n documentation: \"Event handling for Window morphs\",\n},\n'settings and state', {\n style: {borderWidth: 0, strokeOpacity: 0, padding: Rectangle.inset(0,2), accessibleInInactiveWindow: true},\n connections: ['HelpText', 'fire'],\n},\n'initializing', {\n initialize: function($super, bnds, inset, labelString, labelOffset) {\n $super(bnds, labelString)\n this.label.applyStyle({fontSize: 8})\n },\n});\n\nlively.morphic.Box.subclass(\"lively.morphic.TitleBar\", Trait('TitleBarMorph'),\n'documentation', {\n documentation: \"Title bar for lively.morphic.Window\",\n},\n'properties', {\n controlSpacing: 3,\n barHeight: 22,\n shortBarHeight: 15,\n accessibleInInactiveWindow: true,\n style: {\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray.mixedWith(Color.black, 0.8)}]),\n strokeOpacity: 1,\n borderRadius: \"8px 8px 0px 0px\",\n borderWidth: 1,\n borderColor: Color.darkGray,\n adjustForNewBounds: true,\n resizeWidth: true\n },\n labelStyle: {\n borderRadius: 0,\n padding: Rectangle.inset(0,0),\n fill: null,\n fontSize: 10,\n align: 'center',\n clipMode: 'hidden',\n fixedWidth: true,\n fixedHeight: true,\n resizeWidth: true,\n textColor: Color.darkGray,\n emphasize: {textShadow: {color: Color.white, offset: pt(0,1)}}\n }\n},\n'intitializing', {\n initialize: function($super, headline, windowWidth, windowMorph, optSuppressControls) {\n if (optSuppressControls) { // for dialog boxes\n this.suppressControls = true;\n this.barHeight = this.shortBarHeight;\n }\n var bounds = new Rectangle(0, 0, windowWidth, this.barHeight);\n\n $super(bounds);\n\n // this.ignoreEvents();\n this.windowMorph = windowMorph;\n\n // Note: Layout of submorphs happens in adjustForNewBounds (q.v.)\n var label;\n if (headline instanceof lively.morphic.Text) {\n label = headline;\n } else if (headline != null) { // String\n label = lively.morphic.Text.makeLabel(headline, this.labelStyle);\n }\n this.label = this.addMorph(label);\n\n if (!this.suppressControls) {\n var cell = new Rectangle(0, 0, this.barHeight-5, this.barHeight-5);\n\n this.closeButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"X\", pt(-5,-4)));\n this.closeButton.applyStyle({moveHorizontal: true});\n //this.closeButton.linkToStyles('titleBar_closeButton');\n this.menuButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"M\", pt(-5,-6)));\n //this.menuButton.linkToStyles('titleBar_menuButton');\n this.collapseButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"–\", pt(-3,-6)));\n this.collapseButton.applyStyle({moveHorizontal: true});\n //this.collapseButton.linkToStyles('titleBar_collapseButton');\n\n this.connectButtons(windowMorph);\n }\n // This will align the buttons and label properly\n this.adjustForNewBounds();\n this.adjustForNewBounds();\n\n this.disableDropping();\n },\n\n},\n'label', {\n setTitle: function(string) {\n this.label.replaceTextString(string);\n this.adjustForNewBounds();\n },\n},\n'layouting', {\n adjustForNewBounds: function($super) {\n $super();\n var innerBounds = this.innerBounds();\n var sp = this.controlSpacing;\n var loc = this.innerBounds().topLeft().addXY(sp, sp);\n var l0 = loc;\n var dx = pt(this.barHeight - sp, 0);\n if (this.menuButton) {\n this.menuButton.setPosition(loc);\n loc = loc.addPt(dx);\n }\n if (this.label) {\n var start = this.menuButton ? this.menuButton.bounds().topRight() : pt(0,0),\n end = this.collapseButton ? this.collapseButton.bounds().bottomLeft() : innerBounds.bottomRight();\n this.label.setBounds(rect(start, end))\n }\n if (this.closeButton) {\n loc = this.innerBounds().topRight().addXY(\n -sp-this.closeButton.shape.getBounds().width, sp);\n this.closeButton.setPosition(loc);\n loc = loc.subPt(dx);\n }\n if (this.collapseButton) {\n this.collapseButton.setPosition(loc);\n //loc = loc.subPt(dx);\n };\n\n/* var style = this.styleNamed(\"titleBar\");\n var w = style.borderWidth || 1;\n var r = style.borderRadius || 3;\n this.contentMorph.setBounds(new Rectangle(w/2, w/2, innerBounds.width, this.barHeight + r));*/\n },\n lookCollapsedOrNot: function(collapsed) {\n this.applyStyle({borderRadius: collapsed ? \"8px 8px 8px 8px\" : \"8px 8px 0px 0px\"});\n },\n\n\n\n},\n'event handling', {\n onMouseDown: function (evt) {\n //Functions.False,\n // TODO: refactor to evt.hand.clickedOnMorph when everything else is ready for it\n evt.world.clickedOnMorph = this.windowMorph;\n },\n onMouseUp: Functions.False,\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Window', Trait('WindowMorph'),\n'documentation', {\n documentation: \"Full-fledged windows with title bar, menus, etc\",\n},\n'settings and state', {\n state: 'expanded',\n style: {borderWidth: 0, fill: null, borderRadius: 0, strokeOpacity: 0, adjustForNewBounds: true, enableDragging: true},\n isWindow: true,\n isCollapsed: function() { return this.state === 'collapsed' },\n\n},\n'initializing', {\n initialize: function($super, targetMorph, titleString, optSuppressControls) {\n $super(new lively.morphic.Shapes.Rectangle());\n this.LK2 = true; // to enable workaround in WindowMorph trait.expand\n\n var bounds = targetMorph.bounds(),\n titleBar = this.makeTitleBar(titleString, bounds.width, optSuppressControls),\n titleHeight = titleBar.bounds().height - titleBar.getBorderWidth();\n this.setBounds(bounds.withHeight(bounds.height + titleHeight));\n this.targetMorph = this.addMorph(targetMorph);\n this.reframeHandle = this.addMorph(this.makeReframeHandle());\n this.alignReframeHandle();\n this.titleBar = this.addMorph(titleBar);\n this.contentOffset = pt(0, titleHeight);\n targetMorph.setPosition(this.contentOffset);\n // this.closeAllToDnD();\n\n this.collapsedTransform = null;\n this.collapsedExtent = null;\n this.expandedTransform = null;\n this.expandedExtent = null;\n this.ignoreEventsOnExpand = false;\n this.disableDropping();\n return this;\n },\n\n},\n'window behavior', {\n makeTitleBar: function(titleString, width, optSuppressControls) {\n // Overridden in TabbedPanelMorph\n return new lively.morphic.TitleBar(titleString, width, this, optSuppressControls);\n },\n removeHalos: function($super, optWorld) {\n // Sadly, this doesn't get called when click away from halo\n // Need to patch World.removeHalosFor, or refactor so it calls this\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n $super(optWorld);\n },\n showHalos: function($super) {\n // Hide the reframe handle in case of menu reframe\n if (this.reframeHandle) {\n this.reframeHandle.remove();\n }\n $super();\n },\n\n makeReframeHandle: function() {\n var handle = lively.morphic.Morph.makePolygon(\n [pt(14, 0), pt(14, 14), pt(0, 14)], 0, null, Color.gray);\n handle.addScript(function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n });\n handle.addScript(function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n });\n handle.addScript(function onDragEnd (evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n });\n return handle;\n },\n\n alignReframeHandle: function() {\n if (this.reframeHandle) {\n this.reframeHandle.align(this.reframeHandle.bounds().bottomRight(), this.getExtent());\n }\n },\n\n getBounds: function($super) {\n if (this.titleBar && this.isCollapsed()) {\n var titleBarTranslation = this.titleBar.getGlobalTransform().getTranslation();\n return this.titleBar.bounds().translatedBy(titleBarTranslation);\n }\n return $super();\n },\n\n initiateShutdown: function() {\n if (this.isShutdown()) return null;\n if (this.onShutdown) this.onShutdown();\n this.remove();\n this.state = 'shutdown'; // no one will ever know...\n return true;\n },\n\n resetTitleBar: function() {\n var oldTitleBar = this.titleBar;\n oldTitleBar.remove();\n this.titleBar = this.makeTitleBar(oldTitleBar.label.textString, this.getExtent().x);\n this.addMorph(this.titleBar);\n },\n\n},\n'menu', {\n showTargetMorphMenu: function() {\n var target = this.targetMorph || this;\n if (this.targetMorph) {\n var self = this;\n itemFilter = function (items) {\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }]\n return items;\n }\n }\n target.openMorphMenuAt(this.getGlobalTransform().transformPoint(pt(0,0)), itemFilter);\n },\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }];\n items.push([\n 'Set title', function(evt) {\n $world.prompt('Enter new title', function(input) {\n if (input || input == '') self.setTitle(input);\n }, self.getTitle()); }]);\n return items;\n },\n},\n'mouse event handling', {\n highlight: function(trueForLight) {\n this.highlighted = trueForLight;\n var fill = this.titleBar.getStyle().fill || this.titleBar.getFill(),\n newFill = trueForLight ? fill.lighter(1) : fill;\n this.titleBar.applyStyle({\n fill: newFill,\n });\n this.titleBar.label.applyStyle({emphasize: {fontWeight: trueForLight ? 'bold' : 'normal'}});\n },\n\n isInFront: function() { return this.owner && this.owner.topMorph() === this },\n isActive: function() {\n return this.isInFront() && this.world() && this.highlighted;\n },\n\n comeForward: function() {\n // adds the window before each other morph in owner\n // this resets the scroll in HTML, fix for now -- gather before and set it afterwards\n if (this.isInFront()) return; // already at front\n var textsAndLists = [], scrolls = [];\n this.withAllSubmorphsDo(function(ea) {\n if (!ea.isList && !ea.isText) return;\n textsAndLists.push(ea);\n scrolls.push(ea.getScroll());\n });\n this.owner.addMorphFront(this); // come forward\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n (function() {\n textsAndLists.forEach(function(ea, i) { ea.setScroll(scrolls[i][0], scrolls[i][1]) });\n if (this.targetMorph && this.targetMorph.onWindowGetsFocus) {\n this.targetMorph.onWindowGetsFocus();\n }\n }).delay(0);\n },\n\n onMouseDown: function(evt) {\n var wasInFront = this.isActive();\n // this.highlight(true);\n this.comeForward();\n if (!wasInFront) {\n this.world().submorphs.forEach(function(ea) {\n ea !== this && ea.isWindow && ea.highlight(false);\n }, this);\n this.highlight(true);\n if (this.morphsContainingPoint(evt.getPosition()).detect(function(ea) {\n return ea.accessibleInInactiveWindow || true }))\n return false; // was: $super(evt);\n\n this.cameForward = true; // for stopping the up as well\n evt.world.clickedOnMorph = null; // dont initiate drag, FIXME, global state!\n evt.stop(); // so that text, lists that are automatically doing things are not modified\n return true;\n } else {\n this.comeForward();\n return false; // was: $super(evt);\n }\n },\n onMouseUp: function(evt) {\n if (this.cameForward) {\n this.cameForward = false;\n evt.stop();\n return true;\n }\n return false;\n },\n onDragStart: function(evt) {\n this.prevDragPos = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var movedBy = evt.getPosition().subPt(this.prevDragPos);\n this.prevDragPos = evt.getPosition();\n this.moveBy(movedBy);\n return true;\n },\n},\n'debugging', {\n toString: function($super) {\n return $super() + ' ' + (this.titleBar ? this.titleBar.getTitle() : '');\n },\n},\n'removing', {\n remove: function($super) {\n // should trigger remove of submorphs but remove is also usedelsewhere (grab)\n // this.targetMorph && this.targetMorph.remove();\n return $super();\n },\n},\n'collapsing', {\n collapse: function() {\n if (this.isCollapsed()) return;\n this.expandedTransform = this.getTransform();\n this.expandedExtent = this.getExtent();\n this.expandedPosition = this.getPosition();\n this.targetMorph.onWindowCollapse && this.targetMorph.onWindowCollapse();\n this.targetMorph.remove();\n this.helperMorphs = this.submorphs.withoutAll([this.targetMorph, this.titleBar]);\n this.helperMorphs.invoke('remove');\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(true);\n var finCollapse = function () {\n this.state = 'collapsed'; // Set it now so setExtent works right\n if (this.collapsedTransform) this.setTransform(this.collapsedTransform);\n if (this.collapsedExtent) this.setExtent(this.collapsedExtent);\n if (this.collapsedPosition) this.setPosition(this.collapsedPosition);\n this.shape.setBounds(this.titleBar.bounds());\n }.bind(this);\n if (this.collapsedPosition && this.collapsedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.collapsedPosition, 5, 50, finCollapse);\n else finCollapse();\n },\n expand: function() {\n if (!this.isCollapsed()) return;\n this.collapsedTransform = this.getTransform();\n this.collapsedExtent = this.innerBounds().extent();\n this.collapsedPosition = this.getPosition();\n var finExpand = function () {\n this.state = 'expanded';\n if (this.expandedTransform)\n this.setTransform(this.expandedTransform);\n if (this.expandedExtent) {\n this.setExtent(this.expandedExtent);\n }\n if (this.expandedPosition) {\n this.setPosition(this.expandedPosition);\n }\n\n this.addMorph(this.targetMorph);\n\n this.helperMorphs.forEach(function(ea) {\n this.addMorph(ea)\n }, this);\n\n // Bring this window forward if it wasn't already\n this.owner && this.owner.addMorphFront(this);\n this.targetMorph.onWindowExpand && this.targetMorph.onWindowExpand();\n }.bind(this);\n if (this.expandedPosition && this.expandedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.expandedPosition, 5, 50, finExpand);\n else finExpand();\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(false);\n },\n\n});\n\n\nObject.subclass('lively.morphic.App',\n'properties', {\n initialViewExtent: pt(350, 200),\n},\n'initializing', {\n buildView: function(extent) {\n throw new Error('buildView not implemented!')\n },\n},\n'accessing', {\n getInitialViewExtent: function(world, hint) {\n return hint || this.initialViewExtent;\n },\n},\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world));\n view.ownerApp = this; // for debugging\n this.view = view;\n if (pos) view.setPosition(pos);\n if (world.currentScene) world = world.currentScene;\n return world.addMorph(view);\n },\n open: function() {\n return this.openIn(lively.morphic.World.current());\n },\n\n},\n'removing', {\n removeTopLevel: function() {\n if (this.view) this.view.remove();\n },\n});\n\nlively.morphic.App.subclass('lively.morphic.AbstractDialog',\n'documentation', {\n connections: ['result'],\n},\n'properties', {\n initialViewExtent: pt(300, 90),\n inset: 4,\n},\n'initializing', {\n initialize: function(message, callback) {\n this.result = null;\n this.message = message || '?';\n if (callback) this.setCallback(callback);\n },\n buildPanel: function(bounds) {\n this.panel = new lively.morphic.Box(bounds);\n this.panel.applyStyle({\n fill: Color.rgb(210,210,210),\n borderColor: Color.gray.darker(),\n borderWidth: 1,\n adjustForNewBounds: true, // layouting\n lock: true,\n });\n this.panel.disableDragging();\n this.panel.disableGrabbing();\n },\n buildLabel: function() {\n var bounds = new Rectangle(this.inset, this.inset, this.panel.getExtent().x - 2*this.inset, 18);\n this.label = this.panel.addMorph(new lively.morphic.Text(bounds, this.message));\n this.label.beLabel({fill: Color.white, fixedHeight: true, fixedWidth: false, padding: Rectangle.inset(0,0)});\n// FIXME ugly hack for wide dialogs\n(function fit() {\n this.label.fit();\n var labelWidth = this.label.getExtent().x, panelExtent = this.panel.getExtent();\n if (labelWidth > panelExtent.x)\n this.panel.setExtent(panelExtent.withX(labelWidth))\n}).bind(this).delay(0);\n this.label.disableDragging();\n this.label.disableGrabbing();\n },\n buildCancelButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'Cancel');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, this.inset), this.panel.innerBounds().bottomRight())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.cancelButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildOKButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'OK');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, 0), this.cancelButton.bounds().bottomLeft())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.okButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildView: function(extent) {\n this.buildPanel(extent.extentAsRectangle());\n this.buildLabel();\n this.buildCancelButton();\n this.buildOKButton();\n return this.panel;\n },\n},\n'callbacks', {\n setCallback: function(func) {\n this.callback = func;\n connect(this, 'result', this, 'triggerCallback')\n },\n triggerCallback: function(resultBool) {\n this.removeTopLevel();\n if (this.callback) this.callback(resultBool);\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.ConfirmDialog',\n'properties', {\n initialViewExtent: pt(260, 70),\n},\n'initializing', {\n buildView: function($super, extent) {\n var panel = $super(extent);\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(this.okButton, 'fire', this, 'result', {\n converter: function() { return true }});\n lively.bindings.connect(panel, 'onEscPressed', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(panel, 'onEnterPressed', this, 'result', {\n converter: function() { return true }});\n\n return panel;\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.PromptDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function(bounds) {\n var input = new lively.morphic.Text(this.label.bounds().insetByPt(pt(this.label.getPosition().x * 2, 0)), this.defaultInput || '');\n input.align(input.getPosition(), this.label.bounds().bottomLeft().addPt(pt(0,5)));\n input.beInputLine({fixedWidth: true});\n\t\tinput.disableDragging();\n\t\tinput.disableGrabbing();\n connect(input, 'savedTextString', this, 'result');\n connect(input, 'onEscPressed', this, 'result', {converter: function() { return null } });\n connect(this.panel, 'onEscPressed', this, 'result', {converter: function() { return null}});\n // addScript is a bit of a hack because the function in addScript\n // doesn't close over \"input\", apparently...\n this.panel.addScript(function onEnterPressed(evt) {\n evt.stop();\n });\n connect(this.panel, 'onEnterPressed', input, 'doSave', {converter: function(arg) { return arg } });\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\nlively.morphic.AbstractDialog.subclass('lively.morphic.EditDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function() {\n var input = new lively.morphic.Text(this.label.bounds(), this.defaultInput || '')\n .applyStyle({resizeWidth: true, resizeHeight: true, clipMode: 'auto'});\n input.align(input.getPosition(), this.label.bounds().bottomLeft());\n connect(input, 'savedTextString', this, 'result');\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n panel.setExtent(pt(400,200))\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\n\n\nlively.morphic.App.subclass('lively.morphic.WindowedApp',\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world)),\n window = world.addFramedMorph(view, this.defaultTitle);\n if (world.currentScene) world.currentScene.addMorph(window); // FIXME\n view.ownerApp = this; // for debugging\n this.view = window;\n return window;\n },\n});\n\n\n// COPIED from Widgets.js SelectionMorph\nlively.morphic.Box.subclass('lively.morphic.Selection',\n'documentation', {\n documentation: 'selection \"tray\" object that allows multiple objects to be moved and otherwise manipulated simultaneously',\n},\n'settings', {\n style: {fill: null, borderWidth: 1, borderColor: Color.darkGray},\n isEpiMorph: true,\n doNotRemove: true,\n propagate: true,\n isSelection: true,\n\n},\n'initializing', {\n initialize: function($super, initialBounds) {\n $super(initialBounds);\n this.applyStyle(this.style);\n this.selectedMorphs = [];\n\n },\n},\n'propagation', {\n withoutPropagationDo: function(func) {\n // emulate COP\n this.propagate = false;\n func()\n this.propagate = true;\n },\n isPropagating: function() {\n return this.propagate\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n if (this.selectedMorphs.length === 1) {\n var self = this;\n items.push([\"open ObjectEditor for selection\", function(){\n $world.openObjectEditorFor(self.selectedMorphs[0])\n }])\n }\n items.push([\"align vertically\", this.alignVertically.bind(this)]);\n items.push([\"space vertically\", this.spaceVertically.bind(this)]);\n items.push([\"align horizontally\", this.alignHorizontally.bind(this)]);\n items.push([\"space horizontally\", this.spaceHorizontally.bind(this)]);\n\n if (this.selectedMorphs.length == 1) {\n items.push([\"ungroup\", this.unGroup.bind(this)]);\n } else {\n items.push([\"group\", this.makeGroup.bind(this)]);\n }\n\n // items.push([\"align to grid...\", this.alignToGrid.bind(this)]);\n\n return items;\n },\n},\n'copying', {\n copy: function($super) {\n this.isEpiMorph = false;\n try { return this.addSelectionWhile($super) } finally { this.isEpiMorph = true }\n },\n},\n'selection handling', {\n addSelectionWhile: function(func) {\n // certain operations require selected morphs to be added to selection frame\n // e.g. for transformations or copying\n // use this method to add them for certain operations\n var world = this.world();\n if (!world || !this.isPropagating()) return func();\n\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.addMorph(this.selectedMorphs[i]);\n try { return func() } finally {\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.world().addMorph(this.selectedMorphs[i]);\n }\n },\n},\n'removing', {\n remove: function() {\n if (this.isPropagating())\n this.selectedMorphs.invoke('remove');\n this.removeOnlyIt();\n },\n removeOnlyIt: function() {\n if ( this.myWorld == null ) {\n this.myWorld = this.world();\n }\n // this.myWorld.currentSelection = null;\n Class.getSuperPrototype(this).remove.call(this);\n },\n},\n'accessing', {\n world: function($super) {\n return $super() || this.owner || this.myWorld\n },\n setBorderWidth: function($super, width) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(width);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderWidth(width)});\n },\n\n setFill: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating())\n $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFill(color)});\n },\n\n setBorderColor: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderColor(color)});\n },\n\n shapeRoundEdgesBy: function($super, r) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(r);\n else this.selectedMorphs.forEach(\n function(m) { if (m.shape.roundEdgesBy) m.shapeRoundEdgesBy(r); });\n },\n\n setFillOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFillOpacity(op)});\n },\n\n setStrokeOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('callOnAllSubmorphs',\n function(ea) { ea.setStrokeOpacity(op)});\n },\n\n setTextColor: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setTextColor) m.setTextColor(c); });\n },\n\n setFontSize: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontSize) m.setFontSize(c); });\n },\n\n setFontFamily: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontFamily) m.setFontFamily(c); });\n },\n\n setRotation: function($super, theta) {\n this.addSelectionWhile($super.curry(theta));\n },\n\n setScale: function($super, scale) {\n this.addSelectionWhile($super.curry(scale));\n },\n adjustOrigin: function($super, origin) {\n this.withoutPropagationDo(function() {\n return $super(origin)\n });\n },\n\n\n\n},\n'aligning', {\n // Note: the next four methods should be removed after we have gridding, i think (DI)\n alignVertically: function() {\n // Align all morphs to same left x as the top one.\n//console.log(\"this=\" + Object.inspect(this)); if(true) return;\n var morphs = this.selectedMorphs.slice(0).sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n var minX = morphs[0].getPosition().x; // align to left x of top morph\n morphs.forEach(function(m) { m.setPosition(pt(minX,m.getPosition().y)) });\n },\n\n alignHorizontally: function() {\n var minY = 9999;\n this.selectedMorphs.forEach(function(m) { minY = Math.min(minY, m.getPosition().y); });\n this.selectedMorphs.forEach(function(m) { m.setPosition(pt(m.getPosition().x, minY)) });\n },\n\n spaceVertically: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxY and sumOfHeights\n var maxY = minY;\n var sumOfHeights = 0;\n morphs.forEach(function(m) {\n var ht = m.innerBounds().height;\n sumOfHeights += ht;\n maxY = Math.max(maxY, m.getPosition().y + ht);\n });\n // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxY - minY - sumOfHeights)/Math.max(this.selectedMorphs.length - 1, 1);\n var y = minY;\n morphs.forEach(function(m) {\n m.setPosition(pt(minX, y));\n y += m.innerBounds().height + separation;\n });\n },\n\n spaceHorizontally: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m, n) {\n return m.getPosition().x - n.getPosition().x;\n });\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxX and sumOfWidths\n var maxX = minY;\n var sumOfWidths = 0;\n morphs.forEach(function(m) {\n var wid = m.innerBounds().width;\n sumOfWidths += wid;\n maxX = Math.max(maxX, m.getPosition().x + wid);\n }); // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxX - minX - sumOfWidths)/Math.max(this.selectedMorphs.length - 1, 1);\n var x = minX;\n morphs.forEach(function(m) {\n m.setPosition(pt(x, minY));\n x += m.innerBounds().width + separation;\n });\n },\n},\n'grabbing', {\n grabByHand: function(hand) {\n this.withoutPropagationDo(function() {\n hand.addMorph(this)\n }.bind(this))\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n // alert(\"grab \" + this.selectedMorphs[i])\n this.addMorph(this.selectedMorphs[i]);\n }\n\n\n },\n dropOn: function(morph) {\n // alert(\"drop \" + this + \" on \" + morph)\n // morph.addMorph(this)\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n morph.addMorph(this.selectedMorphs[i]);\n }\n this.removeSelecitonIndicators();\n this.removeOnlyIt();\n },\n\n},\n'geometry', {\n moveBy: function($super, delta) {\n // Jens: I would like to express this in a layer...\n if (this.isPropagating()) {\n for (var i = 0; i < this.selectedMorphs.length; i++ )\n this.selectedMorphs[i].moveBy(delta);\n }\n $super(delta);\n },\n setPosition: function($super, pos) {\n var delta = pos.subPt(this.getPosition())\n // Jens: I would like to express this in a layer...\n if (this.isPropagating() && this.selectedMorphs) {\n for (var i = 0; i < this.selectedMorphs.length; i++ ) {\n // alertOK(\"set pos move \" + printStack())\n this.selectedMorphs[i].moveBy(delta);\n }\n }\n $super(pos);\n },\n\n},\n'world', {\n reset: function() {\n this.selectedMorphs = [];\n this.setRotation(0)\n this.setScale(1)\n this.removeOnlyIt();\n this.removeSelecitonIndicators();\n this.adjustOrigin(pt(0,0));\n },\n\n selectMorphs: function(selectedMorphs) {\n this.owner.selectionMorph.selectedMorphs = selectedMorphs\n\n// finding pos, starting with max values\n var topLeft = this.bounds().bottomRight();\n var bottomRight = this.bounds().topLeft();\n var self = this;\n\n this.removeSelecitonIndicators();\n selectedMorphs.forEach(function(ea) {\n var innerBounds = ea.getTransform().inverse().\n transformRectToRect(ea.bounds().insetBy(-4));\n var bounds = ea.getTransform().transformRectToRect(innerBounds);\n topLeft = bounds.topLeft().minPt(topLeft);\n bottomRight = bounds.bottomRight().maxPt(bottomRight);\n\n var selectionIndicator =\n new lively.morphic.Morph.makeRectangle(innerBounds);\n selectionIndicator.name = 'Selection of ' + ea\n selectionIndicator.isEpiMorph = true;\n selectionIndicator.isSelectionIndicator = true;\n selectionIndicator.applyStyle({\n fill: null, borderWidth: 4,\n strokeOpacity: 0.5, borderColor: Color.green})\n ea.addMorph(selectionIndicator);\n self.selectionIndicators.push(selectionIndicator);\n })\n this.withoutPropagationDo(function() {\n this.setPosition(topLeft);\n this.setExtent(bottomRight.subPt(topLeft));\n // this.adjustOrigin(this.getExtent().scaleBy(0.5))\n }.bind(this))\n\n },\n\n removeSelecitonIndicators: function() {\n if (this.selectionIndicators)\n this.selectionIndicators.invoke('remove');\n this.selectionIndicators = [];\n },\n makeGroup: function() {\n if (!this.selectedMorphs) return;\n var group = new lively.morphic.Box(this.bounds());\n group.isGroup = true;\n this.owner.addMorph(group);\n this.selectedMorphs.forEach(function(ea) {\n group.addMorph(ea)\n })\n this.selectMorphs([group])\n },\n unGroup: function() {\n if (!this.selectedMorphs || this.selectedMorphs.length !== 1) return;\n var group = this.selectedMorphs[0]\n var all = group.submorphs\n group.submorphs.forEach(function(ea) {\n this.owner.addMorph(ea)\n }.bind(this))\n this.selectMorphs(all)\n },\n\n\n});\nTrait('SelectionMorphTrait',\n'selection', {\n getSelectedMorphs: function() {\n return this.selectionMorph.selectedMorphs\n },\n\n onDragStart: function(evt) {\n if (evt.isRightMouseButtonDown()) {\n return; // no selection with right mouse button (fbo 2011-09-13)\n }\n\n this.resetSelection()\n\n if (this.selectionMorph.owner !== this)\n this.addMorph(this.selectionMorph);\n\n var pos = this.localize(this.eventStartPos || evt.getPosition());\n this.selectionMorph.withoutPropagationDo(function() {\n this.selectionMorph.setPosition(pos)\n this.selectionMorph.setExtent(pt(1, 1))\n this.selectionMorph.initialPosition = pos;\n }.bind(this))\n\n },\n onDrag: function(evt) {\n if (!this.selectionMorph) return\n var p1 = this.localize(evt.getPosition()),\n p2 = this.selectionMorph.initialPosition;\n\n // alert(\"p1\" + p1 + \" p2\" + p2)\n var topLeft = pt(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y))\n var bottomRight = pt(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y))\n\n\n this.selectionMorph.setPosition(topLeft);\n this.selectionMorph.setExtent(bottomRight.subPt(topLeft));\n },\n onDragEnd: function(evt) {\n var self = this;\n if (!self.selectionMorph) return;\n var selectionBounds = self.selectionMorph.bounds();\n var selectedMorphs = this.submorphs\n .reject(function(ea){\n return ea === self || ea.isEpiMorph || ea instanceof lively.morphic.HandMorph\n })\n .select(function(m) {\n return selectionBounds.containsRect(m.bounds())})\n .reverse()\n\n this.selectionMorph.selectedMorphs = selectedMorphs;\n if (selectedMorphs.length == 0) {\n this.selectionMorph.removeOnlyIt();\n return\n }\n\n this.selectionMorph.selectMorphs(selectedMorphs);\n\n this.selectionMorph.showHalos()\n\n },\n\n resetSelection: function() {\n if (!this.selectionMorph || !this.selectionMorph.isSelection)\n this.selectionMorph = new lively.morphic.Selection(new Rectangle(0,0,0,0))\n this.selectionMorph.reset();\n },\n})\n.applyTo(lively.morphic.World, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n\nlively.morphic.WindowedApp.subclass('lively.morphic.TextEditor',\n'settings', {\n defaultTitle: 'TextEditor',\n initialViewExtent: pt(900, 800),\n},\n'initializing', {\n buildView: function(extent) {\n var panel = lively.morphic.Morph.makeRectangle(0,0, extent.x, extent.y)\n .applyStyle({\n fill: Color.gray.lighter(2),\n resizeWidth: true,\n resizeHeight: true,\n adjustForNewBounds: true});\n\n var bounds;\n bounds = new Rectangle(0,0, extent.x, 30);\n var urlText = new lively.morphic.Text(bounds, URL.source.toString())\n .beInputLine({resizeWidth: true, fixedWidth: true, padding: Rectangle.inset(5,5)})\n panel.urlText = panel.addMorph(urlText);\n connect(urlText, 'savedTextString', this, 'setCurrentURL');\n connect(this, 'currentURL', this, 'loadFile');\n\n bounds = new Rectangle(0, bounds.height, extent.x/3, 30);\n var saveBtn = new lively.morphic.Button(bounds, 'save');\n saveBtn.applyStyle({resizeWidth: true})\n panel.addMorph(saveBtn);\n connect(saveBtn, 'fire', this, 'saveFile');\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var loadBtn = new lively.morphic.Button(bounds, 'load')\n loadBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(loadBtn);\n connect(loadBtn, 'fire', this, 'setCurrentURL', {converter: function() {\n // FIXME\n this.targetObj.panel.urlText.cachedTextString = null\n return this.targetObj.panel.urlText.textString }});\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var removeBtn = new lively.morphic.Button(bounds, 'remove')\n removeBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(removeBtn)\n connect(removeBtn, 'fire', this, 'removeFile');\n\n bounds = rect(pt(0, bounds.maxY()), panel.bounds().bottomRight());\n var contentMorph = new lively.morphic.Text(bounds, 'emtpy')\n .applyStyle({\n clipMode: 'scroll',\n fixedHeight: true,\n fontFamily: 'Monaco',\n fontSize: 10,\n resizeWidth: true,\n resizeHeight: true,\n padding: Rectangle.inset(5,5)});\n panel.contentMorph = panel.addMorph(contentMorph);\n connect(contentMorph, 'savedTextString', this, 'saveFile');\n\n this.panel = panel;\n return panel;\n },\n},\n'network', {\n setCurrentURL: function(urlString) {\n this.currentURL = new URL(urlString);\n alert(this.currentURL);\n },\n createWebResource: function() { return new WebResource(this.getURL()) },\n getURL: function() { return new URL(this.currentURL || this.panel.urlText.textString) },\n},\n'helper', {\n showAsLoading: function(bool) {\n if (!bool) {\n this.loadingScreen && this.loadingScreen.remove();\n this.loadingScreen = null;\n } else {\n if (this.loadingScreen) return;\n var morph = lively.morphic.Morph.makeRectangle(this.panel.contentMorph.bounds());\n morph.applyStyle({fill: Color.gray.withA(0.6)});\n this.loadingScreen = this.panel.addMorph(morph);\n }\n },\n},\n'file functions', {\n getEditorContent: function() { return this.panel.contentMorph.textString },\n saveFile: function() {\n var webR = this.createWebResource();\n webR\n .beAsync()\n .createProgressBar()\n .statusMessage('Successfully saved ' + webR.getURL(), 'Error saving ' + webR.getURL(), true)\n .put(this.getEditorContent());\n },\n loadFile: function() {\n var res = this.createWebResource().forceUncached();\n this.showAsLoading(true);\n connect(res, 'status', this, 'showAsLoading', {updater: function($upd, status) {$upd(false)}});\n connect(res, 'content', this, 'finishLoading', {updater: function($upd, content) {\n $upd(this.sourceObj) }});\n res.beAsync().get();\n\n },\n finishLoading: function(res) {\n if (res.isExisting) {\n this.panel.contentMorph.setTextString(res.content);\n return\n } else if (res.getURL().isLeaf()) {\n this.askToCreateFile(res);\n } else {\n alert('Cannot open/create document at ' + res.getURL());\n }\n },\n\n askToCreateFile: function(webResource) {\n var question = 'No file ' + webResource.getURL() + ' exists...! Create it?';\n this.panel.world().confirm(question, function(input) {\n if (!input) return;\n webResource.statusMessage(\n 'Successfully created ' + webResource.getURL().filename(),\n 'Cannot create ' + webResource.getURL().filename(), true)\n webResource.put('empty file');\n this.loadFile();\n }.bind(this));\n },\n removeFile: function() {\n var webR = this.createWebResource();\n if (!webR.exists()) return;\n webR.statusMessage('Successfully deleted','Error deleting', true).del();\n },\n},\n'interface', {\n load: function(url) {\n this.panel.urlText.textString = url;\n this.panel.urlText.doSave();\n },\n});\n\nmodule('lively.ide'); // so that the namespace is defined even if ide is not loaded\n\nObject.extend(lively.ide, {\n openFile: function(url) {\n if (!String(url).startsWith('http')) url = URL.codeBase.withFilename(url);\n var textEditor = new lively.morphic.TextEditor()\n textEditor.open()\n textEditor.load(url);\n },\n});\n\n\n\nlively.morphic.Box.subclass('lively.morphic.HorizontalDivider', Trait('HorizontalDividerTrait'),\n'settings', {\n style: {fill: Color.gray, enableDragging: true},\n},\n'initializing', {\n initialize: function($super, bounds) {\n $super(bounds);\n this.fixed = [];\n this.scalingBelow = [];\n this.scalingAbove = [];\n this.minHeight = 20;\n this.pointerConnection = null;\n },\n},\n'mouse events', {\n onDragStart: function(evt) {\n this.oldPoint = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var p1 = this.oldPoint,\n p2 = evt.getPosition(),\n deltaY = p2.y - p1.y;\n this.oldPoint = p2;\n this.movedVerticallyBy(deltaY);\n return true;\n },\n});\n\nlively.morphic.Box.subclass('lively.morphic.Slider', Trait('SliderMorphTrait'),\n'settings', {\n style: {\n borderColor: Color.darkGray,\n borderWidth: 1,\n borderRadius: 6,\n fill: Styles.sliderBackgroundGradient(Color.gray, \"NorthSouth\")\n },\n connections: {\n value: {}}\n},\n'initializing', {\n initialize: function($super, initialBounds, scaleIfAny) {\n $super(initialBounds);\n connect(this, 'value', this, 'adjustSliderParts')\n this.setValue(0);\n this.setSliderExtent(0.1);\n this.valueScale = (scaleIfAny === undefined) ? 1.0 : scaleIfAny;\n this.sliderKnob = this.addMorph(new lively.morphic.SliderKnob(new Rectangle(0, 0, this.mss, this.mss), this));\n this.setupFill();\n this.adjustSliderParts()\n },\n},\n'accessing', {\n getValue: function() { return this.value },\n\n setValue: function(value) { return this.value = value },\n\n getSliderExtent: function() { return this.sliderExtent },\n\n setSliderExtent: function(value) {\n this.sliderExtent = value\n this.adjustSliderParts();\n return value;\n },\n setExtent: function($super, value) {\n $super(value);\n this.adjustSliderParts();\n return value;\n },\n\n},\n'mouse events', {\n onMouseDown: function(evt) {\n\n // FIXME: a lot of this is handled in Morph>>onMouseDown. remove.\n if (!evt.isLeftMouseButtonDown() || evt.isCommandKey()) return false;\n\n var handPos = this.localize(evt.getPosition());\n\n if (this.sliderKnob.bounds().containsPoint(handPos)) return false; // knob handles move\n\n var inc = this.getSliderExtent(),\n newValue = this.getValue(),\n delta = handPos.subPt(this.sliderKnob.bounds().center());\n if (this.vertical() ? delta.y > 0 : delta.x > 0) newValue += inc;\n else newValue -= inc;\n\n if (isNaN(newValue)) newValue = 0;\n this.setScaledValue(this.clipValue(newValue));\n\n return true;\n },\n})\n\n// FIXME move somewhere else\nlively.morphic.Box.subclass('lively.morphic.SliderKnob',\n'settings', {\n style: {borderColor: Color.black, borderWidth: 1, fill: Color.gray, enableDragging: true},\n dragTriggerDistance: 0,\n},\n'initializing', {\n initialize: function($super, initialBounds, slider) {\n $super(initialBounds);\n this.slider = slider;\n },\n},\n'mouse events', {\n onDragStart: function($super, evt) {\n this.hitPoint = evt.getPosition();\n return true;\n },\n onDrag: function($super, evt) {\n // the hitpoint is the offset that make the slider move smooth\n if (!this.hitPoint) return; // we were not clicked on...\n\n // Compute the value from a new mouse point, and emit it\n var delta = evt.getPosition().subPt(this.hitPoint),\n p = this.bounds().topLeft().addPt(delta),\n bnds = this.slider.innerBounds(),\n ext = this.slider.getSliderExtent();\n\n this.hitPoint = evt.getPosition()\n if (this.slider.vertical()) {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.height,this.slider.mss),\n newValue = p.y / (bnds.height-elevPix);\n } else {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.width,this.slider.mss),\n newValue = p.x / (bnds.width-elevPix);\n }\n\n if (isNaN(newValue)) newValue = 0;\n this.slider.setScaledValue(this.slider.clipValue(newValue));\n },\n onDragEnd: function($super, evt) { return $super(evt) },\n onMouseDown: function(evt) {\n return true;\n },\n\n\n});\nObject.extend(Array.prototype, {\n asListItemArray: function() {\n return this.collect(function(ea) {\n return {isListItem: true, string: ea.toString(), value: ea};\n });\n },\n})\n\n}) // end of module\n","sourceString":"module('lively.morphic.Widgets').requires('lively.morphic.Core', 'lively.morphic.Events', 'lively.WidgetsTraits', 'lively.morphic.Styles').toRun(function() {\n\nlively.morphic.Morph.subclass('lively.morphic.Button',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\n\n\nlively.morphic.Button.subclass('lively.morphic.ImageButton',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Image',\n'initializing', {\n doNotSerialize: ['isLoaded'],\n initialize: function($super, bounds, url, useNativeExtent) {\n var imageShape = this.createImageShape(bounds.extent().extentAsRectangle(), url);\n $super(imageShape);\n this.setPosition(bounds.topLeft());\n if (useNativeExtent) {\n connect(imageShape, 'isLoaded', this, 'setNativeExtent',\n {removeAfterUpdate: true});\n } else {\n connect(imageShape, 'isLoaded', this, 'setExtent',\n {removeAfterUpdate: true, converter: function() {\n return this.targetObj.getExtent() }});\n }\n },\n createImageShape: function(bounds, url) {\n return new lively.morphic.Shapes.Image(bounds, url);\n },\n},\n'accessing', {\n setImageURL: function(url) { return this.shape.setImageURL(url) },\n getImageURL: function() { return this.shape.getImageURL() },\n getNativeExtent: function() { return this.shape.getNativeExtent() },\n setNativeExtent: function() {\n var ext = this.getNativeExtent();\n // FIXME magic numbers\n if (ext.x < 10) ext.x = 10;\n if (ext.y < 10) ext.y = 10;\n return this.setExtent(ext);\n },\n},\n'halos', {\n getHaloClasses: function($super) {\n return $super().concat([lively.morphic.SetImageURLHalo]);\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n items.push(['set to original extent', this.setNativeExtent.bind(this)]);\n items.push(['inline image data', this.convertToBase64.bind(this)]);\n return items;\n },\n},\n'keyboard events', {\n onKeyPress: function($super, evt) {\n // The extent of iages should can be changed by using the + and - key\n var key = evt.getKeyChar();\n\n switch (key) {\n case \"-\": {\n this.setExtent(this.getExtent().scaleBy(0.8))\n return true;\n }\n case \"+\": {\n this.setExtent(this.getExtent().scaleBy(1.1))\n return true;\n }\n }\n return $super(evt)\n }\n},\n'inline image', {\n convertToBase64: function() {\n var urlString = this.getImageURL();\n\n var type = urlString.substring(urlString.lastIndexOf('.') + 1, urlString.length)\n if (type == 'jpg') type = 'jpeg'\n if (!['gif', 'jpeg', 'png', 'tiff'].include(type)) type = 'gif'\n\n if (false && Global.btoa) {\n // FIXME actually this should work but the encoding result is wrong...\n // maybe the binary image content is not loaded correctly because of encoding?\n urlString = URL.makeProxied(urlString);\n var content = new WebResource(urlString).get(null, 'image/' + type).content\n\n var fixedContent = content.replace(/./g, function(m) {\n return String.fromCharCode(m.charCodeAt(0) & 0xff);\n });\n var encoded = btoa(fixedContent);\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n } else {\n if (!urlString.startsWith('http'))\n urlString = URL.source.getDirectory().withFilename(urlString).toString()\n require('server.nodejs.WebInterface').toRun(function() { // FIXME\n var encoded = this.encodeOnServer(urlString)\n if (!encoded || encoded == '')\n lively.morphic.World.current().alert('Cannot convert image with url ' + urlString + ' to base64');\n else\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n }.bind(this));\n }\n },\n encodeOnServer: function(urlString) {\n var cmd = 'curl --silent \"' + urlString + '\" | openssl base64',\n result = new CommandLineServerInterface().beSync().runCommand(cmd).result;\n return result && result.stdout ? result.stdout : '';\n },\n});\nObject.extend(lively.morphic.Image, {\n fromURL: function(url, optBounds) {\n var bounds = optBounds || new Rectangle(0,0, 100, 100);\n return new lively.morphic.Image(bounds, url, optBounds == undefined)\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.CheckBox',\n'properties', {\n connections: {\n setChecked: {}\n }\n},\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n this.setChecked(isChecked);\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'checkbox';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n setChecked: function(bool) {\n this.checked = bool;\n this.renderContext().shapeNode.checked = bool;\n return bool;\n },\n},\n'testing', {\n isChecked: function() {\n return this.checked;\n },\n},\n'event handling', {\n onClick: function(evt) {\n // for halos/menus\n if (evt.isCommandKey() || !evt.isLeftMouseButtonDown()) {\n evt.stop()\n return true;\n }\n // we do it ourselves\n this.setChecked(!this.isChecked());\n return true;\n },\n},\n'serialization', {\n prepareForNewRenderContext: function ($super, renderCtx) {\n $super(renderCtx);\n // FIXME what about connections to this.isChecked?\n // they would be updated here...\n this.setChecked(this.isChecked());\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.PasswordInput',\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'password';\n node.className = 'visibleSelection';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n set value(string) {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n if (inputNode) {\n inputNode.value = string;\n }\n\n lively.bindings.signal(this, 'value', string);\n return string;\n },\n get value() {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n return inputNode ? inputNode.value : '';\n }\n});\n\nlively.morphic.Box.subclass('lively.morphic.ProgressBar',\n'settings', {\n style: {\n fill: Color.white, borderColor: Color.rgb(170,170,170), borderWidth: 1, borderRadius: 5,\n adjustForNewBounds: true,\n clipMode: 'hidden', // so that sharp borders of progress do not stick out\n },\n progressStyle: {\n scaleHorizontal: true,\n scaleVertical: true,\n borderColor: Color.rgb(170,170,170),\n borderWidth: 1,\n borderRadius: \"5px 0px 0px 5px\",\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(223,223,223)},\n {offset: 1, color: Color.rgb(204,204,204)}]),\n clipMode: 'hidden', // for label\n },\n labelStyle: {\n fontSize: 11,\n fixedWidth: true,\n fixedHeight: false,\n clipMode: 'hidden',\n align: 'center',\n },\n},\n'initializing', {\n initialize: function($super, bounds) {\n bounds = bounds || new Rectangle(0,0, 200,22);\n $super(bounds);\n this.createProgressMorph();\n this.createLabel();\n this.value = 0;\n },\n createProgressMorph: function() {\n var bounds = this.innerBounds();\n this.progressMorph = this.addMorph(lively.morphic.Morph.makeRectangle(bounds.withWidth(0)));\n this.progressMorph.applyStyle(this.progressStyle);\n this.progressMorph.ignoreEvents();\n },\n createLabel: function() {\n this.labelBlack = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.black, centeredVertical: true, scaleHorizontal: true}, this.labelStyle));\n this.labelWhite = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.white}, this.labelStyle));\n\n this.addMorphBack(this.labelBlack);\n this.progressMorph.addMorph(this.labelWhite);\n\n this.labelBlack.ignoreEvents();\n this.labelWhite.ignoreEvents();\n\n connect(this.labelBlack, 'extent', this.labelWhite, 'setExtent')\n connect(this.labelBlack, 'position', this.labelWhite, 'setPosition')\n this.labelBlack.setBounds(this.innerBounds());\n this.labelBlack.fit();\n },\n\n\n},\n'accessing', {\n getValue: function() { return this.value },\n setValue: function(v) { this.updateBar(v); return this.value = v },\n setLabel: function(string) {\n this.labelBlack.textString = string;\n this.labelWhite.textString = string;\n },\n\n},\n'updating', {\n updateBar: function(value) {\n\tvar maxExt = this.getExtent();\n // this.progressMorph.setPosition(pt(1,1));\n this.progressMorph.setExtent(pt(Math.floor(maxExt.x * value), maxExt.y));\n },\n});\n\nlively.morphic.Text.subclass('lively.morphic.FrameRateMorph', {\n\n initialize: function($super, shape) {\n // Steps at maximum speed, and gathers stats on ticks per sec and max latency\n $super(shape);\n this.setTextString('FrameRateMorph')\n this.reset(new Date());\n },\n\n reset: function(date) {\n this.lastTick = date.getSeconds();\n this.lastMS = date.getTime();\n this.stepsSinceTick = 0;\n this.maxLatency = 0;\n },\n\n nextStep: function() {\n var date = new Date();\n this.stepsSinceTick++;\n var nowMS = date.getTime();\n this.maxLatency = Math.max(this.maxLatency, nowMS - this.lastMS);\n this.lastMS = nowMS;\n var nowTick = date.getSeconds();\n if (nowTick != this.lastTick) {\n this.lastTick = nowTick;\n var ms = (1000 / Math.max(this. stepsSinceTick,1)).roundTo(1);\n this.setTextString(this.stepsSinceTick + \" frames/sec (\" + ms + \"ms avg),\\nmax latency \" + this.maxLatency + \" ms.\");\n this.reset(date);\n }\n },\n\n startSteppingScripts: function() { this.startStepping(1, 'nextStep'); }\n\n});\n\nlively.morphic.Box.subclass('lively.morphic.Menu',\n'settings', {\n style: {\n fill: Color.gray.lighter(3),\n borderColor: Color.gray.lighter(),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n opacity: 0.95,\n },\n isEpiMorph: true,\n},\n'initializing', {\n initialize: function($super, title, items) {\n $super(new Rectangle(0,0, 120, 10));\n this.items = [];\n this.itemMorphs = [];\n\n if (title) this.setupTitle(title);\n if (items) this.addItems(items);\n },\n setupTitle: function(title) {\n if (this.title) this.title.remove()\n this.title = new lively.morphic.Text(\n new Rectangle(0,0, this.getExtent().x, 25),\n String(title).truncate(26)).beLabel({\n borderRadius: this.getBorderRadius(),\n borderColor: this.getBorderColor(),\n borderWidth: 0,\n fill: new lively.morphic.LinearGradient([{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray}]),\n textColor: CrayonColors.lead,\n clipMode: 'hidden',\n fixedWidth: false,\n fixedHeight: true,\n borderColor: Color.gray.lighter(2),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n padding: Rectangle.inset(5,5,5,5),\n emphasize: {fontWeight: 'bold'}\n });\n this.title.align(this.title.bounds().bottomLeft(), pt(0,0));\n this.addMorph(this.title);\n this.fitToItems()\n },\n},\n'opening', {\n openIn: function(parentMorph, pos, remainOnScreen, captionIfAny) {\n this.setPosition(pos || pt(0,0));\n\n if (captionIfAny) { this.setupTitle(captionIfAny) };\n\n var owner = parentMorph || lively.morphic.World.current();\n this.remainOnScreen = remainOnScreen;\n if (!remainOnScreen) {\n if (owner.currentMenu) { owner.currentMenu.remove() };\n owner.currentMenu = this;\n } else {\n this.isEpiMorph = false;\n }\n\n owner.addMorph(this);\n this.fitToItems.bind(this).delay(0);\n\n this.offsetForWorld(pos);\n // delayed because of fitToItems\n // currently this is deactivated because the initial bounds are correct\n // for our current usage\n // this.offsetForWorld.curry(pos).bind(this).delay(0);\n\n return this;\n },\n},\n'removing', {\n remove: function($super) {\n var w = this.world();\n if (w && w.currentMenu === this) w.currentMenu = null;\n $super();\n },\n},\n'item management', {\n removeAllItems: function() {\n this.items = [];\n this.itemMorphs = [];\n this.submorphs.without(this.title).invoke('remove');\n },\n\n createMenuItems: function(items) {\n function createItem(string, value, idx, callback, callback2, isSubMenu) {\n return {\n isMenuItem: true,\n isListItem: true,\n\t\t\t\tisSubMenu: isSubMenu,\n string: string,\n value: value,\n idx: idx,\n onClickCallback: callback,\n onMouseOverCallback: callback2,\n }\n }\n var result = [], self = this;\n items.forEach(function(item, i) {\n if (item.isMenuItem) { item.idx = i; result.push(item); return };\n // item = [name, callback]\n if (Object.isArray(item) && Object.isFunction(item[1])) {\n result.push(createItem(String(item[0]), item[0], i, item[1]))\n return;\n }\n // item = [name, target, methodName, args...]\n if (Object.isArray(item) && Object.isString(item[2])) {\n result.push(createItem(String(item[0]), item[0], i, function(evt) {\n var receiver = item[1],\n method = receiver[item[2]],\n args = item.slice(3);\n method.apply(receiver, args) }))\n return;\n }\n // sub menu item = [name, [sub elements]]\n if (Object.isArray(item) && Object.isArray(item[1])) {\n var name = item[0], subItems = item[1];\n result.push(createItem(name, name, i, null, function(evt) {\n self.openSubMenu(evt, name, subItems) }, true));\n return;\n }\n // item = \"some string\"\n result.push(createItem(String(item), item, i, function() { alert('clicked ' + self.idx) }));\n });\n return result;\n },\n\n addItems: function(items) {\n this.removeAllItems();\n this.items = this.createMenuItems(items);\n var y = 0, x = 0, self = this;\n\n this.items.forEach(function(item) {\n \n // Always start menu items with a capital letter\n var title = item.string //.substr(0,1).toUpperCase() + item.string.substr(1, item.string.length-1);\n \n var itemHeight = 23,\n itemMorph = new lively.morphic.Text(\n new Rectangle(0, y, this.getExtent().x, itemHeight), title);\n \n // If an item has a sub menu, add an arrow icon to it\n if (item.isSubMenu) {\n var arrowMorph = new lively.morphic.Text(\n new Rectangle(0, 0, 10, itemHeight), \"▶\");\n arrowMorph.setPosition(pt(this.getExtent().x, y));\n arrowMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10,\n padding: Rectangle.inset(3,2) });\n itemMorph.addMorph(arrowMorph);\n }\n \n\n this.itemMorphs.push(this.addMorph(itemMorph));\n \n\n itemMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10.5,\n padding: Rectangle.inset(3,2) });\n itemMorph.onMouseUp = function(evt) {\n if((evt.world.clickedOnMorph !== itemMorph)\n && (Date.now() - evt.world.clickedOnMorphTime < 500))\n return false; // only a click\n // FIXME $super\n lively.morphic.Morph.prototype.onMouseUp(evt);\n //if (!evt.isLeftMouseButtonDown()) return false;\n item.onClickCallback && item.onClickCallback(evt);\n if (!self.remainOnScreen) self.remove(); // remove the menu\n evt.stop();\n return true;\n }\n\n itemMorph.registerForEvent('mouseover', itemMorph, 'onMouseOver');\n itemMorph.onMouseOver = function(evt) {\n if (itemMorph.isSelected) return true;\n itemMorph.isSelected = true;\n itemMorph.owner.itemMorphs.without(itemMorph).invoke('deselect');\n itemMorph.applyStyle({\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(100,131,248)},\n {offset: 1, color: Color.rgb(34,85,245)}]),\n textColor: Color.white,\n borderRadius: 4\n })\n \n // if the item is a submenu, set its textColor to white\n var arrow = itemMorph.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.white});\n }\n \n self.overItemMorph = itemMorph;\n self.removeSubMenu()\n item.onMouseOverCallback && item.onMouseOverCallback(evt);\n evt.stop();\n return true;\n };\n itemMorph.addScript(function onMouseWheel(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function onSelectStart(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n \n // if the item is a submenu, set its textColor back to black\n var arrow = this.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.black});\n }\n })\n y += itemHeight;\n x = Math.max(x, itemMorph.getTextExtent().x);\n }, this)\n // this.setExtent(pt(this.getExtent().x, y))\n if (this.title) y += this.title.bounds().height;\n this.setExtent(pt(x, y));\n },\n addItems2: function() {\n/* use list morph for items...\n var listMorph = new lively.morphic.List(new Rectangle(0,0, 200, 0), this.items);\n listMorph.applyStyle({clipMode: 'visible', fill: Color.white})\n listMorph.addScript(function onMouseOver(evt) {\n // just highlight\n var idx = this.renderContextDispatch('getItemIndexFromEvent', evt);\n this.renderContextDispatch('selectAt', idx);\n var item = this.itemList[idx];\n this.owner.removeSubMenu()\n this.owner.overItemMorph = this;\n if (item && item.onMouseOverCallback) item.onMouseOverCallback(evt);\n evt.stop()\n return true;\n })\n listMorph.addScript(function onMouseDown(evt) {\n if (!$super(evt)) return false;\n var item = this.itemList[this.selectedLineNo];\n if (item && item.onClickCallback) item.onClickCallback(evt);\n this.owner.remove();\n evt.stop();\n return true;\n })\n this.addMorph(listMorph);\n(function() { listMorph.setExtent(listMorph.getListExtent()); }).delay(0);\n// lively.bindings.callWhenNotNull(\n // this, 'owner',\n // {fit: function() { alert(listMorph.getListExtent()); listMorph.setExtent(listMorph.getListExtent()); }}, 'fit');\n\n return;\n*/\n },\n},\n'sub menu', {\n openSubMenu: function(evt, name, items) {\n var m = new lively.morphic.Menu(null, items);\n this.addMorph(m);\n m.fitToItems.bind(m).delay(0);\n this.subMenu = m;\n m.ownerMenu = this;\n\n // we do this twice because effect of fitToItems is delayed\n m.setVisible(false); // we hide it because it is first shown at the wrong position\n m.offsetForOwnerMenu();\n (function() {\n m.offsetForOwnerMenu()\n m.setVisible(true);\n }).delay(0);\n\n return m;\n },\n removeSubMenu: function() { if (this.subMenu) { var m = this.subMenu; m.ownerMenu = null; this.subMenu = null; m.remove() } },\n removeOwnerMenu: function() { if (this.ownerMenu) { var m = this.ownerMenu; this.ownerMenu = null; m.remove() } },\n},\n'removal', {\n remove: function($super) {\n $super();\n this.removeSubMenu();\n this.removeOwnerMenu();\n },\n},\n'bounds calculation', {\n moveBoundsForVisibility: function(menuBounds, visibleBounds) {\n var offsetX = 0,\n offsetY = 0;\n Global.lastMenuBounds = menuBounds;\n\n if (menuBounds.right() > visibleBounds.right())\n offsetX = -1 * (menuBounds.right() - visibleBounds.right());\n\n var overlapLeft = menuBounds.left() + offsetX;\n if (overlapLeft < 0)\n offsetX += -overlapLeft;\n\n if (menuBounds.bottom() > visibleBounds.bottom()) {\n offsetY = -1 * (menuBounds.bottom() - visibleBounds.bottom());\n // so that hand is not directly over menu, does not work when\n // menu is in the bottom right corner\n offsetX += 1;\n }\n var overlapTop = menuBounds.top() + offsetY;\n if (overlapTop < 0)\n offsetY += -overlapTop;\n\n return menuBounds.translatedBy(pt(offsetX, offsetY));\n },\n moveSubMenuBoundsForVisibility: function(subMenuBnds, mainMenuItemBnds, visibleBounds, direction) {\n // subMenuBnds is bounds to be transformed, mainMenuItemBnds is the bounds of the menu\n // item that caused the submenu to appear, visbleBounds is the bounds that the submenu\n // should fit into, when there are multiple submenus force one direction with forceDirection\n if (!direction) {\n direction = mainMenuItemBnds.right() + subMenuBnds.width > visibleBounds.right() ?\n 'left' : 'right';\n }\n var extent = subMenuBnds.extent();\n if (direction === 'left') {\n subMenuBnds = mainMenuItemBnds.topLeft().addXY(-extent.x, 0).extent(extent);\n } else {\n subMenuBnds = mainMenuItemBnds.topRight().extent(extent);\n }\n\n if (subMenuBnds.bottom() > visibleBounds.bottom()) {\n var deltaY = -1 * (subMenuBnds.bottom() - visibleBounds.bottom());\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n // if it overlaps at the top move the bounds so that it aligns woitht he top\n if (subMenuBnds.top() < visibleBounds.top()) {\n var deltaY = visibleBounds.top() - subMenuBnds.top();\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n return subMenuBnds;\n },\n\n offsetForWorld: function(pos) {\n var bounds = this.innerBounds().translatedBy(pos);\n if (this.title) {\n bounds = bounds.withTopLeft(bounds.topLeft().addXY(0, this.title.getExtent().y));\n }\n if (this.owner.visibleBounds) {\n bounds = this.moveBoundsForVisibility(bounds, this.owner.visibleBounds());\n }\n this.setBounds(bounds);\n },\n\n offsetForOwnerMenu: function() {\n var owner = this.ownerMenu,\n visibleBounds = this.world().visibleBounds(),\n localVisibleBounds = this.getTransform().inverse().transformRectToRect(visibleBounds),\n newBounds = this.moveSubMenuBoundsForVisibility(\n this.innerBounds(),\n owner.overItemMorph ? owner.overItemMorph.bounds() : new Rectangle(0,0,0,0),\n localVisibleBounds);\n this.setBounds(newBounds);\n },\n\n fitToItems: function() {\n var offset = 10 + 20,\n morphs = this.itemMorphs;\n if (this.title) morphs = morphs.concat([this.title]);\n var widths = morphs.invoke('getTextExtent').pluck('x');\n var width = Math.max.apply(Global, widths) + offset;\n var newExtent = this.getExtent().withX(width);\n this.setExtent(newExtent);\n morphs.forEach(function(ea) { \n ea.setExtent(ea.getExtent().withX(newExtent.x));\n if (ea.submorphs.length>0) { \n var arrow = ea.submorphs.first();\n arrow.setPosition(arrow.getPosition().withX(newExtent.x-17));\n }\n })\n }\n\n});\n\nObject.extend(lively.morphic.Menu, {\n openAtHand: function(title, items) {\n return this.openAt(lively.morphic.World.current().firstHand().getPosition(), title, items);\n },\n openAt: function(pos, title, items) {\n var menu = new lively.morphic.Menu(title, items);\n return menu.openIn(lively.morphic.World.current(), pos, false);\n },\n});\n\n\nlively.morphic.Morph.addMethods(\n'menu', {\n enableMorphMenu: function() {\n this.showsMorphMenu = true;\n },\n disableMorphMenu: function() { this.showsMorphMenu = false },\n openMorphMenuAt: function(pos, itemFilter) {\n if (!(itemFilter instanceof Function)) {\n itemFilter = function (items) { return items }\n }\n return lively.morphic.Menu.openAt(pos, this.name || this.toString(), itemFilter(this.morphMenuItems()));\n },\n showMorphMenu: function(evt) {\n this.openMorphMenuAt(evt.getPosition());\n evt.stop();\n return true;\n },\n morphMenuItems: function() {\n var self = this, items = [];\n items.push([\n 'publish', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }])\n items.push(['open in window', function(evt){\n self.openInWindow(evt.mousePoint);\n }]);\n\n // Drilling into scene to addMorph or get a halo\n var morphs = this.world().morphsContainingPoint(this.worldPoint(pt(0,0)))\n .reject(function(ea) { return ea === self})\n .reject(function(ea) { return ea === $world})\n var self = this;\n items.push([\"add morph to...\", morphs.collect(function(ea) {\n return [ea, function() { ea.addMorph(self)}]\n })])\n items.push([\"get halo on...\", morphs.collect(function(ea) {\n return [ea, function(evt) { ea.toggleHalos(evt)}]\n })])\n var steppingItems = [];\n \n if (this.startSteppingScripts) {\n steppingItems.push([\"start stepping\", function(){self.startSteppingScripts()}])\n } \n if (this.scripts.length != 0) {\n steppingItems.push([\"stop stepping\", function(){self.stopStepping()}])\n }\n if (steppingItems.length != 0) {\n items.push([\"stepping\", steppingItems])\n } \n if (this.attributeConnections && this.attributeConnections.length > 0) {\n items.push([\"connections\", this.attributeConnections\n .reject(function(ea) { return ea.dependedBy}) // Meta connection\n .reject(function(ea) { return ea.targetMethodName == 'alignToMagnet'}) // Meta connection\n .collect(function(ea) {\n var s = ea.sourceAttrName + \" -> \" + ea.targetObj + \".\" + ea.targetMethodName\n return [s, [\n [\"disconnect\", function() {\n alertOK(\"disconnecting \" + ea)\n ea.disconnect()}],\n [\"edit converter\", function() {\n var window = lively.bindings.editConnection(ea);\n }],\n [\"show\", function() {\n lively.bindings.showConnection(ea);\n }],\n [\"hide\", function() {\n if (ea.visualConnector) ea.visualConnector.remove();\n }],\n ]]\n })])\n }\n\n if (this.grabbingEnabled || this.grabbingEnabled == undefined) {\n items.push([\"disable grabbing\", this.disableGrabbing.bind(this)])\n } else {\n items.push([\"enable grabbing\", this.enableGrabbing.bind(this)])\n }\n\n if (this.owner && this.owner.submorphs.length > 1) {\n var arrange = [];\n arrange.push([\"bring to front\", function(){self.bringToFront()}]);\n arrange.push([\"send to back\", function(){self.sendToBack()}]);\n items.push([\"arrange morph\", arrange]);\n }\n \n\n if (this.submorphs.length > 0) {\n if (this.isLocked()) {\n items.push([\"unlock parts\", this.unlock.bind(this)])\n } else {\n items.push([\"lock parts\", this.lock.bind(this)])\n }\n }\n\n if (false) {\n items.push([\"enable internal selections\", function() {\n Trait('SelectionMorphTrait').applyTo(self, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n self.enableDragging();\n }])\n }\n\n if (this.reset)\n items.push(['reset', this.reset.bind(this)]);\n\n if (this.owner.owner) { // Is owner owner a Stack?\n if (this.owner.owner.pageArray) {\n this.owner.owner.stackMenuItems(this, items) // move between page and background\n }\n }\n\n return items;\n },\n getWindow: function() {\n if (this.isWorld) {\n return null;\n }\n if (this.isWindow) {\n return this;\n }\n if (this.owner) {\n return this.owner.getWindow();\n }\n return null;\n },\n\n\n\n\n});\nlively.morphic.Text.addMethods(\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n (this.evalEnabled ? '[X]' : '[ ]') + ' eval',\n function() { self.evalEnabled = !self.evalEnabled }\n ]);\n items.push([\n (this.syntaxHighlightingWhileTyping ? '[X]' : '[ ]') + ' syntax highlighting',\n function() { self.syntaxHighlightingWhileTyping ?\n self.disableSyntaxHighlighting() : self.enableSyntaxHighlighting() }\n ]);\n items.push([\n 'convert to annotation',\n function() {\n var part = $world.openPartItem('AnnotationPin', 'PartsBin/Documentation');\n part.setPosition(self.getPosition());\n part.createAnnotationFromText(self);\n self.remove();\n }\n ]);\n items.push([\n (self.isInChunkDebugMode() ? 'disable' : 'enable') + ' text chunk debugging',\n function() { self.setChunkDebugMode(!self.isInChunkDebugMode()) }]);\n return items;\n },\n\n});\n\n\nlively.morphic.World.addMethods(\n'tools', {\n loadPartItem: function(partName, optPartspaceName) {\n var optPartspaceName = optPartspaceName || 'PartsBin/NewWorld';\n var part = lively.PartsBin.getPart(partName, optPartspaceName);\n if (!part)\n \treturn;\n if (part.onCreateFromPartsBin) part.onCreateFromPartsBin();\n return part;\n },\n openPartItem: function(partName, optPartspaceName) {\n var part = this.loadPartItem(partName, optPartspaceName);\n part.openInWorld(pt(0,0))\n part.align(part.bounds().center(), this.visibleBounds().center());\n return part;\n },\n openPartsBin: function(evt) {\n return this.openPartItem('PartsBinBrowser', 'PartsBin/Tools');\n },\n openInspectorFor: function(object, evt) {\n var name = Config.useObjectInspector ? \"ObjectInspector\" : \"Explorer\";\n var part = this.openPartItem(name, 'PartsBin/Tools');\n part.explore(object);\n return part;\n },\n openStyleEditorFor: function(morph, evt) {\n var editor = this.openPartItem('StyleEditor', 'PartsBin/Tools');\n editor.setTarget(morph);\n var globalPos = morph.owner.getGlobalTransform().transformPoint(\n morph.bounds().bottomLeft());\n editor.align(editor.bounds().topLeft(),globalPos);\n return editor;\n },\n openObjectEditor: function() {\n return this.openPartItem('ObjectEditor', 'PartsBin/Tools');\n },\n openObjectEditorFor: function(morph) {\n var part = this.openObjectEditor();\n part.setTarget(morph);\n return part;\n },\n openMethodFinder: function() {\n return this.openPartItem('MethodFinder', 'PartsBin/Tools');\n },\n openMethodFinderFor: function(searchString) {\n var toolPane = this.get('ToolTabPane');\n if (!toolPane) {\n toolPane = this.openPartItem('ToolTabPane', 'PartsBin/Dialogs');\n toolPane.openInWindow();\n toolPane.owner.name = toolPane.name +\"Window\";\n toolPane.owner.minExtent = pt(700,370);\n var corner = toolPane.withAllSubmorphsDetect(function (ea) {\n return ea.name == \"ResizeCorner\";\n });\n corner && toolPane.owner.addMorph(corner)\n }\n var part = toolPane.openMethodFinderFor(searchString)\n part.setExtent(toolPane.tabPaneExtent)\n part.owner.layout = part.owner.layout || {};\n part.owner.layout.resizeWidth = true;\n part.owner.layout.resizeHeight = true;\n part.owner.layout.adjustForNewBounds = true;\n return part;\n },\n openVersionViewer: function(evt) {\n return this.openPartItem('VersionViewer', 'PartsBin/Wiki');\n },\n openTestRunner: function() {\n var m = this.openPartItem('TestRunner', 'PartsBin/Tools');\n m.align(m.bounds().topCenter().addPt(pt(0,-20)), this.visibleBounds().topCenter());\n return m\n },\n openClassBrowserFor: function(searchString) {\n var part = this.openPartItem('ClassBrowser', 'PartsBin/Tools');\n part.targetMorph.searchClass(searchString);\n return part;\n },\n openPublishPartDialogFor: function(morph) {\n var publishDialog = this.loadPartItem('PublishPartDialog', 'PartsBin/Dialogs');\n var metaInfo = morph.getPartsBinMetaInfo();\n publishDialog.targetMorph.setTarget(morph);\n publishDialog.openInWorldCenter();\n $world.publishPartDialog = publishDialog;\n return publishDialog;\n },\n openConnectDocumentation: function() {\n return this.openPartItem('HowConnectWorks', 'PartsBin/Documentation');\n },\n openShortcutDocumentation: function() {\n return this.openPartItem('HelpfulShortcuts', 'PartsBin/Documentation');\n },\n openPartsBinDocumentation: function() {\n return this.openPartItem('LivelysPartsBin', 'PartsBin/Documentation');\n },\n openSystemBrowser: function(evt) {\n var world = this,\n browser;\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n browser = new lively.ide.SystemBrowser();\n browser.openIn(world);\n\n var lastOpened = lively.ide.SourceControl.registeredBrowsers.last();\n lastOpened && browser.setTargetURL(lastOpened.targetURL)\n });\n return browser;\n },\n browseCode: function(/*args*/) {\n // find code and browse it\n // args can be objectName, methodName, sourceModuleName\n // see lively.ide.browse for more options\n var args = Array.from(arguments);\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n lively.ide.browse.apply(lively.ide, args);\n });\n },\n\n openWorkspace: function(evt) {\n var text = this.addTextWindow({title: 'Workspace',\n content: 'nothing', syntaxHighlighting: true})\n text.accessibleInInactiveWindow = true;\n text.setFontFamily('Monaco,monospace');\n return text;\n },\n openAboutBox: function() {\n var text = this.addTextWindow({title: 'About Lively Kernel'});\n text.owner.setExtent(pt(390, 105));\n var webR = new WebResource(new URL(Config.rootPath));\n var licenseURL = 'http://lively-kernel.org/license/index.html';\n var headRevision = webR.getHeadRevision().headRevision;\n var repositoryString = 'Repository: ' + Config.rootPath;\n var revisionString = '\\n\\nRevision: ' + headRevision;\n var licenseString = '\\n\\nLicense: ' + licenseURL;\n text.setTextString(repositoryString + revisionString + licenseString);\n text.changeEmphasis('Repository: '.length, repositoryString.length + 1, function(emph, doEmph) {\n doEmph({uri: Config.rootPath});\n });\n text.changeEmphasis(repositoryString.length + revisionString.length + '\\n\\nLicense: '.length, repositoryString.length + revisionString.length + licenseString.length + 1, function(emph, doEmph) {\n doEmph({uri: licenseURL});\n });\n text.setSelectionRange(0,0)\n return text;\n },\n openBootstrapParts: function() {\n // load the bootstrap part from webwerkstat\n // this part can fetch all his friends :-)\n var oldRootPath = Config.rootPath\n try {\n Config.rootPath = 'http://lively-kernel.org/repository/webwerkstatt/'\n this.openPartItem(\"BootstrapParts\", \"PartsBin/Tools\")\n } finally {\n Config.rootPath = oldRootPath\n }\n },\n openSystemConsole: function() {\n return this.openPartItem('SystemConsole', 'PartsBin/Tools');\n }\n},\n'menu', {\n morphMenuPartsBinItems: function() {\n var partSpaceName = 'PartsBin/NewWorld'\n var partSpace = lively.PartsBin.partsSpaceNamed(partSpaceName);\n partSpace.load()\n return partSpace.getPartNames().sort().collect(function(ea) { return [ea, function() {\n var part = lively.PartsBin.getPart(ea, partSpaceName)\n lively.morphic.World.current().firstHand().addMorph(part)\n }]})\n },\n morphMenuDefaultPartsItems: function() {\n var items = [],\n partNames = [\"Rectangle\", \"Ellipse\", \"Image\", \"Text\", 'Line'].sort();\n\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Basic',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n\n partNames = [\"List\", \"Slider\", \"ScriptableButton\", \"Button\"].sort()\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Inputs',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n return items;\n },\n\n debuggingMenuItems: function(world) {\n var items = [\n ['Reset world scale', this.resetScale.bind(this)],\n ['Reset title bars', this.resetAllTitleBars.bind(this)],\n ['Reset button labels', this.resetAllButtonLabels.bind(this)],\n ['World serialization info', function() {\n require('lively.persistence.Debugging').toRun(function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n })}]];\n\n // world requirements\n var changeSet = this.getChangeSet()\n worldRequirementsChange = changeSet.getWorldRequirementsList(),\n worldRequirements = worldRequirementsChange.evaluate(),\n removeRequirement = function(name) {\n changeSet.removeWorldRequirement(name);\n alertOK(name + ' is not loaded at startup anymore');\n },\n menuItems = worldRequirements.collect(function(name) {\n return [name, [['Remove', removeRequirement.curry(name)]]];\n });\n items.push(['Requirements', menuItems]);\n\n // method tracing items\n function disableGlobalTracing() {\n // FIXME better to move this functionality into lively.Tracing\n var controller = $morph(\"TracingController\");\n if (controller) {\n controller.stopTrace();\n } else {\n lively.Tracing.stopGlobalDebugging();\n }\n }\n var tracersInstalled = lively.Tracing && lively.Tracing.stackTracingEnabled,\n globalTracingEnabled = tracersInstalled && lively.Tracing.globalTracingEnabled;\n if (tracersInstalled) {\n items.push([\"Remove trace wrappers\", function() {\n if (globalTracingEnabled) disableGlobalTracing();\n lively.Tracing.uninstallStackTracers();\n }]);\n\n if (!globalTracingEnabled) {\n items.push(['Start global tracing', function() {\n lively.Tracing.startGlobalTracing()\n }]);\n items.push(['Start global debugging', function() {\n require('lively.ast.Morphic').toRun(function() {\n lively.Tracing.startGlobalDebugging()\n });\n }]);\n }\n } else {\n items.push(['Prepare system for tracing/debugging', function() {\n require(\"lively.Tracing\").toRun(function() {\n lively.Tracing.installStackTracers();\n });\n }]);\n }\n if (Global.DebugScriptsLayer && DebugScriptsLayer.isGlobal()) {\n items.push(['[X] Debug Morphic Scripts', function() {\n DebugScriptsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Morphic Scripts', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugScriptsLayer.beGlobal()\n });\n }]);\n }\n if (Global.DebugMethodsLayer && DebugMethodsLayer.isGlobal()) {\n items.push(['[X] Debug Methods', function() {\n DebugMethodsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Methods', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugMethodsLayer.beGlobal()\n });\n }]);\n }\n if (Global.AdvancedSyntaxHighlighting && AdvancedSyntaxHighlighting.isGlobal()) {\n items.push(['[X] Advanced Syntax Highlighting', function() {\n AdvancedSyntaxHighlighting.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Advanced Syntax Highlighting', function() {\n require('lively.ast.StaticAnalysis').toRun(function() {\n AdvancedSyntaxHighlighting.beGlobal();\n });\n }]);\n }\n if (Global.AutoIndentLayer && AutoIndentLayer.isGlobal()) {\n items.push(['[X] Auto Indent', function() {\n AutoIndentLayer.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Auto Indent', function() {\n require('users.cschuster.AutoIndent').toRun(function() {\n AutoIndentLayer.beGlobal();\n });\n }]);\n }\n return items;\n },\n\n morphMenuItems: function() {\n var world = this;\n var items = [\n ['PartsBin', this.openPartsBin.bind(this)],\n ['Parts', this.morphMenuDefaultPartsItems()],\n ['Tools', [\n ['Workspace', this.openWorkspace.bind(this)],\n\t\t['System Code Browser', this.openSystemBrowser.bind(this)],\n ['Object Editor', this.openObjectEditor.bind(this)],\n ['Test Runner', this.openTestRunner.bind(this)],\n ['Method Finder', this.openMethodFinder.bind(this)],\n ['Text Editor', function() { new lively.morphic.TextEditor().openIn(world) }],\n ['System Console', this.openSystemConsole.bind(this)]\n ]],\n ['Stepping', [\n ['Start stepping', function() { world.submorphs.each(\n function(ea) {ea.startSteppingScripts && ea.startSteppingScripts()})}],\n ['Stop stepping', function() { world.submorphs.each(\n function(ea) {ea.stopStepping && ea.stopStepping()})}],\n ]], \n ['Preferences', [\n ['Set username', this.askForUserName.bind(this)],\n ['My user config', this.showUserConfig.bind(this)],\n ['Set extent', this.askForNewWorldExtent.bind(this)],\n ['Set background color', this.askForNewBackgroundColor.bind(this)]]\n ],\n ['Debugging', this.debuggingMenuItems(world)],\n ['Wiki', [\n ['About this wiki', this.openAboutBox.bind(this)],\n ['Bootstrap parts from webwerkstatt', this.openBootstrapParts.bind(this)],\n ['View versions of this world', this.openVersionViewer.bind(this)],\n ['Download world', function() {\n require('lively.persistence.StandAlonePackaging').toRun(function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n });\n }],\n ['Upload world to Dropbox', function() {\n require('apps.Dropbox').toRun(function() {\n DropboxAPI.uploadArchivedWorld();\n });\n }],\n ['Delete world', this.interactiveDeleteWorldOnServer.bind(this)]\n ]],\n ['Documentation', [\n [\"On short cuts\", this.openShortcutDocumentation.bind(this)],\n [\"On connect data bindings\", this.openConnectDocumentation.bind(this)],\n\t\t\t\t [\"On Lively's PartsBin\", this.openPartsBinDocumentation.bind(this)],\n [\"More ...\", function() { window.open(Config.rootPath + 'documentation/'); }]\n ]],\n ['Save world as ...', this.interactiveSaveWorldAs.bind(this), 'synchron'],\n ['Save world', this.saveWorld.bind(this), 'synchron']\n ];\n return items;\n }\n},\n'positioning', {\n positionForNewMorph: function (newMorph, relatedMorph) {\n // this should be much smarter than the following:\n if (relatedMorph)\n return relatedMorph.bounds().topLeft().addPt(pt(5, 0));\n var pos = this.firstHand().getPosition();\n if (!newMorph) return pos;\n var viewRect = this.visibleBounds().insetBy(80),\n newMorphBounds = pos.extent(newMorph.getExtent());\n\n // newShowRect(viewRect)\n return viewRect.containsRect(newMorphBounds) ?\n pos : viewRect.center().subPt(newMorphBounds.extent().scaleBy(0.5));\n },\n},\n'windows', {\n addFramedMorph: function(morph, title, optLoc, optSuppressControls, suppressReframeHandle) {\n var w = this.addMorph(\n new lively.morphic.Window(morph, title || 'Window',\n optSuppressControls, suppressReframeHandle));\n w.setPosition(optLoc || this.positionForNewMorph(morph));\n return w;\n },\n\n addTextWindow: function(spec) {\n // FIXME: typecheck the spec\n if (Object.isString(spec.valueOf())) spec = {content: spec}; // convenience\n var extent = spec.extent || pt(500, 200),\n textMorph = new lively.morphic.Text(extent.extentAsRectangle(), spec.content || \"\"),\n pane = this.internalAddWindow(textMorph, spec.title, spec.position);\n textMorph.applyStyle({\n clipMode: 'auto',\n fixedWidth: true, fixedHeight: true,\n resizeWidth: true, resizeHeight: true,\n syntaxHighlighting: spec.syntaxHighlighting,\n padding: Rectangle.inset(4,2)});\n return pane;\n },\n\n internalAddWindow: function(morph, title, pos, suppressReframeHandle) {\n morph.applyStyle({borderWidth: 1, borderColor: CrayonColors.iron});\n pos = pos || this.firstHand().getPosition().subPt(pt(5, 5));\n var win = this.addFramedMorph(morph, String(title || \"\"), pos, suppressReframeHandle);\n return morph;\n },\n},\n'dialogs', {\n openDialog: function(dialog) {\n var activeWindow = $world.getActiveWindow() || $world,\n visibleBounds = this.visibleBounds(),\n blockee = activeWindow.targetMorph || $world,\n pointOfAlign = activeWindow.targetMorph ?\n blockee.getShape().getBounds().topRight() :\n this.visibleBounds().center(),\n window = dialog.openIn(this, pt(0,0)),\n d,\n transparentMorph,\n blockMorph;\n window.align(window.owner.localize(window.bounds().center()), visibleBounds.center());\n window.focus();\n d = dialog\n if (!activeWindow) return d;\n\n // normal bounds can be negative.. we want the shape bounds here\n var bounds = blockee.shape.bounds().translatedBy(blockee.getPosition());\n blockMorph = lively.morphic.Morph.makeRectangle(bounds);\n blockMorph.disableGrabbing();\n blockMorph.disableDragging();\n blockMorph.isEpiMorph = true;\n blockMorph.applyStyle({\n fill: null,\n borderWidth: 0,\n });\n transparentMorph = lively.morphic.Morph.makeRectangle(blockMorph.getShape().getBounds());\n transparentMorph.disableGrabbing();\n transparentMorph.disableDragging();\n transparentMorph.isEpiMorph = true;\n blockMorph.addMorph(transparentMorph);\n transparentMorph.applyStyle({\n fill: Color.black,\n opacity: 0.5,\n });\n\n blockMorph.addMorph(d.panel);\n\n if(activeWindow.targetMorph){\n d.panel.align(d.panel.bounds().topRight(), pointOfAlign);\n } else {\n d.panel.align(d.panel.bounds().center(), pointOfAlign);\n }\n\n activeWindow.addMorph(blockMorph);\n connect(d.panel, 'remove', blockMorph, 'remove');\n return dialog;\n },\n confirm: function (message, callback) {\n return this.openDialog(new lively.morphic.ConfirmDialog(message, callback));\n },\n prompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.PromptDialog(message, callback, defaultInput))\n },\n editPrompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.EditDialog(message, callback, defaultInput))\n }\n},\n'progress bar', {\n addProgressBar: function(optPt, optLabel) {\n var progressBar = new lively.morphic.ProgressBar(),\n center = optPt || this.visibleBounds().center();\n this.addMorph(progressBar);\n progressBar.align(progressBar.bounds().center(), center);\n progressBar.setLabel(optLabel || '');\n progressBar.ignoreEvents();\n return progressBar\n },\n},\n'preferences', {\n askForUserName: function() {\n var world = this;\n this.prompt(\"Please, give your username\", function(name) {\n if (name) {\n alertOK(\"setting username to: \" + name)\n world.setCurrentUser(name);\n } else {\n alertOK(\"removing username\")\n world.setCurrentUser(undefined);\n }\n })\n },\n askForNewWorldExtent: function() {\n var world = this;\n this.prompt(\"Please, give new world extent\", function(str) {\n if (!str) return;\n var newExtent;\n try {\n newExtent = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newExtent instanceof lively.Point)) {\n alert(\"\" + newExtent + \" \" + \"is not a proper extent\")\n return\n }\n alert(\"set world extent to \" + newExtent);\n world.setExtent(newExtent)\n }, this.getExtent())\n },\n askForNewBackgroundColor: function() {\n var world = this,\n oldColor = this.getFill();\n if(! (oldColor instanceof Color)){\n oldColor = Color.rgb(255,255,255);\n }\n this.prompt(\"Please, give new world background color\", function(str) {\n if (!str) return;\n var newColor;\n try {\n newColor = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newColor instanceof Color)) {\n alert(\"\" + newColor + \" \" + \"is not a proper Color\")\n return\n }\n alert(\"set world background color \" + newColor);\n world.setFill(newColor)\n }, \"Color.\" + oldColor)\n },\n\n setCurrentUser: function(username) {\n this.currentUser = username;\n if (lively.LocalStorage)\n lively.LocalStorage.set('UserName', username);\n },\n},\n'morph selection', {\n withSelectedMorphsDo: function(func, context) {\n // FIXME currently it is the halo target...\n if (!this.currentHaloTarget) return;\n func.call(context || Global, this.currentHaloTarget);\n },\n},\n'debugging', {\n resetAllScales: function() {\n this.withAllSubmorphsDo(function(ea) {\n ea.setScale(1);\n })\n },\n\tresetScale: function () {\n\t\tthis.setScale(1);\n\t\tthis.firstHand().setScale(1)\n\t},\n\tresetAllTitleBars: function() {\n this.submorphs.select(function(ea) {\n return ea instanceof lively.morphic.Window\n }).invoke('resetTitleBar')\n },\n resetAllButtonLabels: function() {\n this.withAllSubmorphsDo(function(ea) {\n if (ea instanceof lively.morphic.Button) {\n // doppelt haellt besser ;) (old german proverb)\n ea.setLabel(ea.getLabel());\n ea.setLabel(ea.getLabel());\n }\n })\n },\n},\n'wiki', {\n interactiveDeleteWorldOnServer: function() {\n var url = URL.source;\n this.world().confirm('Do you really want to delete ' + url.filename() + '?',\n function(answer) {\n if (!answer) return;\n new WebResource(URL.source)\n .statusMessage('Removed ' + url, 'Error removing ' + url, true)\n .del();\n })\n },\n getActiveWindow: function () {\n return this.submorphs.detect(function (ea) { return ea.isWindow && ea.isActive() });\n }\n});\n\nlively.morphic.List.addMethods(\n'documentation', {\n connections: {\n selection: {},\n itemList: {},\n selectedLineNo: {}\n },\n},\n'settings', {\n style: {borderColor: Color.black, borderWidth: 0, fill: Color.gray.lighter().lighter(), clipMode: 'auto', fontFamily: 'Helvetica', fontSize: 10, enableGrabbing: false},\n selectionColor: Color.green.lighter(),\n isList: true,\n},\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds);\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n if (optItems) this.updateList(optItems);\n },\n},\n'accessing', {\n setExtent: function($super, extent) {\n $super(extent);\n this.resizeList();\n },\n getListExtent: function() { return this.renderContextDispatch('getListExtent') },\n\n\n},\n'list interface', {\n getMenu: function() { /*FIXME actually menu items*/ return [] },\n updateList: function(items) {\n if (!items) items = [];\n this.itemList = items;\n var that = this;\n var itemStrings = items.collect(function(ea) { return that.renderFunction(ea); });\n this.renderContextDispatch('updateListContent', itemStrings);\n },\n addItem: function(item) {\n this.updateList(this.itemList.concat([item]));\n },\n\n selectAt: function(idx) {\n if (!this.isMultipleSelectionList)\n this.clearSelections();\n this.renderContextDispatch('selectAllAt', [idx]);\n this.updateSelectionAndLineNoProperties(idx);\n },\n deselectAt: function(idx) { this.renderContextDispatch('deselectAt', idx) },\n\n updateSelectionAndLineNoProperties: function(selectionIdx) {\n var item = this.itemList[selectionIdx];\n this.selectedLineNo = selectionIdx;\n this.selection = item && (item.value !== undefined) ? item.value : item;\n },\n\n setList: function(items) { return this.updateList(items) },\n getList: function() { return this.itemList },\n getValues: function() {\n return this.getList().collect(function(ea) { return ea.isListItem ? ea. value : ea})\n },\n\n setSelection: function(sel) {\n this.selectAt(this.find(sel));\n },\n getSelection: function() { return this.selection },\n getItem: function(value) {\n return this.itemList[this.find(value)];\n },\n removeItemOrValue: function(itemOrValue) {\n var idx = this.find(itemOrValue), item = this.itemList[idx];\n this.updateList(this.itemList.without(item));\n return item;\n },\n\n getSelectedItem: function() {\n return this.selection && this.selection.isListItem ? this.itemList[this.selectedLineNo] : this.selection;\n },\n moveUpInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx-1);\n },\n moveDownInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx+1);\n },\n clearSelections: function() { this.renderContextDispatch('clearSelections') },\n\n},\n'private list functions', {\n changeListPosition: function(oldIdx, newIdx) {\n var item = this.itemList[oldIdx];\n this.itemList.removeAt(oldIdx);\n this.itemList.pushAt(item, newIdx);\n this.updateList(this.itemList);\n this.selectAt(newIdx);\n },\n resizeList: function(idx) {\n this.renderContextDispatch('resizeList');\n },\n find: function(itemOrValue) {\n // returns the index in this.itemList\n for (var i = 0; i < this.itemList.length; i++) {\n var val = this.itemList[i];\n if (val === itemOrValue || (val && val.isListItem && val.value === itemOrValue))\n return i\n }\n },\n\n},\n'styling', {\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.fontFamily !== undefined) this.setFontFamily(spec.fontFamily);\n if (spec.fontSize !== undefined) this.setFontSize(spec.fontSize);\n },\n setFontSize: function(fontSize) { return this.morphicSetter('FontSize', fontSize) },\n getFontSize: function() { return this.morphicGetter('FontSize') || 10 },\n setFontFamily: function(fontFamily) { return this.morphicSetter('FontFamily', fontFamily) },\n getFontFamily: function() { return this.morphicSetter('FontFamily') || 'Helvetica' },\n},\n'multiple selection support', {\n enableMultipleSelections: function() {\n this.isMultipleSelectionList = true;\n this.renderContextDispatch('enableMultipleSelections');\n },\n getSelectedItems: function() {\n var items = this.itemList;\n return this.getSelectedIndexes().collect(function(i) { return items[i] });\n },\n getSelectedIndexes: function() { return this.renderContextDispatch('getSelectedIndexes') },\n\n getSelections: function() {\n return this.getSelectedItems().collect(function(ea) {return ea.isListItem ? ea.value : ea})\n },\n setSelections: function(arr) {\n var indexes = arr.collect(function(ea) { return this.find(ea) }, this);\n this.selectAllAt(indexes);\n },\n setSelectionMatching: function(string) {\n for (var i = 0; i < this.itemList.length; i++) {\n var itemString = this.itemList[i].string || String(this.itemList[i]);\n if (string == itemString)\n this.selectAt(i);\n }\n },\n selectAllAt: function(indexes) {\n this.renderContextDispatch('selectAllAt', indexes)\n },\n renderFunction: function(anObject) {\n return anObject.string || String(anObject);\n },\n\n});\nlively.morphic.DropDownList.addMethods(\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds, optItems);\n },\n});\n\nlively.morphic.Button.subclass(\"lively.morphic.WindowControl\",\n'documentation', {\n documentation: \"Event handling for Window morphs\",\n},\n'settings and state', {\n style: {borderWidth: 0, strokeOpacity: 0, padding: Rectangle.inset(0,2), accessibleInInactiveWindow: true},\n connections: ['HelpText', 'fire'],\n},\n'initializing', {\n initialize: function($super, bnds, inset, labelString, labelOffset) {\n $super(bnds, labelString)\n this.label.applyStyle({fontSize: 8})\n },\n});\n\nlively.morphic.Box.subclass(\"lively.morphic.TitleBar\", Trait('TitleBarMorph'),\n'documentation', {\n documentation: \"Title bar for lively.morphic.Window\",\n},\n'properties', {\n controlSpacing: 3,\n barHeight: 22,\n shortBarHeight: 15,\n accessibleInInactiveWindow: true,\n style: {\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray.mixedWith(Color.black, 0.8)}]),\n strokeOpacity: 1,\n borderRadius: \"8px 8px 0px 0px\",\n borderWidth: 1,\n borderColor: Color.darkGray,\n adjustForNewBounds: true,\n resizeWidth: true\n },\n labelStyle: {\n borderRadius: 0,\n padding: Rectangle.inset(0,0),\n fill: null,\n fontSize: 10,\n align: 'center',\n clipMode: 'hidden',\n fixedWidth: true,\n fixedHeight: true,\n resizeWidth: true,\n textColor: Color.darkGray,\n emphasize: {textShadow: {color: Color.white, offset: pt(0,1)}}\n }\n},\n'intitializing', {\n initialize: function($super, headline, windowWidth, windowMorph, optSuppressControls) {\n if (optSuppressControls) { // for dialog boxes\n this.suppressControls = true;\n this.barHeight = this.shortBarHeight;\n }\n var bounds = new Rectangle(0, 0, windowWidth, this.barHeight);\n\n $super(bounds);\n\n // this.ignoreEvents();\n this.windowMorph = windowMorph;\n\n // Note: Layout of submorphs happens in adjustForNewBounds (q.v.)\n var label;\n if (headline instanceof lively.morphic.Text) {\n label = headline;\n } else if (headline != null) { // String\n label = lively.morphic.Text.makeLabel(headline, this.labelStyle);\n }\n this.label = this.addMorph(label);\n\n if (!this.suppressControls) {\n var cell = new Rectangle(0, 0, this.barHeight-5, this.barHeight-5);\n\n this.closeButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"X\", pt(-5,-4)));\n this.closeButton.applyStyle({moveHorizontal: true});\n //this.closeButton.linkToStyles('titleBar_closeButton');\n this.menuButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"M\", pt(-5,-6)));\n //this.menuButton.linkToStyles('titleBar_menuButton');\n this.collapseButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"–\", pt(-3,-6)));\n this.collapseButton.applyStyle({moveHorizontal: true});\n //this.collapseButton.linkToStyles('titleBar_collapseButton');\n\n this.connectButtons(windowMorph);\n }\n // This will align the buttons and label properly\n this.adjustForNewBounds();\n this.adjustForNewBounds();\n\n this.disableDropping();\n },\n\n},\n'label', {\n setTitle: function(string) {\n this.label.replaceTextString(string);\n this.adjustForNewBounds();\n },\n},\n'layouting', {\n adjustForNewBounds: function($super) {\n $super();\n var innerBounds = this.innerBounds();\n var sp = this.controlSpacing;\n var loc = this.innerBounds().topLeft().addXY(sp, sp);\n var l0 = loc;\n var dx = pt(this.barHeight - sp, 0);\n if (this.menuButton) {\n this.menuButton.setPosition(loc);\n loc = loc.addPt(dx);\n }\n if (this.label) {\n var start = this.menuButton ? this.menuButton.bounds().topRight() : pt(0,0),\n end = this.collapseButton ? this.collapseButton.bounds().bottomLeft() : innerBounds.bottomRight();\n this.label.setBounds(rect(start, end))\n }\n if (this.closeButton) {\n loc = this.innerBounds().topRight().addXY(\n -sp-this.closeButton.shape.getBounds().width, sp);\n this.closeButton.setPosition(loc);\n loc = loc.subPt(dx);\n }\n if (this.collapseButton) {\n this.collapseButton.setPosition(loc);\n //loc = loc.subPt(dx);\n };\n\n/* var style = this.styleNamed(\"titleBar\");\n var w = style.borderWidth || 1;\n var r = style.borderRadius || 3;\n this.contentMorph.setBounds(new Rectangle(w/2, w/2, innerBounds.width, this.barHeight + r));*/\n },\n lookCollapsedOrNot: function(collapsed) {\n this.applyStyle({borderRadius: collapsed ? \"8px 8px 8px 8px\" : \"8px 8px 0px 0px\"});\n },\n\n\n\n},\n'event handling', {\n onMouseDown: function (evt) {\n //Functions.False,\n // TODO: refactor to evt.hand.clickedOnMorph when everything else is ready for it\n evt.world.clickedOnMorph = this.windowMorph;\n },\n onMouseUp: Functions.False,\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Window', Trait('WindowMorph'),\n'documentation', {\n documentation: \"Full-fledged windows with title bar, menus, etc\",\n},\n'settings and state', {\n state: 'expanded',\n style: {borderWidth: 0, fill: null, borderRadius: 0, strokeOpacity: 0, adjustForNewBounds: true, enableDragging: true},\n isWindow: true,\n isCollapsed: function() { return this.state === 'collapsed' },\n\n},\n'initializing', {\n initialize: function($super, targetMorph, titleString, optSuppressControls) {\n $super(new lively.morphic.Shapes.Rectangle());\n this.LK2 = true; // to enable workaround in WindowMorph trait.expand\n\n var bounds = targetMorph.bounds(),\n titleBar = this.makeTitleBar(titleString, bounds.width, optSuppressControls),\n titleHeight = titleBar.bounds().height - titleBar.getBorderWidth();\n this.setBounds(bounds.withHeight(bounds.height + titleHeight));\n this.targetMorph = this.addMorph(targetMorph);\n this.reframeHandle = this.addMorph(this.makeReframeHandle());\n this.alignReframeHandle();\n this.titleBar = this.addMorph(titleBar);\n this.contentOffset = pt(0, titleHeight);\n targetMorph.setPosition(this.contentOffset);\n // this.closeAllToDnD();\n\n this.collapsedTransform = null;\n this.collapsedExtent = null;\n this.expandedTransform = null;\n this.expandedExtent = null;\n this.ignoreEventsOnExpand = false;\n this.disableDropping();\n return this;\n },\n\n},\n'window behavior', {\n makeTitleBar: function(titleString, width, optSuppressControls) {\n // Overridden in TabbedPanelMorph\n return new lively.morphic.TitleBar(titleString, width, this, optSuppressControls);\n },\n removeHalos: function($super, optWorld) {\n // Sadly, this doesn't get called when click away from halo\n // Need to patch World.removeHalosFor, or refactor so it calls this\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n $super(optWorld);\n },\n showHalos: function($super) {\n // Hide the reframe handle in case of menu reframe\n if (this.reframeHandle) {\n this.reframeHandle.remove();\n }\n $super();\n },\n\n makeReframeHandle: function() {\n var handle = lively.morphic.Morph.makePolygon(\n [pt(14, 0), pt(14, 14), pt(0, 14)], 0, null, Color.gray);\n handle.addScript(function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n });\n handle.addScript(function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n });\n handle.addScript(function onDragEnd (evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n });\n return handle;\n },\n\n alignReframeHandle: function() {\n if (this.reframeHandle) {\n this.reframeHandle.align(this.reframeHandle.bounds().bottomRight(), this.getExtent());\n }\n },\n\n getBounds: function($super) {\n if (this.titleBar && this.isCollapsed()) {\n var titleBarTranslation = this.titleBar.getGlobalTransform().getTranslation();\n return this.titleBar.bounds().translatedBy(titleBarTranslation);\n }\n return $super();\n },\n\n initiateShutdown: function() {\n if (this.isShutdown()) return null;\n if (this.onShutdown) this.onShutdown();\n this.remove();\n this.state = 'shutdown'; // no one will ever know...\n return true;\n },\n\n resetTitleBar: function() {\n var oldTitleBar = this.titleBar;\n oldTitleBar.remove();\n this.titleBar = this.makeTitleBar(oldTitleBar.label.textString, this.getExtent().x);\n this.addMorph(this.titleBar);\n },\n\n},\n'menu', {\n showTargetMorphMenu: function() {\n var target = this.targetMorph || this;\n if (this.targetMorph) {\n var self = this;\n itemFilter = function (items) {\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }]\n return items;\n }\n }\n target.openMorphMenuAt(this.getGlobalTransform().transformPoint(pt(0,0)), itemFilter);\n },\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }];\n items.push([\n 'Set title', function(evt) {\n $world.prompt('Enter new title', function(input) {\n if (input || input == '') self.setTitle(input);\n }, self.getTitle()); }]);\n return items;\n },\n},\n'mouse event handling', {\n highlight: function(trueForLight) {\n this.highlighted = trueForLight;\n var fill = this.titleBar.getStyle().fill || this.titleBar.getFill(),\n newFill = trueForLight ? fill.lighter(1) : fill;\n this.titleBar.applyStyle({\n fill: newFill,\n });\n this.titleBar.label.applyStyle({emphasize: {fontWeight: trueForLight ? 'bold' : 'normal'}});\n },\n\n isInFront: function() { return this.owner && this.owner.topMorph() === this },\n isActive: function() {\n return this.isInFront() && this.world() && this.highlighted;\n },\n\n comeForward: function() {\n // adds the window before each other morph in owner\n // this resets the scroll in HTML, fix for now -- gather before and set it afterwards\n if (this.isInFront()) return; // already at front\n var textsAndLists = [], scrolls = [];\n this.withAllSubmorphsDo(function(ea) {\n if (!ea.isList && !ea.isText) return;\n textsAndLists.push(ea);\n scrolls.push(ea.getScroll());\n });\n this.owner.addMorphFront(this); // come forward\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n (function() {\n textsAndLists.forEach(function(ea, i) { ea.setScroll(scrolls[i][0], scrolls[i][1]) });\n if (this.targetMorph && this.targetMorph.onWindowGetsFocus) {\n this.targetMorph.onWindowGetsFocus();\n }\n }).delay(0);\n },\n\n onMouseDown: function(evt) {\n var wasInFront = this.isActive();\n // this.highlight(true);\n this.comeForward();\n if (!wasInFront) {\n this.world().submorphs.forEach(function(ea) {\n ea !== this && ea.isWindow && ea.highlight(false);\n }, this);\n this.highlight(true);\n if (this.morphsContainingPoint(evt.getPosition()).detect(function(ea) {\n return ea.accessibleInInactiveWindow || true }))\n return false; // was: $super(evt);\n\n this.cameForward = true; // for stopping the up as well\n evt.world.clickedOnMorph = null; // dont initiate drag, FIXME, global state!\n evt.stop(); // so that text, lists that are automatically doing things are not modified\n return true;\n } else {\n this.comeForward();\n return false; // was: $super(evt);\n }\n },\n onMouseUp: function(evt) {\n if (this.cameForward) {\n this.cameForward = false;\n evt.stop();\n return true;\n }\n return false;\n },\n onDragStart: function(evt) {\n this.prevDragPos = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var movedBy = evt.getPosition().subPt(this.prevDragPos);\n this.prevDragPos = evt.getPosition();\n this.moveBy(movedBy);\n return true;\n },\n},\n'debugging', {\n toString: function($super) {\n return $super() + ' ' + (this.titleBar ? this.titleBar.getTitle() : '');\n },\n},\n'removing', {\n remove: function($super) {\n // should trigger remove of submorphs but remove is also usedelsewhere (grab)\n // this.targetMorph && this.targetMorph.remove();\n return $super();\n },\n},\n'collapsing', {\n collapse: function() {\n if (this.isCollapsed()) return;\n this.expandedTransform = this.getTransform();\n this.expandedExtent = this.getExtent();\n this.expandedPosition = this.getPosition();\n this.targetMorph.onWindowCollapse && this.targetMorph.onWindowCollapse();\n this.targetMorph.remove();\n this.helperMorphs = this.submorphs.withoutAll([this.targetMorph, this.titleBar]);\n this.helperMorphs.invoke('remove');\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(true);\n var finCollapse = function () {\n this.state = 'collapsed'; // Set it now so setExtent works right\n if (this.collapsedTransform) this.setTransform(this.collapsedTransform);\n if (this.collapsedExtent) this.setExtent(this.collapsedExtent);\n if (this.collapsedPosition) this.setPosition(this.collapsedPosition);\n this.shape.setBounds(this.titleBar.bounds());\n }.bind(this);\n if (this.collapsedPosition && this.collapsedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.collapsedPosition, 5, 50, finCollapse);\n else finCollapse();\n },\n expand: function() {\n if (!this.isCollapsed()) return;\n this.collapsedTransform = this.getTransform();\n this.collapsedExtent = this.innerBounds().extent();\n this.collapsedPosition = this.getPosition();\n var finExpand = function () {\n this.state = 'expanded';\n if (this.expandedTransform)\n this.setTransform(this.expandedTransform);\n if (this.expandedExtent) {\n this.setExtent(this.expandedExtent);\n }\n if (this.expandedPosition) {\n this.setPosition(this.expandedPosition);\n }\n\n this.addMorph(this.targetMorph);\n\n this.helperMorphs.forEach(function(ea) {\n this.addMorph(ea)\n }, this);\n\n // Bring this window forward if it wasn't already\n this.owner && this.owner.addMorphFront(this);\n this.targetMorph.onWindowExpand && this.targetMorph.onWindowExpand();\n }.bind(this);\n if (this.expandedPosition && this.expandedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.expandedPosition, 5, 50, finExpand);\n else finExpand();\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(false);\n },\n\n});\n\n\nObject.subclass('lively.morphic.App',\n'properties', {\n initialViewExtent: pt(350, 200),\n},\n'initializing', {\n buildView: function(extent) {\n throw new Error('buildView not implemented!')\n },\n},\n'accessing', {\n getInitialViewExtent: function(world, hint) {\n return hint || this.initialViewExtent;\n },\n},\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world));\n view.ownerApp = this; // for debugging\n this.view = view;\n if (pos) view.setPosition(pos);\n if (world.currentScene) world = world.currentScene;\n return world.addMorph(view);\n },\n open: function() {\n return this.openIn(lively.morphic.World.current());\n },\n\n},\n'removing', {\n removeTopLevel: function() {\n if (this.view) this.view.remove();\n },\n});\n\nlively.morphic.App.subclass('lively.morphic.AbstractDialog',\n'documentation', {\n connections: ['result'],\n},\n'properties', {\n initialViewExtent: pt(300, 90),\n inset: 4,\n},\n'initializing', {\n initialize: function(message, callback) {\n this.result = null;\n this.message = message || '?';\n if (callback) this.setCallback(callback);\n },\n buildPanel: function(bounds) {\n this.panel = new lively.morphic.Box(bounds);\n this.panel.applyStyle({\n fill: Color.rgb(210,210,210),\n borderColor: Color.gray.darker(),\n borderWidth: 1,\n adjustForNewBounds: true, // layouting\n lock: true,\n });\n this.panel.disableDragging();\n this.panel.disableGrabbing();\n },\n buildLabel: function() {\n var bounds = new Rectangle(this.inset, this.inset, this.panel.getExtent().x - 2*this.inset, 18);\n this.label = this.panel.addMorph(new lively.morphic.Text(bounds, this.message));\n this.label.beLabel({fill: Color.white, fixedHeight: true, fixedWidth: false, padding: Rectangle.inset(0,0)});\n// FIXME ugly hack for wide dialogs\n(function fit() {\n this.label.fit();\n var labelWidth = this.label.getExtent().x, panelExtent = this.panel.getExtent();\n if (labelWidth > panelExtent.x)\n this.panel.setExtent(panelExtent.withX(labelWidth))\n}).bind(this).delay(0);\n this.label.disableDragging();\n this.label.disableGrabbing();\n },\n buildCancelButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'Cancel');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, this.inset), this.panel.innerBounds().bottomRight())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.cancelButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildOKButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'OK');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, 0), this.cancelButton.bounds().bottomLeft())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.okButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildView: function(extent) {\n this.buildPanel(extent.extentAsRectangle());\n this.buildLabel();\n this.buildCancelButton();\n this.buildOKButton();\n return this.panel;\n },\n},\n'callbacks', {\n setCallback: function(func) {\n this.callback = func;\n connect(this, 'result', this, 'triggerCallback')\n },\n triggerCallback: function(resultBool) {\n this.removeTopLevel();\n if (this.callback) this.callback(resultBool);\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.ConfirmDialog',\n'properties', {\n initialViewExtent: pt(260, 70),\n},\n'initializing', {\n buildView: function($super, extent) {\n var panel = $super(extent);\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(this.okButton, 'fire', this, 'result', {\n converter: function() { return true }});\n lively.bindings.connect(panel, 'onEscPressed', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(panel, 'onEnterPressed', this, 'result', {\n converter: function() { return true }});\n\n return panel;\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.PromptDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function(bounds) {\n var input = new lively.morphic.Text(this.label.bounds().insetByPt(pt(this.label.getPosition().x * 2, 0)), this.defaultInput || '');\n input.align(input.getPosition(), this.label.bounds().bottomLeft().addPt(pt(0,5)));\n input.beInputLine({fixedWidth: true});\n\t\tinput.disableDragging();\n\t\tinput.disableGrabbing();\n connect(input, 'savedTextString', this, 'result');\n connect(input, 'onEscPressed', this, 'result', {converter: function() { return null } });\n connect(this.panel, 'onEscPressed', this, 'result', {converter: function() { return null}});\n // addScript is a bit of a hack because the function in addScript\n // doesn't close over \"input\", apparently...\n this.panel.addScript(function onEnterPressed(evt) {\n evt.stop();\n });\n connect(this.panel, 'onEnterPressed', input, 'doSave', {converter: function(arg) { return arg } });\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\nlively.morphic.AbstractDialog.subclass('lively.morphic.EditDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function() {\n var input = new lively.morphic.Text(this.label.bounds(), this.defaultInput || '')\n .applyStyle({resizeWidth: true, resizeHeight: true, clipMode: 'auto'});\n input.align(input.getPosition(), this.label.bounds().bottomLeft());\n connect(input, 'savedTextString', this, 'result');\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n panel.setExtent(pt(400,200))\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\n\n\nlively.morphic.App.subclass('lively.morphic.WindowedApp',\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world)),\n window = world.addFramedMorph(view, this.defaultTitle);\n if (world.currentScene) world.currentScene.addMorph(window); // FIXME\n view.ownerApp = this; // for debugging\n this.view = window;\n return window;\n },\n});\n\n\n// COPIED from Widgets.js SelectionMorph\nlively.morphic.Box.subclass('lively.morphic.Selection',\n'documentation', {\n documentation: 'selection \"tray\" object that allows multiple objects to be moved and otherwise manipulated simultaneously',\n},\n'settings', {\n style: {fill: null, borderWidth: 1, borderColor: Color.darkGray},\n isEpiMorph: true,\n doNotRemove: true,\n propagate: true,\n isSelection: true,\n\n},\n'initializing', {\n initialize: function($super, initialBounds) {\n $super(initialBounds);\n this.applyStyle(this.style);\n this.selectedMorphs = [];\n\n },\n},\n'propagation', {\n withoutPropagationDo: function(func) {\n // emulate COP\n this.propagate = false;\n func()\n this.propagate = true;\n },\n isPropagating: function() {\n return this.propagate\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n if (this.selectedMorphs.length === 1) {\n var self = this;\n items.push([\"open ObjectEditor for selection\", function(){\n $world.openObjectEditorFor(self.selectedMorphs[0])\n }])\n }\n items.push([\"align vertically\", this.alignVertically.bind(this)]);\n items.push([\"space vertically\", this.spaceVertically.bind(this)]);\n items.push([\"align horizontally\", this.alignHorizontally.bind(this)]);\n items.push([\"space horizontally\", this.spaceHorizontally.bind(this)]);\n\n if (this.selectedMorphs.length == 1) {\n items.push([\"ungroup\", this.unGroup.bind(this)]);\n } else {\n items.push([\"group\", this.makeGroup.bind(this)]);\n }\n\n // items.push([\"align to grid...\", this.alignToGrid.bind(this)]);\n\n return items;\n },\n},\n'copying', {\n copy: function($super) {\n this.isEpiMorph = false;\n try { return this.addSelectionWhile($super) } finally { this.isEpiMorph = true }\n },\n},\n'selection handling', {\n addSelectionWhile: function(func) {\n // certain operations require selected morphs to be added to selection frame\n // e.g. for transformations or copying\n // use this method to add them for certain operations\n var world = this.world();\n if (!world || !this.isPropagating()) return func();\n\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.addMorph(this.selectedMorphs[i]);\n try { return func() } finally {\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.world().addMorph(this.selectedMorphs[i]);\n }\n },\n},\n'removing', {\n remove: function() {\n if (this.isPropagating())\n this.selectedMorphs.invoke('remove');\n this.removeOnlyIt();\n },\n removeOnlyIt: function() {\n if ( this.myWorld == null ) {\n this.myWorld = this.world();\n }\n // this.myWorld.currentSelection = null;\n Class.getSuperPrototype(this).remove.call(this);\n },\n},\n'accessing', {\n world: function($super) {\n return $super() || this.owner || this.myWorld\n },\n setBorderWidth: function($super, width) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(width);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderWidth(width)});\n },\n\n setFill: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating())\n $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFill(color)});\n },\n\n setBorderColor: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderColor(color)});\n },\n\n shapeRoundEdgesBy: function($super, r) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(r);\n else this.selectedMorphs.forEach(\n function(m) { if (m.shape.roundEdgesBy) m.shapeRoundEdgesBy(r); });\n },\n\n setFillOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFillOpacity(op)});\n },\n\n setStrokeOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('callOnAllSubmorphs',\n function(ea) { ea.setStrokeOpacity(op)});\n },\n\n setTextColor: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setTextColor) m.setTextColor(c); });\n },\n\n setFontSize: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontSize) m.setFontSize(c); });\n },\n\n setFontFamily: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontFamily) m.setFontFamily(c); });\n },\n\n setRotation: function($super, theta) {\n this.addSelectionWhile($super.curry(theta));\n },\n\n setScale: function($super, scale) {\n this.addSelectionWhile($super.curry(scale));\n },\n adjustOrigin: function($super, origin) {\n this.withoutPropagationDo(function() {\n return $super(origin)\n });\n },\n\n\n\n},\n'aligning', {\n // Note: the next four methods should be removed after we have gridding, i think (DI)\n alignVertically: function() {\n // Align all morphs to same left x as the top one.\n//console.log(\"this=\" + Object.inspect(this)); if(true) return;\n var morphs = this.selectedMorphs.slice(0).sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n var minX = morphs[0].getPosition().x; // align to left x of top morph\n morphs.forEach(function(m) { m.setPosition(pt(minX,m.getPosition().y)) });\n },\n\n alignHorizontally: function() {\n var minY = 9999;\n this.selectedMorphs.forEach(function(m) { minY = Math.min(minY, m.getPosition().y); });\n this.selectedMorphs.forEach(function(m) { m.setPosition(pt(m.getPosition().x, minY)) });\n },\n\n spaceVertically: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxY and sumOfHeights\n var maxY = minY;\n var sumOfHeights = 0;\n morphs.forEach(function(m) {\n var ht = m.innerBounds().height;\n sumOfHeights += ht;\n maxY = Math.max(maxY, m.getPosition().y + ht);\n });\n // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxY - minY - sumOfHeights)/Math.max(this.selectedMorphs.length - 1, 1);\n var y = minY;\n morphs.forEach(function(m) {\n m.setPosition(pt(minX, y));\n y += m.innerBounds().height + separation;\n });\n },\n\n spaceHorizontally: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m, n) {\n return m.getPosition().x - n.getPosition().x;\n });\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxX and sumOfWidths\n var maxX = minY;\n var sumOfWidths = 0;\n morphs.forEach(function(m) {\n var wid = m.innerBounds().width;\n sumOfWidths += wid;\n maxX = Math.max(maxX, m.getPosition().x + wid);\n }); // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxX - minX - sumOfWidths)/Math.max(this.selectedMorphs.length - 1, 1);\n var x = minX;\n morphs.forEach(function(m) {\n m.setPosition(pt(x, minY));\n x += m.innerBounds().width + separation;\n });\n },\n},\n'grabbing', {\n grabByHand: function(hand) {\n this.withoutPropagationDo(function() {\n hand.addMorph(this)\n }.bind(this))\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n // alert(\"grab \" + this.selectedMorphs[i])\n this.addMorph(this.selectedMorphs[i]);\n }\n\n\n },\n dropOn: function(morph) {\n // alert(\"drop \" + this + \" on \" + morph)\n // morph.addMorph(this)\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n morph.addMorph(this.selectedMorphs[i]);\n }\n this.removeSelecitonIndicators();\n this.removeOnlyIt();\n },\n\n},\n'geometry', {\n moveBy: function($super, delta) {\n // Jens: I would like to express this in a layer...\n if (this.isPropagating()) {\n for (var i = 0; i < this.selectedMorphs.length; i++ )\n this.selectedMorphs[i].moveBy(delta);\n }\n $super(delta);\n },\n setPosition: function($super, pos) {\n var delta = pos.subPt(this.getPosition())\n // Jens: I would like to express this in a layer...\n if (this.isPropagating() && this.selectedMorphs) {\n for (var i = 0; i < this.selectedMorphs.length; i++ ) {\n // alertOK(\"set pos move \" + printStack())\n this.selectedMorphs[i].moveBy(delta);\n }\n }\n $super(pos);\n },\n\n},\n'world', {\n reset: function() {\n this.selectedMorphs = [];\n this.setRotation(0)\n this.setScale(1)\n this.removeOnlyIt();\n this.removeSelecitonIndicators();\n this.adjustOrigin(pt(0,0));\n },\n\n selectMorphs: function(selectedMorphs) {\n this.owner.selectionMorph.selectedMorphs = selectedMorphs\n\n// finding pos, starting with max values\n var topLeft = this.bounds().bottomRight();\n var bottomRight = this.bounds().topLeft();\n var self = this;\n\n this.removeSelecitonIndicators();\n selectedMorphs.forEach(function(ea) {\n var innerBounds = ea.getTransform().inverse().\n transformRectToRect(ea.bounds().insetBy(-4));\n var bounds = ea.getTransform().transformRectToRect(innerBounds);\n topLeft = bounds.topLeft().minPt(topLeft);\n bottomRight = bounds.bottomRight().maxPt(bottomRight);\n\n var selectionIndicator =\n new lively.morphic.Morph.makeRectangle(innerBounds);\n selectionIndicator.name = 'Selection of ' + ea\n selectionIndicator.isEpiMorph = true;\n selectionIndicator.isSelectionIndicator = true;\n selectionIndicator.applyStyle({\n fill: null, borderWidth: 4,\n strokeOpacity: 0.5, borderColor: Color.green})\n ea.addMorph(selectionIndicator);\n self.selectionIndicators.push(selectionIndicator);\n })\n this.withoutPropagationDo(function() {\n this.setPosition(topLeft);\n this.setExtent(bottomRight.subPt(topLeft));\n // this.adjustOrigin(this.getExtent().scaleBy(0.5))\n }.bind(this))\n\n },\n\n removeSelecitonIndicators: function() {\n if (this.selectionIndicators)\n this.selectionIndicators.invoke('remove');\n this.selectionIndicators = [];\n },\n makeGroup: function() {\n if (!this.selectedMorphs) return;\n var group = new lively.morphic.Box(this.bounds());\n group.isGroup = true;\n this.owner.addMorph(group);\n this.selectedMorphs.forEach(function(ea) {\n group.addMorph(ea)\n })\n this.selectMorphs([group])\n },\n unGroup: function() {\n if (!this.selectedMorphs || this.selectedMorphs.length !== 1) return;\n var group = this.selectedMorphs[0]\n var all = group.submorphs\n group.submorphs.forEach(function(ea) {\n this.owner.addMorph(ea)\n }.bind(this))\n this.selectMorphs(all)\n },\n\n\n});\nTrait('SelectionMorphTrait',\n'selection', {\n getSelectedMorphs: function() {\n return this.selectionMorph.selectedMorphs\n },\n\n onDragStart: function(evt) {\n if (evt.isRightMouseButtonDown()) {\n return; // no selection with right mouse button (fbo 2011-09-13)\n }\n\n this.resetSelection()\n\n if (this.selectionMorph.owner !== this)\n this.addMorph(this.selectionMorph);\n\n var pos = this.localize(this.eventStartPos || evt.getPosition());\n this.selectionMorph.withoutPropagationDo(function() {\n this.selectionMorph.setPosition(pos)\n this.selectionMorph.setExtent(pt(1, 1))\n this.selectionMorph.initialPosition = pos;\n }.bind(this))\n\n },\n onDrag: function(evt) {\n if (!this.selectionMorph) return\n var p1 = this.localize(evt.getPosition()),\n p2 = this.selectionMorph.initialPosition;\n\n // alert(\"p1\" + p1 + \" p2\" + p2)\n var topLeft = pt(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y))\n var bottomRight = pt(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y))\n\n\n this.selectionMorph.setPosition(topLeft);\n this.selectionMorph.setExtent(bottomRight.subPt(topLeft));\n },\n onDragEnd: function(evt) {\n var self = this;\n if (!self.selectionMorph) return;\n var selectionBounds = self.selectionMorph.bounds();\n var selectedMorphs = this.submorphs\n .reject(function(ea){\n return ea === self || ea.isEpiMorph || ea instanceof lively.morphic.HandMorph\n })\n .select(function(m) {\n return selectionBounds.containsRect(m.bounds())})\n .reverse()\n\n this.selectionMorph.selectedMorphs = selectedMorphs;\n if (selectedMorphs.length == 0) {\n this.selectionMorph.removeOnlyIt();\n return\n }\n\n this.selectionMorph.selectMorphs(selectedMorphs);\n\n this.selectionMorph.showHalos()\n\n },\n\n resetSelection: function() {\n if (!this.selectionMorph || !this.selectionMorph.isSelection)\n this.selectionMorph = new lively.morphic.Selection(new Rectangle(0,0,0,0))\n this.selectionMorph.reset();\n },\n})\n.applyTo(lively.morphic.World, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n\nlively.morphic.WindowedApp.subclass('lively.morphic.TextEditor',\n'settings', {\n defaultTitle: 'TextEditor',\n initialViewExtent: pt(900, 800),\n},\n'initializing', {\n buildView: function(extent) {\n var panel = lively.morphic.Morph.makeRectangle(0,0, extent.x, extent.y)\n .applyStyle({\n fill: Color.gray.lighter(2),\n resizeWidth: true,\n resizeHeight: true,\n adjustForNewBounds: true});\n\n var bounds;\n bounds = new Rectangle(0,0, extent.x, 30);\n var urlText = new lively.morphic.Text(bounds, URL.source.toString())\n .beInputLine({resizeWidth: true, fixedWidth: true, padding: Rectangle.inset(5,5)})\n panel.urlText = panel.addMorph(urlText);\n connect(urlText, 'savedTextString', this, 'setCurrentURL');\n connect(this, 'currentURL', this, 'loadFile');\n\n bounds = new Rectangle(0, bounds.height, extent.x/3, 30);\n var saveBtn = new lively.morphic.Button(bounds, 'save');\n saveBtn.applyStyle({resizeWidth: true})\n panel.addMorph(saveBtn);\n connect(saveBtn, 'fire', this, 'saveFile');\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var loadBtn = new lively.morphic.Button(bounds, 'load')\n loadBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(loadBtn);\n connect(loadBtn, 'fire', this, 'setCurrentURL', {converter: function() {\n // FIXME\n this.targetObj.panel.urlText.cachedTextString = null\n return this.targetObj.panel.urlText.textString }});\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var removeBtn = new lively.morphic.Button(bounds, 'remove')\n removeBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(removeBtn)\n connect(removeBtn, 'fire', this, 'removeFile');\n\n bounds = rect(pt(0, bounds.maxY()), panel.bounds().bottomRight());\n var contentMorph = new lively.morphic.Text(bounds, 'emtpy')\n .applyStyle({\n clipMode: 'scroll',\n fixedHeight: true,\n fontFamily: 'Monaco',\n fontSize: 10,\n resizeWidth: true,\n resizeHeight: true,\n padding: Rectangle.inset(5,5)});\n panel.contentMorph = panel.addMorph(contentMorph);\n connect(contentMorph, 'savedTextString', this, 'saveFile');\n\n this.panel = panel;\n return panel;\n },\n},\n'network', {\n setCurrentURL: function(urlString) {\n this.currentURL = new URL(urlString);\n alert(this.currentURL);\n },\n createWebResource: function() { return new WebResource(this.getURL()) },\n getURL: function() { return new URL(this.currentURL || this.panel.urlText.textString) },\n},\n'helper', {\n showAsLoading: function(bool) {\n if (!bool) {\n this.loadingScreen && this.loadingScreen.remove();\n this.loadingScreen = null;\n } else {\n if (this.loadingScreen) return;\n var morph = lively.morphic.Morph.makeRectangle(this.panel.contentMorph.bounds());\n morph.applyStyle({fill: Color.gray.withA(0.6)});\n this.loadingScreen = this.panel.addMorph(morph);\n }\n },\n},\n'file functions', {\n getEditorContent: function() { return this.panel.contentMorph.textString },\n saveFile: function() {\n var webR = this.createWebResource();\n webR\n .beAsync()\n .createProgressBar()\n .statusMessage('Successfully saved ' + webR.getURL(), 'Error saving ' + webR.getURL(), true)\n .put(this.getEditorContent());\n },\n loadFile: function() {\n var res = this.createWebResource().forceUncached();\n this.showAsLoading(true);\n connect(res, 'status', this, 'showAsLoading', {updater: function($upd, status) {$upd(false)}});\n connect(res, 'content', this, 'finishLoading', {updater: function($upd, content) {\n $upd(this.sourceObj) }});\n res.beAsync().get();\n\n },\n finishLoading: function(res) {\n if (res.isExisting) {\n this.panel.contentMorph.setTextString(res.content);\n return\n } else if (res.getURL().isLeaf()) {\n this.askToCreateFile(res);\n } else {\n alert('Cannot open/create document at ' + res.getURL());\n }\n },\n\n askToCreateFile: function(webResource) {\n var question = 'No file ' + webResource.getURL() + ' exists...! Create it?';\n this.panel.world().confirm(question, function(input) {\n if (!input) return;\n webResource.statusMessage(\n 'Successfully created ' + webResource.getURL().filename(),\n 'Cannot create ' + webResource.getURL().filename(), true)\n webResource.put('empty file');\n this.loadFile();\n }.bind(this));\n },\n removeFile: function() {\n var webR = this.createWebResource();\n if (!webR.exists()) return;\n webR.statusMessage('Successfully deleted','Error deleting', true).del();\n },\n},\n'interface', {\n load: function(url) {\n this.panel.urlText.textString = url;\n this.panel.urlText.doSave();\n },\n});\n\nmodule('lively.ide'); // so that the namespace is defined even if ide is not loaded\n\nObject.extend(lively.ide, {\n openFile: function(url) {\n if (!String(url).startsWith('http')) url = URL.codeBase.withFilename(url);\n var textEditor = new lively.morphic.TextEditor()\n textEditor.open()\n textEditor.load(url);\n },\n});\n\n\n\nlively.morphic.Box.subclass('lively.morphic.HorizontalDivider', Trait('HorizontalDividerTrait'),\n'settings', {\n style: {fill: Color.gray, enableDragging: true},\n},\n'initializing', {\n initialize: function($super, bounds) {\n $super(bounds);\n this.fixed = [];\n this.scalingBelow = [];\n this.scalingAbove = [];\n this.minHeight = 20;\n this.pointerConnection = null;\n },\n},\n'mouse events', {\n onDragStart: function(evt) {\n this.oldPoint = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var p1 = this.oldPoint,\n p2 = evt.getPosition(),\n deltaY = p2.y - p1.y;\n this.oldPoint = p2;\n this.movedVerticallyBy(deltaY);\n return true;\n },\n});\n\nlively.morphic.Box.subclass('lively.morphic.Slider', Trait('SliderMorphTrait'),\n'settings', {\n style: {\n borderColor: Color.darkGray,\n borderWidth: 1,\n borderRadius: 6,\n fill: Styles.sliderBackgroundGradient(Color.gray, \"NorthSouth\")\n },\n connections: {\n value: {}}\n},\n'initializing', {\n initialize: function($super, initialBounds, scaleIfAny) {\n $super(initialBounds);\n connect(this, 'value', this, 'adjustSliderParts')\n this.setValue(0);\n this.setSliderExtent(0.1);\n this.valueScale = (scaleIfAny === undefined) ? 1.0 : scaleIfAny;\n this.sliderKnob = this.addMorph(new lively.morphic.SliderKnob(new Rectangle(0, 0, this.mss, this.mss), this));\n this.setupFill();\n this.adjustSliderParts()\n },\n},\n'accessing', {\n getValue: function() { return this.value },\n\n setValue: function(value) { return this.value = value },\n\n getSliderExtent: function() { return this.sliderExtent },\n\n setSliderExtent: function(value) {\n this.sliderExtent = value\n this.adjustSliderParts();\n return value;\n },\n setExtent: function($super, value) {\n $super(value);\n this.adjustSliderParts();\n return value;\n },\n\n},\n'mouse events', {\n onMouseDown: function(evt) {\n\n // FIXME: a lot of this is handled in Morph>>onMouseDown. remove.\n if (!evt.isLeftMouseButtonDown() || evt.isCommandKey()) return false;\n\n var handPos = this.localize(evt.getPosition());\n\n if (this.sliderKnob.bounds().containsPoint(handPos)) return false; // knob handles move\n\n var inc = this.getSliderExtent(),\n newValue = this.getValue(),\n delta = handPos.subPt(this.sliderKnob.bounds().center());\n if (this.vertical() ? delta.y > 0 : delta.x > 0) newValue += inc;\n else newValue -= inc;\n\n if (isNaN(newValue)) newValue = 0;\n this.setScaledValue(this.clipValue(newValue));\n\n return true;\n },\n})\n\n// FIXME move somewhere else\nlively.morphic.Box.subclass('lively.morphic.SliderKnob',\n'settings', {\n style: {borderColor: Color.black, borderWidth: 1, fill: Color.gray, enableDragging: true},\n dragTriggerDistance: 0,\n},\n'initializing', {\n initialize: function($super, initialBounds, slider) {\n $super(initialBounds);\n this.slider = slider;\n },\n},\n'mouse events', {\n onDragStart: function($super, evt) {\n this.hitPoint = evt.getPosition();\n return true;\n },\n onDrag: function($super, evt) {\n // the hitpoint is the offset that make the slider move smooth\n if (!this.hitPoint) return; // we were not clicked on...\n\n // Compute the value from a new mouse point, and emit it\n var delta = evt.getPosition().subPt(this.hitPoint),\n p = this.bounds().topLeft().addPt(delta),\n bnds = this.slider.innerBounds(),\n ext = this.slider.getSliderExtent();\n\n this.hitPoint = evt.getPosition()\n if (this.slider.vertical()) {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.height,this.slider.mss),\n newValue = p.y / (bnds.height-elevPix);\n } else {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.width,this.slider.mss),\n newValue = p.x / (bnds.width-elevPix);\n }\n\n if (isNaN(newValue)) newValue = 0;\n this.slider.setScaledValue(this.slider.clipValue(newValue));\n },\n onDragEnd: function($super, evt) { return $super(evt) },\n onMouseDown: function(evt) {\n return true;\n },\n\n\n});\nObject.extend(Array.prototype, {\n asListItemArray: function() {\n return this.collect(function(ea) {\n return {isListItem: true, string: ea.toString(), value: ea};\n });\n },\n})\n\n}) // end of module\n","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"_rootNode":{"__isSmartRef__":true,"id":2472},"Pane1Selection":{"__isSmartRef__":true,"id":2961},"pane1Selection":{"__isSmartRef__":true,"id":2961},"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":[{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":3563},{"__isSmartRef__":true,"id":3565},{"__isSmartRef__":true,"id":3567},{"__isSmartRef__":true,"id":3569},{"__isSmartRef__":true,"id":3571},{"__isSmartRef__":true,"id":3573},{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3577},{"__isSmartRef__":true,"id":3579},{"__isSmartRef__":true,"id":3581},{"__isSmartRef__":true,"id":3583},{"__isSmartRef__":true,"id":3585},{"__isSmartRef__":true,"id":3587},{"__isSmartRef__":true,"id":3589},{"__isSmartRef__":true,"id":3591},{"__isSmartRef__":true,"id":3593},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3599},{"__isSmartRef__":true,"id":3601},{"__isSmartRef__":true,"id":3603},{"__isSmartRef__":true,"id":3605},{"__isSmartRef__":true,"id":3607},{"__isSmartRef__":true,"id":3609},{"__isSmartRef__":true,"id":3611},{"__isSmartRef__":true,"id":3613},{"__isSmartRef__":true,"id":3615},{"__isSmartRef__":true,"id":3617},{"__isSmartRef__":true,"id":3619},{"__isSmartRef__":true,"id":3621}],"Pane1Content":[{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":3473},{"__isSmartRef__":true,"id":3474},{"__isSmartRef__":true,"id":3475},{"__isSmartRef__":true,"id":3476},{"__isSmartRef__":true,"id":3477},{"__isSmartRef__":true,"id":3478},{"__isSmartRef__":true,"id":3479},{"__isSmartRef__":true,"id":3480},{"__isSmartRef__":true,"id":3481},{"__isSmartRef__":true,"id":3482},{"__isSmartRef__":true,"id":3483},{"__isSmartRef__":true,"id":3484},{"__isSmartRef__":true,"id":3485},{"__isSmartRef__":true,"id":3486},{"__isSmartRef__":true,"id":3487},{"__isSmartRef__":true,"id":3488},{"__isSmartRef__":true,"id":3489},{"__isSmartRef__":true,"id":3490},{"__isSmartRef__":true,"id":3491},{"__isSmartRef__":true,"id":3492},{"__isSmartRef__":true,"id":3493},{"__isSmartRef__":true,"id":3494},{"__isSmartRef__":true,"id":3495},{"__isSmartRef__":true,"id":3496},{"__isSmartRef__":true,"id":3497},{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":3499},{"__isSmartRef__":true,"id":3500},{"__isSmartRef__":true,"id":3501},{"__isSmartRef__":true,"id":3502},{"__isSmartRef__":true,"id":3503},{"__isSmartRef__":true,"id":3504},{"__isSmartRef__":true,"id":3505},{"__isSmartRef__":true,"id":3506},{"__isSmartRef__":true,"id":3507},{"__isSmartRef__":true,"id":3508},{"__isSmartRef__":true,"id":3509},{"__isSmartRef__":true,"id":3510},{"__isSmartRef__":true,"id":3511},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3513},{"__isSmartRef__":true,"id":3514},{"__isSmartRef__":true,"id":3515},{"__isSmartRef__":true,"id":3516},{"__isSmartRef__":true,"id":3517},{"__isSmartRef__":true,"id":3518},{"__isSmartRef__":true,"id":3519},{"__isSmartRef__":true,"id":3520}],"view":{"__isSmartRef__":true,"id":2195},"Pane1Menu":[["Add to world requirements"],["remove"],["reparse"],["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane2Menu":[["-------"],["add class"],["add object extension"],["add layer"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane3Menu":[["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"currentModuleName":"lively.morphic.Widgets","Pane4Menu":[["-------"],["view hierarchy"],["add method"]],"_statusMorph":{"__isSmartRef__":true,"id":3758},"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"2212":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2213},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2213":{"submorphs":[{"__isSmartRef__":true,"id":2214}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2225},"derivationIds":[null],"id":"DC09DD3F-9989-4D9E-BE71-E5300937D912","renderContextTable":{"__isSmartRef__":true,"id":2239},"eventHandler":{"__isSmartRef__":true,"id":2240},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2241},"priorExtent":{"__isSmartRef__":true,"id":2224},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2242},"label":{"__isSmartRef__":true,"id":2214},"command":{"__isSmartRef__":true,"id":2212},"attributeConnections":[{"__isSmartRef__":true,"id":2251},{"__isSmartRef__":true,"id":2252}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2254},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2214":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2215},"derivationIds":[null],"id":"2AC0DE34-7B2F-4209-8406-5E267156DC1D","renderContextTable":{"__isSmartRef__":true,"id":2220},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2221}],"eventHandler":{"__isSmartRef__":true,"id":2223},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2213},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2224},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2215":{"_Position":{"__isSmartRef__":true,"id":2216},"renderContextTable":{"__isSmartRef__":true,"id":2217},"_Extent":{"__isSmartRef__":true,"id":2218},"_Padding":{"__isSmartRef__":true,"id":2219},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2ac0de34-7b2f-4209-8406-5e267156dc1d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2216":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2217":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2218":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2219":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2220":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2221":{"style":{"__isSmartRef__":true,"id":2222},"chunkOwner":{"__isSmartRef__":true,"id":2214},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2222":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2223":{"morph":{"__isSmartRef__":true,"id":2214},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2224":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2225":{"_Position":{"__isSmartRef__":true,"id":2226},"renderContextTable":{"__isSmartRef__":true,"id":2227},"_Extent":{"__isSmartRef__":true,"id":2218},"_Padding":{"__isSmartRef__":true,"id":2228},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-dc09dd3f-9989-4d9e-be71-e5300937d912","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2226":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2227":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2228":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2229":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2230":{"stops":[{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2237}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2231":{"offset":0,"color":{"__isSmartRef__":true,"id":2232}},"2232":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2233":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2234}},"2234":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2235":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2236}},"2236":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2237":{"offset":1,"color":{"__isSmartRef__":true,"id":2238}},"2238":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2239":{"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","setStyleSheet":"setStyleSheetHTML"},"2240":{"morph":{"__isSmartRef__":true,"id":2213},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2241":{"x":0,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2242":{"stops":[{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245},{"__isSmartRef__":true,"id":2247},{"__isSmartRef__":true,"id":2249}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2243":{"offset":0,"color":{"__isSmartRef__":true,"id":2244}},"2244":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2245":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2246}},"2246":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2247":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2248}},"2248":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2249":{"offset":1,"color":{"__isSmartRef__":true,"id":2250}},"2250":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2251":{"sourceObj":{"__isSmartRef__":true,"id":2213},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2212},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2252":{"sourceObj":{"__isSmartRef__":true,"id":2213},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2213},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2253},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2253":{"source":{"__isSmartRef__":true,"id":2213},"target":{"__isSmartRef__":true,"id":2213}},"2254":{"scaleVertical":true,"scaleHorizontal":true},"2255":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2256},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2256":{"submorphs":[{"__isSmartRef__":true,"id":2257}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2268},"derivationIds":[null],"id":"615253D3-F5E2-436C-9F3F-20AD3CB7B7BD","renderContextTable":{"__isSmartRef__":true,"id":2272},"eventHandler":{"__isSmartRef__":true,"id":2273},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2274},"priorExtent":{"__isSmartRef__":true,"id":2267},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2275},"label":{"__isSmartRef__":true,"id":2257},"command":{"__isSmartRef__":true,"id":2255},"attributeConnections":[{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2285}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2287},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2257":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2258},"derivationIds":[null],"id":"9AB16D14-81B7-46F0-9020-3388067C760B","renderContextTable":{"__isSmartRef__":true,"id":2263},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2264}],"eventHandler":{"__isSmartRef__":true,"id":2266},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2256},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2267},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2258":{"_Position":{"__isSmartRef__":true,"id":2259},"renderContextTable":{"__isSmartRef__":true,"id":2260},"_Extent":{"__isSmartRef__":true,"id":2261},"_Padding":{"__isSmartRef__":true,"id":2262},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-9ab16d14-81b7-46f0-9020-3388067c760b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2259":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2260":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2261":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2262":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2263":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2264":{"style":{"__isSmartRef__":true,"id":2265},"chunkOwner":{"__isSmartRef__":true,"id":2257},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2265":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2266":{"morph":{"__isSmartRef__":true,"id":2257},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2267":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2268":{"_Position":{"__isSmartRef__":true,"id":2269},"renderContextTable":{"__isSmartRef__":true,"id":2270},"_Extent":{"__isSmartRef__":true,"id":2261},"_Padding":{"__isSmartRef__":true,"id":2271},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-615253d3-f5e2-436c-9f3f-20ad3cb7b7bd","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2269":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2270":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2271":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2272":{"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","setStyleSheet":"setStyleSheetHTML"},"2273":{"morph":{"__isSmartRef__":true,"id":2256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2274":{"x":139.2857142857143,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2275":{"stops":[{"__isSmartRef__":true,"id":2276},{"__isSmartRef__":true,"id":2278},{"__isSmartRef__":true,"id":2280},{"__isSmartRef__":true,"id":2282}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2276":{"offset":0,"color":{"__isSmartRef__":true,"id":2277}},"2277":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2278":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2279}},"2279":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2280":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2281}},"2281":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2282":{"offset":1,"color":{"__isSmartRef__":true,"id":2283}},"2283":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2284":{"sourceObj":{"__isSmartRef__":true,"id":2256},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2255},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2285":{"sourceObj":{"__isSmartRef__":true,"id":2256},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2256},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2286},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2286":{"source":{"__isSmartRef__":true,"id":2256},"target":{"__isSmartRef__":true,"id":2256}},"2287":{"scaleVertical":true,"scaleHorizontal":true},"2288":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2289},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2289":{"submorphs":[{"__isSmartRef__":true,"id":2290}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2301},"derivationIds":[null],"id":"2AC19D81-14CE-4204-9AD5-C07142332FE3","renderContextTable":{"__isSmartRef__":true,"id":2305},"eventHandler":{"__isSmartRef__":true,"id":2306},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2307},"priorExtent":{"__isSmartRef__":true,"id":2300},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2308},"label":{"__isSmartRef__":true,"id":2290},"command":{"__isSmartRef__":true,"id":2288},"attributeConnections":[{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2318}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2320},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2290":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2291},"derivationIds":[null],"id":"3120E9C3-69FE-4661-AEC0-4787D9C6EAA9","renderContextTable":{"__isSmartRef__":true,"id":2296},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2297}],"eventHandler":{"__isSmartRef__":true,"id":2299},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2289},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2300},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2291":{"_Position":{"__isSmartRef__":true,"id":2292},"renderContextTable":{"__isSmartRef__":true,"id":2293},"_Extent":{"__isSmartRef__":true,"id":2294},"_Padding":{"__isSmartRef__":true,"id":2295},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3120e9c3-69fe-4661-aec0-4787d9c6eaa9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2292":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2293":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2294":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2295":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2296":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2297":{"style":{"__isSmartRef__":true,"id":2298},"chunkOwner":{"__isSmartRef__":true,"id":2290},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2298":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2299":{"morph":{"__isSmartRef__":true,"id":2290},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2300":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2301":{"_Position":{"__isSmartRef__":true,"id":2302},"renderContextTable":{"__isSmartRef__":true,"id":2303},"_Extent":{"__isSmartRef__":true,"id":2294},"_Padding":{"__isSmartRef__":true,"id":2304},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-2ac19d81-14ce-4204-9ad5-c07142332fe3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2302":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2303":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2304":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2305":{"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","setStyleSheet":"setStyleSheetHTML"},"2306":{"morph":{"__isSmartRef__":true,"id":2289},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2307":{"x":278.5714285714286,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2308":{"stops":[{"__isSmartRef__":true,"id":2309},{"__isSmartRef__":true,"id":2311},{"__isSmartRef__":true,"id":2313},{"__isSmartRef__":true,"id":2315}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2309":{"offset":0,"color":{"__isSmartRef__":true,"id":2310}},"2310":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2311":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2312}},"2312":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2313":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2314}},"2314":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2315":{"offset":1,"color":{"__isSmartRef__":true,"id":2316}},"2316":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2317":{"sourceObj":{"__isSmartRef__":true,"id":2289},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2288},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2318":{"sourceObj":{"__isSmartRef__":true,"id":2289},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2289},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2319},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2319":{"source":{"__isSmartRef__":true,"id":2289},"target":{"__isSmartRef__":true,"id":2289}},"2320":{"scaleVertical":true,"scaleHorizontal":true},"2321":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2322},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2322":{"submorphs":[{"__isSmartRef__":true,"id":2323}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2334},"derivationIds":[null],"id":"CF26D0F4-577E-4F2C-B0CC-A97070AA4536","renderContextTable":{"__isSmartRef__":true,"id":2338},"eventHandler":{"__isSmartRef__":true,"id":2339},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2340},"priorExtent":{"__isSmartRef__":true,"id":2333},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2341},"label":{"__isSmartRef__":true,"id":2323},"command":{"__isSmartRef__":true,"id":2321},"attributeConnections":[{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2351}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2353},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2323":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2324},"derivationIds":[null],"id":"3EA1B6A9-087E-4683-8162-994FCCE2034C","renderContextTable":{"__isSmartRef__":true,"id":2329},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2330}],"eventHandler":{"__isSmartRef__":true,"id":2332},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2322},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2333},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2324":{"_Position":{"__isSmartRef__":true,"id":2325},"renderContextTable":{"__isSmartRef__":true,"id":2326},"_Extent":{"__isSmartRef__":true,"id":2327},"_Padding":{"__isSmartRef__":true,"id":2328},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3ea1b6a9-087e-4683-8162-994fcce2034c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2325":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2326":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2327":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2328":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2329":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2330":{"style":{"__isSmartRef__":true,"id":2331},"chunkOwner":{"__isSmartRef__":true,"id":2323},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2331":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2332":{"morph":{"__isSmartRef__":true,"id":2323},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2333":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2334":{"_Position":{"__isSmartRef__":true,"id":2335},"renderContextTable":{"__isSmartRef__":true,"id":2336},"_Extent":{"__isSmartRef__":true,"id":2327},"_Padding":{"__isSmartRef__":true,"id":2337},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-cf26d0f4-577e-4f2c-b0cc-a97070aa4536","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2335":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2336":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2337":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2338":{"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","setStyleSheet":"setStyleSheetHTML"},"2339":{"morph":{"__isSmartRef__":true,"id":2322},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2340":{"x":417.8571428571429,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2341":{"stops":[{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2348}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2342":{"offset":0,"color":{"__isSmartRef__":true,"id":2343}},"2343":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2344":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2345}},"2345":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2346":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2347}},"2347":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2348":{"offset":1,"color":{"__isSmartRef__":true,"id":2349}},"2349":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2350":{"sourceObj":{"__isSmartRef__":true,"id":2322},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2321},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2351":{"sourceObj":{"__isSmartRef__":true,"id":2322},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2322},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2352":{"source":{"__isSmartRef__":true,"id":2322},"target":{"__isSmartRef__":true,"id":2322}},"2353":{"scaleVertical":true,"scaleHorizontal":true},"2354":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2355},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2355":{"submorphs":[{"__isSmartRef__":true,"id":2356}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2367},"derivationIds":[null],"id":"B8E5972F-C763-4829-893D-7FEF8D5183BA","renderContextTable":{"__isSmartRef__":true,"id":2371},"eventHandler":{"__isSmartRef__":true,"id":2372},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2373},"priorExtent":{"__isSmartRef__":true,"id":2366},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2374},"label":{"__isSmartRef__":true,"id":2356},"command":{"__isSmartRef__":true,"id":2354},"attributeConnections":[{"__isSmartRef__":true,"id":2383},{"__isSmartRef__":true,"id":2384}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2386},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2356":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2357},"derivationIds":[null],"id":"46A7669E-191D-42FC-8DC9-C0252387A9AA","renderContextTable":{"__isSmartRef__":true,"id":2362},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2363}],"eventHandler":{"__isSmartRef__":true,"id":2365},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2355},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2366},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2357":{"_Position":{"__isSmartRef__":true,"id":2358},"renderContextTable":{"__isSmartRef__":true,"id":2359},"_Extent":{"__isSmartRef__":true,"id":2360},"_Padding":{"__isSmartRef__":true,"id":2361},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-46a7669e-191d-42fc-8dc9-c0252387a9aa","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2358":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2359":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2360":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2361":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2362":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2363":{"style":{"__isSmartRef__":true,"id":2364},"chunkOwner":{"__isSmartRef__":true,"id":2356},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2364":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2365":{"morph":{"__isSmartRef__":true,"id":2356},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2366":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2367":{"_Position":{"__isSmartRef__":true,"id":2368},"renderContextTable":{"__isSmartRef__":true,"id":2369},"_Extent":{"__isSmartRef__":true,"id":2360},"_Padding":{"__isSmartRef__":true,"id":2370},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-b8e5972f-c763-4829-893d-7fef8d5183ba","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2368":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2369":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2370":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2371":{"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","setStyleSheet":"setStyleSheetHTML"},"2372":{"morph":{"__isSmartRef__":true,"id":2355},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2373":{"x":557.1428571428572,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2374":{"stops":[{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2377},{"__isSmartRef__":true,"id":2379},{"__isSmartRef__":true,"id":2381}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2375":{"offset":0,"color":{"__isSmartRef__":true,"id":2376}},"2376":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2377":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2378}},"2378":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2379":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2380}},"2380":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2381":{"offset":1,"color":{"__isSmartRef__":true,"id":2382}},"2382":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2383":{"sourceObj":{"__isSmartRef__":true,"id":2355},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2354},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2384":{"sourceObj":{"__isSmartRef__":true,"id":2355},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2355},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2385},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2385":{"source":{"__isSmartRef__":true,"id":2355},"target":{"__isSmartRef__":true,"id":2355}},"2386":{"scaleVertical":true,"scaleHorizontal":true},"2387":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2388},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2388":{"submorphs":[{"__isSmartRef__":true,"id":2389}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2400},"derivationIds":[null],"id":"CED208E4-1E27-4107-A885-4C3DE137B040","renderContextTable":{"__isSmartRef__":true,"id":2404},"eventHandler":{"__isSmartRef__":true,"id":2405},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2406},"priorExtent":{"__isSmartRef__":true,"id":2399},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2407},"label":{"__isSmartRef__":true,"id":2389},"command":{"__isSmartRef__":true,"id":2387},"attributeConnections":[{"__isSmartRef__":true,"id":2416},{"__isSmartRef__":true,"id":2417}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2419},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2389":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2390},"derivationIds":[null],"id":"EC8C57D5-3D89-42A8-8DF0-E557E4A743C6","renderContextTable":{"__isSmartRef__":true,"id":2395},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2396}],"eventHandler":{"__isSmartRef__":true,"id":2398},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2388},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2399},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2390":{"_Position":{"__isSmartRef__":true,"id":2391},"renderContextTable":{"__isSmartRef__":true,"id":2392},"_Extent":{"__isSmartRef__":true,"id":2393},"_Padding":{"__isSmartRef__":true,"id":2394},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ec8c57d5-3d89-42a8-8df0-e557e4a743c6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2391":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2392":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2393":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2394":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2395":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2396":{"style":{"__isSmartRef__":true,"id":2397},"chunkOwner":{"__isSmartRef__":true,"id":2389},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2397":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2398":{"morph":{"__isSmartRef__":true,"id":2389},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2399":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2400":{"_Position":{"__isSmartRef__":true,"id":2401},"renderContextTable":{"__isSmartRef__":true,"id":2402},"_Extent":{"__isSmartRef__":true,"id":2393},"_Padding":{"__isSmartRef__":true,"id":2403},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-ced208e4-1e27-4107-a885-4c3de137b040","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2401":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2403":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2404":{"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","setStyleSheet":"setStyleSheetHTML"},"2405":{"morph":{"__isSmartRef__":true,"id":2388},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2406":{"x":696.4285714285711,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2407":{"stops":[{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2412},{"__isSmartRef__":true,"id":2414}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2408":{"offset":0,"color":{"__isSmartRef__":true,"id":2409}},"2409":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2410":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2411}},"2411":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2412":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2413}},"2413":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2414":{"offset":1,"color":{"__isSmartRef__":true,"id":2415}},"2415":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2416":{"sourceObj":{"__isSmartRef__":true,"id":2388},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2387},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2417":{"sourceObj":{"__isSmartRef__":true,"id":2388},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2388},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2418},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2418":{"source":{"__isSmartRef__":true,"id":2388},"target":{"__isSmartRef__":true,"id":2388}},"2419":{"scaleVertical":true,"scaleHorizontal":true},"2420":{"browser":{"__isSmartRef__":true,"id":2211},"button":{"__isSmartRef__":true,"id":2421},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"2421":{"submorphs":[{"__isSmartRef__":true,"id":2422}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2433},"derivationIds":[null],"id":"38F2121E-059D-4469-9B22-7E9DDFCA22FF","renderContextTable":{"__isSmartRef__":true,"id":2437},"eventHandler":{"__isSmartRef__":true,"id":2438},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2439},"priorExtent":{"__isSmartRef__":true,"id":2432},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":2440},"label":{"__isSmartRef__":true,"id":2422},"command":{"__isSmartRef__":true,"id":2420},"attributeConnections":[{"__isSmartRef__":true,"id":2449},{"__isSmartRef__":true,"id":2450}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":2452},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2422":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2423},"derivationIds":[null],"id":"DF5FBD86-3035-4423-815B-AC1D730F50FD","renderContextTable":{"__isSmartRef__":true,"id":2428},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2429}],"eventHandler":{"__isSmartRef__":true,"id":2431},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2421},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2432},"_MaxTextWidth":139.2857142857143,"_MinTextWidth":139.2857142857143,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2423":{"_Position":{"__isSmartRef__":true,"id":2424},"renderContextTable":{"__isSmartRef__":true,"id":2425},"_Extent":{"__isSmartRef__":true,"id":2426},"_Padding":{"__isSmartRef__":true,"id":2427},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-df5fbd86-3035-4423-815b-ac1d730f50fd","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2424":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2425":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2426":{"x":139.2857142857143,"y":31.559999999999995,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2427":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2428":{"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","setStyleSheet":"setStyleSheetHTML","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"},"2429":{"style":{"__isSmartRef__":true,"id":2430},"chunkOwner":{"__isSmartRef__":true,"id":2422},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2430":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2431":{"morph":{"__isSmartRef__":true,"id":2422},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2432":{"x":139.2857142857143,"y":31.479999999999993,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2433":{"_Position":{"__isSmartRef__":true,"id":2434},"renderContextTable":{"__isSmartRef__":true,"id":2435},"_Extent":{"__isSmartRef__":true,"id":2426},"_Padding":{"__isSmartRef__":true,"id":2436},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-38f2121e-059d-4469-9b22-7e9ddfca22ff","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2434":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2435":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2436":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2437":{"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","setStyleSheet":"setStyleSheetHTML"},"2438":{"morph":{"__isSmartRef__":true,"id":2421},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2439":{"x":835.7142857142858,"y":315.59999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2440":{"stops":[{"__isSmartRef__":true,"id":2441},{"__isSmartRef__":true,"id":2443},{"__isSmartRef__":true,"id":2445},{"__isSmartRef__":true,"id":2447}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2441":{"offset":0,"color":{"__isSmartRef__":true,"id":2442}},"2442":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2443":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2444}},"2444":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2445":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2446}},"2446":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2447":{"offset":1,"color":{"__isSmartRef__":true,"id":2448}},"2448":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2449":{"sourceObj":{"__isSmartRef__":true,"id":2421},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2420},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2450":{"sourceObj":{"__isSmartRef__":true,"id":2421},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2421},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2451},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2451":{"source":{"__isSmartRef__":true,"id":2421},"target":{"__isSmartRef__":true,"id":2421}},"2452":{"scaleVertical":true,"scaleHorizontal":true},"2453":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2454":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2455":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2456":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2457":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2458":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"2459":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2460":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":2461},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3551},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2461":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2462},"derivationIds":[null],"id":"BB934108-4CEF-4F76-A6F3-7420A3F946A5","renderContextTable":{"__isSmartRef__":true,"id":2468},"itemList":[{"__isSmartRef__":true,"id":2469},{"__isSmartRef__":true,"id":3473},{"__isSmartRef__":true,"id":3474},{"__isSmartRef__":true,"id":3475},{"__isSmartRef__":true,"id":3476},{"__isSmartRef__":true,"id":3477},{"__isSmartRef__":true,"id":3478},{"__isSmartRef__":true,"id":3479},{"__isSmartRef__":true,"id":3480},{"__isSmartRef__":true,"id":3481},{"__isSmartRef__":true,"id":3482},{"__isSmartRef__":true,"id":3483},{"__isSmartRef__":true,"id":3484},{"__isSmartRef__":true,"id":3485},{"__isSmartRef__":true,"id":3486},{"__isSmartRef__":true,"id":3487},{"__isSmartRef__":true,"id":3488},{"__isSmartRef__":true,"id":3489},{"__isSmartRef__":true,"id":3490},{"__isSmartRef__":true,"id":3491},{"__isSmartRef__":true,"id":3492},{"__isSmartRef__":true,"id":3493},{"__isSmartRef__":true,"id":3494},{"__isSmartRef__":true,"id":3495},{"__isSmartRef__":true,"id":3496},{"__isSmartRef__":true,"id":3497},{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":3499},{"__isSmartRef__":true,"id":3500},{"__isSmartRef__":true,"id":3501},{"__isSmartRef__":true,"id":3502},{"__isSmartRef__":true,"id":3503},{"__isSmartRef__":true,"id":3504},{"__isSmartRef__":true,"id":3505},{"__isSmartRef__":true,"id":3506},{"__isSmartRef__":true,"id":3507},{"__isSmartRef__":true,"id":3508},{"__isSmartRef__":true,"id":3509},{"__isSmartRef__":true,"id":3510},{"__isSmartRef__":true,"id":3511},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3513},{"__isSmartRef__":true,"id":3514},{"__isSmartRef__":true,"id":3515},{"__isSmartRef__":true,"id":3516},{"__isSmartRef__":true,"id":3517},{"__isSmartRef__":true,"id":3518},{"__isSmartRef__":true,"id":3519},{"__isSmartRef__":true,"id":3520}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3521},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3522},"selection":{"__isSmartRef__":true,"id":2961},"selectedLineNo":46,"priorExtent":{"__isSmartRef__":true,"id":3523},"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":3524},"attributeConnections":[{"__isSmartRef__":true,"id":3525},{"__isSmartRef__":true,"id":3530},{"__isSmartRef__":true,"id":3532},{"__isSmartRef__":true,"id":3534}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"changeTriggered":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3536},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2462":{"_Position":{"__isSmartRef__":true,"id":2463},"renderContextTable":{"__isSmartRef__":true,"id":2464},"_Extent":{"__isSmartRef__":true,"id":2465},"_Padding":{"__isSmartRef__":true,"id":2466},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":2467},"_NodeClass":["morph","box","list"],"_NodeId":"morph-bb934108-4cef-4f76-a6f3-7420a3f946a5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2463":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2464":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"2465":{"x":243.74999999999997,"y":291.93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2466":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2467":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2468":{"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","setStyleSheet":"setStyleSheetHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"2469":{"isListItem":true,"string":"tests/","value":{"__isSmartRef__":true,"id":2470}},"2470":{"target":{"__isSmartRef__":true,"id":2471},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"localName":"tests/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2471":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2472":{"target":{"__isSmartRef__":true,"id":2473},"browser":{"__isSmartRef__":true,"id":2211},"parent":null,"allFiles":["lively/morphic/HTML.js","lively/morphic/jqueryflot.js","lively/morphic/EventExperiments.js","lively/morphic/Widgets.js","lively/morphic/Chris.js","lively/morphic/Serialization.js","lively/morphic/Rendering.js","lively/morphic/Layout.js","lively/morphic/MorphAddons.js","lively/morphic/SAPWorkSheetTest.js","lively/morphic/SAPWorkSheet.js","lively/morphic/ObjectMigration.js","lively/morphic/ColorChooserDraft.js","lively/morphic/SAPCommonWidgets.js","lively/morphic/Compat.js","lively/morphic/Shapes.js","lively/morphic/Grid.js","lively/morphic/Core.js","lively/morphic/TextCore.js","lively/morphic/testsubText.js","lively/morphic/test_1.js","lively/morphic/SAPBPCWidgets.js","lively/morphic/Tests.js","lively/morphic/test4.js","lively/morphic/Events.js","lively/morphic/Graffle.js","lively/morphic/Halos.js","lively/morphic/Complete.js","lively/morphic/Canvas.js","lively/morphic/ModernWindow.js","lively/morphic/StyleSheets.js","lively/morphic/Connectors.js","lively/morphic/test.js","lively/morphic/CompatLayer.js","lively/morphic/jquery.flot.js","lively/morphic/Styles.js","lively/morphic/Paragraphs.js","lively/morphic/DiffMerge.js","lively/morphic/ScriptingSupport.js","lively/morphic/SVG.js","lively/morphic/WidgetsAddOns.js","lively/morphic/PathShapes.js","lively/morphic/Graphics.js","lively/morphic/AdditionalMorphs.js","lively/morphic/Experiments.js"],"subNamespacePaths":[{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":2474}],"parentNamespacePath":{"__isSmartRef__":true,"id":2475},"_childNodes":[{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2476},{"__isSmartRef__":true,"id":2477},{"__isSmartRef__":true,"id":2478},{"__isSmartRef__":true,"id":2479},{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2481},{"__isSmartRef__":true,"id":2482},{"__isSmartRef__":true,"id":2483},{"__isSmartRef__":true,"id":2484},{"__isSmartRef__":true,"id":2485},{"__isSmartRef__":true,"id":2486},{"__isSmartRef__":true,"id":2487},{"__isSmartRef__":true,"id":2540},{"__isSmartRef__":true,"id":2541},{"__isSmartRef__":true,"id":2542},{"__isSmartRef__":true,"id":2543},{"__isSmartRef__":true,"id":2544},{"__isSmartRef__":true,"id":2545},{"__isSmartRef__":true,"id":2546},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2548},{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2550},{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2552},{"__isSmartRef__":true,"id":2553},{"__isSmartRef__":true,"id":2554},{"__isSmartRef__":true,"id":2555},{"__isSmartRef__":true,"id":2556},{"__isSmartRef__":true,"id":2557},{"__isSmartRef__":true,"id":2558},{"__isSmartRef__":true,"id":2559},{"__isSmartRef__":true,"id":2560},{"__isSmartRef__":true,"id":2561},{"__isSmartRef__":true,"id":2562},{"__isSmartRef__":true,"id":2563},{"__isSmartRef__":true,"id":2564},{"__isSmartRef__":true,"id":2565},{"__isSmartRef__":true,"id":2566},{"__isSmartRef__":true,"id":2567},{"__isSmartRef__":true,"id":2568},{"__isSmartRef__":true,"id":2569},{"__isSmartRef__":true,"id":2570},{"__isSmartRef__":true,"id":2571},{"__isSmartRef__":true,"id":2572},{"__isSmartRef__":true,"id":2961},{"__isSmartRef__":true,"id":3462},{"__isSmartRef__":true,"id":3471}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2473":{"__LivelyClassName__":"AnotherSourceDatabase","__SourceModuleName__":"Global.lively.ide.SourceDatabase"},"2474":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/video/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2475":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2476":{"target":{"__isSmartRef__":true,"id":2474},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"localName":"video/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2477":{"target":{"__isSmartRef__":true,"id":2475},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2478":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/AdditionalMorphs.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2479":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Canvas.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2480":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Chris.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2481":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/ColorChooserDraft.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2482":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Compat.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2483":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/CompatLayer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2484":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Complete.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2485":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Connectors.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2486":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Core.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2487":{"target":{"__isSmartRef__":true,"id":2488},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/DiffMerge.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2488":{"name":"lively.morphic.DiffMerge","type":"moduleDef","startIndex":0,"stopIndex":19580,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2489},{"__isSmartRef__":true,"id":2490},{"__isSmartRef__":true,"id":2509},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2515},{"__isSmartRef__":true,"id":2516},{"__isSmartRef__":true,"id":2526},{"__isSmartRef__":true,"id":2527},{"__isSmartRef__":true,"id":2539}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2489":{"name":null,"type":"comment","startIndex":90,"stopIndex":90,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2490":{"name":"lively.morphic.Morph","type":"klassExtensionDef","startIndex":91,"stopIndex":10067,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2491},{"__isSmartRef__":true,"id":2493},{"__isSmartRef__":true,"id":2494},{"__isSmartRef__":true,"id":2495},{"__isSmartRef__":true,"id":2496},{"__isSmartRef__":true,"id":2497},{"__isSmartRef__":true,"id":2498},{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2501},{"__isSmartRef__":true,"id":2502},{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2507},{"__isSmartRef__":true,"id":2508}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":2492},{"__isSmartRef__":true,"id":2500}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2491":{"name":"equals","type":"propertyDef","startIndex":137,"stopIndex":545,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2492":{"name":"diffing","type":"categoryDef","startIndex":124,"stopIndex":4531,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2491},{"__isSmartRef__":true,"id":2493},{"__isSmartRef__":true,"id":2494},{"__isSmartRef__":true,"id":2495},{"__isSmartRef__":true,"id":2496},{"__isSmartRef__":true,"id":2497},{"__isSmartRef__":true,"id":2498}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2493":{"name":"diffTo","type":"propertyDef","startIndex":548,"stopIndex":1640,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2494":{"name":"newThreeWayDiff","type":"propertyDef","startIndex":1642,"stopIndex":2308,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2495":{"name":"parseDiffTo","type":"propertyDef","startIndex":2310,"stopIndex":2712,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2496":{"name":"parsePropertiesOfDiffTo","type":"propertyDef","startIndex":2715,"stopIndex":3625,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2497":{"name":"parseScriptsOfDiffTo","type":"propertyDef","startIndex":3628,"stopIndex":4275,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2498":{"name":"showThreeWayDiff","type":"propertyDef","startIndex":4277,"stopIndex":4528,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2492},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2499":{"name":"findById","type":"propertyDef","startIndex":4550,"stopIndex":4817,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2500":{"name":"inheritance","type":"categoryDef","startIndex":4533,"stopIndex":10064,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2501},{"__isSmartRef__":true,"id":2502},{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2507},{"__isSmartRef__":true,"id":2508}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2501":{"name":"findParentPartVersion","type":"propertyDef","startIndex":4823,"stopIndex":5134,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2502":{"name":"findCurrentPartVersion","type":"propertyDef","startIndex":5136,"stopIndex":5396,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2503":{"name":"findDerivationParent","type":"propertyDef","startIndex":5398,"stopIndex":6380,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2504":{"name":"findDerivationSibling","type":"propertyDef","startIndex":6382,"stopIndex":7133,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2505":{"name":"findSiblingInRelative","type":"propertyDef","startIndex":7135,"stopIndex":8106,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2506":{"name":"isDirectDescendentOf","type":"propertyDef","startIndex":8110,"stopIndex":8433,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2507":{"name":"existsAlreadyIn","type":"propertyDef","startIndex":8436,"stopIndex":8916,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2508":{"name":"findCommonParentPartVersion","type":"propertyDef","startIndex":8918,"stopIndex":10060,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2500},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2509":{"name":null,"type":"comment","startIndex":10068,"stopIndex":10068,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2510":{"name":"AtomicDiff","type":"klassDef","startIndex":10069,"stopIndex":11541,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2511},{"__isSmartRef__":true,"id":2513}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2514}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2511":{"name":"initialize","type":"propertyDef","startIndex":10117,"stopIndex":10381,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2512},"className":"AtomicDiff","_owner":{"__isSmartRef__":true,"id":2510},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2512":{"name":"initializing","type":"categoryDef","startIndex":10099,"stopIndex":10384,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2511}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2513":{"name":"diffAgainst","type":"propertyDef","startIndex":10399,"stopIndex":11536,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2514},"className":"AtomicDiff","_owner":{"__isSmartRef__":true,"id":2510},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2514":{"name":"diffing","type":"categoryDef","startIndex":10386,"stopIndex":11538,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2513}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2515":{"name":null,"type":"comment","startIndex":11542,"stopIndex":11542,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2516":{"name":"Diff","type":"klassDef","startIndex":11543,"stopIndex":15655,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2517},{"__isSmartRef__":true,"id":2519},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2522},{"__isSmartRef__":true,"id":2523},{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2525}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2518},{"__isSmartRef__":true,"id":2520}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2517":{"name":"initialize","type":"propertyDef","startIndex":11585,"stopIndex":12040,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2518},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2518":{"name":"initializing","type":"categoryDef","startIndex":11567,"stopIndex":12043,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2517}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2519":{"name":"diffAgainst","type":"propertyDef","startIndex":12058,"stopIndex":13044,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2520":{"name":"diffing","type":"categoryDef","startIndex":12045,"stopIndex":15652,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2519},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2522},{"__isSmartRef__":true,"id":2523},{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2525}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2521":{"name":"diffAdded","type":"propertyDef","startIndex":13046,"stopIndex":13464,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2522":{"name":"diffRemoved","type":"propertyDef","startIndex":13466,"stopIndex":14158,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2523":{"name":"diffModified","type":"propertyDef","startIndex":14160,"stopIndex":14935,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2524":{"name":"joinDiffs","type":"propertyDef","startIndex":14937,"stopIndex":15262,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2525":{"name":"isEmpty","type":"propertyDef","startIndex":15264,"stopIndex":15649,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2520},"className":"Diff","_owner":{"__isSmartRef__":true,"id":2516},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2526":{"name":null,"type":"comment","startIndex":15656,"stopIndex":15656,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2527":{"name":"DiffList","type":"klassDef","startIndex":15657,"stopIndex":19560,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2533},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2535},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2538}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2529},{"__isSmartRef__":true,"id":2531}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2528":{"name":"initialize","type":"propertyDef","startIndex":15705,"stopIndex":15760,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2529},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2529":{"name":"initialization","type":"categoryDef","startIndex":15685,"stopIndex":15763,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2528}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2530":{"name":"mixWith","type":"propertyDef","startIndex":15782,"stopIndex":16039,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2531":{"name":"maintaining","type":"categoryDef","startIndex":15765,"stopIndex":19557,"fileName":"lively/morphic/DiffMerge.js","_subElements":[{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2533},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2535},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2538}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2532":{"name":"isEmpty","type":"propertyDef","startIndex":16041,"stopIndex":16309,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2533":{"name":"diffAgainst","type":"propertyDef","startIndex":16312,"stopIndex":17893,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2534":{"name":"findMatchingDiffPairs","type":"propertyDef","startIndex":17895,"stopIndex":18376,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2535":{"name":"collectAdded","type":"propertyDef","startIndex":18379,"stopIndex":18636,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2536":{"name":"collectRemoved","type":"propertyDef","startIndex":18638,"stopIndex":18913,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2537":{"name":"collectModified","type":"propertyDef","startIndex":18915,"stopIndex":19226,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2538":{"name":"collectConflicted","type":"propertyDef","startIndex":19228,"stopIndex":19551,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2531},"className":"DiffList","_owner":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2539":{"name":null,"type":"comment","startIndex":19561,"stopIndex":19561,"fileName":"lively/morphic/DiffMerge.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2540":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/EventExperiments.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2541":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Events.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2542":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Experiments.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2543":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Graffle.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2544":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Graphics.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2545":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Grid.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2546":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Halos.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2547":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/HTML.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2548":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/jquery.flot.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2549":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/jqueryflot.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2550":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Layout.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2551":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/ModernWindow.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2552":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/MorphAddons.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2553":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/ObjectMigration.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2554":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Paragraphs.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2555":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/PathShapes.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2556":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Rendering.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2557":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/SAPBPCWidgets.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2558":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/SAPCommonWidgets.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2559":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/SAPWorkSheet.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2560":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/SAPWorkSheetTest.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2561":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/ScriptingSupport.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2562":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Serialization.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2563":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Shapes.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2564":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Styles.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2565":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/StyleSheets.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2566":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/SVG.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2567":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/test.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2568":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/test4.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2569":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/test_1.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2570":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Tests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2571":{"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/testsubText.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2572":{"target":{"__isSmartRef__":true,"id":2573},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/TextCore.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2573":{"name":"lively.morphic.TextCore","type":"moduleDef","startIndex":0,"stopIndex":113139,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2574},{"__isSmartRef__":true,"id":2575},{"__isSmartRef__":true,"id":2602},{"__isSmartRef__":true,"id":2603},{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2805},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":2820},{"__isSmartRef__":true,"id":2821},{"__isSmartRef__":true,"id":2862},{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2899},{"__isSmartRef__":true,"id":2900},{"__isSmartRef__":true,"id":2916},{"__isSmartRef__":true,"id":2917},{"__isSmartRef__":true,"id":2925},{"__isSmartRef__":true,"id":2926},{"__isSmartRef__":true,"id":2930},{"__isSmartRef__":true,"id":2933},{"__isSmartRef__":true,"id":2934},{"__isSmartRef__":true,"id":2935},{"__isSmartRef__":true,"id":2936},{"__isSmartRef__":true,"id":2946},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2955},{"__isSmartRef__":true,"id":2956},{"__isSmartRef__":true,"id":2960}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2574":{"name":null,"type":"comment","startIndex":99,"stopIndex":99,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2575":{"name":"TextChunkOwner","type":"traitDef","startIndex":100,"stopIndex":7712,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2576},{"__isSmartRef__":true,"id":2578},{"__isSmartRef__":true,"id":2580},{"__isSmartRef__":true,"id":2581},{"__isSmartRef__":true,"id":2582},{"__isSmartRef__":true,"id":2583},{"__isSmartRef__":true,"id":2584},{"__isSmartRef__":true,"id":2585},{"__isSmartRef__":true,"id":2587},{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2592},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2595},{"__isSmartRef__":true,"id":2596},{"__isSmartRef__":true,"id":2597},{"__isSmartRef__":true,"id":2598},{"__isSmartRef__":true,"id":2599},{"__isSmartRef__":true,"id":2601}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2576":{"name":"forceRender","type":"propertyDef","startIndex":139,"stopIndex":224,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2577},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2577":{"name":"rendering","type":"categoryDef","startIndex":24,"stopIndex":126,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2576}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2578":{"name":"createChunk","type":"propertyDef","startIndex":243,"stopIndex":367,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2579":{"name":"accessing","type":"categoryDef","startIndex":128,"stopIndex":996,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2578},{"__isSmartRef__":true,"id":2580},{"__isSmartRef__":true,"id":2581},{"__isSmartRef__":true,"id":2582},{"__isSmartRef__":true,"id":2583},{"__isSmartRef__":true,"id":2584}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2580":{"name":"getTextChunks","type":"propertyDef","startIndex":369,"stopIndex":552,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2581":{"name":"setTextChunks","type":"propertyDef","startIndex":554,"stopIndex":740,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2582":{"name":"setTextChunksFromTo","type":"propertyDef","startIndex":742,"stopIndex":780,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2583":{"name":"firstTextChunk","type":"propertyDef","startIndex":782,"stopIndex":860,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2584":{"name":"getChunkRanges","type":"propertyDef","startIndex":863,"stopIndex":1094,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2579},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2585":{"name":"isFocused","type":"propertyDef","startIndex":1111,"stopIndex":1141,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2586},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2586":{"name":"testing","type":"categoryDef","startIndex":998,"stopIndex":1043,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2585}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2587":{"name":"removeTextChunks","type":"propertyDef","startIndex":1159,"stopIndex":1395,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2588},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2588":{"name":"removing","type":"categoryDef","startIndex":1045,"stopIndex":1297,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2587}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2589":{"name":"getChunkAndLocalIndex","type":"propertyDef","startIndex":1423,"stopIndex":2284,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2590},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2590":{"name":"chunk computations","type":"categoryDef","startIndex":1299,"stopIndex":3926,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2592}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2591":{"name":"sliceTextChunks","type":"propertyDef","startIndex":2286,"stopIndex":3840,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2590},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2592":{"name":"coalesceChunks","type":"propertyDef","startIndex":3843,"stopIndex":4024,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2590},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2593":{"name":"fixChunks","type":"propertyDef","startIndex":4052,"stopIndex":4719,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2594},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2594":{"name":"garbage collection","type":"categoryDef","startIndex":3928,"stopIndex":7432,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2595},{"__isSmartRef__":true,"id":2596},{"__isSmartRef__":true,"id":2597},{"__isSmartRef__":true,"id":2598}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2595":{"name":"fixChunksDelayed","type":"propertyDef","startIndex":4721,"stopIndex":4805,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2594},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2596":{"name":"garbageCollectChunks","type":"propertyDef","startIndex":4807,"stopIndex":7076,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2594},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2597":{"name":"removeNonChunkNodes","type":"propertyDef","startIndex":7079,"stopIndex":7221,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2594},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2598":{"name":"fixTextBeforeAndAfterChunks","type":"propertyDef","startIndex":7224,"stopIndex":7530,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2594},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2599":{"name":"isInChunkDebugMode","type":"propertyDef","startIndex":7549,"stopIndex":7617,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2600},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2600":{"name":"debugging","type":"categoryDef","startIndex":7434,"stopIndex":7609,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2599},{"__isSmartRef__":true,"id":2601}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2601":{"name":"setChunkDebugMode","type":"propertyDef","startIndex":7619,"stopIndex":7708,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2600},"_owner":{"__isSmartRef__":true,"id":2575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2602":{"name":null,"type":"comment","startIndex":7713,"stopIndex":7713,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2603":{"name":"lively.morphic.Text","type":"klassDef","startIndex":7714,"stopIndex":82342,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2604},{"__isSmartRef__":true,"id":2606},{"__isSmartRef__":true,"id":2607},{"__isSmartRef__":true,"id":2608},{"__isSmartRef__":true,"id":2609},{"__isSmartRef__":true,"id":2610},{"__isSmartRef__":true,"id":2611},{"__isSmartRef__":true,"id":2613},{"__isSmartRef__":true,"id":2615},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2618},{"__isSmartRef__":true,"id":2619},{"__isSmartRef__":true,"id":2620},{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2622},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2624},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2626},{"__isSmartRef__":true,"id":2627},{"__isSmartRef__":true,"id":2628},{"__isSmartRef__":true,"id":2629},{"__isSmartRef__":true,"id":2630},{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2633},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2635},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2637},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2641},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2643},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2645},{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2647},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2649},{"__isSmartRef__":true,"id":2650},{"__isSmartRef__":true,"id":2651},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2653},{"__isSmartRef__":true,"id":2654},{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2656},{"__isSmartRef__":true,"id":2658},{"__isSmartRef__":true,"id":2659},{"__isSmartRef__":true,"id":2661},{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2664},{"__isSmartRef__":true,"id":2665},{"__isSmartRef__":true,"id":2666},{"__isSmartRef__":true,"id":2667},{"__isSmartRef__":true,"id":2668},{"__isSmartRef__":true,"id":2669},{"__isSmartRef__":true,"id":2670},{"__isSmartRef__":true,"id":2671},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2674},{"__isSmartRef__":true,"id":2675},{"__isSmartRef__":true,"id":2676},{"__isSmartRef__":true,"id":2677},{"__isSmartRef__":true,"id":2678},{"__isSmartRef__":true,"id":2679},{"__isSmartRef__":true,"id":2680},{"__isSmartRef__":true,"id":2681},{"__isSmartRef__":true,"id":2682},{"__isSmartRef__":true,"id":2683},{"__isSmartRef__":true,"id":2684},{"__isSmartRef__":true,"id":2685},{"__isSmartRef__":true,"id":2686},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2688},{"__isSmartRef__":true,"id":2689},{"__isSmartRef__":true,"id":2690},{"__isSmartRef__":true,"id":2691},{"__isSmartRef__":true,"id":2692},{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2695},{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2697},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2700},{"__isSmartRef__":true,"id":2701},{"__isSmartRef__":true,"id":2702},{"__isSmartRef__":true,"id":2703},{"__isSmartRef__":true,"id":2704},{"__isSmartRef__":true,"id":2705},{"__isSmartRef__":true,"id":2706},{"__isSmartRef__":true,"id":2707},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2711},{"__isSmartRef__":true,"id":2712},{"__isSmartRef__":true,"id":2714},{"__isSmartRef__":true,"id":2715},{"__isSmartRef__":true,"id":2716},{"__isSmartRef__":true,"id":2717},{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2719},{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2723},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2727},{"__isSmartRef__":true,"id":2728},{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2730},{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2735},{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2739},{"__isSmartRef__":true,"id":2741},{"__isSmartRef__":true,"id":2742},{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2744},{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2747},{"__isSmartRef__":true,"id":2748},{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2752},{"__isSmartRef__":true,"id":2753},{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2757},{"__isSmartRef__":true,"id":2758},{"__isSmartRef__":true,"id":2759},{"__isSmartRef__":true,"id":2760},{"__isSmartRef__":true,"id":2761},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2763},{"__isSmartRef__":true,"id":2764},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2767},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2769},{"__isSmartRef__":true,"id":2770},{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2772},{"__isSmartRef__":true,"id":2773},{"__isSmartRef__":true,"id":2774},{"__isSmartRef__":true,"id":2775},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2777},{"__isSmartRef__":true,"id":2778},{"__isSmartRef__":true,"id":2779},{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2782},{"__isSmartRef__":true,"id":2783},{"__isSmartRef__":true,"id":2784},{"__isSmartRef__":true,"id":2785},{"__isSmartRef__":true,"id":2786},{"__isSmartRef__":true,"id":2788},{"__isSmartRef__":true,"id":2790},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2792},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2794},{"__isSmartRef__":true,"id":2795},{"__isSmartRef__":true,"id":2797},{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2799},{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2801},{"__isSmartRef__":true,"id":2802}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["ScrollableTrait","TextChunkOwner"],"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":2605},{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2614},{"__isSmartRef__":true,"id":2616},{"__isSmartRef__":true,"id":2657},{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2663},{"__isSmartRef__":true,"id":2694},{"__isSmartRef__":true,"id":2708},{"__isSmartRef__":true,"id":2710},{"__isSmartRef__":true,"id":2713},{"__isSmartRef__":true,"id":2737},{"__isSmartRef__":true,"id":2740},{"__isSmartRef__":true,"id":2746},{"__isSmartRef__":true,"id":2749},{"__isSmartRef__":true,"id":2751},{"__isSmartRef__":true,"id":2754},{"__isSmartRef__":true,"id":2765},{"__isSmartRef__":true,"id":2787},{"__isSmartRef__":true,"id":2789},{"__isSmartRef__":true,"id":2796},{"__isSmartRef__":true,"id":2803}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2604":{"name":"isText","type":"propertyDef","startIndex":7834,"stopIndex":7850,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2605":{"name":"properties","type":"categoryDef","startIndex":7818,"stopIndex":8336,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2604},{"__isSmartRef__":true,"id":2606},{"__isSmartRef__":true,"id":2607},{"__isSmartRef__":true,"id":2608},{"__isSmartRef__":true,"id":2609},{"__isSmartRef__":true,"id":2610}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2606":{"name":"allowInput","type":"propertyDef","startIndex":7852,"stopIndex":7872,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2607":{"name":"style","type":"propertyDef","startIndex":7874,"stopIndex":8249,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2608":{"name":"autoAdjustPadding","type":"propertyDef","startIndex":8252,"stopIndex":8279,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2609":{"name":"suppressDropping","type":"propertyDef","startIndex":8281,"stopIndex":8307,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2610":{"name":"draggingEnabled","type":"propertyDef","startIndex":8309,"stopIndex":8334,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2605},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2611":{"name":"initialize","type":"propertyDef","startIndex":8356,"stopIndex":8669,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2612},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2612":{"name":"initializing","type":"categoryDef","startIndex":8338,"stopIndex":8671,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2611}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2613":{"name":"applyStyle","type":"propertyDef","startIndex":8686,"stopIndex":10202,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2614},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2614":{"name":"styling","type":"categoryDef","startIndex":8673,"stopIndex":10204,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2613}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2615":{"name":"setExtent","type":"propertyDef","startIndex":10221,"stopIndex":11753,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2616":{"name":"accessing","type":"categoryDef","startIndex":10206,"stopIndex":16151,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2615},{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2618},{"__isSmartRef__":true,"id":2619},{"__isSmartRef__":true,"id":2620},{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2622},{"__isSmartRef__":true,"id":2623},{"__isSmartRef__":true,"id":2624},{"__isSmartRef__":true,"id":2625},{"__isSmartRef__":true,"id":2626},{"__isSmartRef__":true,"id":2627},{"__isSmartRef__":true,"id":2628},{"__isSmartRef__":true,"id":2629},{"__isSmartRef__":true,"id":2630},{"__isSmartRef__":true,"id":2631},{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2633},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2635},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2637},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2641},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2643},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2645},{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2647},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2649},{"__isSmartRef__":true,"id":2650},{"__isSmartRef__":true,"id":2651},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2653},{"__isSmartRef__":true,"id":2654},{"__isSmartRef__":true,"id":2655}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2617":{"name":"getTextExtent","type":"propertyDef","startIndex":11756,"stopIndex":11840,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2618":{"name":"getTextBounds","type":"propertyDef","startIndex":11842,"stopIndex":11919,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2619":{"name":"visibleTextBounds","type":"propertyDef","startIndex":11921,"stopIndex":12028,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2620":{"name":"textString","type":"propertyDef","startIndex":12030,"stopIndex":12331,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2621":{"name":"textString","type":"propertyDef","startIndex":12334,"stopIndex":12854,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2622":{"name":"setTextString","type":"propertyDef","startIndex":12857,"stopIndex":12928,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2623":{"name":"getTextString","type":"propertyDef","startIndex":12931,"stopIndex":12987,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2624":{"name":"appendTextString","type":"propertyDef","startIndex":12990,"stopIndex":13065,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2625":{"name":"replaceTextString","type":"propertyDef","startIndex":13068,"stopIndex":13255,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2626":{"name":"insertTextStringAt","type":"propertyDef","startIndex":13258,"stopIndex":13641,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2627":{"name":"setTextColor","type":"propertyDef","startIndex":13644,"stopIndex":13727,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2628":{"name":"getTextColor","type":"propertyDef","startIndex":13729,"stopIndex":13815,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2629":{"name":"setFontSize","type":"propertyDef","startIndex":13817,"stopIndex":13896,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2630":{"name":"getFontSize","type":"propertyDef","startIndex":13898,"stopIndex":13967,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2631":{"name":"setFontFamily","type":"propertyDef","startIndex":13969,"stopIndex":14060,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2632":{"name":"getFontFamily","type":"propertyDef","startIndex":14062,"stopIndex":14135,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2633":{"name":"setFontWeight","type":"propertyDef","startIndex":14137,"stopIndex":14228,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2634":{"name":"getFontWeight","type":"propertyDef","startIndex":14230,"stopIndex":14303,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2635":{"name":"setFontStyle","type":"propertyDef","startIndex":14305,"stopIndex":14394,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2636":{"name":"getFontStyle","type":"propertyDef","startIndex":14396,"stopIndex":14467,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2637":{"name":"setTextDecoration","type":"propertyDef","startIndex":14469,"stopIndex":14568,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2638":{"name":"getTextDecoration","type":"propertyDef","startIndex":14570,"stopIndex":14651,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2639":{"name":"setPadding","type":"propertyDef","startIndex":14654,"stopIndex":14749,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2640":{"name":"getPadding","type":"propertyDef","startIndex":14751,"stopIndex":14812,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2641":{"name":"setAlign","type":"propertyDef","startIndex":14814,"stopIndex":14889,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2642":{"name":"getAlign","type":"propertyDef","startIndex":14891,"stopIndex":14954,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2643":{"name":"setVerticalAlign","type":"propertyDef","startIndex":14956,"stopIndex":15049,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2644":{"name":"getVerticalAlign","type":"propertyDef","startIndex":15051,"stopIndex":15130,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2645":{"name":"setDisplay","type":"propertyDef","startIndex":15132,"stopIndex":15209,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2646":{"name":"getDisplay","type":"propertyDef","startIndex":15211,"stopIndex":15278,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2647":{"name":"setFixedWidth","type":"propertyDef","startIndex":15281,"stopIndex":15437,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2648":{"name":"setFixedHeight","type":"propertyDef","startIndex":15439,"stopIndex":15533,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2649":{"name":"setMaxTextWidth","type":"propertyDef","startIndex":15535,"stopIndex":15630,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2650":{"name":"setMaxTextHeight","type":"propertyDef","startIndex":15632,"stopIndex":15716,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2651":{"name":"setMinTextWidth","type":"propertyDef","startIndex":15718,"stopIndex":15800,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2652":{"name":"setMinTextHeight","type":"propertyDef","startIndex":15802,"stopIndex":15886,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2653":{"name":"getTextNode","type":"propertyDef","startIndex":15888,"stopIndex":15956,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2654":{"name":"inputAllowed","type":"propertyDef","startIndex":15959,"stopIndex":16014,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2655":{"name":"setInputAllowed","type":"propertyDef","startIndex":16016,"stopIndex":16149,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2616},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2656":{"name":"growOrShrinkToFit","type":"propertyDef","startIndex":16169,"stopIndex":16326,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2657},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2657":{"name":"rendering","type":"categoryDef","startIndex":16153,"stopIndex":17327,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2656},{"__isSmartRef__":true,"id":2658}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2658":{"name":"fit","type":"propertyDef","startIndex":16328,"stopIndex":17325,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2657},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2659":{"name":"beLabel","type":"propertyDef","startIndex":17345,"stopIndex":17906,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2660},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2660":{"name":"text modes","type":"categoryDef","startIndex":17329,"stopIndex":18305,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2659},{"__isSmartRef__":true,"id":2661}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2661":{"name":"beInputLine","type":"propertyDef","startIndex":17908,"stopIndex":18302,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2660},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2662":{"name":"onKeyDown","type":"propertyDef","startIndex":18329,"stopIndex":20166,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2663":{"name":"keyboard events","type":"categoryDef","startIndex":18307,"stopIndex":40092,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2664},{"__isSmartRef__":true,"id":2665},{"__isSmartRef__":true,"id":2666},{"__isSmartRef__":true,"id":2667},{"__isSmartRef__":true,"id":2668},{"__isSmartRef__":true,"id":2669},{"__isSmartRef__":true,"id":2670},{"__isSmartRef__":true,"id":2671},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2674},{"__isSmartRef__":true,"id":2675},{"__isSmartRef__":true,"id":2676},{"__isSmartRef__":true,"id":2677},{"__isSmartRef__":true,"id":2678},{"__isSmartRef__":true,"id":2679},{"__isSmartRef__":true,"id":2680},{"__isSmartRef__":true,"id":2681},{"__isSmartRef__":true,"id":2682},{"__isSmartRef__":true,"id":2683},{"__isSmartRef__":true,"id":2684},{"__isSmartRef__":true,"id":2685},{"__isSmartRef__":true,"id":2686},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2688},{"__isSmartRef__":true,"id":2689},{"__isSmartRef__":true,"id":2690},{"__isSmartRef__":true,"id":2691},{"__isSmartRef__":true,"id":2692}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2664":{"name":"onKeyUp","type":"propertyDef","startIndex":20168,"stopIndex":20855,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2665":{"name":"onKeyPress","type":"propertyDef","startIndex":20857,"stopIndex":21419,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2666":{"name":"onPaste","type":"propertyDef","startIndex":21421,"stopIndex":22633,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2667":{"name":"onCut","type":"propertyDef","startIndex":22635,"stopIndex":22700,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2668":{"name":"processCommandKeys","type":"propertyDef","startIndex":22703,"stopIndex":27487,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2669":{"name":"doDoit","type":"propertyDef","startIndex":27489,"stopIndex":27541,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2670":{"name":"doPrintit","type":"propertyDef","startIndex":27543,"stopIndex":27597,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2671":{"name":"doDebugit","type":"propertyDef","startIndex":27599,"stopIndex":27761,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2672":{"name":"doSave","type":"propertyDef","startIndex":27763,"stopIndex":28225,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2673":{"name":"doListProtocol","type":"propertyDef","startIndex":28227,"stopIndex":28357,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2674":{"name":"doFind","type":"propertyDef","startIndex":28360,"stopIndex":28787,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2675":{"name":"doFindNext","type":"propertyDef","startIndex":28790,"stopIndex":29023,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2676":{"name":"doMore","type":"propertyDef","startIndex":29026,"stopIndex":29936,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2677":{"name":"doInspect","type":"propertyDef","startIndex":29938,"stopIndex":30064,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2678":{"name":"doEdit","type":"propertyDef","startIndex":30066,"stopIndex":30192,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2679":{"name":"doBrowseSenders","type":"propertyDef","startIndex":30194,"stopIndex":30308,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2680":{"name":"doBrowseClass","type":"propertyDef","startIndex":30310,"stopIndex":30421,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2681":{"name":"doBrowseImplementors","type":"propertyDef","startIndex":30423,"stopIndex":30541,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2682":{"name":"rememberSelectionForDoMore","type":"propertyDef","startIndex":30543,"stopIndex":31232,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2683":{"name":"indentSelection","type":"propertyDef","startIndex":31234,"stopIndex":31398,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2684":{"name":"outdentSelection","type":"propertyDef","startIndex":31400,"stopIndex":31766,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2685":{"name":"doExchange","type":"propertyDef","startIndex":31768,"stopIndex":33154,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2686":{"name":"addOrRemoveBrackets","type":"propertyDef","startIndex":33156,"stopIndex":34631,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2687":{"name":"addOrRemoveComment","type":"propertyDef","startIndex":34633,"stopIndex":35129,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2688":{"name":"modifySelectedLines","type":"propertyDef","startIndex":35133,"stopIndex":35637,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2689":{"name":"splitText","type":"propertyDef","startIndex":35639,"stopIndex":36405,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2690":{"name":"mergeText","type":"propertyDef","startIndex":36408,"stopIndex":36984,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2691":{"name":"doAutoIndent","type":"propertyDef","startIndex":36987,"stopIndex":39993,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2692":{"name":"doVarDeclClean","type":"propertyDef","startIndex":39995,"stopIndex":40090,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2663},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2693":{"name":"onEnterPressed","type":"propertyDef","startIndex":40123,"stopIndex":40847,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2694":{"name":"keyboard event reaction","type":"categoryDef","startIndex":40094,"stopIndex":44658,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2695},{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2697},{"__isSmartRef__":true,"id":2698},{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2700},{"__isSmartRef__":true,"id":2701},{"__isSmartRef__":true,"id":2702},{"__isSmartRef__":true,"id":2703},{"__isSmartRef__":true,"id":2704},{"__isSmartRef__":true,"id":2705},{"__isSmartRef__":true,"id":2706}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2695":{"name":"onEscPressed","type":"propertyDef","startIndex":40849,"stopIndex":40991,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2696":{"name":"onBackspacePressed","type":"propertyDef","startIndex":40994,"stopIndex":41609,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2697":{"name":"onDelPressed","type":"propertyDef","startIndex":41611,"stopIndex":41981,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2698":{"name":"onTabPressed","type":"propertyDef","startIndex":41983,"stopIndex":42185,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2699":{"name":"onHomePressed","type":"propertyDef","startIndex":42187,"stopIndex":42323,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2700":{"name":"onEndPressed","type":"propertyDef","startIndex":42325,"stopIndex":42457,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2701":{"name":"onPageUpPressed","type":"propertyDef","startIndex":42459,"stopIndex":42597,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2702":{"name":"onPageDownPressed","type":"propertyDef","startIndex":42599,"stopIndex":42737,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2703":{"name":"onLeftPressed","type":"propertyDef","startIndex":42739,"stopIndex":43621,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2704":{"name":"onRightPressed","type":"propertyDef","startIndex":43623,"stopIndex":44511,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2705":{"name":"onUpPressed","type":"propertyDef","startIndex":44513,"stopIndex":44582,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2706":{"name":"onDownPressed","type":"propertyDef","startIndex":44584,"stopIndex":44655,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2694},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2707":{"name":"shortcutHandlers","type":"propertyDef","startIndex":44682,"stopIndex":44706,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2708},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2708":{"name":"shortcut support","type":"categoryDef","startIndex":44660,"stopIndex":44709,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2707}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2709":{"name":"onMouseDown","type":"propertyDef","startIndex":44729,"stopIndex":45443,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2710},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2710":{"name":"mouse events","type":"categoryDef","startIndex":44711,"stopIndex":46589,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2711}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2711":{"name":"onMouseUp","type":"propertyDef","startIndex":45446,"stopIndex":46584,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2710},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2712":{"name":"domSelection","type":"propertyDef","startIndex":46606,"stopIndex":47228,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2713":{"name":"selection","type":"categoryDef","startIndex":46591,"stopIndex":63005,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2712},{"__isSmartRef__":true,"id":2714},{"__isSmartRef__":true,"id":2715},{"__isSmartRef__":true,"id":2716},{"__isSmartRef__":true,"id":2717},{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2719},{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2723},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2727},{"__isSmartRef__":true,"id":2728},{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2730},{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2735}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2714":{"name":"selectionString","type":"propertyDef","startIndex":47231,"stopIndex":48191,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2715":{"name":"insertAtCursor","type":"propertyDef","startIndex":48194,"stopIndex":48374,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2716":{"name":"insertElementAtCursor","type":"propertyDef","startIndex":48377,"stopIndex":50262,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2717":{"name":"insertTextChunksAtCursor","type":"propertyDef","startIndex":50264,"stopIndex":51938,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2718":{"name":"removeTextSelection","type":"propertyDef","startIndex":51941,"stopIndex":51979,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2719":{"name":"getSelectionOrLineString","type":"propertyDef","startIndex":51981,"stopIndex":52281,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2720":{"name":"selectCurrentLine","type":"propertyDef","startIndex":52283,"stopIndex":52517,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2721":{"name":"moveCursorToLineStart","type":"propertyDef","startIndex":52519,"stopIndex":52652,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2722":{"name":"moveCursorToLineEnd","type":"propertyDef","startIndex":52654,"stopIndex":52786,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2723":{"name":"moveCursorToTextStart","type":"propertyDef","startIndex":52788,"stopIndex":52925,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2724":{"name":"moveCursorToTextEnd","type":"propertyDef","startIndex":52928,"stopIndex":53064,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2725":{"name":"modifySelection","type":"propertyDef","startIndex":53067,"stopIndex":53263,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2726":{"name":"setSelectionRange","type":"propertyDef","startIndex":53266,"stopIndex":55221,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2727":{"name":"getSelectionRange","type":"propertyDef","startIndex":55224,"stopIndex":58592,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2728":{"name":"selectAll","type":"propertyDef","startIndex":58596,"stopIndex":58771,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2729":{"name":"hasNullSelection","type":"propertyDef","startIndex":58773,"stopIndex":58905,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2730":{"name":"setNullSelectionAt","type":"propertyDef","startIndex":58908,"stopIndex":58982,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2731":{"name":"getSelectionBounds","type":"propertyDef","startIndex":58984,"stopIndex":59226,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2732":{"name":"getGlobalSelectionBounds","type":"propertyDef","startIndex":59228,"stopIndex":59735,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2733":{"name":"selectWord","type":"propertyDef","startIndex":59738,"stopIndex":62280,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2734":{"name":"matchBrackets","type":"propertyDef","startIndex":62282,"stopIndex":62644,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2735":{"name":"findLine","type":"propertyDef","startIndex":62646,"stopIndex":63001,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2713},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2736":{"name":"basicGetScrollableNode","type":"propertyDef","startIndex":63022,"stopIndex":63148,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2737},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2737":{"name":"scrolling","type":"categoryDef","startIndex":63007,"stopIndex":63265,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2738}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2738":{"name":"scrollSelectionIntoView","type":"propertyDef","startIndex":63150,"stopIndex":63262,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2737},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2739":{"name":"evalSelection","type":"propertyDef","startIndex":63283,"stopIndex":63510,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2740},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2740":{"name":"evaluation","type":"categoryDef","startIndex":63267,"stopIndex":64131,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2739},{"__isSmartRef__":true,"id":2741},{"__isSmartRef__":true,"id":2742},{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2744}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2741":{"name":"evalAll","type":"propertyDef","startIndex":63512,"stopIndex":63646,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2740},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2742":{"name":"boundEval","type":"propertyDef","startIndex":63649,"stopIndex":63952,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2740},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2743":{"name":"tryBoundEval","type":"propertyDef","startIndex":63954,"stopIndex":64067,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2740},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2744":{"name":"getDoitContext","type":"propertyDef","startIndex":64070,"stopIndex":64128,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2740},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2745":{"name":"hasUnsavedChanges","type":"propertyDef","startIndex":64146,"stopIndex":64269,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2746},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2746":{"name":"testing","type":"categoryDef","startIndex":64133,"stopIndex":64357,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2747}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2747":{"name":"isFocused","type":"propertyDef","startIndex":64271,"stopIndex":64353,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2746},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2748":{"name":"searchForFind","type":"propertyDef","startIndex":64374,"stopIndex":64773,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2749},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2749":{"name":"searching","type":"categoryDef","startIndex":64359,"stopIndex":64776,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2748}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2750":{"name":"showError","type":"propertyDef","startIndex":64793,"stopIndex":65685,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2751},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2751":{"name":"debugging","type":"categoryDef","startIndex":64778,"stopIndex":66293,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2752}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2752":{"name":"textNodeString","type":"propertyDef","startIndex":65687,"stopIndex":66289,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2751},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2753":{"name":"setWhiteSpaceHandling","type":"propertyDef","startIndex":66316,"stopIndex":66440,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2754":{"name":"experimentation","type":"categoryDef","startIndex":66295,"stopIndex":70735,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2753},{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2757},{"__isSmartRef__":true,"id":2758},{"__isSmartRef__":true,"id":2759},{"__isSmartRef__":true,"id":2760},{"__isSmartRef__":true,"id":2761},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2763}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2755":{"name":"getWhiteSpaceHandling","type":"propertyDef","startIndex":66442,"stopIndex":66568,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2756":{"name":"getTextElements","type":"propertyDef","startIndex":66570,"stopIndex":68266,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2757":{"name":"getTextElementAndLocalIndexForGlobalIndex","type":"propertyDef","startIndex":68269,"stopIndex":69126,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2758":{"name":"setRichText","type":"propertyDef","startIndex":69128,"stopIndex":69237,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2759":{"name":"getRichText","type":"propertyDef","startIndex":69239,"stopIndex":69404,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2760":{"name":"getRichTextFromTo","type":"propertyDef","startIndex":69406,"stopIndex":69640,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2761":{"name":"getTextStyle","type":"propertyDef","startIndex":69643,"stopIndex":69914,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2762":{"name":"getRange","type":"propertyDef","startIndex":69916,"stopIndex":70307,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2763":{"name":"getSelectionBounds","type":"propertyDef","startIndex":70309,"stopIndex":70731,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2754},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2764":{"name":"emphasize","type":"propertyDef","startIndex":70752,"stopIndex":70980,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2765":{"name":"rich text","type":"categoryDef","startIndex":70737,"stopIndex":77289,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2764},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2767},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2769},{"__isSmartRef__":true,"id":2770},{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2772},{"__isSmartRef__":true,"id":2773},{"__isSmartRef__":true,"id":2774},{"__isSmartRef__":true,"id":2775},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2777},{"__isSmartRef__":true,"id":2778},{"__isSmartRef__":true,"id":2779},{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2782},{"__isSmartRef__":true,"id":2783},{"__isSmartRef__":true,"id":2784},{"__isSmartRef__":true,"id":2785}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2766":{"name":"unEmphasize","type":"propertyDef","startIndex":70982,"stopIndex":71287,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2767":{"name":"unEmphasizeSelection","type":"propertyDef","startIndex":71289,"stopIndex":71477,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2768":{"name":"unEmphasizeAll","type":"propertyDef","startIndex":71479,"stopIndex":71569,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2769":{"name":"emphasizeAll","type":"propertyDef","startIndex":71572,"stopIndex":71671,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2770":{"name":"emphasizeRegex","type":"propertyDef","startIndex":71673,"stopIndex":72206,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2771":{"name":"changeEmphasis","type":"propertyDef","startIndex":72209,"stopIndex":72641,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2772":{"name":"toggleItalics","type":"propertyDef","startIndex":72644,"stopIndex":72847,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2773":{"name":"toggleBoldness","type":"propertyDef","startIndex":72850,"stopIndex":73056,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2774":{"name":"toggleUnderline","type":"propertyDef","startIndex":73058,"stopIndex":73283,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2775":{"name":"toggleLink","type":"propertyDef","startIndex":73286,"stopIndex":73741,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2776":{"name":"toggleDoit","type":"propertyDef","startIndex":73743,"stopIndex":74274,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2777":{"name":"toggleFont","type":"propertyDef","startIndex":74276,"stopIndex":74936,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2778":{"name":"toggleEmphasisForSelection","type":"propertyDef","startIndex":74939,"stopIndex":75472,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2779":{"name":"emphasizeSelection","type":"propertyDef","startIndex":75475,"stopIndex":75990,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2780":{"name":"convertSelectionRangeForEmphasis","type":"propertyDef","startIndex":75993,"stopIndex":76159,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2781":{"name":"increaseFontSizeOfSelection","type":"propertyDef","startIndex":76161,"stopIndex":76292,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2782":{"name":"decreaseFontSizeOfSelection","type":"propertyDef","startIndex":76294,"stopIndex":76425,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2783":{"name":"setFontSizeOfSelectionDo","type":"propertyDef","startIndex":76428,"stopIndex":76766,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2784":{"name":"getEmphasisAt","type":"propertyDef","startIndex":76769,"stopIndex":76926,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2785":{"name":"insertRichTextAt","type":"propertyDef","startIndex":76930,"stopIndex":77285,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2765},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2786":{"name":"setStatusMessage","type":"propertyDef","startIndex":77312,"stopIndex":78642,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2787},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2787":{"name":"status messages","type":"categoryDef","startIndex":77291,"stopIndex":78645,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2786}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2788":{"name":"tab","type":"propertyDef","startIndex":78665,"stopIndex":78708,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2789":{"name":"tab handling","type":"categoryDef","startIndex":78647,"stopIndex":80335,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2788},{"__isSmartRef__":true,"id":2790},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2792},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2794}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2790":{"name":"isTabBeforeCursor","type":"propertyDef","startIndex":78710,"stopIndex":78809,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2791":{"name":"isTabAfterCursor","type":"propertyDef","startIndex":78811,"stopIndex":78908,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2792":{"name":"isTabBeforeOrAfterCursor","type":"propertyDef","startIndex":78910,"stopIndex":79583,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2793":{"name":"convertTabsToSpaces","type":"propertyDef","startIndex":79586,"stopIndex":79885,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2794":{"name":"tabspacesForCursorPos","type":"propertyDef","startIndex":79888,"stopIndex":80332,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2789},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2795":{"name":"highlightJavaScriptSyntax","type":"propertyDef","startIndex":80362,"stopIndex":80441,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2796":{"name":"syntax highlighting","type":"categoryDef","startIndex":80337,"stopIndex":81512,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2795},{"__isSmartRef__":true,"id":2797},{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2799},{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2801}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2797":{"name":"enableSyntaxHighlighting","type":"propertyDef","startIndex":80443,"stopIndex":80771,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2798":{"name":"disableSyntaxHighlighting","type":"propertyDef","startIndex":80773,"stopIndex":80949,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2799":{"name":"enableSyntaxHighlightingOnSave","type":"propertyDef","startIndex":80952,"stopIndex":81242,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2800":{"name":"disableSyntaxHighlightingOnSave","type":"propertyDef","startIndex":81244,"stopIndex":81426,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2801":{"name":"hasSelection","type":"propertyDef","startIndex":81428,"stopIndex":81509,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2796},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2802":{"name":"varDeclCleaner","type":"propertyDef","startIndex":81538,"stopIndex":82338,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2803},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2803":{"name":"JavaScript support","type":"categoryDef","startIndex":81514,"stopIndex":82339,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2802}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2804":{"name":null,"type":"comment","startIndex":82343,"stopIndex":82344,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2805":{"name":"lively.morphic.Text","type":"klassExtensionDef","startIndex":82345,"stopIndex":82563,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2806}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":2807}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2806":{"name":"activeInstance","type":"propertyDef","startIndex":82382,"stopIndex":82558,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2807},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2805},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2807":{"name":"default category","type":"categoryDef","startIndex":82380,"stopIndex":82560,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2806}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2808":{"name":"lively.morphic.Text.ProtocolLister","type":"klassDef","startIndex":82564,"stopIndex":85917,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2809},{"__isSmartRef__":true,"id":2811},{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2818},{"__isSmartRef__":true,"id":2819}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2810},{"__isSmartRef__":true,"id":2812},{"__isSmartRef__":true,"id":2814}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2809":{"name":"initialize","type":"propertyDef","startIndex":82636,"stopIndex":82715,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2810},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2810":{"name":"initializing","type":"categoryDef","startIndex":82618,"stopIndex":82718,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2809}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2811":{"name":"evalSelectionAndOpenListForProtocol","type":"propertyDef","startIndex":82735,"stopIndex":82994,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2812},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2812":{"name":"interface","type":"categoryDef","startIndex":82720,"stopIndex":82998,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2811}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2813":{"name":"getPrototypeChainOf","type":"propertyDef","startIndex":83016,"stopIndex":83230,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2814":{"name":"accessing","type":"categoryDef","startIndex":83000,"stopIndex":85914,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2818},{"__isSmartRef__":true,"id":2819}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2815":{"name":"funcSignaturesOf","type":"propertyDef","startIndex":83233,"stopIndex":83732,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2816":{"name":"getListForProtocolOf","type":"propertyDef","startIndex":83735,"stopIndex":84060,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2817":{"name":"menuItemForProto","type":"propertyDef","startIndex":84063,"stopIndex":84629,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2818":{"name":"createSubMenuItemFromSignature","type":"propertyDef","startIndex":84631,"stopIndex":85413,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2819":{"name":"evalCurrentSelection","type":"propertyDef","startIndex":85417,"stopIndex":85911,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2814},"className":"lively.morphic.Text.ProtocolLister","_owner":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2820":{"name":null,"type":"comment","startIndex":85918,"stopIndex":85918,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2821":{"name":"lively.morphic.TextChunk","type":"klassDef","startIndex":85919,"stopIndex":94141,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2822},{"__isSmartRef__":true,"id":2824},{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2830},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2832},{"__isSmartRef__":true,"id":2833},{"__isSmartRef__":true,"id":2835},{"__isSmartRef__":true,"id":2837},{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2843},{"__isSmartRef__":true,"id":2844},{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2847},{"__isSmartRef__":true,"id":2849},{"__isSmartRef__":true,"id":2851},{"__isSmartRef__":true,"id":2852},{"__isSmartRef__":true,"id":2853},{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2856},{"__isSmartRef__":true,"id":2857},{"__isSmartRef__":true,"id":2859},{"__isSmartRef__":true,"id":2861}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2823},{"__isSmartRef__":true,"id":2826},{"__isSmartRef__":true,"id":2828},{"__isSmartRef__":true,"id":2834},{"__isSmartRef__":true,"id":2836},{"__isSmartRef__":true,"id":2838},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2845},{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2850},{"__isSmartRef__":true,"id":2858},{"__isSmartRef__":true,"id":2860}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2822":{"name":"debugMode","type":"propertyDef","startIndex":85977,"stopIndex":85997,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2823},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2823":{"name":"settings","type":"categoryDef","startIndex":85963,"stopIndex":86035,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2822},{"__isSmartRef__":true,"id":2824}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2824":{"name":"doNotSerialize","type":"propertyDef","startIndex":85999,"stopIndex":86032,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2823},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2825":{"name":"initialize","type":"propertyDef","startIndex":86055,"stopIndex":86204,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2826},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2826":{"name":"initializing","type":"categoryDef","startIndex":86037,"stopIndex":86207,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2825}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2827":{"name":"textString","type":"propertyDef","startIndex":86224,"stopIndex":86300,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2828},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2828":{"name":"accessing","type":"categoryDef","startIndex":86209,"stopIndex":86851,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2830},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2832}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2829":{"name":"textString","type":"propertyDef","startIndex":86302,"stopIndex":86393,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2828},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2830":{"name":"getChunkNode","type":"propertyDef","startIndex":86395,"stopIndex":86544,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2828},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2831":{"name":"next","type":"propertyDef","startIndex":86546,"stopIndex":86696,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2828},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2832":{"name":"prev","type":"propertyDef","startIndex":86698,"stopIndex":86848,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2828},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2833":{"name":"isRendered","type":"propertyDef","startIndex":86866,"stopIndex":86960,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2834},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2834":{"name":"testing","type":"categoryDef","startIndex":86853,"stopIndex":86963,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2833}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2835":{"name":"addTo","type":"propertyDef","startIndex":86977,"stopIndex":87778,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2836},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2836":{"name":"adding","type":"categoryDef","startIndex":86965,"stopIndex":87782,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2835}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2837":{"name":"remove","type":"propertyDef","startIndex":87798,"stopIndex":87918,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2838},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2838":{"name":"removing","type":"categoryDef","startIndex":87784,"stopIndex":87921,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2837}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2839":{"name":"splitAfter","type":"propertyDef","startIndex":87938,"stopIndex":88010,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2840},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2840":{"name":"splitting","type":"categoryDef","startIndex":87923,"stopIndex":89777,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2843}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2841":{"name":"splitBefore","type":"propertyDef","startIndex":88012,"stopIndex":88086,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2840},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2842":{"name":"split","type":"propertyDef","startIndex":88088,"stopIndex":89681,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2840},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2843":{"name":"createForSplit","type":"propertyDef","startIndex":89683,"stopIndex":89773,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2840},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2844":{"name":"joinWithNext","type":"propertyDef","startIndex":89792,"stopIndex":90124,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2845},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2845":{"name":"joining","type":"categoryDef","startIndex":89779,"stopIndex":90301,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2844},{"__isSmartRef__":true,"id":2846}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2846":{"name":"joinWithNextIfEqualStyle","type":"propertyDef","startIndex":90126,"stopIndex":90297,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2845},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2847":{"name":"styleText","type":"propertyDef","startIndex":90316,"stopIndex":90503,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2848},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2848":{"name":"styling","type":"categoryDef","startIndex":90303,"stopIndex":90506,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2847}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2849":{"name":"normalize","type":"propertyDef","startIndex":90522,"stopIndex":90596,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2850":{"name":"subnodes","type":"categoryDef","startIndex":90508,"stopIndex":93549,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2849},{"__isSmartRef__":true,"id":2851},{"__isSmartRef__":true,"id":2852},{"__isSmartRef__":true,"id":2853},{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2856}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2851":{"name":"claim","type":"propertyDef","startIndex":90598,"stopIndex":90946,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2852":{"name":"ingestAllFollowingElements","type":"propertyDef","startIndex":90949,"stopIndex":91473,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2853":{"name":"ingestAllPrecedingElements","type":"propertyDef","startIndex":91475,"stopIndex":92029,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2854":{"name":"nodesBetweenMeAndOther","type":"propertyDef","startIndex":92031,"stopIndex":92457,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2855":{"name":"ensureEndsWithBr","type":"propertyDef","startIndex":92460,"stopIndex":92925,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2856":{"name":"removeNonChunkNodes","type":"propertyDef","startIndex":92927,"stopIndex":93545,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2850},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2857":{"name":"toString","type":"propertyDef","startIndex":93566,"stopIndex":93670,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2858},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2858":{"name":"debugging","type":"categoryDef","startIndex":93551,"stopIndex":93673,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2857}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2859":{"name":"cacheContent","type":"propertyDef","startIndex":93694,"stopIndex":93775,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2860},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2860":{"name":"serialization","type":"categoryDef","startIndex":93675,"stopIndex":94138,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2859},{"__isSmartRef__":true,"id":2861}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2861":{"name":"restoreFromCacheContent","type":"propertyDef","startIndex":93777,"stopIndex":94136,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2860},"className":"lively.morphic.TextChunk","_owner":{"__isSmartRef__":true,"id":2821},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2862":{"name":null,"type":"comment","startIndex":94142,"stopIndex":94142,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2863":{"name":"lively.morphic.TextEmphasis","type":"klassDef","startIndex":94143,"stopIndex":101134,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2864},{"__isSmartRef__":true,"id":2866},{"__isSmartRef__":true,"id":2868},{"__isSmartRef__":true,"id":2869},{"__isSmartRef__":true,"id":2870},{"__isSmartRef__":true,"id":2871},{"__isSmartRef__":true,"id":2872},{"__isSmartRef__":true,"id":2873},{"__isSmartRef__":true,"id":2874},{"__isSmartRef__":true,"id":2875},{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2877},{"__isSmartRef__":true,"id":2878},{"__isSmartRef__":true,"id":2879},{"__isSmartRef__":true,"id":2880},{"__isSmartRef__":true,"id":2881},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2883},{"__isSmartRef__":true,"id":2884},{"__isSmartRef__":true,"id":2885},{"__isSmartRef__":true,"id":2886},{"__isSmartRef__":true,"id":2887},{"__isSmartRef__":true,"id":2888},{"__isSmartRef__":true,"id":2889},{"__isSmartRef__":true,"id":2891},{"__isSmartRef__":true,"id":2893},{"__isSmartRef__":true,"id":2895},{"__isSmartRef__":true,"id":2897}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2865},{"__isSmartRef__":true,"id":2867},{"__isSmartRef__":true,"id":2890},{"__isSmartRef__":true,"id":2892},{"__isSmartRef__":true,"id":2894},{"__isSmartRef__":true,"id":2896},{"__isSmartRef__":true,"id":2898}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2864":{"name":"initialize","type":"propertyDef","startIndex":94208,"stopIndex":94278,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2865},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2865":{"name":"initializing","type":"categoryDef","startIndex":94190,"stopIndex":94281,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2864}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2866":{"name":"getFontWeight","type":"propertyDef","startIndex":94298,"stopIndex":94424,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2867":{"name":"accessing","type":"categoryDef","startIndex":94283,"stopIndex":96318,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2866},{"__isSmartRef__":true,"id":2868},{"__isSmartRef__":true,"id":2869},{"__isSmartRef__":true,"id":2870},{"__isSmartRef__":true,"id":2871},{"__isSmartRef__":true,"id":2872},{"__isSmartRef__":true,"id":2873},{"__isSmartRef__":true,"id":2874},{"__isSmartRef__":true,"id":2875},{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2877},{"__isSmartRef__":true,"id":2878},{"__isSmartRef__":true,"id":2879},{"__isSmartRef__":true,"id":2880},{"__isSmartRef__":true,"id":2881},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2883},{"__isSmartRef__":true,"id":2884},{"__isSmartRef__":true,"id":2885},{"__isSmartRef__":true,"id":2886},{"__isSmartRef__":true,"id":2887},{"__isSmartRef__":true,"id":2888}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2868":{"name":"setFontWeight","type":"propertyDef","startIndex":94426,"stopIndex":94498,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2869":{"name":"getItalics","type":"propertyDef","startIndex":94500,"stopIndex":94601,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2870":{"name":"setItalics","type":"propertyDef","startIndex":94603,"stopIndex":94663,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2871":{"name":"getURI","type":"propertyDef","startIndex":94665,"stopIndex":94707,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2872":{"name":"setURI","type":"propertyDef","startIndex":94709,"stopIndex":94762,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2873":{"name":"getDoit","type":"propertyDef","startIndex":94764,"stopIndex":94808,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2874":{"name":"setDoit","type":"propertyDef","startIndex":94810,"stopIndex":94865,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2875":{"name":"getFontFamily","type":"propertyDef","startIndex":94867,"stopIndex":94923,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2876":{"name":"setFontFamily","type":"propertyDef","startIndex":94925,"stopIndex":95004,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2877":{"name":"getColor","type":"propertyDef","startIndex":95006,"stopIndex":95052,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2878":{"name":"setColor","type":"propertyDef","startIndex":95054,"stopIndex":95113,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2879":{"name":"getTextDecoration","type":"propertyDef","startIndex":95115,"stopIndex":95179,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2880":{"name":"setTextDecoration","type":"propertyDef","startIndex":95181,"stopIndex":95276,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2881":{"name":"getTextAlignment","type":"propertyDef","startIndex":95278,"stopIndex":95336,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2882":{"name":"setTextAlignment","type":"propertyDef","startIndex":95338,"stopIndex":95417,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2883":{"name":"getFontSize","type":"propertyDef","startIndex":95419,"stopIndex":95471,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2884":{"name":"setFontSize","type":"propertyDef","startIndex":95473,"stopIndex":95544,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2885":{"name":"getTextShadow","type":"propertyDef","startIndex":95546,"stopIndex":95602,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2886":{"name":"setTextShadow","type":"propertyDef","startIndex":95604,"stopIndex":96167,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2887":{"name":"getBackgroundColor","type":"propertyDef","startIndex":96169,"stopIndex":96235,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2888":{"name":"setBackgroundColor","type":"propertyDef","startIndex":96237,"stopIndex":96316,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2867},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2889":{"name":"clone","type":"propertyDef","startIndex":96333,"stopIndex":96392,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2890},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2890":{"name":"cloning","type":"categoryDef","startIndex":96320,"stopIndex":96395,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2889}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2891":{"name":"add","type":"propertyDef","startIndex":96411,"stopIndex":96711,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2892},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2892":{"name":"changing","type":"categoryDef","startIndex":96397,"stopIndex":96714,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2891}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2893":{"name":"equals","type":"propertyDef","startIndex":96729,"stopIndex":97615,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2894},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2894":{"name":"testing","type":"categoryDef","startIndex":96716,"stopIndex":97618,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2893}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2895":{"name":"applyToHTML","type":"propertyDef","startIndex":97635,"stopIndex":100832,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2896},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2896":{"name":"rendering","type":"categoryDef","startIndex":97620,"stopIndex":100835,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2895}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2897":{"name":"toString","type":"propertyDef","startIndex":100852,"stopIndex":101129,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2898},"className":"lively.morphic.TextEmphasis","_owner":{"__isSmartRef__":true,"id":2863},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2898":{"name":"debugging","type":"categoryDef","startIndex":100837,"stopIndex":101131,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2897}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2899":{"name":null,"type":"comment","startIndex":101135,"stopIndex":101135,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2900":{"name":"lively.morphic.RichText","type":"klassDef","startIndex":101136,"stopIndex":103371,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2901},{"__isSmartRef__":true,"id":2903},{"__isSmartRef__":true,"id":2905},{"__isSmartRef__":true,"id":2907},{"__isSmartRef__":true,"id":2908},{"__isSmartRef__":true,"id":2910},{"__isSmartRef__":true,"id":2911},{"__isSmartRef__":true,"id":2912},{"__isSmartRef__":true,"id":2914},{"__isSmartRef__":true,"id":2915}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["TextChunkOwner"],"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2904},{"__isSmartRef__":true,"id":2906},{"__isSmartRef__":true,"id":2909},{"__isSmartRef__":true,"id":2913}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2901":{"name":"isRichText","type":"propertyDef","startIndex":101218,"stopIndex":101238,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2902},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2902":{"name":"settings","type":"categoryDef","startIndex":101204,"stopIndex":101241,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2901}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2903":{"name":"initialize","type":"propertyDef","startIndex":101261,"stopIndex":101413,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2904},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2904":{"name":"initializing","type":"categoryDef","startIndex":101243,"stopIndex":101416,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2903}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2905":{"name":"emphasize","type":"propertyDef","startIndex":101443,"stopIndex":101715,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2906},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2906":{"name":"rich text interface","type":"categoryDef","startIndex":101418,"stopIndex":102280,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2905},{"__isSmartRef__":true,"id":2907}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2907":{"name":"emphasizeRegex","type":"propertyDef","startIndex":101717,"stopIndex":102277,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2906},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2908":{"name":"textString","type":"propertyDef","startIndex":102297,"stopIndex":102469,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2909},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2909":{"name":"accessing","type":"categoryDef","startIndex":102282,"stopIndex":102732,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2908},{"__isSmartRef__":true,"id":2910},{"__isSmartRef__":true,"id":2911}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2910":{"name":"textString","type":"propertyDef","startIndex":102471,"stopIndex":102628,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2909},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2911":{"name":"getTextNode","type":"propertyDef","startIndex":102630,"stopIndex":102728,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2909},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2912":{"name":"applyToTextMorph","type":"propertyDef","startIndex":102762,"stopIndex":102858,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2913},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2913":{"name":"text morph application","type":"categoryDef","startIndex":102734,"stopIndex":103368,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2912},{"__isSmartRef__":true,"id":2914},{"__isSmartRef__":true,"id":2915}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2914":{"name":"replaceSelectionInMorph","type":"propertyDef","startIndex":102860,"stopIndex":103253,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2913},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2915":{"name":"hasSelection","type":"propertyDef","startIndex":103255,"stopIndex":103365,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2913},"className":"lively.morphic.RichText","_owner":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2916":{"name":null,"type":"comment","startIndex":103372,"stopIndex":103372,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2917":{"name":"lively.morphic.RichText2","type":"klassDef","startIndex":103373,"stopIndex":104177,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2918},{"__isSmartRef__":true,"id":2920},{"__isSmartRef__":true,"id":2921},{"__isSmartRef__":true,"id":2922},{"__isSmartRef__":true,"id":2924}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2919},{"__isSmartRef__":true,"id":2923}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2918":{"name":"initialize","type":"propertyDef","startIndex":103447,"stopIndex":103569,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2919},"className":"lively.morphic.RichText2","_owner":{"__isSmartRef__":true,"id":2917},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2919":{"name":"intialization / creation","type":"categoryDef","startIndex":103417,"stopIndex":104036,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2918},{"__isSmartRef__":true,"id":2920},{"__isSmartRef__":true,"id":2921}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2920":{"name":"getStateFromTextMorph","type":"propertyDef","startIndex":103572,"stopIndex":103843,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2919},"className":"lively.morphic.RichText2","_owner":{"__isSmartRef__":true,"id":2917},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2921":{"name":"applyToTextMorph","type":"propertyDef","startIndex":103846,"stopIndex":104034,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2919},"className":"lively.morphic.RichText2","_owner":{"__isSmartRef__":true,"id":2917},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2922":{"name":"getTextEmphasis","type":"propertyDef","startIndex":104053,"stopIndex":104114,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2923},"className":"lively.morphic.RichText2","_owner":{"__isSmartRef__":true,"id":2917},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2923":{"name":"accessing","type":"categoryDef","startIndex":104038,"stopIndex":104174,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2922},{"__isSmartRef__":true,"id":2924}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2924":{"name":"getTextString","type":"propertyDef","startIndex":104116,"stopIndex":104173,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2923},"className":"lively.morphic.RichText2","_owner":{"__isSmartRef__":true,"id":2917},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2925":{"name":null,"type":"comment","startIndex":104178,"stopIndex":104178,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2926":{"name":"lively.morphic.Text","type":"klassExtensionDef","startIndex":104179,"stopIndex":104407,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2927},{"__isSmartRef__":true,"id":2929}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":2928}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2927":{"name":"getRichText2","type":"propertyDef","startIndex":104228,"stopIndex":104339,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2928},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2926},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2928":{"name":"rich text 2","type":"categoryDef","startIndex":104211,"stopIndex":104404,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2927},{"__isSmartRef__":true,"id":2929}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2929":{"name":"setRichText2","type":"propertyDef","startIndex":104342,"stopIndex":104403,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2928},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":2926},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2930":{"name":"TextDevLayer","type":"copDef","startIndex":104408,"stopIndex":104518,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2931},{"__isSmartRef__":true,"id":2932}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2931":{"name":"lively.morphic.Text","type":"copSubElement","startIndex":104435,"stopIndex":104472,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"refineSelector":"refineClass","_owner":{"__isSmartRef__":true,"id":2930},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2932":{"name":"lively.morphic.TextChunk","type":"copSubElement","startIndex":104473,"stopIndex":104516,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"refineSelector":"refineClass","_owner":{"__isSmartRef__":true,"id":2930},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2933":{"name":null,"type":"comment","startIndex":104519,"stopIndex":104519,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2934":{"name":"lively.morphic.HTMLParser","type":"klassDef","startIndex":104520,"stopIndex":104565,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2935":{"name":null,"type":"comment","startIndex":104566,"stopIndex":104566,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2936":{"name":"lively.morphic.HTMLParser","type":"klassExtensionDef","startIndex":104567,"stopIndex":110265,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2939},{"__isSmartRef__":true,"id":2940},{"__isSmartRef__":true,"id":2941},{"__isSmartRef__":true,"id":2942},{"__isSmartRef__":true,"id":2943},{"__isSmartRef__":true,"id":2944},{"__isSmartRef__":true,"id":2945}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":2938}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2937":{"name":"parseInIFrame","type":"propertyDef","startIndex":104611,"stopIndex":105628,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2938":{"name":"default category","type":"categoryDef","startIndex":104608,"stopIndex":110262,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2937},{"__isSmartRef__":true,"id":2939},{"__isSmartRef__":true,"id":2940},{"__isSmartRef__":true,"id":2941},{"__isSmartRef__":true,"id":2942},{"__isSmartRef__":true,"id":2943},{"__isSmartRef__":true,"id":2944},{"__isSmartRef__":true,"id":2945}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2939":{"name":"sourceToNode","type":"propertyDef","startIndex":105631,"stopIndex":107157,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2940":{"name":"sanitizeHtml","type":"propertyDef","startIndex":107159,"stopIndex":107640,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2941":{"name":"sanitizeNode","type":"propertyDef","startIndex":107642,"stopIndex":107934,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2942":{"name":"pastedHTMLToRichText","type":"propertyDef","startIndex":107939,"stopIndex":108305,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2943":{"name":"extractStylesAndApplyToRichText","type":"propertyDef","startIndex":108307,"stopIndex":109978,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2944":{"name":"convertStyleName","type":"propertyDef","startIndex":109980,"stopIndex":110145,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2945":{"name":"stringToHTML","type":"propertyDef","startIndex":110147,"stopIndex":110260,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":2938},"className":"lively.morphic.HTMLParser","_owner":{"__isSmartRef__":true,"id":2936},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2946":{"name":null,"type":"comment","startIndex":110266,"stopIndex":110266,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2947":{"name":"lively.morphic.Text.ShortcutHandler","type":"klassDef","startIndex":110267,"stopIndex":112340,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2948},{"__isSmartRef__":true,"id":2950},{"__isSmartRef__":true,"id":2951},{"__isSmartRef__":true,"id":2952},{"__isSmartRef__":true,"id":2953}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":2949},{"__isSmartRef__":true,"id":2954}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2948":{"name":"addBinding","type":"propertyDef","startIndex":110336,"stopIndex":110566,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2949},"className":"lively.morphic.Text.ShortcutHandler","_owner":{"__isSmartRef__":true,"id":2947},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2949":{"name":"bindings","type":"categoryDef","startIndex":110322,"stopIndex":111610,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2948},{"__isSmartRef__":true,"id":2950},{"__isSmartRef__":true,"id":2951},{"__isSmartRef__":true,"id":2952}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2950":{"name":"addBindings","type":"propertyDef","startIndex":110568,"stopIndex":110734,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2949},"className":"lively.morphic.Text.ShortcutHandler","_owner":{"__isSmartRef__":true,"id":2947},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2951":{"name":"bindings","type":"propertyDef","startIndex":110737,"stopIndex":110850,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2949},"className":"lively.morphic.Text.ShortcutHandler","_owner":{"__isSmartRef__":true,"id":2947},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2952":{"name":"parseShortcut","type":"propertyDef","startIndex":110852,"stopIndex":111606,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2949},"className":"lively.morphic.Text.ShortcutHandler","_owner":{"__isSmartRef__":true,"id":2947},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2953":{"name":"invoke","type":"propertyDef","startIndex":111634,"stopIndex":112335,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2954},"className":"lively.morphic.Text.ShortcutHandler","_owner":{"__isSmartRef__":true,"id":2947},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2954":{"name":"event processing","type":"categoryDef","startIndex":111612,"stopIndex":112337,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2953}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2955":{"name":null,"type":"comment","startIndex":112341,"stopIndex":112341,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2956":{"name":"lively.morphic.TextDiffTrait","type":"traitDef","startIndex":112342,"stopIndex":113117,"fileName":"lively/morphic/TextCore.js","_subElements":[{"__isSmartRef__":true,"id":2957},{"__isSmartRef__":true,"id":2959}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2957":{"name":"diff","type":"propertyDef","startIndex":112382,"stopIndex":113083,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2958},"_owner":{"__isSmartRef__":true,"id":2956},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2958":{"name":"default category","type":"categoryDef","startIndex":38,"stopIndex":743,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":2957}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2959":{"name":" -> lively.morphic.Text","type":"traitSubElement","startIndex":113087,"stopIndex":113115,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_owner":{"__isSmartRef__":true,"id":2956},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2960":{"name":null,"type":"comment","startIndex":113118,"stopIndex":113118,"fileName":"lively/morphic/TextCore.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2961":{"target":{"__isSmartRef__":true,"id":2962},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/Widgets.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2962":{"name":"lively.morphic.Widgets","type":"moduleDef","startIndex":0,"stopIndex":120201,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2963},{"__isSmartRef__":true,"id":2964},{"__isSmartRef__":true,"id":2986},{"__isSmartRef__":true,"id":2987},{"__isSmartRef__":true,"id":3006},{"__isSmartRef__":true,"id":3009},{"__isSmartRef__":true,"id":3023},{"__isSmartRef__":true,"id":3030},{"__isSmartRef__":true,"id":3031},{"__isSmartRef__":true,"id":3046},{"__isSmartRef__":true,"id":3047},{"__isSmartRef__":true,"id":3053},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3082},{"__isSmartRef__":true,"id":3083},{"__isSmartRef__":true,"id":3087},{"__isSmartRef__":true,"id":3088},{"__isSmartRef__":true,"id":3096},{"__isSmartRef__":true,"id":3099},{"__isSmartRef__":true,"id":3100},{"__isSmartRef__":true,"id":3157},{"__isSmartRef__":true,"id":3158},{"__isSmartRef__":true,"id":3207},{"__isSmartRef__":true,"id":3210},{"__isSmartRef__":true,"id":3211},{"__isSmartRef__":true,"id":3219},{"__isSmartRef__":true,"id":3220},{"__isSmartRef__":true,"id":3240},{"__isSmartRef__":true,"id":3241},{"__isSmartRef__":true,"id":3279},{"__isSmartRef__":true,"id":3280},{"__isSmartRef__":true,"id":3292},{"__isSmartRef__":true,"id":3293},{"__isSmartRef__":true,"id":3309},{"__isSmartRef__":true,"id":3310},{"__isSmartRef__":true,"id":3315},{"__isSmartRef__":true,"id":3316},{"__isSmartRef__":true,"id":3323},{"__isSmartRef__":true,"id":3330},{"__isSmartRef__":true,"id":3331},{"__isSmartRef__":true,"id":3334},{"__isSmartRef__":true,"id":3335},{"__isSmartRef__":true,"id":3389},{"__isSmartRef__":true,"id":3396},{"__isSmartRef__":true,"id":3397},{"__isSmartRef__":true,"id":3398},{"__isSmartRef__":true,"id":3419},{"__isSmartRef__":true,"id":3420},{"__isSmartRef__":true,"id":3421},{"__isSmartRef__":true,"id":3424},{"__isSmartRef__":true,"id":3425},{"__isSmartRef__":true,"id":3433},{"__isSmartRef__":true,"id":3434},{"__isSmartRef__":true,"id":3448},{"__isSmartRef__":true,"id":3459}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2963":{"name":null,"type":"comment","startIndex":158,"stopIndex":158,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2964":{"name":"lively.morphic.Button","type":"klassDef","startIndex":159,"stopIndex":4376,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2965},{"__isSmartRef__":true,"id":2967},{"__isSmartRef__":true,"id":2969},{"__isSmartRef__":true,"id":2971},{"__isSmartRef__":true,"id":2973},{"__isSmartRef__":true,"id":2974},{"__isSmartRef__":true,"id":2975},{"__isSmartRef__":true,"id":2976},{"__isSmartRef__":true,"id":2977},{"__isSmartRef__":true,"id":2979},{"__isSmartRef__":true,"id":2980},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2983},{"__isSmartRef__":true,"id":2984}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":2966},{"__isSmartRef__":true,"id":2970},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":2978},{"__isSmartRef__":true,"id":2981},{"__isSmartRef__":true,"id":2985}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2965":{"name":"isButton","type":"propertyDef","startIndex":228,"stopIndex":246,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2966},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2966":{"name":"settings","type":"categoryDef","startIndex":214,"stopIndex":1215,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2965},{"__isSmartRef__":true,"id":2967}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2967":{"name":"style","type":"propertyDef","startIndex":248,"stopIndex":1213,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2966},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2968":{"name":"lively.morphic.Button","type":"klassDef","startIndex":159,"stopIndex":4376,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2965},{"__isSmartRef__":true,"id":2967},{"__isSmartRef__":true,"id":2969},{"__isSmartRef__":true,"id":2971},{"__isSmartRef__":true,"id":2973},{"__isSmartRef__":true,"id":2974},{"__isSmartRef__":true,"id":2975},{"__isSmartRef__":true,"id":2976},{"__isSmartRef__":true,"id":2977},{"__isSmartRef__":true,"id":2979},{"__isSmartRef__":true,"id":2980},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2983},{"__isSmartRef__":true,"id":2984}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":2966},{"__isSmartRef__":true,"id":2970},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":2978},{"__isSmartRef__":true,"id":2981},{"__isSmartRef__":true,"id":2985}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2969":{"name":"initialize","type":"propertyDef","startIndex":1235,"stopIndex":1779,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2970},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2970":{"name":"initializing","type":"categoryDef","startIndex":1217,"stopIndex":1782,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2969}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2971":{"name":"setLabel","type":"propertyDef","startIndex":1799,"stopIndex":1995,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2972},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2972":{"name":"accessing","type":"categoryDef","startIndex":1784,"stopIndex":2537,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2971},{"__isSmartRef__":true,"id":2973},{"__isSmartRef__":true,"id":2974},{"__isSmartRef__":true,"id":2975},{"__isSmartRef__":true,"id":2976}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2973":{"name":"getLabel","type":"propertyDef","startIndex":1997,"stopIndex":2059,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2972},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2974":{"name":"setValue","type":"propertyDef","startIndex":2062,"stopIndex":2286,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2972},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2975":{"name":"setExtent","type":"propertyDef","startIndex":2288,"stopIndex":2450,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2972},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2976":{"name":"setPadding","type":"propertyDef","startIndex":2452,"stopIndex":2534,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2972},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2977":{"name":"changeAppearanceFor","type":"propertyDef","startIndex":2552,"stopIndex":2666,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2978},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2978":{"name":"styling","type":"categoryDef","startIndex":2539,"stopIndex":2835,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2977},{"__isSmartRef__":true,"id":2979}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2979":{"name":"applyStyle","type":"propertyDef","startIndex":2668,"stopIndex":2833,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2978},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2980":{"name":"onMouseDown","type":"propertyDef","startIndex":2850,"stopIndex":3065,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2981},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2981":{"name":"events","type":"categoryDef","startIndex":2837,"stopIndex":4002,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2980},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2983}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2982":{"name":"onMouseUp","type":"propertyDef","startIndex":3067,"stopIndex":3359,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2981},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2983":{"name":"simulateButtonClick","type":"propertyDef","startIndex":3361,"stopIndex":3999,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2981},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2984":{"name":"morphMenuItems","type":"propertyDef","startIndex":4014,"stopIndex":4371,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2985},"className":"lively.morphic.Button","_owner":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2985":{"name":"menu","type":"categoryDef","startIndex":4004,"stopIndex":4373,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2984}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2986":{"name":null,"type":"comment","startIndex":8604,"stopIndex":8604,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2987":{"name":"lively.morphic.Image","type":"klassDef","startIndex":8605,"stopIndex":12580,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2988},{"__isSmartRef__":true,"id":2990},{"__isSmartRef__":true,"id":2991},{"__isSmartRef__":true,"id":2992},{"__isSmartRef__":true,"id":2994},{"__isSmartRef__":true,"id":2995},{"__isSmartRef__":true,"id":2996},{"__isSmartRef__":true,"id":2997},{"__isSmartRef__":true,"id":2999},{"__isSmartRef__":true,"id":3001},{"__isSmartRef__":true,"id":3003},{"__isSmartRef__":true,"id":3005}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":2989},{"__isSmartRef__":true,"id":2993},{"__isSmartRef__":true,"id":2998},{"__isSmartRef__":true,"id":3000},{"__isSmartRef__":true,"id":3002},{"__isSmartRef__":true,"id":3004}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2988":{"name":"doNotSerialize","type":"propertyDef","startIndex":8677,"stopIndex":8709,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2989},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2989":{"name":"initializing","type":"categoryDef","startIndex":4432,"stopIndex":5204,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2988},{"__isSmartRef__":true,"id":2990},{"__isSmartRef__":true,"id":2991}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2990":{"name":"initialize","type":"propertyDef","startIndex":8711,"stopIndex":9314,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2989},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2991":{"name":"createImageShape","type":"propertyDef","startIndex":9316,"stopIndex":9428,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2989},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2992":{"name":"setImageURL","type":"propertyDef","startIndex":9448,"stopIndex":9517,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2993},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2993":{"name":"accessing","type":"categoryDef","startIndex":5206,"stopIndex":5653,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2992},{"__isSmartRef__":true,"id":2994},{"__isSmartRef__":true,"id":2995},{"__isSmartRef__":true,"id":2996}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2994":{"name":"getImageURL","type":"propertyDef","startIndex":9519,"stopIndex":9582,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2993},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2995":{"name":"getNativeExtent","type":"propertyDef","startIndex":9584,"stopIndex":9655,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2993},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2996":{"name":"setNativeExtent","type":"propertyDef","startIndex":9657,"stopIndex":9877,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2993},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2997":{"name":"getHaloClasses","type":"propertyDef","startIndex":9893,"stopIndex":10003,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2998},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2998":{"name":"halos","type":"categoryDef","startIndex":5655,"stopIndex":5779,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2997}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2999":{"name":"morphMenuItems","type":"propertyDef","startIndex":10018,"stopIndex":10271,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3000},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3000":{"name":"menu","type":"categoryDef","startIndex":5781,"stopIndex":6047,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":2999}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3001":{"name":"onKeyPress","type":"propertyDef","startIndex":10297,"stopIndex":10775,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3002},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3002":{"name":"keyboard events","type":"categoryDef","startIndex":6049,"stopIndex":6550,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3001}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3003":{"name":"convertToBase64","type":"propertyDef","startIndex":10797,"stopIndex":12306,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3004},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3004":{"name":"inline image","type":"categoryDef","startIndex":6552,"stopIndex":8350,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3003},{"__isSmartRef__":true,"id":3005}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3005":{"name":"encodeOnServer","type":"propertyDef","startIndex":12308,"stopIndex":12575,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3004},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3006":{"name":"lively.morphic.Image","type":"klassExtensionDef","startIndex":12581,"stopIndex":12810,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3007}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3008}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3007":{"name":"fromURL","type":"propertyDef","startIndex":12619,"stopIndex":12805,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3008},"className":"lively.morphic.Image","_owner":{"__isSmartRef__":true,"id":3006},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3008":{"name":"default category","type":"categoryDef","startIndex":8390,"stopIndex":8580,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3007}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3009":{"name":"lively.morphic.CheckBox","type":"klassDef","startIndex":12811,"stopIndex":14063,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3010},{"__isSmartRef__":true,"id":3012},{"__isSmartRef__":true,"id":3014},{"__isSmartRef__":true,"id":3015},{"__isSmartRef__":true,"id":3017},{"__isSmartRef__":true,"id":3019},{"__isSmartRef__":true,"id":3021}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":3011},{"__isSmartRef__":true,"id":3013},{"__isSmartRef__":true,"id":3016},{"__isSmartRef__":true,"id":3018},{"__isSmartRef__":true,"id":3020},{"__isSmartRef__":true,"id":3022}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3010":{"name":"connections","type":"propertyDef","startIndex":12884,"stopIndex":12931,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3011},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3011":{"name":"properties","type":"categoryDef","startIndex":8641,"stopIndex":8706,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3010}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3012":{"name":"initialize","type":"propertyDef","startIndex":12953,"stopIndex":13076,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3013},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3013":{"name":"initializing","type":"categoryDef","startIndex":8708,"stopIndex":9022,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3012},{"__isSmartRef__":true,"id":3014}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3014":{"name":"createShape","type":"propertyDef","startIndex":13078,"stopIndex":13246,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3013},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3015":{"name":"setChecked","type":"propertyDef","startIndex":13266,"stopIndex":13409,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3016},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3016":{"name":"accessing","type":"categoryDef","startIndex":9024,"stopIndex":9185,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3015}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3017":{"name":"isChecked","type":"propertyDef","startIndex":13427,"stopIndex":13489,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3018},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3018":{"name":"testing","type":"categoryDef","startIndex":9187,"stopIndex":9265,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3017}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3019":{"name":"onClick","type":"propertyDef","startIndex":13514,"stopIndex":13796,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3020},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3020":{"name":"event handling","type":"categoryDef","startIndex":9267,"stopIndex":9572,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3019}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3021":{"name":"prepareForNewRenderContext","type":"propertyDef","startIndex":13820,"stopIndex":14058,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3022},"className":"lively.morphic.CheckBox","_owner":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3022":{"name":"serialization","type":"categoryDef","startIndex":9574,"stopIndex":9833,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3021}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3023":{"name":"lively.morphic.PasswordInput","type":"klassDef","startIndex":14064,"stopIndex":14927,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3024},{"__isSmartRef__":true,"id":3026},{"__isSmartRef__":true,"id":3027},{"__isSmartRef__":true,"id":3029}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":3025},{"__isSmartRef__":true,"id":3028}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3024":{"name":"initialize","type":"propertyDef","startIndex":14144,"stopIndex":14231,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3025},"className":"lively.morphic.PasswordInput","_owner":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3025":{"name":"initializing","type":"categoryDef","startIndex":9899,"stopIndex":10222,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3024},{"__isSmartRef__":true,"id":3026}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3026":{"name":"createShape","type":"propertyDef","startIndex":14233,"stopIndex":14446,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3025},"className":"lively.morphic.PasswordInput","_owner":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3027":{"name":"value","type":"propertyDef","startIndex":14466,"stopIndex":14748,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3028},"className":"lively.morphic.PasswordInput","_owner":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3028":{"name":"accessing","type":"categoryDef","startIndex":10224,"stopIndex":10697,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3027},{"__isSmartRef__":true,"id":3029}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3029":{"name":"value","type":"propertyDef","startIndex":14750,"stopIndex":14923,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3028},"className":"lively.morphic.PasswordInput","_owner":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3030":{"name":null,"type":"comment","startIndex":14928,"stopIndex":14928,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3031":{"name":"lively.morphic.ProgressBar","type":"klassDef","startIndex":14929,"stopIndex":17554,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3034},{"__isSmartRef__":true,"id":3035},{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3038},{"__isSmartRef__":true,"id":3039},{"__isSmartRef__":true,"id":3040},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3043},{"__isSmartRef__":true,"id":3044}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3033},{"__isSmartRef__":true,"id":3037},{"__isSmartRef__":true,"id":3041},{"__isSmartRef__":true,"id":3045}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3032":{"name":"style","type":"propertyDef","startIndex":15001,"stopIndex":15232,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3033},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3033":{"name":"settings","type":"categoryDef","startIndex":10760,"stopIndex":11565,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3034},{"__isSmartRef__":true,"id":3035}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3034":{"name":"progressStyle","type":"propertyDef","startIndex":15234,"stopIndex":15635,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3033},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3035":{"name":"labelStyle","type":"propertyDef","startIndex":15637,"stopIndex":15789,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3033},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3036":{"name":"initialize","type":"propertyDef","startIndex":15812,"stopIndex":16027,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3037},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3037":{"name":"initializing","type":"categoryDef","startIndex":11567,"stopIndex":12833,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3038},{"__isSmartRef__":true,"id":3039}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3038":{"name":"createProgressMorph","type":"propertyDef","startIndex":16029,"stopIndex":16316,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3037},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3039":{"name":"createLabel","type":"propertyDef","startIndex":16318,"stopIndex":17055,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3037},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3040":{"name":"getValue","type":"propertyDef","startIndex":17077,"stopIndex":17123,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3041},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3041":{"name":"accessing","type":"categoryDef","startIndex":12835,"stopIndex":13102,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3040},{"__isSmartRef__":true,"id":3042},{"__isSmartRef__":true,"id":3043}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3042":{"name":"setValue","type":"propertyDef","startIndex":17125,"stopIndex":17195,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3041},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3043":{"name":"setLabel","type":"propertyDef","startIndex":17197,"stopIndex":17325,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3041},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3044":{"name":"updateBar","type":"propertyDef","startIndex":17345,"stopIndex":17549,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3045},"className":"lively.morphic.ProgressBar","_owner":{"__isSmartRef__":true,"id":3031},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3045":{"name":"updating","type":"categoryDef","startIndex":13104,"stopIndex":13324,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3044}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3046":{"name":null,"type":"comment","startIndex":17555,"stopIndex":17555,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3047":{"name":"lively.morphic.FrameRateMorph","type":"klassDef","startIndex":17556,"stopIndex":18715,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3048},{"__isSmartRef__":true,"id":3050},{"__isSmartRef__":true,"id":3051},{"__isSmartRef__":true,"id":3052}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Text","categories":[{"__isSmartRef__":true,"id":3049}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3048":{"name":"initialize","type":"propertyDef","startIndex":17621,"stopIndex":17854,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3049},"className":"lively.morphic.FrameRateMorph","_owner":{"__isSmartRef__":true,"id":3047},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3049":{"name":"default category","type":"categoryDef","startIndex":13391,"stopIndex":14485,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3048},{"__isSmartRef__":true,"id":3050},{"__isSmartRef__":true,"id":3051},{"__isSmartRef__":true,"id":3052}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3050":{"name":"reset","type":"propertyDef","startIndex":17857,"stopIndex":18033,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3049},"className":"lively.morphic.FrameRateMorph","_owner":{"__isSmartRef__":true,"id":3047},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3051":{"name":"nextStep","type":"propertyDef","startIndex":18036,"stopIndex":18632,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3049},"className":"lively.morphic.FrameRateMorph","_owner":{"__isSmartRef__":true,"id":3047},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3052":{"name":"startSteppingScripts","type":"propertyDef","startIndex":18635,"stopIndex":18711,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3049},"className":"lively.morphic.FrameRateMorph","_owner":{"__isSmartRef__":true,"id":3047},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3053":{"name":null,"type":"comment","startIndex":18716,"stopIndex":18716,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3054":{"name":"lively.morphic.Menu","type":"klassDef","startIndex":18717,"stopIndex":34102,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3055},{"__isSmartRef__":true,"id":3057},{"__isSmartRef__":true,"id":3058},{"__isSmartRef__":true,"id":3060},{"__isSmartRef__":true,"id":3061},{"__isSmartRef__":true,"id":3063},{"__isSmartRef__":true,"id":3065},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3069},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3073},{"__isSmartRef__":true,"id":3074},{"__isSmartRef__":true,"id":3076},{"__isSmartRef__":true,"id":3078},{"__isSmartRef__":true,"id":3079},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3081}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3056},{"__isSmartRef__":true,"id":3059},{"__isSmartRef__":true,"id":3062},{"__isSmartRef__":true,"id":3064},{"__isSmartRef__":true,"id":3066},{"__isSmartRef__":true,"id":3071},{"__isSmartRef__":true,"id":3075},{"__isSmartRef__":true,"id":3077}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3055":{"name":"style","type":"propertyDef","startIndex":18782,"stopIndex":18983,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3056},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3056":{"name":"settings","type":"categoryDef","startIndex":14541,"stopIndex":14781,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3055},{"__isSmartRef__":true,"id":3057}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3057":{"name":"isEpiMorph","type":"propertyDef","startIndex":18985,"stopIndex":19005,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3056},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3058":{"name":"initialize","type":"propertyDef","startIndex":19028,"stopIndex":19267,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3059},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3059":{"name":"initializing","type":"categoryDef","startIndex":14783,"stopIndex":16152,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3058},{"__isSmartRef__":true,"id":3060}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3060":{"name":"setupTitle","type":"propertyDef","startIndex":19269,"stopIndex":20376,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3059},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3061":{"name":"openIn","type":"propertyDef","startIndex":20394,"stopIndex":21238,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3062},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3062":{"name":"opening","type":"categoryDef","startIndex":16154,"stopIndex":17014,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3061}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3063":{"name":"remove","type":"propertyDef","startIndex":21257,"stopIndex":21404,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3064},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3064":{"name":"removing","type":"categoryDef","startIndex":17016,"stopIndex":17180,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3063}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3065":{"name":"removeAllItems","type":"propertyDef","startIndex":21430,"stopIndex":21584,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3066},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3066":{"name":"item management","type":"categoryDef","startIndex":17182,"stopIndex":25051,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3065},{"__isSmartRef__":true,"id":3067},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3069}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3067":{"name":"createMenuItems","type":"propertyDef","startIndex":21587,"stopIndex":23393,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3066},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3068":{"name":"addItems","type":"propertyDef","startIndex":23396,"stopIndex":27927,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3066},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3069":{"name":"addItems2","type":"propertyDef","startIndex":27929,"stopIndex":29275,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3066},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3070":{"name":"openSubMenu","type":"propertyDef","startIndex":29294,"stopIndex":29841,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3071},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3071":{"name":"sub menu","type":"categoryDef","startIndex":25053,"stopIndex":25867,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3073}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3072":{"name":"removeSubMenu","type":"propertyDef","startIndex":29843,"stopIndex":29972,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3071},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3073":{"name":"removeOwnerMenu","type":"propertyDef","startIndex":29974,"stopIndex":30091,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3071},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3074":{"name":"remove","type":"propertyDef","startIndex":30109,"stopIndex":30225,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3075},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3075":{"name":"removal","type":"categoryDef","startIndex":25869,"stopIndex":26001,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3074}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3076":{"name":"moveBoundsForVisibility","type":"propertyDef","startIndex":30254,"stopIndex":31148,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3077},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3077":{"name":"bounds calculation","type":"categoryDef","startIndex":26003,"stopIndex":29872,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3076},{"__isSmartRef__":true,"id":3078},{"__isSmartRef__":true,"id":3079},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3081}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3078":{"name":"moveSubMenuBoundsForVisibility","type":"propertyDef","startIndex":31150,"stopIndex":32512,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3077},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3079":{"name":"offsetForWorld","type":"propertyDef","startIndex":32515,"stopIndex":32914,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3077},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3080":{"name":"offsetForOwnerMenu","type":"propertyDef","startIndex":32917,"stopIndex":33414,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3077},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3081":{"name":"fitToItems","type":"propertyDef","startIndex":33417,"stopIndex":34098,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3077},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3054},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3082":{"name":null,"type":"comment","startIndex":34103,"stopIndex":34103,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3083":{"name":"lively.morphic.Menu","type":"klassExtensionDef","startIndex":34104,"stopIndex":34471,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3084},{"__isSmartRef__":true,"id":3086}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3085}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3084":{"name":"openAtHand","type":"propertyDef","startIndex":34141,"stopIndex":34287,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3085},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3083},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3085":{"name":"default category","type":"categoryDef","startIndex":29912,"stopIndex":30241,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3084},{"__isSmartRef__":true,"id":3086}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3086":{"name":"openAt","type":"propertyDef","startIndex":34289,"stopIndex":34466,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3085},"className":"lively.morphic.Menu","_owner":{"__isSmartRef__":true,"id":3083},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3087":{"name":null,"type":"comment","startIndex":34472,"stopIndex":34473,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3088":{"name":"lively.morphic.Morph","type":"klassExtensionDef","startIndex":34474,"stopIndex":39236,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3089},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3093},{"__isSmartRef__":true,"id":3094},{"__isSmartRef__":true,"id":3095}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3090}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3089":{"name":"enableMorphMenu","type":"propertyDef","startIndex":34517,"stopIndex":34592,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3090":{"name":"menu","type":"categoryDef","startIndex":30280,"stopIndex":35006,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3089},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3093},{"__isSmartRef__":true,"id":3094},{"__isSmartRef__":true,"id":3095}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3091":{"name":"disableMorphMenu","type":"propertyDef","startIndex":34594,"stopIndex":34658,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3092":{"name":"openMorphMenuAt","type":"propertyDef","startIndex":34660,"stopIndex":34945,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3093":{"name":"showMorphMenu","type":"propertyDef","startIndex":34947,"stopIndex":35077,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3094":{"name":"morphMenuItems","type":"propertyDef","startIndex":35079,"stopIndex":38965,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3095":{"name":"getWindow","type":"propertyDef","startIndex":38967,"stopIndex":39227,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3090},"className":"lively.morphic.Morph","_owner":{"__isSmartRef__":true,"id":3088},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3096":{"name":"lively.morphic.Text","type":"klassExtensionDef","startIndex":39237,"stopIndex":40352,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3097}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3098}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3097":{"name":"morphMenuItems","type":"propertyDef","startIndex":39279,"stopIndex":40346,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3098},"className":"lively.morphic.Text","_owner":{"__isSmartRef__":true,"id":3096},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3098":{"name":"menu","type":"categoryDef","startIndex":35042,"stopIndex":36122,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3097}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3099":{"name":null,"type":"comment","startIndex":40353,"stopIndex":40354,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3100":{"name":"lively.morphic.World","type":"klassExtensionDef","startIndex":40355,"stopIndex":64116,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3101},{"__isSmartRef__":true,"id":3103},{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3105},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3107},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3109},{"__isSmartRef__":true,"id":3110},{"__isSmartRef__":true,"id":3111},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3113},{"__isSmartRef__":true,"id":3114},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3116},{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3118},{"__isSmartRef__":true,"id":3119},{"__isSmartRef__":true,"id":3120},{"__isSmartRef__":true,"id":3121},{"__isSmartRef__":true,"id":3122},{"__isSmartRef__":true,"id":3123},{"__isSmartRef__":true,"id":3124},{"__isSmartRef__":true,"id":3126},{"__isSmartRef__":true,"id":3127},{"__isSmartRef__":true,"id":3128},{"__isSmartRef__":true,"id":3129},{"__isSmartRef__":true,"id":3131},{"__isSmartRef__":true,"id":3133},{"__isSmartRef__":true,"id":3134},{"__isSmartRef__":true,"id":3135},{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3138},{"__isSmartRef__":true,"id":3139},{"__isSmartRef__":true,"id":3140},{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3144},{"__isSmartRef__":true,"id":3145},{"__isSmartRef__":true,"id":3146},{"__isSmartRef__":true,"id":3147},{"__isSmartRef__":true,"id":3149},{"__isSmartRef__":true,"id":3151},{"__isSmartRef__":true,"id":3152},{"__isSmartRef__":true,"id":3153},{"__isSmartRef__":true,"id":3154},{"__isSmartRef__":true,"id":3156}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3102},{"__isSmartRef__":true,"id":3125},{"__isSmartRef__":true,"id":3130},{"__isSmartRef__":true,"id":3132},{"__isSmartRef__":true,"id":3136},{"__isSmartRef__":true,"id":3141},{"__isSmartRef__":true,"id":3143},{"__isSmartRef__":true,"id":3148},{"__isSmartRef__":true,"id":3150},{"__isSmartRef__":true,"id":3155}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3101":{"name":"loadPartItem","type":"propertyDef","startIndex":40399,"stopIndex":40730,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3102":{"name":"tools","type":"categoryDef","startIndex":36161,"stopIndex":42740,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3101},{"__isSmartRef__":true,"id":3103},{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3105},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3107},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3109},{"__isSmartRef__":true,"id":3110},{"__isSmartRef__":true,"id":3111},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3113},{"__isSmartRef__":true,"id":3114},{"__isSmartRef__":true,"id":3115},{"__isSmartRef__":true,"id":3116},{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3118},{"__isSmartRef__":true,"id":3119},{"__isSmartRef__":true,"id":3120},{"__isSmartRef__":true,"id":3121},{"__isSmartRef__":true,"id":3122},{"__isSmartRef__":true,"id":3123}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3103":{"name":"openPartItem","type":"propertyDef","startIndex":40732,"stopIndex":40990,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3104":{"name":"openPartsBin","type":"propertyDef","startIndex":40992,"stopIndex":41102,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3105":{"name":"openInspectorFor","type":"propertyDef","startIndex":41104,"stopIndex":41347,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3106":{"name":"openStyleEditorFor","type":"propertyDef","startIndex":41349,"stopIndex":41708,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3107":{"name":"openObjectEditor","type":"propertyDef","startIndex":41710,"stopIndex":41818,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3108":{"name":"openObjectEditorFor","type":"propertyDef","startIndex":41820,"stopIndex":41964,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3109":{"name":"openMethodFinder","type":"propertyDef","startIndex":41966,"stopIndex":42074,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3110":{"name":"openMethodFinderFor","type":"propertyDef","startIndex":42076,"stopIndex":42961,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3111":{"name":"openVersionViewer","type":"propertyDef","startIndex":42963,"stopIndex":43075,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3112":{"name":"openTestRunner","type":"propertyDef","startIndex":43077,"stopIndex":43291,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3113":{"name":"openClassBrowserFor","type":"propertyDef","startIndex":43293,"stopIndex":43493,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3114":{"name":"openPublishPartDialogFor","type":"propertyDef","startIndex":43495,"stopIndex":43871,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3115":{"name":"openConnectDocumentation","type":"propertyDef","startIndex":43873,"stopIndex":44000,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3116":{"name":"openShortcutDocumentation","type":"propertyDef","startIndex":44002,"stopIndex":44131,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3117":{"name":"openPartsBinDocumentation","type":"propertyDef","startIndex":44133,"stopIndex":44261,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3118":{"name":"openSystemBrowser","type":"propertyDef","startIndex":44263,"stopIndex":44697,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3119":{"name":"browseCode","type":"propertyDef","startIndex":44699,"stopIndex":45065,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3120":{"name":"openWorkspace","type":"propertyDef","startIndex":45068,"stopIndex":45343,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3121":{"name":"openAboutBox","type":"propertyDef","startIndex":45345,"stopIndex":46430,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3122":{"name":"openBootstrapParts","type":"propertyDef","startIndex":46432,"stopIndex":46853,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3123":{"name":"openSystemConsole","type":"propertyDef","startIndex":46855,"stopIndex":46965,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3102},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3124":{"name":"morphMenuPartsBinItems","type":"propertyDef","startIndex":46979,"stopIndex":47414,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3125},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3125":{"name":"menu","type":"categoryDef","startIndex":42742,"stopIndex":51599,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3124},{"__isSmartRef__":true,"id":3126},{"__isSmartRef__":true,"id":3127},{"__isSmartRef__":true,"id":3128}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3126":{"name":"morphMenuDefaultPartsItems","type":"propertyDef","startIndex":47416,"stopIndex":48297,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3125},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3127":{"name":"debuggingMenuItems","type":"propertyDef","startIndex":48300,"stopIndex":52900,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3125},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3128":{"name":"morphMenuItems","type":"propertyDef","startIndex":52903,"stopIndex":55824,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3125},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3129":{"name":"positionForNewMorph","type":"propertyDef","startIndex":55845,"stopIndex":56439,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3130},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3130":{"name":"positioning","type":"categoryDef","startIndex":51601,"stopIndex":52215,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3129}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3131":{"name":"addFramedMorph","type":"propertyDef","startIndex":56457,"stopIndex":56822,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3132},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3132":{"name":"windows","type":"categoryDef","startIndex":52217,"stopIndex":53621,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3131},{"__isSmartRef__":true,"id":3133},{"__isSmartRef__":true,"id":3134}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3133":{"name":"addTextWindow","type":"propertyDef","startIndex":56825,"stopIndex":57499,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3132},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3134":{"name":"internalAddWindow","type":"propertyDef","startIndex":57502,"stopIndex":57845,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3132},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3135":{"name":"openDialog","type":"propertyDef","startIndex":57863,"stopIndex":59712,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3136},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3136":{"name":"dialogs","type":"categoryDef","startIndex":53623,"stopIndex":55947,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3135},{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3138},{"__isSmartRef__":true,"id":3139}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3137":{"name":"confirm","type":"propertyDef","startIndex":59714,"stopIndex":59848,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3136},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3138":{"name":"prompt","type":"propertyDef","startIndex":59850,"stopIndex":60009,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3136},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3139":{"name":"editPrompt","type":"propertyDef","startIndex":60011,"stopIndex":60172,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3136},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3140":{"name":"addProgressBar","type":"propertyDef","startIndex":60194,"stopIndex":60579,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3141},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3141":{"name":"progress bar","type":"categoryDef","startIndex":55949,"stopIndex":56355,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3140}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3142":{"name":"askForUserName","type":"propertyDef","startIndex":60601,"stopIndex":60996,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3143},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3143":{"name":"preferences","type":"categoryDef","startIndex":56357,"stopIndex":58361,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3144},{"__isSmartRef__":true,"id":3145},{"__isSmartRef__":true,"id":3146}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3144":{"name":"askForNewWorldExtent","type":"propertyDef","startIndex":60998,"stopIndex":61628,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3143},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3145":{"name":"askForNewBackgroundColor","type":"propertyDef","startIndex":61630,"stopIndex":62407,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3143},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3146":{"name":"setCurrentUser","type":"propertyDef","startIndex":62410,"stopIndex":62585,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3143},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3147":{"name":"withSelectedMorphsDo","type":"propertyDef","startIndex":62611,"stopIndex":62827,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3148},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3148":{"name":"morph selection","type":"categoryDef","startIndex":58363,"stopIndex":58603,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3147}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3149":{"name":"resetAllScales","type":"propertyDef","startIndex":62847,"stopIndex":62971,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3150},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3150":{"name":"debugging","type":"categoryDef","startIndex":58605,"stopIndex":59330,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3149},{"__isSmartRef__":true,"id":3151},{"__isSmartRef__":true,"id":3152},{"__isSmartRef__":true,"id":3153}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3151":{"name":"resetScale","type":"propertyDef","startIndex":62973,"stopIndex":63053,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3150},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3152":{"name":"resetAllTitleBars","type":"propertyDef","startIndex":63055,"stopIndex":63228,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3150},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3153":{"name":"resetAllButtonLabels","type":"propertyDef","startIndex":63230,"stopIndex":63554,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3150},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3154":{"name":"interactiveDeleteWorldOnServer","type":"propertyDef","startIndex":63569,"stopIndex":63977,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3155},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3155":{"name":"wiki","type":"categoryDef","startIndex":59332,"stopIndex":59886,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3154},{"__isSmartRef__":true,"id":3156}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3156":{"name":"getActiveWindow","type":"propertyDef","startIndex":63979,"stopIndex":64112,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3155},"className":"lively.morphic.World","_owner":{"__isSmartRef__":true,"id":3100},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3157":{"name":null,"type":"comment","startIndex":64117,"stopIndex":64117,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3158":{"name":"lively.morphic.List","type":"klassExtensionDef","startIndex":64118,"stopIndex":69836,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3159},{"__isSmartRef__":true,"id":3161},{"__isSmartRef__":true,"id":3163},{"__isSmartRef__":true,"id":3164},{"__isSmartRef__":true,"id":3165},{"__isSmartRef__":true,"id":3167},{"__isSmartRef__":true,"id":3169},{"__isSmartRef__":true,"id":3170},{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3173},{"__isSmartRef__":true,"id":3174},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3176},{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3178},{"__isSmartRef__":true,"id":3179},{"__isSmartRef__":true,"id":3180},{"__isSmartRef__":true,"id":3181},{"__isSmartRef__":true,"id":3182},{"__isSmartRef__":true,"id":3183},{"__isSmartRef__":true,"id":3184},{"__isSmartRef__":true,"id":3185},{"__isSmartRef__":true,"id":3186},{"__isSmartRef__":true,"id":3187},{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3190},{"__isSmartRef__":true,"id":3191},{"__isSmartRef__":true,"id":3192},{"__isSmartRef__":true,"id":3194},{"__isSmartRef__":true,"id":3195},{"__isSmartRef__":true,"id":3196},{"__isSmartRef__":true,"id":3197},{"__isSmartRef__":true,"id":3198},{"__isSmartRef__":true,"id":3200},{"__isSmartRef__":true,"id":3201},{"__isSmartRef__":true,"id":3202},{"__isSmartRef__":true,"id":3203},{"__isSmartRef__":true,"id":3204},{"__isSmartRef__":true,"id":3205},{"__isSmartRef__":true,"id":3206}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3160},{"__isSmartRef__":true,"id":3162},{"__isSmartRef__":true,"id":3166},{"__isSmartRef__":true,"id":3168},{"__isSmartRef__":true,"id":3171},{"__isSmartRef__":true,"id":3189},{"__isSmartRef__":true,"id":3193},{"__isSmartRef__":true,"id":3199}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3159":{"name":"connections","type":"propertyDef","startIndex":64169,"stopIndex":64265,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3160},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3160":{"name":"documentation","type":"categoryDef","startIndex":59923,"stopIndex":60041,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3159}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3161":{"name":"style","type":"propertyDef","startIndex":64284,"stopIndex":64455,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3162},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3162":{"name":"settings","type":"categoryDef","startIndex":60043,"stopIndex":60292,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3161},{"__isSmartRef__":true,"id":3163},{"__isSmartRef__":true,"id":3164}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3163":{"name":"selectionColor","type":"propertyDef","startIndex":64457,"stopIndex":64498,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3162},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3164":{"name":"isList","type":"propertyDef","startIndex":64500,"stopIndex":64516,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3162},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3165":{"name":"initialize","type":"propertyDef","startIndex":64539,"stopIndex":64763,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3166},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3166":{"name":"initializing","type":"categoryDef","startIndex":60294,"stopIndex":60539,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3165}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3167":{"name":"setExtent","type":"propertyDef","startIndex":64783,"stopIndex":64881,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3168},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3168":{"name":"accessing","type":"categoryDef","startIndex":60541,"stopIndex":60745,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3167},{"__isSmartRef__":true,"id":3169}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3169":{"name":"getListExtent","type":"propertyDef","startIndex":64883,"stopIndex":64967,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3168},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3170":{"name":"getMenu","type":"propertyDef","startIndex":64994,"stopIndex":65061,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3171":{"name":"list interface","type":"categoryDef","startIndex":60747,"stopIndex":63099,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3170},{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3173},{"__isSmartRef__":true,"id":3174},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3176},{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3178},{"__isSmartRef__":true,"id":3179},{"__isSmartRef__":true,"id":3180},{"__isSmartRef__":true,"id":3181},{"__isSmartRef__":true,"id":3182},{"__isSmartRef__":true,"id":3183},{"__isSmartRef__":true,"id":3184},{"__isSmartRef__":true,"id":3185},{"__isSmartRef__":true,"id":3186},{"__isSmartRef__":true,"id":3187}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3172":{"name":"updateList","type":"propertyDef","startIndex":65063,"stopIndex":65351,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3173":{"name":"addItem","type":"propertyDef","startIndex":65353,"stopIndex":65443,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3174":{"name":"selectAt","type":"propertyDef","startIndex":65446,"stopIndex":65672,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3175":{"name":"deselectAt","type":"propertyDef","startIndex":65674,"stopIndex":65753,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3176":{"name":"updateSelectionAndLineNoProperties","type":"propertyDef","startIndex":65756,"stopIndex":65999,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3177":{"name":"setList","type":"propertyDef","startIndex":66002,"stopIndex":66064,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3178":{"name":"getList","type":"propertyDef","startIndex":66066,"stopIndex":66114,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3179":{"name":"getValues","type":"propertyDef","startIndex":66116,"stopIndex":66242,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3180":{"name":"setSelection","type":"propertyDef","startIndex":66245,"stopIndex":66323,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3181":{"name":"getSelection","type":"propertyDef","startIndex":66325,"stopIndex":66379,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3182":{"name":"getItem","type":"propertyDef","startIndex":66381,"stopIndex":66465,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3183":{"name":"removeItemOrValue","type":"propertyDef","startIndex":66467,"stopIndex":66663,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3184":{"name":"getSelectedItem","type":"propertyDef","startIndex":66666,"stopIndex":66819,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3185":{"name":"moveUpInList","type":"propertyDef","startIndex":66821,"stopIndex":67028,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3186":{"name":"moveDownInList","type":"propertyDef","startIndex":67030,"stopIndex":67239,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3187":{"name":"clearSelections","type":"propertyDef","startIndex":67241,"stopIndex":67322,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3171},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3188":{"name":"changeListPosition","type":"propertyDef","startIndex":67356,"stopIndex":67609,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3189},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3189":{"name":"private list functions","type":"categoryDef","startIndex":63101,"stopIndex":63787,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3190},{"__isSmartRef__":true,"id":3191}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3190":{"name":"resizeList","type":"propertyDef","startIndex":67611,"stopIndex":67698,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3189},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3191":{"name":"find","type":"propertyDef","startIndex":67700,"stopIndex":68010,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3189},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3192":{"name":"applyStyle","type":"propertyDef","startIndex":68029,"stopIndex":68251,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3193},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3193":{"name":"styling","type":"categoryDef","startIndex":63789,"stopIndex":64383,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3192},{"__isSmartRef__":true,"id":3194},{"__isSmartRef__":true,"id":3195},{"__isSmartRef__":true,"id":3196},{"__isSmartRef__":true,"id":3197}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3194":{"name":"setFontSize","type":"propertyDef","startIndex":68253,"stopIndex":68341,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3193},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3195":{"name":"getFontSize","type":"propertyDef","startIndex":68343,"stopIndex":68419,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3193},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3196":{"name":"setFontFamily","type":"propertyDef","startIndex":68421,"stopIndex":68517,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3193},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3197":{"name":"getFontFamily","type":"propertyDef","startIndex":68519,"stopIndex":68607,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3193},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3198":{"name":"enableMultipleSelections","type":"propertyDef","startIndex":68644,"stopIndex":68801,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3199":{"name":"multiple selection support","type":"categoryDef","startIndex":64385,"stopIndex":65606,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3198},{"__isSmartRef__":true,"id":3200},{"__isSmartRef__":true,"id":3201},{"__isSmartRef__":true,"id":3202},{"__isSmartRef__":true,"id":3203},{"__isSmartRef__":true,"id":3204},{"__isSmartRef__":true,"id":3205},{"__isSmartRef__":true,"id":3206}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3200":{"name":"getSelectedItems","type":"propertyDef","startIndex":68803,"stopIndex":68961,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3201":{"name":"getSelectedIndexes","type":"propertyDef","startIndex":68963,"stopIndex":69057,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3202":{"name":"getSelections","type":"propertyDef","startIndex":69060,"stopIndex":69197,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3203":{"name":"setSelections","type":"propertyDef","startIndex":69199,"stopIndex":69354,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3204":{"name":"setSelectionMatching","type":"propertyDef","startIndex":69356,"stopIndex":69627,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3205":{"name":"selectAllAt","type":"propertyDef","startIndex":69629,"stopIndex":69730,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3206":{"name":"renderFunction","type":"propertyDef","startIndex":69732,"stopIndex":69830,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3199},"className":"lively.morphic.List","_owner":{"__isSmartRef__":true,"id":3158},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3207":{"name":"lively.morphic.DropDownList","type":"klassExtensionDef","startIndex":69837,"stopIndex":69992,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3208}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3209}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3208":{"name":"initialize","type":"propertyDef","startIndex":69895,"stopIndex":69987,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3209},"className":"lively.morphic.DropDownList","_owner":{"__isSmartRef__":true,"id":3207},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3209":{"name":"initializing","type":"categoryDef","startIndex":65650,"stopIndex":65762,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3208}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3210":{"name":null,"type":"comment","startIndex":69993,"stopIndex":69993,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3211":{"name":"lively.morphic.WindowControl","type":"klassDef","startIndex":69994,"stopIndex":70493,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3212},{"__isSmartRef__":true,"id":3214},{"__isSmartRef__":true,"id":3216},{"__isSmartRef__":true,"id":3217}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Button","categories":[{"__isSmartRef__":true,"id":3213},{"__isSmartRef__":true,"id":3215},{"__isSmartRef__":true,"id":3218}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3212":{"name":"documentation","type":"propertyDef","startIndex":70076,"stopIndex":70129,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3213},"className":"lively.morphic.WindowControl","_owner":{"__isSmartRef__":true,"id":3211},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3213":{"name":"documentation","type":"categoryDef","startIndex":65830,"stopIndex":65905,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3212}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3214":{"name":"style","type":"propertyDef","startIndex":70158,"stopIndex":70268,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3215},"className":"lively.morphic.WindowControl","_owner":{"__isSmartRef__":true,"id":3211},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3215":{"name":"settings and state","type":"categoryDef","startIndex":65907,"stopIndex":66083,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3214},{"__isSmartRef__":true,"id":3216}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3216":{"name":"connections","type":"propertyDef","startIndex":70270,"stopIndex":70307,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3215},"className":"lively.morphic.WindowControl","_owner":{"__isSmartRef__":true,"id":3211},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3217":{"name":"initialize","type":"propertyDef","startIndex":70330,"stopIndex":70488,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3218},"className":"lively.morphic.WindowControl","_owner":{"__isSmartRef__":true,"id":3211},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3218":{"name":"initializing","type":"categoryDef","startIndex":66085,"stopIndex":66263,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3217}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3219":{"name":null,"type":"comment","startIndex":70494,"stopIndex":70494,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3220":{"name":"lively.morphic.TitleBar","type":"klassDef","startIndex":70495,"stopIndex":75306,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3221},{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3226},{"__isSmartRef__":true,"id":3227},{"__isSmartRef__":true,"id":3228},{"__isSmartRef__":true,"id":3229},{"__isSmartRef__":true,"id":3230},{"__isSmartRef__":true,"id":3232},{"__isSmartRef__":true,"id":3234},{"__isSmartRef__":true,"id":3236},{"__isSmartRef__":true,"id":3237},{"__isSmartRef__":true,"id":3239}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["TitleBarMorph"],"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3222},{"__isSmartRef__":true,"id":3224},{"__isSmartRef__":true,"id":3231},{"__isSmartRef__":true,"id":3233},{"__isSmartRef__":true,"id":3235},{"__isSmartRef__":true,"id":3238}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3221":{"name":"documentation","type":"propertyDef","startIndex":70593,"stopIndex":70649,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3222},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3222":{"name":"documentation","type":"categoryDef","startIndex":66347,"stopIndex":66425,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3221}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3223":{"name":"controlSpacing","type":"propertyDef","startIndex":70670,"stopIndex":70691,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3224":{"name":"properties","type":"categoryDef","startIndex":66427,"stopIndex":67294,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3226},{"__isSmartRef__":true,"id":3227},{"__isSmartRef__":true,"id":3228},{"__isSmartRef__":true,"id":3229}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3225":{"name":"barHeight","type":"propertyDef","startIndex":70693,"stopIndex":70710,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3226":{"name":"shortBarHeight","type":"propertyDef","startIndex":70712,"stopIndex":70734,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3227":{"name":"accessibleInInactiveWindow","type":"propertyDef","startIndex":70736,"stopIndex":70772,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3228":{"name":"style","type":"propertyDef","startIndex":70774,"stopIndex":71149,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3229":{"name":"labelStyle","type":"propertyDef","startIndex":71151,"stopIndex":71519,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3224},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3230":{"name":"initialize","type":"propertyDef","startIndex":71542,"stopIndex":73430,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3231},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3231":{"name":"intitializing","type":"categoryDef","startIndex":67296,"stopIndex":69207,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3230}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3232":{"name":"setTitle","type":"propertyDef","startIndex":73447,"stopIndex":73566,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3233},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3233":{"name":"label","type":"categoryDef","startIndex":69209,"stopIndex":69342,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3232}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3234":{"name":"adjustForNewBounds","type":"propertyDef","startIndex":73586,"stopIndex":74887,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3235},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3235":{"name":"layouting","type":"categoryDef","startIndex":69344,"stopIndex":70811,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3234},{"__isSmartRef__":true,"id":3236}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3236":{"name":"lookCollapsedOrNot","type":"propertyDef","startIndex":74889,"stopIndex":75032,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3235},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3237":{"name":"onMouseDown","type":"propertyDef","startIndex":75060,"stopIndex":75269,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3238},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3238":{"name":"event handling","type":"categoryDef","startIndex":70813,"stopIndex":71076,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3237},{"__isSmartRef__":true,"id":3239}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3239":{"name":"onMouseUp","type":"propertyDef","startIndex":75271,"stopIndex":75301,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3238},"className":"lively.morphic.TitleBar","_owner":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3240":{"name":null,"type":"comment","startIndex":75307,"stopIndex":75307,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3241":{"name":"lively.morphic.Window","type":"klassDef","startIndex":75308,"stopIndex":86517,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3242},{"__isSmartRef__":true,"id":3244},{"__isSmartRef__":true,"id":3246},{"__isSmartRef__":true,"id":3247},{"__isSmartRef__":true,"id":3248},{"__isSmartRef__":true,"id":3249},{"__isSmartRef__":true,"id":3251},{"__isSmartRef__":true,"id":3253},{"__isSmartRef__":true,"id":3254},{"__isSmartRef__":true,"id":3255},{"__isSmartRef__":true,"id":3256},{"__isSmartRef__":true,"id":3257},{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3259},{"__isSmartRef__":true,"id":3260},{"__isSmartRef__":true,"id":3262},{"__isSmartRef__":true,"id":3263},{"__isSmartRef__":true,"id":3265},{"__isSmartRef__":true,"id":3266},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3268},{"__isSmartRef__":true,"id":3269},{"__isSmartRef__":true,"id":3270},{"__isSmartRef__":true,"id":3271},{"__isSmartRef__":true,"id":3272},{"__isSmartRef__":true,"id":3274},{"__isSmartRef__":true,"id":3276},{"__isSmartRef__":true,"id":3278}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["WindowMorph"],"superclassName":"lively.morphic.Morph","categories":[{"__isSmartRef__":true,"id":3243},{"__isSmartRef__":true,"id":3245},{"__isSmartRef__":true,"id":3250},{"__isSmartRef__":true,"id":3252},{"__isSmartRef__":true,"id":3261},{"__isSmartRef__":true,"id":3264},{"__isSmartRef__":true,"id":3273},{"__isSmartRef__":true,"id":3275},{"__isSmartRef__":true,"id":3277}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3242":{"name":"documentation","type":"propertyDef","startIndex":75404,"stopIndex":75472,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3243},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3243":{"name":"documentation","type":"categoryDef","startIndex":71158,"stopIndex":71248,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3242}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3244":{"name":"state","type":"propertyDef","startIndex":75501,"stopIndex":75522,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3245},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3245":{"name":"settings and state","type":"categoryDef","startIndex":71250,"stopIndex":71510,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3244},{"__isSmartRef__":true,"id":3246},{"__isSmartRef__":true,"id":3247},{"__isSmartRef__":true,"id":3248}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3246":{"name":"style","type":"propertyDef","startIndex":75524,"stopIndex":75646,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3245},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3247":{"name":"isWindow","type":"propertyDef","startIndex":75648,"stopIndex":75666,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3245},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3248":{"name":"isCollapsed","type":"propertyDef","startIndex":75668,"stopIndex":75733,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3245},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3249":{"name":"initialize","type":"propertyDef","startIndex":75757,"stopIndex":76879,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3250},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3250":{"name":"initializing","type":"categoryDef","startIndex":71512,"stopIndex":72656,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3249}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3251":{"name":"makeTitleBar","type":"propertyDef","startIndex":76906,"stopIndex":77114,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3252":{"name":"window behavior","type":"categoryDef","startIndex":72658,"stopIndex":75394,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3251},{"__isSmartRef__":true,"id":3253},{"__isSmartRef__":true,"id":3254},{"__isSmartRef__":true,"id":3255},{"__isSmartRef__":true,"id":3256},{"__isSmartRef__":true,"id":3257},{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3259}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3253":{"name":"removeHalos","type":"propertyDef","startIndex":77116,"stopIndex":77472,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3254":{"name":"showHalos","type":"propertyDef","startIndex":77474,"stopIndex":77675,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3255":{"name":"makeReframeHandle","type":"propertyDef","startIndex":77678,"stopIndex":78651,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3256":{"name":"alignReframeHandle","type":"propertyDef","startIndex":78654,"stopIndex":78839,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3257":{"name":"getBounds","type":"propertyDef","startIndex":78842,"stopIndex":79135,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3258":{"name":"initiateShutdown","type":"propertyDef","startIndex":79138,"stopIndex":79375,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3259":{"name":"resetTitleBar","type":"propertyDef","startIndex":79378,"stopIndex":79617,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3252},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3260":{"name":"showTargetMorphMenu","type":"propertyDef","startIndex":79633,"stopIndex":80121,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3261},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3261":{"name":"menu","type":"categoryDef","startIndex":75396,"stopIndex":76384,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3260},{"__isSmartRef__":true,"id":3262}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3262":{"name":"morphMenuItems","type":"propertyDef","startIndex":80123,"stopIndex":80608,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3261},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3263":{"name":"highlight","type":"propertyDef","startIndex":80639,"stopIndex":81038,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3264":{"name":"mouse event handling","type":"categoryDef","startIndex":76386,"stopIndex":79397,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3263},{"__isSmartRef__":true,"id":3265},{"__isSmartRef__":true,"id":3266},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3268},{"__isSmartRef__":true,"id":3269},{"__isSmartRef__":true,"id":3270},{"__isSmartRef__":true,"id":3271}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3265":{"name":"isInFront","type":"propertyDef","startIndex":81041,"stopIndex":81122,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3266":{"name":"isActive","type":"propertyDef","startIndex":81124,"stopIndex":81225,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3267":{"name":"comeForward","type":"propertyDef","startIndex":81228,"stopIndex":82183,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3268":{"name":"onMouseDown","type":"propertyDef","startIndex":82186,"stopIndex":83128,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3269":{"name":"onMouseUp","type":"propertyDef","startIndex":83130,"stopIndex":83317,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3270":{"name":"onDragStart","type":"propertyDef","startIndex":83319,"stopIndex":83424,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3271":{"name":"onDrag","type":"propertyDef","startIndex":83426,"stopIndex":83621,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3264},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3272":{"name":"toString","type":"propertyDef","startIndex":83641,"stopIndex":83760,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3273},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3273":{"name":"debugging","type":"categoryDef","startIndex":79399,"stopIndex":79536,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3272}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3274":{"name":"remove","type":"propertyDef","startIndex":83779,"stopIndex":83984,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3275},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3275":{"name":"removing","type":"categoryDef","startIndex":79538,"stopIndex":79760,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3274}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3276":{"name":"collapse","type":"propertyDef","startIndex":84005,"stopIndex":85213,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3277},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3277":{"name":"collapsing","type":"categoryDef","startIndex":79762,"stopIndex":82287,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3276},{"__isSmartRef__":true,"id":3278}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3278":{"name":"expand","type":"propertyDef","startIndex":85215,"stopIndex":86511,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3277},"className":"lively.morphic.Window","_owner":{"__isSmartRef__":true,"id":3241},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3279":{"name":null,"type":"comment","startIndex":86518,"stopIndex":86519,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3280":{"name":"lively.morphic.App","type":"klassDef","startIndex":86520,"stopIndex":87380,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3281},{"__isSmartRef__":true,"id":3283},{"__isSmartRef__":true,"id":3285},{"__isSmartRef__":true,"id":3287},{"__isSmartRef__":true,"id":3289},{"__isSmartRef__":true,"id":3290}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":3282},{"__isSmartRef__":true,"id":3284},{"__isSmartRef__":true,"id":3286},{"__isSmartRef__":true,"id":3288},{"__isSmartRef__":true,"id":3291}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3281":{"name":"initialViewExtent","type":"propertyDef","startIndex":86574,"stopIndex":86609,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3282},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3282":{"name":"properties","type":"categoryDef","startIndex":82331,"stopIndex":82385,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3281}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3283":{"name":"buildView","type":"propertyDef","startIndex":86632,"stopIndex":86725,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3284},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3284":{"name":"initializing","type":"categoryDef","startIndex":82387,"stopIndex":82501,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3283}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3285":{"name":"getInitialViewExtent","type":"propertyDef","startIndex":86745,"stopIndex":86847,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3286},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3286":{"name":"accessing","type":"categoryDef","startIndex":82503,"stopIndex":82623,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3285}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3287":{"name":"openIn","type":"propertyDef","startIndex":86865,"stopIndex":87184,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3288},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3288":{"name":"opening","type":"categoryDef","startIndex":82625,"stopIndex":83051,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3287},{"__isSmartRef__":true,"id":3289}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3289":{"name":"open","type":"propertyDef","startIndex":87186,"stopIndex":87274,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3288},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3290":{"name":"removeTopLevel","type":"propertyDef","startIndex":87294,"stopIndex":87375,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3291},"className":"lively.morphic.App","_owner":{"__isSmartRef__":true,"id":3280},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3291":{"name":"removing","type":"categoryDef","startIndex":83053,"stopIndex":83150,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3290}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3292":{"name":null,"type":"comment","startIndex":87381,"stopIndex":87381,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3293":{"name":"lively.morphic.AbstractDialog","type":"klassDef","startIndex":87382,"stopIndex":90325,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3294},{"__isSmartRef__":true,"id":3296},{"__isSmartRef__":true,"id":3298},{"__isSmartRef__":true,"id":3299},{"__isSmartRef__":true,"id":3301},{"__isSmartRef__":true,"id":3302},{"__isSmartRef__":true,"id":3303},{"__isSmartRef__":true,"id":3304},{"__isSmartRef__":true,"id":3305},{"__isSmartRef__":true,"id":3306},{"__isSmartRef__":true,"id":3308}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.App","categories":[{"__isSmartRef__":true,"id":3295},{"__isSmartRef__":true,"id":3297},{"__isSmartRef__":true,"id":3300},{"__isSmartRef__":true,"id":3307}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3294":{"name":"connections","type":"propertyDef","startIndex":87462,"stopIndex":87489,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3295},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3295":{"name":"documentation","type":"categoryDef","startIndex":83216,"stopIndex":83265,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3294}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3296":{"name":"initialViewExtent","type":"propertyDef","startIndex":87510,"stopIndex":87544,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3297},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3297":{"name":"properties","type":"categoryDef","startIndex":83267,"stopIndex":83334,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3296},{"__isSmartRef__":true,"id":3298}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3298":{"name":"inset","type":"propertyDef","startIndex":87546,"stopIndex":87558,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3297},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3299":{"name":"initialize","type":"propertyDef","startIndex":87581,"stopIndex":87749,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3300":{"name":"initializing","type":"categoryDef","startIndex":83336,"stopIndex":85814,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3299},{"__isSmartRef__":true,"id":3301},{"__isSmartRef__":true,"id":3302},{"__isSmartRef__":true,"id":3303},{"__isSmartRef__":true,"id":3304},{"__isSmartRef__":true,"id":3305}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3301":{"name":"buildPanel","type":"propertyDef","startIndex":87751,"stopIndex":88155,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3302":{"name":"buildLabel","type":"propertyDef","startIndex":88157,"stopIndex":88860,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3303":{"name":"buildCancelButton","type":"propertyDef","startIndex":88862,"stopIndex":89353,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3304":{"name":"buildOKButton","type":"propertyDef","startIndex":89355,"stopIndex":89826,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3305":{"name":"buildView","type":"propertyDef","startIndex":89828,"stopIndex":90038,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3300},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3306":{"name":"setCallback","type":"propertyDef","startIndex":90058,"stopIndex":90184,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3307},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3307":{"name":"callbacks","type":"categoryDef","startIndex":85816,"stopIndex":86095,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3306},{"__isSmartRef__":true,"id":3308}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3308":{"name":"triggerCallback","type":"propertyDef","startIndex":90186,"stopIndex":90320,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3307},"className":"lively.morphic.AbstractDialog","_owner":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3309":{"name":null,"type":"comment","startIndex":90326,"stopIndex":90326,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3310":{"name":"lively.morphic.ConfirmDialog","type":"klassDef","startIndex":90327,"stopIndex":91095,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3311},{"__isSmartRef__":true,"id":3313}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.AbstractDialog","categories":[{"__isSmartRef__":true,"id":3312},{"__isSmartRef__":true,"id":3314}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3311":{"name":"initialViewExtent","type":"propertyDef","startIndex":90414,"stopIndex":90448,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3312},"className":"lively.morphic.ConfirmDialog","_owner":{"__isSmartRef__":true,"id":3310},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3312":{"name":"properties","type":"categoryDef","startIndex":86171,"stopIndex":86224,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3311}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3313":{"name":"buildView","type":"propertyDef","startIndex":90471,"stopIndex":91090,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3314},"className":"lively.morphic.ConfirmDialog","_owner":{"__isSmartRef__":true,"id":3310},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3314":{"name":"initializing","type":"categoryDef","startIndex":86226,"stopIndex":86865,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3313}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3315":{"name":null,"type":"comment","startIndex":91096,"stopIndex":91096,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3316":{"name":"lively.morphic.PromptDialog","type":"klassDef","startIndex":91097,"stopIndex":93272,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3317},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3320},{"__isSmartRef__":true,"id":3321}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.AbstractDialog","categories":[{"__isSmartRef__":true,"id":3318},{"__isSmartRef__":true,"id":3322}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3317":{"name":"initialize","type":"propertyDef","startIndex":91269,"stopIndex":91429,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3318},"className":"lively.morphic.PromptDialog","_owner":{"__isSmartRef__":true,"id":3316},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3318":{"name":"initializing","type":"categoryDef","startIndex":87024,"stopIndex":88578,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3317},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3320}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3319":{"name":"buildTextInput","type":"propertyDef","startIndex":91431,"stopIndex":92449,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3318},"className":"lively.morphic.PromptDialog","_owner":{"__isSmartRef__":true,"id":3316},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3320":{"name":"buildView","type":"propertyDef","startIndex":92452,"stopIndex":92801,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3318},"className":"lively.morphic.PromptDialog","_owner":{"__isSmartRef__":true,"id":3316},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3321":{"name":"openIn","type":"propertyDef","startIndex":92820,"stopIndex":93267,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3322},"className":"lively.morphic.PromptDialog","_owner":{"__isSmartRef__":true,"id":3316},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3322":{"name":"opening","type":"categoryDef","startIndex":88580,"stopIndex":89042,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3321}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3323":{"name":"lively.morphic.EditDialog","type":"klassDef","startIndex":93273,"stopIndex":94866,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3324},{"__isSmartRef__":true,"id":3326},{"__isSmartRef__":true,"id":3327},{"__isSmartRef__":true,"id":3328}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.AbstractDialog","categories":[{"__isSmartRef__":true,"id":3325},{"__isSmartRef__":true,"id":3329}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3324":{"name":"initialize","type":"propertyDef","startIndex":93443,"stopIndex":93603,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3325},"className":"lively.morphic.EditDialog","_owner":{"__isSmartRef__":true,"id":3323},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3325":{"name":"initializing","type":"categoryDef","startIndex":89198,"stopIndex":90172,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3324},{"__isSmartRef__":true,"id":3326},{"__isSmartRef__":true,"id":3327}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3326":{"name":"buildTextInput","type":"propertyDef","startIndex":93605,"stopIndex":94005,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3325},"className":"lively.morphic.EditDialog","_owner":{"__isSmartRef__":true,"id":3323},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3327":{"name":"buildView","type":"propertyDef","startIndex":94008,"stopIndex":94395,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3325},"className":"lively.morphic.EditDialog","_owner":{"__isSmartRef__":true,"id":3323},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3328":{"name":"openIn","type":"propertyDef","startIndex":94414,"stopIndex":94861,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3329},"className":"lively.morphic.EditDialog","_owner":{"__isSmartRef__":true,"id":3323},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3329":{"name":"opening","type":"categoryDef","startIndex":90174,"stopIndex":90636,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3328}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3330":{"name":null,"type":"comment","startIndex":94867,"stopIndex":94868,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3331":{"name":"lively.morphic.WindowedApp","type":"klassDef","startIndex":94869,"stopIndex":95298,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3332}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.App","categories":[{"__isSmartRef__":true,"id":3333}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3332":{"name":"openIn","type":"propertyDef","startIndex":94940,"stopIndex":95293,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3333},"className":"lively.morphic.WindowedApp","_owner":{"__isSmartRef__":true,"id":3331},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3333":{"name":"opening","type":"categoryDef","startIndex":90700,"stopIndex":91068,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3332}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3334":{"name":null,"type":"comment","startIndex":95299,"stopIndex":95341,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3335":{"name":"lively.morphic.Selection","type":"klassDef","startIndex":95342,"stopIndex":107553,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3336},{"__isSmartRef__":true,"id":3338},{"__isSmartRef__":true,"id":3340},{"__isSmartRef__":true,"id":3341},{"__isSmartRef__":true,"id":3342},{"__isSmartRef__":true,"id":3343},{"__isSmartRef__":true,"id":3344},{"__isSmartRef__":true,"id":3346},{"__isSmartRef__":true,"id":3348},{"__isSmartRef__":true,"id":3349},{"__isSmartRef__":true,"id":3351},{"__isSmartRef__":true,"id":3353},{"__isSmartRef__":true,"id":3355},{"__isSmartRef__":true,"id":3357},{"__isSmartRef__":true,"id":3358},{"__isSmartRef__":true,"id":3360},{"__isSmartRef__":true,"id":3361},{"__isSmartRef__":true,"id":3362},{"__isSmartRef__":true,"id":3363},{"__isSmartRef__":true,"id":3364},{"__isSmartRef__":true,"id":3365},{"__isSmartRef__":true,"id":3366},{"__isSmartRef__":true,"id":3367},{"__isSmartRef__":true,"id":3368},{"__isSmartRef__":true,"id":3369},{"__isSmartRef__":true,"id":3370},{"__isSmartRef__":true,"id":3371},{"__isSmartRef__":true,"id":3372},{"__isSmartRef__":true,"id":3374},{"__isSmartRef__":true,"id":3375},{"__isSmartRef__":true,"id":3376},{"__isSmartRef__":true,"id":3377},{"__isSmartRef__":true,"id":3379},{"__isSmartRef__":true,"id":3380},{"__isSmartRef__":true,"id":3382},{"__isSmartRef__":true,"id":3383},{"__isSmartRef__":true,"id":3385},{"__isSmartRef__":true,"id":3386},{"__isSmartRef__":true,"id":3387},{"__isSmartRef__":true,"id":3388}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3337},{"__isSmartRef__":true,"id":3339},{"__isSmartRef__":true,"id":3345},{"__isSmartRef__":true,"id":3347},{"__isSmartRef__":true,"id":3350},{"__isSmartRef__":true,"id":3352},{"__isSmartRef__":true,"id":3354},{"__isSmartRef__":true,"id":3356},{"__isSmartRef__":true,"id":3359},{"__isSmartRef__":true,"id":3373},{"__isSmartRef__":true,"id":3378},{"__isSmartRef__":true,"id":3381},{"__isSmartRef__":true,"id":3384}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3336":{"name":"documentation","type":"propertyDef","startIndex":95417,"stopIndex":95543,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3337},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3337":{"name":"documentation","type":"categoryDef","startIndex":91171,"stopIndex":91319,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3336}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3338":{"name":"style","type":"propertyDef","startIndex":95562,"stopIndex":95630,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3339},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3339":{"name":"settings","type":"categoryDef","startIndex":91321,"stopIndex":91496,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3338},{"__isSmartRef__":true,"id":3340},{"__isSmartRef__":true,"id":3341},{"__isSmartRef__":true,"id":3342},{"__isSmartRef__":true,"id":3343}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3340":{"name":"isEpiMorph","type":"propertyDef","startIndex":95632,"stopIndex":95652,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3339},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3341":{"name":"doNotRemove","type":"propertyDef","startIndex":95654,"stopIndex":95675,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3339},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3342":{"name":"propagate","type":"propertyDef","startIndex":95677,"stopIndex":95696,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3339},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3343":{"name":"isSelection","type":"propertyDef","startIndex":95698,"stopIndex":95719,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3339},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3344":{"name":"initialize","type":"propertyDef","startIndex":95743,"stopIndex":95901,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3345},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3345":{"name":"initializing","type":"categoryDef","startIndex":91498,"stopIndex":91677,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3344}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3346":{"name":"withoutPropagationDo","type":"propertyDef","startIndex":95923,"stopIndex":96072,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3347},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3347":{"name":"propagation","type":"categoryDef","startIndex":91679,"stopIndex":91917,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3346},{"__isSmartRef__":true,"id":3348}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3348":{"name":"isPropagating","type":"propertyDef","startIndex":96074,"stopIndex":96141,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3347},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3349":{"name":"morphMenuItems","type":"propertyDef","startIndex":96156,"stopIndex":97076,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3350},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3350":{"name":"menu","type":"categoryDef","startIndex":91919,"stopIndex":92852,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3349}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3351":{"name":"copy","type":"propertyDef","startIndex":97094,"stopIndex":97250,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3352},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3352":{"name":"copying","type":"categoryDef","startIndex":92854,"stopIndex":93026,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3351}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3353":{"name":"addSelectionWhile","type":"propertyDef","startIndex":97279,"stopIndex":97903,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3354},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3354":{"name":"selection handling","type":"categoryDef","startIndex":93028,"stopIndex":93679,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3353}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3355":{"name":"remove","type":"propertyDef","startIndex":97922,"stopIndex":98065,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3356},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3356":{"name":"removing","type":"categoryDef","startIndex":93681,"stopIndex":94074,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3355},{"__isSmartRef__":true,"id":3357}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3357":{"name":"removeOnlyIt","type":"propertyDef","startIndex":98067,"stopIndex":98298,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3356},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3358":{"name":"world","type":"propertyDef","startIndex":98318,"stopIndex":98407,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3359":{"name":"accessing","type":"categoryDef","startIndex":94076,"stopIndex":96602,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3358},{"__isSmartRef__":true,"id":3360},{"__isSmartRef__":true,"id":3361},{"__isSmartRef__":true,"id":3362},{"__isSmartRef__":true,"id":3363},{"__isSmartRef__":true,"id":3364},{"__isSmartRef__":true,"id":3365},{"__isSmartRef__":true,"id":3366},{"__isSmartRef__":true,"id":3367},{"__isSmartRef__":true,"id":3368},{"__isSmartRef__":true,"id":3369},{"__isSmartRef__":true,"id":3370},{"__isSmartRef__":true,"id":3371}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3360":{"name":"setBorderWidth","type":"propertyDef","startIndex":98409,"stopIndex":98653,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3361":{"name":"setFill","type":"propertyDef","startIndex":98656,"stopIndex":98896,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3362":{"name":"setBorderColor","type":"propertyDef","startIndex":98899,"stopIndex":99142,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3363":{"name":"shapeRoundEdgesBy","type":"propertyDef","startIndex":99145,"stopIndex":99388,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3364":{"name":"setFillOpacity","type":"propertyDef","startIndex":99391,"stopIndex":99626,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3365":{"name":"setStrokeOpacity","type":"propertyDef","startIndex":99629,"stopIndex":99867,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3366":{"name":"setTextColor","type":"propertyDef","startIndex":99870,"stopIndex":100069,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3367":{"name":"setFontSize","type":"propertyDef","startIndex":100072,"stopIndex":100268,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3368":{"name":"setFontFamily","type":"propertyDef","startIndex":100271,"stopIndex":100473,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3369":{"name":"setRotation","type":"propertyDef","startIndex":100476,"stopIndex":100577,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3370":{"name":"setScale","type":"propertyDef","startIndex":100580,"stopIndex":100678,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3371":{"name":"adjustOrigin","type":"propertyDef","startIndex":100680,"stopIndex":100823,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3359},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3372":{"name":"alignVertically","type":"propertyDef","startIndex":100845,"stopIndex":101379,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3373},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3373":{"name":"aligning","type":"categoryDef","startIndex":96604,"stopIndex":99384,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3372},{"__isSmartRef__":true,"id":3374},{"__isSmartRef__":true,"id":3375},{"__isSmartRef__":true,"id":3376}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3374":{"name":"alignHorizontally","type":"propertyDef","startIndex":101382,"stopIndex":101641,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3373},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3375":{"name":"spaceVertically","type":"propertyDef","startIndex":101644,"stopIndex":102617,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3373},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3376":{"name":"spaceHorizontally","type":"propertyDef","startIndex":102620,"stopIndex":103608,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3373},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3377":{"name":"grabByHand","type":"propertyDef","startIndex":103627,"stopIndex":103947,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3378},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3378":{"name":"grabbing","type":"categoryDef","startIndex":99386,"stopIndex":100039,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3377},{"__isSmartRef__":true,"id":3379}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3379":{"name":"dropOn","type":"propertyDef","startIndex":103949,"stopIndex":104262,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3378},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3380":{"name":"moveBy","type":"propertyDef","startIndex":104282,"stopIndex":104574,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3381},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3381":{"name":"geometry","type":"categoryDef","startIndex":100041,"stopIndex":100794,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3380},{"__isSmartRef__":true,"id":3382}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3382":{"name":"setPosition","type":"propertyDef","startIndex":104576,"stopIndex":105017,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3381},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3383":{"name":"reset","type":"propertyDef","startIndex":105034,"stopIndex":105257,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3384},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3384":{"name":"world","type":"categoryDef","startIndex":100796,"stopIndex":103323,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3383},{"__isSmartRef__":true,"id":3385},{"__isSmartRef__":true,"id":3386},{"__isSmartRef__":true,"id":3387},{"__isSmartRef__":true,"id":3388}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3385":{"name":"selectMorphs","type":"propertyDef","startIndex":105260,"stopIndex":106709,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3384},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3386":{"name":"removeSelecitonIndicators","type":"propertyDef","startIndex":106712,"stopIndex":106893,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3384},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3387":{"name":"makeGroup","type":"propertyDef","startIndex":106895,"stopIndex":107221,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3384},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3388":{"name":"unGroup","type":"propertyDef","startIndex":107223,"stopIndex":107546,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3384},"className":"lively.morphic.Selection","_owner":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3389":{"name":"SelectionMorphTrait","type":"traitDef","startIndex":107554,"stopIndex":109787,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3390},{"__isSmartRef__":true,"id":3392},{"__isSmartRef__":true,"id":3393},{"__isSmartRef__":true,"id":3394},{"__isSmartRef__":true,"id":3395}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3390":{"name":"getSelectedMorphs","type":"propertyDef","startIndex":107598,"stopIndex":107689,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3391},"_owner":{"__isSmartRef__":true,"id":3389},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3391":{"name":"selection","type":"categoryDef","startIndex":29,"stopIndex":2231,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3390},{"__isSmartRef__":true,"id":3392},{"__isSmartRef__":true,"id":3393},{"__isSmartRef__":true,"id":3394},{"__isSmartRef__":true,"id":3395}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3392":{"name":"onDragStart","type":"propertyDef","startIndex":107692,"stopIndex":108305,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3391},"_owner":{"__isSmartRef__":true,"id":3389},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3393":{"name":"onDrag","type":"propertyDef","startIndex":108307,"stopIndex":108790,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3391},"_owner":{"__isSmartRef__":true,"id":3389},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3394":{"name":"onDragEnd","type":"propertyDef","startIndex":108792,"stopIndex":109548,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3391},"_owner":{"__isSmartRef__":true,"id":3389},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3395":{"name":"resetSelection","type":"propertyDef","startIndex":109551,"stopIndex":109783,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3391},"_owner":{"__isSmartRef__":true,"id":3389},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3396":{"name":null,"type":"unknown","startIndex":109788,"stopIndex":109871,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3397":{"name":null,"type":"comment","startIndex":109872,"stopIndex":109872,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3398":{"name":"lively.morphic.TextEditor","type":"klassDef","startIndex":109873,"stopIndex":115193,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3399},{"__isSmartRef__":true,"id":3401},{"__isSmartRef__":true,"id":3402},{"__isSmartRef__":true,"id":3404},{"__isSmartRef__":true,"id":3406},{"__isSmartRef__":true,"id":3407},{"__isSmartRef__":true,"id":3408},{"__isSmartRef__":true,"id":3410},{"__isSmartRef__":true,"id":3412},{"__isSmartRef__":true,"id":3413},{"__isSmartRef__":true,"id":3414},{"__isSmartRef__":true,"id":3415},{"__isSmartRef__":true,"id":3416},{"__isSmartRef__":true,"id":3417}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.WindowedApp","categories":[{"__isSmartRef__":true,"id":3400},{"__isSmartRef__":true,"id":3403},{"__isSmartRef__":true,"id":3405},{"__isSmartRef__":true,"id":3409},{"__isSmartRef__":true,"id":3411},{"__isSmartRef__":true,"id":3418}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3399":{"name":"defaultTitle","type":"propertyDef","startIndex":109952,"stopIndex":109982,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3400},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3400":{"name":"settings","type":"categoryDef","startIndex":105711,"stopIndex":105795,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3399},{"__isSmartRef__":true,"id":3401}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3401":{"name":"initialViewExtent","type":"propertyDef","startIndex":109984,"stopIndex":110019,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3400},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3402":{"name":"buildView","type":"propertyDef","startIndex":110042,"stopIndex":112437,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3403},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3403":{"name":"initializing","type":"categoryDef","startIndex":105797,"stopIndex":108213,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3402}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3404":{"name":"setCurrentURL","type":"propertyDef","startIndex":112455,"stopIndex":112579,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3405},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3405":{"name":"network","type":"categoryDef","startIndex":108215,"stopIndex":108525,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3404},{"__isSmartRef__":true,"id":3406},{"__isSmartRef__":true,"id":3407}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3406":{"name":"createWebResource","type":"propertyDef","startIndex":112581,"stopIndex":112656,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3405},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3407":{"name":"getURL","type":"propertyDef","startIndex":112658,"stopIndex":112749,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3405},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3408":{"name":"showAsLoading","type":"propertyDef","startIndex":112766,"stopIndex":113217,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3409},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3409":{"name":"helper","type":"categoryDef","startIndex":108527,"stopIndex":108993,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3408}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3410":{"name":"getEditorContent","type":"propertyDef","startIndex":113242,"stopIndex":113320,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3411":{"name":"file functions","type":"categoryDef","startIndex":108995,"stopIndex":110831,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3410},{"__isSmartRef__":true,"id":3412},{"__isSmartRef__":true,"id":3413},{"__isSmartRef__":true,"id":3414},{"__isSmartRef__":true,"id":3415},{"__isSmartRef__":true,"id":3416}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3412":{"name":"saveFile","type":"propertyDef","startIndex":113322,"stopIndex":113616,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3413":{"name":"loadFile","type":"propertyDef","startIndex":113618,"stopIndex":114007,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3414":{"name":"finishLoading","type":"propertyDef","startIndex":114009,"stopIndex":114341,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3415":{"name":"askToCreateFile","type":"propertyDef","startIndex":114344,"stopIndex":114857,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3416":{"name":"removeFile","type":"propertyDef","startIndex":114859,"stopIndex":115055,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3411},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3417":{"name":"load","type":"propertyDef","startIndex":115075,"stopIndex":115188,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3418},"className":"lively.morphic.TextEditor","_owner":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3418":{"name":"interface","type":"categoryDef","startIndex":110833,"stopIndex":110963,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3417}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3419":{"name":null,"type":"comment","startIndex":115194,"stopIndex":115194,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3420":{"name":null,"type":"unknown","startIndex":115195,"stopIndex":115279,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3421":{"name":"lively.ide","type":"klassExtensionDef","startIndex":115280,"stopIndex":115544,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3422}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3423}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3422":{"name":"openFile","type":"propertyDef","startIndex":115308,"stopIndex":115539,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3423},"className":"lively.ide","_owner":{"__isSmartRef__":true,"id":3421},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3423":{"name":"default category","type":"categoryDef","startIndex":111079,"stopIndex":111314,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3422}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3424":{"name":null,"type":"comment","startIndex":115545,"stopIndex":115547,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3425":{"name":"lively.morphic.HorizontalDivider","type":"klassDef","startIndex":115548,"stopIndex":116318,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3426},{"__isSmartRef__":true,"id":3428},{"__isSmartRef__":true,"id":3430},{"__isSmartRef__":true,"id":3432}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["HorizontalDividerTrait"],"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3427},{"__isSmartRef__":true,"id":3429},{"__isSmartRef__":true,"id":3431}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3426":{"name":"style","type":"propertyDef","startIndex":115659,"stopIndex":115710,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3427},"className":"lively.morphic.HorizontalDivider","_owner":{"__isSmartRef__":true,"id":3425},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3427":{"name":"settings","type":"categoryDef","startIndex":111418,"stopIndex":111486,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3426}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3428":{"name":"initialize","type":"propertyDef","startIndex":115733,"stopIndex":115962,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3429},"className":"lively.morphic.HorizontalDivider","_owner":{"__isSmartRef__":true,"id":3425},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3429":{"name":"initializing","type":"categoryDef","startIndex":111488,"stopIndex":111738,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3428}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3430":{"name":"onDragStart","type":"propertyDef","startIndex":115985,"stopIndex":116087,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3431},"className":"lively.morphic.HorizontalDivider","_owner":{"__isSmartRef__":true,"id":3425},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3431":{"name":"mouse events","type":"categoryDef","startIndex":111740,"stopIndex":112088,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3430},{"__isSmartRef__":true,"id":3432}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3432":{"name":"onDrag","type":"propertyDef","startIndex":116089,"stopIndex":116313,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3431},"className":"lively.morphic.HorizontalDivider","_owner":{"__isSmartRef__":true,"id":3425},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3433":{"name":null,"type":"comment","startIndex":116319,"stopIndex":116319,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3434":{"name":"lively.morphic.Slider","type":"klassDef","startIndex":116320,"stopIndex":118355,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3435},{"__isSmartRef__":true,"id":3437},{"__isSmartRef__":true,"id":3438},{"__isSmartRef__":true,"id":3440},{"__isSmartRef__":true,"id":3442},{"__isSmartRef__":true,"id":3443},{"__isSmartRef__":true,"id":3444},{"__isSmartRef__":true,"id":3445},{"__isSmartRef__":true,"id":3446}],"sourceControl":{"__isSmartRef__":true,"id":2473},"traits":["SliderMorphTrait"],"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3436},{"__isSmartRef__":true,"id":3439},{"__isSmartRef__":true,"id":3441},{"__isSmartRef__":true,"id":3447}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3435":{"name":"style","type":"propertyDef","startIndex":116414,"stopIndex":116590,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3436},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3436":{"name":"settings","type":"categoryDef","startIndex":112173,"stopIndex":112404,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3435},{"__isSmartRef__":true,"id":3437}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3437":{"name":"connections","type":"propertyDef","startIndex":116592,"stopIndex":116629,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3436},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3438":{"name":"initialize","type":"propertyDef","startIndex":116651,"stopIndex":117119,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3439},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3439":{"name":"initializing","type":"categoryDef","startIndex":112406,"stopIndex":112895,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3438}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3440":{"name":"getValue","type":"propertyDef","startIndex":117139,"stopIndex":117185,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3441},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3441":{"name":"accessing","type":"categoryDef","startIndex":112897,"stopIndex":113351,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3440},{"__isSmartRef__":true,"id":3442},{"__isSmartRef__":true,"id":3443},{"__isSmartRef__":true,"id":3444},{"__isSmartRef__":true,"id":3445}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3442":{"name":"setValue","type":"propertyDef","startIndex":117188,"stopIndex":117247,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3441},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3443":{"name":"getSliderExtent","type":"propertyDef","startIndex":117250,"stopIndex":117310,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3441},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3444":{"name":"setSliderExtent","type":"propertyDef","startIndex":117313,"stopIndex":117447,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3441},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3445":{"name":"setExtent","type":"propertyDef","startIndex":117449,"stopIndex":117574,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3441},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3446":{"name":"onMouseDown","type":"propertyDef","startIndex":117598,"stopIndex":118321,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3447},"className":"lively.morphic.Slider","_owner":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3447":{"name":"mouse events","type":"categoryDef","startIndex":113353,"stopIndex":114096,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3446}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3448":{"name":"lively.morphic.SliderKnob","type":"klassDef","startIndex":118356,"stopIndex":119975,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3449},{"__isSmartRef__":true,"id":3451},{"__isSmartRef__":true,"id":3452},{"__isSmartRef__":true,"id":3454},{"__isSmartRef__":true,"id":3456},{"__isSmartRef__":true,"id":3457},{"__isSmartRef__":true,"id":3458}],"sourceControl":{"__isSmartRef__":true,"id":2473},"superclassName":"lively.morphic.Box","categories":[{"__isSmartRef__":true,"id":3450},{"__isSmartRef__":true,"id":3453},{"__isSmartRef__":true,"id":3455}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3449":{"name":"style","type":"propertyDef","startIndex":118427,"stopIndex":118520,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3450},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3450":{"name":"settings","type":"categoryDef","startIndex":114186,"stopIndex":114324,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3449},{"__isSmartRef__":true,"id":3451}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3451":{"name":"dragTriggerDistance","type":"propertyDef","startIndex":118522,"stopIndex":118548,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3450},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3452":{"name":"initialize","type":"propertyDef","startIndex":118571,"stopIndex":118695,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3453},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3453":{"name":"initializing","type":"categoryDef","startIndex":114326,"stopIndex":114471,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3452}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3454":{"name":"onDragStart","type":"propertyDef","startIndex":118718,"stopIndex":118828,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3455},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3455":{"name":"mouse events","type":"categoryDef","startIndex":114473,"stopIndex":115745,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3454},{"__isSmartRef__":true,"id":3456},{"__isSmartRef__":true,"id":3457},{"__isSmartRef__":true,"id":3458}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3456":{"name":"onDrag","type":"propertyDef","startIndex":118830,"stopIndex":119846,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3455},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3457":{"name":"onDragEnd","type":"propertyDef","startIndex":119848,"stopIndex":119907,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3455},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3458":{"name":"onMouseDown","type":"propertyDef","startIndex":119909,"stopIndex":119968,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3455},"className":"lively.morphic.SliderKnob","_owner":{"__isSmartRef__":true,"id":3448},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3459":{"name":"Array.prototype","type":"klassExtensionDef","startIndex":119976,"stopIndex":120181,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3460}],"sourceControl":{"__isSmartRef__":true,"id":2473},"categories":[{"__isSmartRef__":true,"id":3461}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3460":{"name":"asListItemArray","type":"propertyDef","startIndex":120009,"stopIndex":120176,"fileName":"lively/morphic/Widgets.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3461},"className":"Array.prototype","_owner":{"__isSmartRef__":true,"id":3459},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3461":{"name":"default category","type":"categoryDef","startIndex":115780,"stopIndex":115951,"fileName":"lively/morphic/Widgets.js","_subElements":[{"__isSmartRef__":true,"id":3460}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3462":{"target":{"__isSmartRef__":true,"id":3463},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":2472},"moduleName":"lively/morphic/WidgetsAddOns.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3463":{"name":"lively.morphic.WidgetsAddOns","type":"moduleDef","startIndex":0,"stopIndex":1043,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[{"__isSmartRef__":true,"id":3464},{"__isSmartRef__":true,"id":3465},{"__isSmartRef__":true,"id":3470}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3464":{"name":null,"type":"comment","startIndex":119,"stopIndex":119,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3465":{"name":"FilterableListLayer","type":"copDef","startIndex":120,"stopIndex":1023,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[{"__isSmartRef__":true,"id":3466}],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3466":{"name":"lively.morphic.List","type":"copSubElement","startIndex":153,"stopIndex":1021,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[{"__isSmartRef__":true,"id":3467},{"__isSmartRef__":true,"id":3469}],"sourceControl":{"__isSmartRef__":true,"id":2473},"refineSelector":"refineClass","_owner":{"__isSmartRef__":true,"id":3465},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3467":{"name":"filterItems","type":"propertyDef","startIndex":189,"stopIndex":803,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3468},"_owner":{"__isSmartRef__":true,"id":3466},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3468":{"name":"default category","type":"categoryDef","startIndex":67,"stopIndex":900,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3467},{"__isSmartRef__":true,"id":3469}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3469":{"name":"updateList","type":"propertyDef","startIndex":805,"stopIndex":1019,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3468},"_owner":{"__isSmartRef__":true,"id":3466},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3470":{"name":null,"type":"comment","startIndex":1024,"stopIndex":1024,"fileName":"lively/morphic/WidgetsAddOns.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3471":{"target":{"__isSmartRef__":true,"id":3472},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"3472":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"3473":{"isListItem":true,"string":"video/","value":{"__isSmartRef__":true,"id":2476}},"3474":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":2477}},"3475":{"isListItem":true,"string":"AdditionalMorphs.js (not parsed)","value":{"__isSmartRef__":true,"id":2478}},"3476":{"isListItem":true,"string":"Canvas.js (not parsed)","value":{"__isSmartRef__":true,"id":2479}},"3477":{"isListItem":true,"string":"Chris.js (not parsed)","value":{"__isSmartRef__":true,"id":2480}},"3478":{"isListItem":true,"string":"ColorChooserDraft.js (not parsed)","value":{"__isSmartRef__":true,"id":2481}},"3479":{"isListItem":true,"string":"Compat.js (not parsed)","value":{"__isSmartRef__":true,"id":2482}},"3480":{"isListItem":true,"string":"CompatLayer.js (not parsed)","value":{"__isSmartRef__":true,"id":2483}},"3481":{"isListItem":true,"string":"Complete.js (not parsed)","value":{"__isSmartRef__":true,"id":2484}},"3482":{"isListItem":true,"string":"Connectors.js (not parsed)","value":{"__isSmartRef__":true,"id":2485}},"3483":{"isListItem":true,"string":"Core.js (not parsed)","value":{"__isSmartRef__":true,"id":2486}},"3484":{"isListItem":true,"string":"DiffMerge.js","value":{"__isSmartRef__":true,"id":2487}},"3485":{"isListItem":true,"string":"EventExperiments.js (not parsed)","value":{"__isSmartRef__":true,"id":2540}},"3486":{"isListItem":true,"string":"Events.js (not parsed)","value":{"__isSmartRef__":true,"id":2541}},"3487":{"isListItem":true,"string":"Experiments.js (not parsed)","value":{"__isSmartRef__":true,"id":2542}},"3488":{"isListItem":true,"string":"Graffle.js (not parsed)","value":{"__isSmartRef__":true,"id":2543}},"3489":{"isListItem":true,"string":"Graphics.js (not parsed)","value":{"__isSmartRef__":true,"id":2544}},"3490":{"isListItem":true,"string":"Grid.js (not parsed)","value":{"__isSmartRef__":true,"id":2545}},"3491":{"isListItem":true,"string":"Halos.js (not parsed)","value":{"__isSmartRef__":true,"id":2546}},"3492":{"isListItem":true,"string":"HTML.js (not parsed)","value":{"__isSmartRef__":true,"id":2547}},"3493":{"isListItem":true,"string":"jquery.flot.js (not parsed)","value":{"__isSmartRef__":true,"id":2548}},"3494":{"isListItem":true,"string":"jqueryflot.js (not parsed)","value":{"__isSmartRef__":true,"id":2549}},"3495":{"isListItem":true,"string":"Layout.js (not parsed)","value":{"__isSmartRef__":true,"id":2550}},"3496":{"isListItem":true,"string":"ModernWindow.js (not parsed)","value":{"__isSmartRef__":true,"id":2551}},"3497":{"isListItem":true,"string":"MorphAddons.js (not parsed)","value":{"__isSmartRef__":true,"id":2552}},"3498":{"isListItem":true,"string":"ObjectMigration.js (not parsed)","value":{"__isSmartRef__":true,"id":2553}},"3499":{"isListItem":true,"string":"Paragraphs.js (not parsed)","value":{"__isSmartRef__":true,"id":2554}},"3500":{"isListItem":true,"string":"PathShapes.js (not parsed)","value":{"__isSmartRef__":true,"id":2555}},"3501":{"isListItem":true,"string":"Rendering.js (not parsed)","value":{"__isSmartRef__":true,"id":2556}},"3502":{"isListItem":true,"string":"SAPBPCWidgets.js (not parsed)","value":{"__isSmartRef__":true,"id":2557}},"3503":{"isListItem":true,"string":"SAPCommonWidgets.js (not parsed)","value":{"__isSmartRef__":true,"id":2558}},"3504":{"isListItem":true,"string":"SAPWorkSheet.js (not parsed)","value":{"__isSmartRef__":true,"id":2559}},"3505":{"isListItem":true,"string":"SAPWorkSheetTest.js (not parsed)","value":{"__isSmartRef__":true,"id":2560}},"3506":{"isListItem":true,"string":"ScriptingSupport.js (not parsed)","value":{"__isSmartRef__":true,"id":2561}},"3507":{"isListItem":true,"string":"Serialization.js (not parsed)","value":{"__isSmartRef__":true,"id":2562}},"3508":{"isListItem":true,"string":"Shapes.js (not parsed)","value":{"__isSmartRef__":true,"id":2563}},"3509":{"isListItem":true,"string":"Styles.js (not parsed)","value":{"__isSmartRef__":true,"id":2564}},"3510":{"isListItem":true,"string":"StyleSheets.js (not parsed)","value":{"__isSmartRef__":true,"id":2565}},"3511":{"isListItem":true,"string":"SVG.js (not parsed)","value":{"__isSmartRef__":true,"id":2566}},"3512":{"isListItem":true,"string":"test.js (not parsed)","value":{"__isSmartRef__":true,"id":2567}},"3513":{"isListItem":true,"string":"test4.js (not parsed)","value":{"__isSmartRef__":true,"id":2568}},"3514":{"isListItem":true,"string":"test_1.js (not parsed)","value":{"__isSmartRef__":true,"id":2569}},"3515":{"isListItem":true,"string":"Tests.js (not parsed)","value":{"__isSmartRef__":true,"id":2570}},"3516":{"isListItem":true,"string":"testsubText.js (not parsed)","value":{"__isSmartRef__":true,"id":2571}},"3517":{"isListItem":true,"string":"TextCore.js","value":{"__isSmartRef__":true,"id":2572}},"3518":{"isListItem":true,"string":"Widgets.js","value":{"__isSmartRef__":true,"id":2961}},"3519":{"isListItem":true,"string":"WidgetsAddOns.js","value":{"__isSmartRef__":true,"id":3462}},"3520":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":3471}},"3521":{"morph":{"__isSmartRef__":true,"id":2461},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3522":{"x":0,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3523":{"x":243.74999999999997,"y":291.19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3524":{"scaleVertical":true,"scaleHorizontal":true},"3525":{"sourceObj":{"__isSmartRef__":true,"id":2461},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3526},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3527},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3526":{"source":{"__isSmartRef__":true,"id":2461},"target":{"__isSmartRef__":true,"id":2211}},"3527":{"updater":{"__isSmartRef__":true,"id":3528}},"3528":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3526},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":3529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3529":{},"3530":{"sourceObj":{"__isSmartRef__":true,"id":2461},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3531},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3531":{"source":{"__isSmartRef__":true,"id":2461},"target":{"__isSmartRef__":true,"id":2211}},"3532":{"sourceObj":{"__isSmartRef__":true,"id":2461},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3533},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3533":{"source":{"__isSmartRef__":true,"id":2461},"target":{"__isSmartRef__":true,"id":2211}},"3534":{"sourceObj":{"__isSmartRef__":true,"id":2461},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3535},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3535":{"source":{"__isSmartRef__":true,"id":2461},"target":{"__isSmartRef__":true,"id":2211}},"3536":{"onDownPressed":{"__isSmartRef__":true,"id":3537},"onUpPressed":{"__isSmartRef__":true,"id":3544}},"3537":{"varMapping":{"__isSmartRef__":true,"id":3538},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3538":{"this":{"__isSmartRef__":true,"id":2461},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3539}},"3539":{"$super":{"__isSmartRef__":true,"id":3540}},"3540":{"varMapping":{"__isSmartRef__":true,"id":3541},"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":3542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3541":{"obj":{"__isSmartRef__":true,"id":2461},"name":"onDownPressed"},"3542":{},"3543":{},"3544":{"varMapping":{"__isSmartRef__":true,"id":3545},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3545":{"this":{"__isSmartRef__":true,"id":2461},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3546}},"3546":{"$super":{"__isSmartRef__":true,"id":3547}},"3547":{"varMapping":{"__isSmartRef__":true,"id":3548},"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":3549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3548":{"obj":{"__isSmartRef__":true,"id":2461},"name":"onUpPressed"},"3549":{},"3550":{},"3551":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":2461}},"3552":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":3553},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3654},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3553":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3554},"derivationIds":[null],"id":"6942D753-1833-4040-B86D-293FD7DD2E0D","renderContextTable":{"__isSmartRef__":true,"id":3560},"itemList":[{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":3563},{"__isSmartRef__":true,"id":3565},{"__isSmartRef__":true,"id":3567},{"__isSmartRef__":true,"id":3569},{"__isSmartRef__":true,"id":3571},{"__isSmartRef__":true,"id":3573},{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3577},{"__isSmartRef__":true,"id":3579},{"__isSmartRef__":true,"id":3581},{"__isSmartRef__":true,"id":3583},{"__isSmartRef__":true,"id":3585},{"__isSmartRef__":true,"id":3587},{"__isSmartRef__":true,"id":3589},{"__isSmartRef__":true,"id":3591},{"__isSmartRef__":true,"id":3593},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3599},{"__isSmartRef__":true,"id":3601},{"__isSmartRef__":true,"id":3603},{"__isSmartRef__":true,"id":3605},{"__isSmartRef__":true,"id":3607},{"__isSmartRef__":true,"id":3609},{"__isSmartRef__":true,"id":3611},{"__isSmartRef__":true,"id":3613},{"__isSmartRef__":true,"id":3615},{"__isSmartRef__":true,"id":3617},{"__isSmartRef__":true,"id":3619},{"__isSmartRef__":true,"id":3621}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3623},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3624},"selection":{"__isSmartRef__":true,"id":3625},"selectedLineNo":0,"priorExtent":{"__isSmartRef__":true,"id":3626},"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":3627},"attributeConnections":[{"__isSmartRef__":true,"id":3628},{"__isSmartRef__":true,"id":3633},{"__isSmartRef__":true,"id":3635},{"__isSmartRef__":true,"id":3637}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3639},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3554":{"_Position":{"__isSmartRef__":true,"id":3555},"renderContextTable":{"__isSmartRef__":true,"id":3556},"_Extent":{"__isSmartRef__":true,"id":3557},"_Padding":{"__isSmartRef__":true,"id":3558},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":3559},"_NodeClass":["morph","box","list"],"_NodeId":"morph-6942d753-1833-4040-b86d-293fd7dd2e0d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3555":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3556":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3557":{"x":243.74999999999997,"y":291.93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3558":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3559":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3560":{"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","setStyleSheet":"setStyleSheetHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3561":{"isListItem":true,"string":"lively.morphic.Button","value":{"__isSmartRef__":true,"id":3562}},"3562":{"target":{"__isSmartRef__":true,"id":2964},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3563":{"isListItem":true,"string":"lively.morphic.Image","value":{"__isSmartRef__":true,"id":3564}},"3564":{"target":{"__isSmartRef__":true,"id":2987},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3565":{"isListItem":true,"string":"lively.morphic.Image (extension)","value":{"__isSmartRef__":true,"id":3566}},"3566":{"target":{"__isSmartRef__":true,"id":3006},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3567":{"isListItem":true,"string":"lively.morphic.CheckBox","value":{"__isSmartRef__":true,"id":3568}},"3568":{"target":{"__isSmartRef__":true,"id":3009},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3569":{"isListItem":true,"string":"lively.morphic.PasswordInput","value":{"__isSmartRef__":true,"id":3570}},"3570":{"target":{"__isSmartRef__":true,"id":3023},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3571":{"isListItem":true,"string":"lively.morphic.ProgressBar","value":{"__isSmartRef__":true,"id":3572}},"3572":{"target":{"__isSmartRef__":true,"id":3031},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3573":{"isListItem":true,"string":"lively.morphic.FrameRateMorph","value":{"__isSmartRef__":true,"id":3574}},"3574":{"target":{"__isSmartRef__":true,"id":3047},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3575":{"isListItem":true,"string":"lively.morphic.Menu","value":{"__isSmartRef__":true,"id":3576}},"3576":{"target":{"__isSmartRef__":true,"id":3054},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3577":{"isListItem":true,"string":"lively.morphic.Menu (extension)","value":{"__isSmartRef__":true,"id":3578}},"3578":{"target":{"__isSmartRef__":true,"id":3083},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3579":{"isListItem":true,"string":"lively.morphic.Morph (extension)","value":{"__isSmartRef__":true,"id":3580}},"3580":{"target":{"__isSmartRef__":true,"id":3088},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3581":{"isListItem":true,"string":"lively.morphic.Text (extension)","value":{"__isSmartRef__":true,"id":3582}},"3582":{"target":{"__isSmartRef__":true,"id":3096},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3583":{"isListItem":true,"string":"lively.morphic.World (extension)","value":{"__isSmartRef__":true,"id":3584}},"3584":{"target":{"__isSmartRef__":true,"id":3100},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3585":{"isListItem":true,"string":"lively.morphic.List (extension)","value":{"__isSmartRef__":true,"id":3586}},"3586":{"target":{"__isSmartRef__":true,"id":3158},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3587":{"isListItem":true,"string":"lively.morphic.DropDownList (extension)","value":{"__isSmartRef__":true,"id":3588}},"3588":{"target":{"__isSmartRef__":true,"id":3207},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3589":{"isListItem":true,"string":"lively.morphic.WindowControl","value":{"__isSmartRef__":true,"id":3590}},"3590":{"target":{"__isSmartRef__":true,"id":3211},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3591":{"isListItem":true,"string":"lively.morphic.TitleBar","value":{"__isSmartRef__":true,"id":3592}},"3592":{"target":{"__isSmartRef__":true,"id":3220},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3593":{"isListItem":true,"string":"lively.morphic.Window","value":{"__isSmartRef__":true,"id":3594}},"3594":{"target":{"__isSmartRef__":true,"id":3241},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3595":{"isListItem":true,"string":"lively.morphic.App","value":{"__isSmartRef__":true,"id":3596}},"3596":{"target":{"__isSmartRef__":true,"id":3280},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3597":{"isListItem":true,"string":"lively.morphic.AbstractDialog","value":{"__isSmartRef__":true,"id":3598}},"3598":{"target":{"__isSmartRef__":true,"id":3293},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3599":{"isListItem":true,"string":"lively.morphic.ConfirmDialog","value":{"__isSmartRef__":true,"id":3600}},"3600":{"target":{"__isSmartRef__":true,"id":3310},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3601":{"isListItem":true,"string":"lively.morphic.PromptDialog","value":{"__isSmartRef__":true,"id":3602}},"3602":{"target":{"__isSmartRef__":true,"id":3316},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3603":{"isListItem":true,"string":"lively.morphic.EditDialog","value":{"__isSmartRef__":true,"id":3604}},"3604":{"target":{"__isSmartRef__":true,"id":3323},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3605":{"isListItem":true,"string":"lively.morphic.WindowedApp","value":{"__isSmartRef__":true,"id":3606}},"3606":{"target":{"__isSmartRef__":true,"id":3331},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3607":{"isListItem":true,"string":"lively.morphic.Selection","value":{"__isSmartRef__":true,"id":3608}},"3608":{"target":{"__isSmartRef__":true,"id":3335},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3609":{"isListItem":true,"string":"SelectionMorphTrait","value":{"__isSmartRef__":true,"id":3610}},"3610":{"target":{"__isSmartRef__":true,"id":3389},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.TraitFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3611":{"isListItem":true,"string":"lively.morphic.TextEditor","value":{"__isSmartRef__":true,"id":3612}},"3612":{"target":{"__isSmartRef__":true,"id":3398},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3613":{"isListItem":true,"string":"lively.ide (extension)","value":{"__isSmartRef__":true,"id":3614}},"3614":{"target":{"__isSmartRef__":true,"id":3421},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3615":{"isListItem":true,"string":"lively.morphic.HorizontalDivider","value":{"__isSmartRef__":true,"id":3616}},"3616":{"target":{"__isSmartRef__":true,"id":3425},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3617":{"isListItem":true,"string":"lively.morphic.Slider","value":{"__isSmartRef__":true,"id":3618}},"3618":{"target":{"__isSmartRef__":true,"id":3434},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3619":{"isListItem":true,"string":"lively.morphic.SliderKnob","value":{"__isSmartRef__":true,"id":3620}},"3620":{"target":{"__isSmartRef__":true,"id":3448},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3621":{"isListItem":true,"string":"Array.prototype (extension)","value":{"__isSmartRef__":true,"id":3622}},"3622":{"target":{"__isSmartRef__":true,"id":3459},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3623":{"morph":{"__isSmartRef__":true,"id":3553},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3624":{"x":243.74999999999997,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3625":{"target":{"__isSmartRef__":true,"id":2964},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3626":{"x":243.74999999999997,"y":291.19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3627":{"scaleVertical":true,"scaleHorizontal":true},"3628":{"sourceObj":{"__isSmartRef__":true,"id":3553},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3629},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3630},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3629":{"source":{"__isSmartRef__":true,"id":3553},"target":{"__isSmartRef__":true,"id":2211}},"3630":{"updater":{"__isSmartRef__":true,"id":3631}},"3631":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3629},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":3632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3632":{},"3633":{"sourceObj":{"__isSmartRef__":true,"id":3553},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3634},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3634":{"source":{"__isSmartRef__":true,"id":3553},"target":{"__isSmartRef__":true,"id":2211}},"3635":{"sourceObj":{"__isSmartRef__":true,"id":3553},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3636},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3636":{"source":{"__isSmartRef__":true,"id":3553},"target":{"__isSmartRef__":true,"id":2211}},"3637":{"sourceObj":{"__isSmartRef__":true,"id":3553},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3638},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3638":{"source":{"__isSmartRef__":true,"id":3553},"target":{"__isSmartRef__":true,"id":2211}},"3639":{"onDownPressed":{"__isSmartRef__":true,"id":3640},"onUpPressed":{"__isSmartRef__":true,"id":3647}},"3640":{"varMapping":{"__isSmartRef__":true,"id":3641},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3646},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3641":{"this":{"__isSmartRef__":true,"id":3553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3642}},"3642":{"$super":{"__isSmartRef__":true,"id":3643}},"3643":{"varMapping":{"__isSmartRef__":true,"id":3644},"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":3645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3644":{"obj":{"__isSmartRef__":true,"id":3553},"name":"onDownPressed"},"3645":{},"3646":{},"3647":{"varMapping":{"__isSmartRef__":true,"id":3648},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3648":{"this":{"__isSmartRef__":true,"id":3553},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3649}},"3649":{"$super":{"__isSmartRef__":true,"id":3650}},"3650":{"varMapping":{"__isSmartRef__":true,"id":3651},"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":3652},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3651":{"obj":{"__isSmartRef__":true,"id":3553},"name":"onUpPressed"},"3652":{},"3653":{},"3654":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":3553}},"3655":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":3656},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3696},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3656":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3657},"derivationIds":[null],"id":"D177B7D4-4B2E-4EAB-B5DF-4DDC50DA85EC","renderContextTable":{"__isSmartRef__":true,"id":3663},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3664},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3665},"selection":{"__isSmartRef__":true,"id":3666},"selectedLineNo":0,"priorExtent":{"__isSmartRef__":true,"id":3668},"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":3669},"attributeConnections":[{"__isSmartRef__":true,"id":3670},{"__isSmartRef__":true,"id":3675},{"__isSmartRef__":true,"id":3677},{"__isSmartRef__":true,"id":3679}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3657":{"_Position":{"__isSmartRef__":true,"id":3658},"renderContextTable":{"__isSmartRef__":true,"id":3659},"_Extent":{"__isSmartRef__":true,"id":3660},"_Padding":{"__isSmartRef__":true,"id":3661},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":3662},"_NodeClass":["morph","box","list"],"_NodeId":"morph-d177b7d4-4b2e-4eab-b5df-4ddc50da85ec","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3658":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3659":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3660":{"x":243.74999999999997,"y":291.93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3661":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3662":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3663":{"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","setStyleSheet":"setStyleSheetHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3664":{"morph":{"__isSmartRef__":true,"id":3656},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3665":{"x":487.49999999999994,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3666":{"target":{"__isSmartRef__":true,"id":2964},"browser":{"__isSmartRef__":true,"id":2211},"parent":{"__isSmartRef__":true,"id":3667},"__LivelyClassName__":"lively.ide.AllMethodCategoryFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3667":{"target":{"__isSmartRef__":true,"id":2964},"browser":{"__isSmartRef__":true,"id":2211},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3668":{"x":243.74999999999997,"y":291.19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3669":{"scaleVertical":true,"scaleHorizontal":true},"3670":{"sourceObj":{"__isSmartRef__":true,"id":3656},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3671},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3672},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3671":{"source":{"__isSmartRef__":true,"id":3656},"target":{"__isSmartRef__":true,"id":2211}},"3672":{"updater":{"__isSmartRef__":true,"id":3673}},"3673":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3671},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":3674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3674":{},"3675":{"sourceObj":{"__isSmartRef__":true,"id":3656},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3676},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3676":{"source":{"__isSmartRef__":true,"id":3656},"target":{"__isSmartRef__":true,"id":2211}},"3677":{"sourceObj":{"__isSmartRef__":true,"id":3656},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3678},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3678":{"source":{"__isSmartRef__":true,"id":3656},"target":{"__isSmartRef__":true,"id":2211}},"3679":{"sourceObj":{"__isSmartRef__":true,"id":3656},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3680},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3680":{"source":{"__isSmartRef__":true,"id":3656},"target":{"__isSmartRef__":true,"id":2211}},"3681":{"onDownPressed":{"__isSmartRef__":true,"id":3682},"onUpPressed":{"__isSmartRef__":true,"id":3689}},"3682":{"varMapping":{"__isSmartRef__":true,"id":3683},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3688},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3683":{"this":{"__isSmartRef__":true,"id":3656},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3684}},"3684":{"$super":{"__isSmartRef__":true,"id":3685}},"3685":{"varMapping":{"__isSmartRef__":true,"id":3686},"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":3687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3686":{"obj":{"__isSmartRef__":true,"id":3656},"name":"onDownPressed"},"3687":{},"3688":{},"3689":{"varMapping":{"__isSmartRef__":true,"id":3690},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3690":{"this":{"__isSmartRef__":true,"id":3656},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3691}},"3691":{"$super":{"__isSmartRef__":true,"id":3692}},"3692":{"varMapping":{"__isSmartRef__":true,"id":3693},"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":3694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3693":{"obj":{"__isSmartRef__":true,"id":3656},"name":"onUpPressed"},"3694":{},"3695":{},"3696":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":3656}},"3697":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":3698},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3733},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3698":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3699},"derivationIds":[null],"id":"8D5C2241-F809-4237-876A-3390AB0D4BD1","renderContextTable":{"__isSmartRef__":true,"id":3705},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3706},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3707},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":3708},"owner":{"__isSmartRef__":true,"id":2196},"layout":{"__isSmartRef__":true,"id":3709},"attributeConnections":[{"__isSmartRef__":true,"id":3710},{"__isSmartRef__":true,"id":3712},{"__isSmartRef__":true,"id":3714},{"__isSmartRef__":true,"id":3716}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3718},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3699":{"_Position":{"__isSmartRef__":true,"id":3700},"renderContextTable":{"__isSmartRef__":true,"id":3701},"_Extent":{"__isSmartRef__":true,"id":3702},"_Padding":{"__isSmartRef__":true,"id":3703},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":3704},"_NodeClass":["morph","box","list"],"_NodeId":"morph-8d5c2241-f809-4237-876a-3390ab0d4bd1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3700":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3701":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3702":{"x":243.74999999999997,"y":291.93,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3703":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3704":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3705":{"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","setStyleSheet":"setStyleSheetHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3706":{"morph":{"__isSmartRef__":true,"id":3698},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3707":{"x":731.2500000000001,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3708":{"x":243.74999999999997,"y":291.19,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3709":{"scaleVertical":true,"scaleHorizontal":true},"3710":{"sourceObj":{"__isSmartRef__":true,"id":3698},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3711},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3711":{"source":{"__isSmartRef__":true,"id":3698},"target":{"__isSmartRef__":true,"id":2211}},"3712":{"sourceObj":{"__isSmartRef__":true,"id":3698},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3713},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3713":{"source":{"__isSmartRef__":true,"id":3698},"target":{"__isSmartRef__":true,"id":2211}},"3714":{"sourceObj":{"__isSmartRef__":true,"id":3698},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3715},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3715":{"source":{"__isSmartRef__":true,"id":3698},"target":{"__isSmartRef__":true,"id":2211}},"3716":{"sourceObj":{"__isSmartRef__":true,"id":3698},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3717},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3717":{"source":{"__isSmartRef__":true,"id":3698},"target":{"__isSmartRef__":true,"id":2211}},"3718":{"onDownPressed":{"__isSmartRef__":true,"id":3719},"onUpPressed":{"__isSmartRef__":true,"id":3726}},"3719":{"varMapping":{"__isSmartRef__":true,"id":3720},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3720":{"this":{"__isSmartRef__":true,"id":3698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3721}},"3721":{"$super":{"__isSmartRef__":true,"id":3722}},"3722":{"varMapping":{"__isSmartRef__":true,"id":3723},"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":3724},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3723":{"obj":{"__isSmartRef__":true,"id":3698},"name":"onDownPressed"},"3724":{},"3725":{},"3726":{"varMapping":{"__isSmartRef__":true,"id":3727},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3727":{"this":{"__isSmartRef__":true,"id":3698},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3728}},"3728":{"$super":{"__isSmartRef__":true,"id":3729}},"3729":{"varMapping":{"__isSmartRef__":true,"id":3730},"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":3731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3730":{"obj":{"__isSmartRef__":true,"id":3698},"name":"onUpPressed"},"3731":{},"3732":{},"3733":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":3698}},"3734":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":3735},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3752},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3735":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3736},"derivationIds":[null],"id":"D166DED7-C01D-4DB1-88F5-237B530DC387","renderContextTable":{"__isSmartRef__":true,"id":3742},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3743}],"eventHandler":{"__isSmartRef__":true,"id":3745},"_ClipMode":"auto","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":3746},"priorExtent":{"__isSmartRef__":true,"id":3747},"_MaxTextWidth":945.9999999999999,"_MinTextWidth":945.9999999999999,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2196},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":3748},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":3749},{"__isSmartRef__":true,"id":3750}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"module('lively.morphic.Widgets').requires('lively.morphic.Core', 'lively.morphic.Events', 'lively.WidgetsTraits', 'lively.morphic.Styles').toRun(function() {\n\nlively.morphic.Morph.subclass('lively.morphic.Button',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\n\n\nlively.morphic.Button.subclass('lively.morphic.ImageButton',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Image',\n'initializing', {\n doNotSerialize: ['isLoaded'],\n initialize: function($super, bounds, url, useNativeExtent) {\n var imageShape = this.createImageShape(bounds.extent().extentAsRectangle(), url);\n $super(imageShape);\n this.setPosition(bounds.topLeft());\n if (useNativeExtent) {\n connect(imageShape, 'isLoaded', this, 'setNativeExtent',\n {removeAfterUpdate: true});\n } else {\n connect(imageShape, 'isLoaded', this, 'setExtent',\n {removeAfterUpdate: true, converter: function() {\n return this.targetObj.getExtent() }});\n }\n },\n createImageShape: function(bounds, url) {\n return new lively.morphic.Shapes.Image(bounds, url);\n },\n},\n'accessing', {\n setImageURL: function(url) { return this.shape.setImageURL(url) },\n getImageURL: function() { return this.shape.getImageURL() },\n getNativeExtent: function() { return this.shape.getNativeExtent() },\n setNativeExtent: function() {\n var ext = this.getNativeExtent();\n // FIXME magic numbers\n if (ext.x < 10) ext.x = 10;\n if (ext.y < 10) ext.y = 10;\n return this.setExtent(ext);\n },\n},\n'halos', {\n getHaloClasses: function($super) {\n return $super().concat([lively.morphic.SetImageURLHalo]);\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n items.push(['set to original extent', this.setNativeExtent.bind(this)]);\n items.push(['inline image data', this.convertToBase64.bind(this)]);\n return items;\n },\n},\n'keyboard events', {\n onKeyPress: function($super, evt) {\n // The extent of iages should can be changed by using the + and - key\n var key = evt.getKeyChar();\n\n switch (key) {\n case \"-\": {\n this.setExtent(this.getExtent().scaleBy(0.8))\n return true;\n }\n case \"+\": {\n this.setExtent(this.getExtent().scaleBy(1.1))\n return true;\n }\n }\n return $super(evt)\n }\n},\n'inline image', {\n convertToBase64: function() {\n var urlString = this.getImageURL();\n\n var type = urlString.substring(urlString.lastIndexOf('.') + 1, urlString.length)\n if (type == 'jpg') type = 'jpeg'\n if (!['gif', 'jpeg', 'png', 'tiff'].include(type)) type = 'gif'\n\n if (false && Global.btoa) {\n // FIXME actually this should work but the encoding result is wrong...\n // maybe the binary image content is not loaded correctly because of encoding?\n urlString = URL.makeProxied(urlString);\n var content = new WebResource(urlString).get(null, 'image/' + type).content\n\n var fixedContent = content.replace(/./g, function(m) {\n return String.fromCharCode(m.charCodeAt(0) & 0xff);\n });\n var encoded = btoa(fixedContent);\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n } else {\n if (!urlString.startsWith('http'))\n urlString = URL.source.getDirectory().withFilename(urlString).toString()\n require('server.nodejs.WebInterface').toRun(function() { // FIXME\n var encoded = this.encodeOnServer(urlString)\n if (!encoded || encoded == '')\n lively.morphic.World.current().alert('Cannot convert image with url ' + urlString + ' to base64');\n else\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n }.bind(this));\n }\n },\n encodeOnServer: function(urlString) {\n var cmd = 'curl --silent \"' + urlString + '\" | openssl base64',\n result = new CommandLineServerInterface().beSync().runCommand(cmd).result;\n return result && result.stdout ? result.stdout : '';\n },\n});\nObject.extend(lively.morphic.Image, {\n fromURL: function(url, optBounds) {\n var bounds = optBounds || new Rectangle(0,0, 100, 100);\n return new lively.morphic.Image(bounds, url, optBounds == undefined)\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.CheckBox',\n'properties', {\n connections: {\n setChecked: {}\n }\n},\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n this.setChecked(isChecked);\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'checkbox';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n setChecked: function(bool) {\n this.checked = bool;\n this.renderContext().shapeNode.checked = bool;\n return bool;\n },\n},\n'testing', {\n isChecked: function() {\n return this.checked;\n },\n},\n'event handling', {\n onClick: function(evt) {\n // for halos/menus\n if (evt.isCommandKey() || !evt.isLeftMouseButtonDown()) {\n evt.stop()\n return true;\n }\n // we do it ourselves\n this.setChecked(!this.isChecked());\n return true;\n },\n},\n'serialization', {\n prepareForNewRenderContext: function ($super, renderCtx) {\n $super(renderCtx);\n // FIXME what about connections to this.isChecked?\n // they would be updated here...\n this.setChecked(this.isChecked());\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.PasswordInput',\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'password';\n node.className = 'visibleSelection';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n set value(string) {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n if (inputNode) {\n inputNode.value = string;\n }\n\n lively.bindings.signal(this, 'value', string);\n return string;\n },\n get value() {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n return inputNode ? inputNode.value : '';\n }\n});\n\nlively.morphic.Box.subclass('lively.morphic.ProgressBar',\n'settings', {\n style: {\n fill: Color.white, borderColor: Color.rgb(170,170,170), borderWidth: 1, borderRadius: 5,\n adjustForNewBounds: true,\n clipMode: 'hidden', // so that sharp borders of progress do not stick out\n },\n progressStyle: {\n scaleHorizontal: true,\n scaleVertical: true,\n borderColor: Color.rgb(170,170,170),\n borderWidth: 1,\n borderRadius: \"5px 0px 0px 5px\",\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(223,223,223)},\n {offset: 1, color: Color.rgb(204,204,204)}]),\n clipMode: 'hidden', // for label\n },\n labelStyle: {\n fontSize: 11,\n fixedWidth: true,\n fixedHeight: false,\n clipMode: 'hidden',\n align: 'center',\n },\n},\n'initializing', {\n initialize: function($super, bounds) {\n bounds = bounds || new Rectangle(0,0, 200,22);\n $super(bounds);\n this.createProgressMorph();\n this.createLabel();\n this.value = 0;\n },\n createProgressMorph: function() {\n var bounds = this.innerBounds();\n this.progressMorph = this.addMorph(lively.morphic.Morph.makeRectangle(bounds.withWidth(0)));\n this.progressMorph.applyStyle(this.progressStyle);\n this.progressMorph.ignoreEvents();\n },\n createLabel: function() {\n this.labelBlack = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.black, centeredVertical: true, scaleHorizontal: true}, this.labelStyle));\n this.labelWhite = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.white}, this.labelStyle));\n\n this.addMorphBack(this.labelBlack);\n this.progressMorph.addMorph(this.labelWhite);\n\n this.labelBlack.ignoreEvents();\n this.labelWhite.ignoreEvents();\n\n connect(this.labelBlack, 'extent', this.labelWhite, 'setExtent')\n connect(this.labelBlack, 'position', this.labelWhite, 'setPosition')\n this.labelBlack.setBounds(this.innerBounds());\n this.labelBlack.fit();\n },\n\n\n},\n'accessing', {\n getValue: function() { return this.value },\n setValue: function(v) { this.updateBar(v); return this.value = v },\n setLabel: function(string) {\n this.labelBlack.textString = string;\n this.labelWhite.textString = string;\n },\n\n},\n'updating', {\n updateBar: function(value) {\n\tvar maxExt = this.getExtent();\n // this.progressMorph.setPosition(pt(1,1));\n this.progressMorph.setExtent(pt(Math.floor(maxExt.x * value), maxExt.y));\n },\n});\n\nlively.morphic.Text.subclass('lively.morphic.FrameRateMorph', {\n\n initialize: function($super, shape) {\n // Steps at maximum speed, and gathers stats on ticks per sec and max latency\n $super(shape);\n this.setTextString('FrameRateMorph')\n this.reset(new Date());\n },\n\n reset: function(date) {\n this.lastTick = date.getSeconds();\n this.lastMS = date.getTime();\n this.stepsSinceTick = 0;\n this.maxLatency = 0;\n },\n\n nextStep: function() {\n var date = new Date();\n this.stepsSinceTick++;\n var nowMS = date.getTime();\n this.maxLatency = Math.max(this.maxLatency, nowMS - this.lastMS);\n this.lastMS = nowMS;\n var nowTick = date.getSeconds();\n if (nowTick != this.lastTick) {\n this.lastTick = nowTick;\n var ms = (1000 / Math.max(this. stepsSinceTick,1)).roundTo(1);\n this.setTextString(this.stepsSinceTick + \" frames/sec (\" + ms + \"ms avg),\\nmax latency \" + this.maxLatency + \" ms.\");\n this.reset(date);\n }\n },\n\n startSteppingScripts: function() { this.startStepping(1, 'nextStep'); }\n\n});\n\nlively.morphic.Box.subclass('lively.morphic.Menu',\n'settings', {\n style: {\n fill: Color.gray.lighter(3),\n borderColor: Color.gray.lighter(),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n opacity: 0.95,\n },\n isEpiMorph: true,\n},\n'initializing', {\n initialize: function($super, title, items) {\n $super(new Rectangle(0,0, 120, 10));\n this.items = [];\n this.itemMorphs = [];\n\n if (title) this.setupTitle(title);\n if (items) this.addItems(items);\n },\n setupTitle: function(title) {\n if (this.title) this.title.remove()\n this.title = new lively.morphic.Text(\n new Rectangle(0,0, this.getExtent().x, 25),\n String(title).truncate(26)).beLabel({\n borderRadius: this.getBorderRadius(),\n borderColor: this.getBorderColor(),\n borderWidth: 0,\n fill: new lively.morphic.LinearGradient([{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray}]),\n textColor: CrayonColors.lead,\n clipMode: 'hidden',\n fixedWidth: false,\n fixedHeight: true,\n borderColor: Color.gray.lighter(2),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n padding: Rectangle.inset(5,5,5,5),\n emphasize: {fontWeight: 'bold'}\n });\n this.title.align(this.title.bounds().bottomLeft(), pt(0,0));\n this.addMorph(this.title);\n this.fitToItems()\n },\n},\n'opening', {\n openIn: function(parentMorph, pos, remainOnScreen, captionIfAny) {\n this.setPosition(pos || pt(0,0));\n\n if (captionIfAny) { this.setupTitle(captionIfAny) };\n\n var owner = parentMorph || lively.morphic.World.current();\n this.remainOnScreen = remainOnScreen;\n if (!remainOnScreen) {\n if (owner.currentMenu) { owner.currentMenu.remove() };\n owner.currentMenu = this;\n } else {\n this.isEpiMorph = false;\n }\n\n owner.addMorph(this);\n this.fitToItems.bind(this).delay(0);\n\n this.offsetForWorld(pos);\n // delayed because of fitToItems\n // currently this is deactivated because the initial bounds are correct\n // for our current usage\n // this.offsetForWorld.curry(pos).bind(this).delay(0);\n\n return this;\n },\n},\n'removing', {\n remove: function($super) {\n var w = this.world();\n if (w && w.currentMenu === this) w.currentMenu = null;\n $super();\n },\n},\n'item management', {\n removeAllItems: function() {\n this.items = [];\n this.itemMorphs = [];\n this.submorphs.without(this.title).invoke('remove');\n },\n\n createMenuItems: function(items) {\n function createItem(string, value, idx, callback, callback2, isSubMenu) {\n return {\n isMenuItem: true,\n isListItem: true,\n\t\t\t\tisSubMenu: isSubMenu,\n string: string,\n value: value,\n idx: idx,\n onClickCallback: callback,\n onMouseOverCallback: callback2,\n }\n }\n var result = [], self = this;\n items.forEach(function(item, i) {\n if (item.isMenuItem) { item.idx = i; result.push(item); return };\n // item = [name, callback]\n if (Object.isArray(item) && Object.isFunction(item[1])) {\n result.push(createItem(String(item[0]), item[0], i, item[1]))\n return;\n }\n // item = [name, target, methodName, args...]\n if (Object.isArray(item) && Object.isString(item[2])) {\n result.push(createItem(String(item[0]), item[0], i, function(evt) {\n var receiver = item[1],\n method = receiver[item[2]],\n args = item.slice(3);\n method.apply(receiver, args) }))\n return;\n }\n // sub menu item = [name, [sub elements]]\n if (Object.isArray(item) && Object.isArray(item[1])) {\n var name = item[0], subItems = item[1];\n result.push(createItem(name, name, i, null, function(evt) {\n self.openSubMenu(evt, name, subItems) }, true));\n return;\n }\n // item = \"some string\"\n result.push(createItem(String(item), item, i, function() { alert('clicked ' + self.idx) }));\n });\n return result;\n },\n\n addItems: function(items) {\n this.removeAllItems();\n this.items = this.createMenuItems(items);\n var y = 0, x = 0, self = this;\n\n this.items.forEach(function(item) {\n \n // Always start menu items with a capital letter\n var title = item.string //.substr(0,1).toUpperCase() + item.string.substr(1, item.string.length-1);\n \n var itemHeight = 23,\n itemMorph = new lively.morphic.Text(\n new Rectangle(0, y, this.getExtent().x, itemHeight), title);\n \n // If an item has a sub menu, add an arrow icon to it\n if (item.isSubMenu) {\n var arrowMorph = new lively.morphic.Text(\n new Rectangle(0, 0, 10, itemHeight), \"▶\");\n arrowMorph.setPosition(pt(this.getExtent().x, y));\n arrowMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10,\n padding: Rectangle.inset(3,2) });\n itemMorph.addMorph(arrowMorph);\n }\n \n\n this.itemMorphs.push(this.addMorph(itemMorph));\n \n\n itemMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10.5,\n padding: Rectangle.inset(3,2) });\n itemMorph.onMouseUp = function(evt) {\n if((evt.world.clickedOnMorph !== itemMorph)\n && (Date.now() - evt.world.clickedOnMorphTime < 500))\n return false; // only a click\n // FIXME $super\n lively.morphic.Morph.prototype.onMouseUp(evt);\n //if (!evt.isLeftMouseButtonDown()) return false;\n item.onClickCallback && item.onClickCallback(evt);\n if (!self.remainOnScreen) self.remove(); // remove the menu\n evt.stop();\n return true;\n }\n\n itemMorph.registerForEvent('mouseover', itemMorph, 'onMouseOver');\n itemMorph.onMouseOver = function(evt) {\n if (itemMorph.isSelected) return true;\n itemMorph.isSelected = true;\n itemMorph.owner.itemMorphs.without(itemMorph).invoke('deselect');\n itemMorph.applyStyle({\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(100,131,248)},\n {offset: 1, color: Color.rgb(34,85,245)}]),\n textColor: Color.white,\n borderRadius: 4\n })\n \n // if the item is a submenu, set its textColor to white\n var arrow = itemMorph.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.white});\n }\n \n self.overItemMorph = itemMorph;\n self.removeSubMenu()\n item.onMouseOverCallback && item.onMouseOverCallback(evt);\n evt.stop();\n return true;\n };\n itemMorph.addScript(function onMouseWheel(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function onSelectStart(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n \n // if the item is a submenu, set its textColor back to black\n var arrow = this.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.black});\n }\n })\n y += itemHeight;\n x = Math.max(x, itemMorph.getTextExtent().x);\n }, this)\n // this.setExtent(pt(this.getExtent().x, y))\n if (this.title) y += this.title.bounds().height;\n this.setExtent(pt(x, y));\n },\n addItems2: function() {\n/* use list morph for items...\n var listMorph = new lively.morphic.List(new Rectangle(0,0, 200, 0), this.items);\n listMorph.applyStyle({clipMode: 'visible', fill: Color.white})\n listMorph.addScript(function onMouseOver(evt) {\n // just highlight\n var idx = this.renderContextDispatch('getItemIndexFromEvent', evt);\n this.renderContextDispatch('selectAt', idx);\n var item = this.itemList[idx];\n this.owner.removeSubMenu()\n this.owner.overItemMorph = this;\n if (item && item.onMouseOverCallback) item.onMouseOverCallback(evt);\n evt.stop()\n return true;\n })\n listMorph.addScript(function onMouseDown(evt) {\n if (!$super(evt)) return false;\n var item = this.itemList[this.selectedLineNo];\n if (item && item.onClickCallback) item.onClickCallback(evt);\n this.owner.remove();\n evt.stop();\n return true;\n })\n this.addMorph(listMorph);\n(function() { listMorph.setExtent(listMorph.getListExtent()); }).delay(0);\n// lively.bindings.callWhenNotNull(\n // this, 'owner',\n // {fit: function() { alert(listMorph.getListExtent()); listMorph.setExtent(listMorph.getListExtent()); }}, 'fit');\n\n return;\n*/\n },\n},\n'sub menu', {\n openSubMenu: function(evt, name, items) {\n var m = new lively.morphic.Menu(null, items);\n this.addMorph(m);\n m.fitToItems.bind(m).delay(0);\n this.subMenu = m;\n m.ownerMenu = this;\n\n // we do this twice because effect of fitToItems is delayed\n m.setVisible(false); // we hide it because it is first shown at the wrong position\n m.offsetForOwnerMenu();\n (function() {\n m.offsetForOwnerMenu()\n m.setVisible(true);\n }).delay(0);\n\n return m;\n },\n removeSubMenu: function() { if (this.subMenu) { var m = this.subMenu; m.ownerMenu = null; this.subMenu = null; m.remove() } },\n removeOwnerMenu: function() { if (this.ownerMenu) { var m = this.ownerMenu; this.ownerMenu = null; m.remove() } },\n},\n'removal', {\n remove: function($super) {\n $super();\n this.removeSubMenu();\n this.removeOwnerMenu();\n },\n},\n'bounds calculation', {\n moveBoundsForVisibility: function(menuBounds, visibleBounds) {\n var offsetX = 0,\n offsetY = 0;\n Global.lastMenuBounds = menuBounds;\n\n if (menuBounds.right() > visibleBounds.right())\n offsetX = -1 * (menuBounds.right() - visibleBounds.right());\n\n var overlapLeft = menuBounds.left() + offsetX;\n if (overlapLeft < 0)\n offsetX += -overlapLeft;\n\n if (menuBounds.bottom() > visibleBounds.bottom()) {\n offsetY = -1 * (menuBounds.bottom() - visibleBounds.bottom());\n // so that hand is not directly over menu, does not work when\n // menu is in the bottom right corner\n offsetX += 1;\n }\n var overlapTop = menuBounds.top() + offsetY;\n if (overlapTop < 0)\n offsetY += -overlapTop;\n\n return menuBounds.translatedBy(pt(offsetX, offsetY));\n },\n moveSubMenuBoundsForVisibility: function(subMenuBnds, mainMenuItemBnds, visibleBounds, direction) {\n // subMenuBnds is bounds to be transformed, mainMenuItemBnds is the bounds of the menu\n // item that caused the submenu to appear, visbleBounds is the bounds that the submenu\n // should fit into, when there are multiple submenus force one direction with forceDirection\n if (!direction) {\n direction = mainMenuItemBnds.right() + subMenuBnds.width > visibleBounds.right() ?\n 'left' : 'right';\n }\n var extent = subMenuBnds.extent();\n if (direction === 'left') {\n subMenuBnds = mainMenuItemBnds.topLeft().addXY(-extent.x, 0).extent(extent);\n } else {\n subMenuBnds = mainMenuItemBnds.topRight().extent(extent);\n }\n\n if (subMenuBnds.bottom() > visibleBounds.bottom()) {\n var deltaY = -1 * (subMenuBnds.bottom() - visibleBounds.bottom());\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n // if it overlaps at the top move the bounds so that it aligns woitht he top\n if (subMenuBnds.top() < visibleBounds.top()) {\n var deltaY = visibleBounds.top() - subMenuBnds.top();\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n return subMenuBnds;\n },\n\n offsetForWorld: function(pos) {\n var bounds = this.innerBounds().translatedBy(pos);\n if (this.title) {\n bounds = bounds.withTopLeft(bounds.topLeft().addXY(0, this.title.getExtent().y));\n }\n if (this.owner.visibleBounds) {\n bounds = this.moveBoundsForVisibility(bounds, this.owner.visibleBounds());\n }\n this.setBounds(bounds);\n },\n\n offsetForOwnerMenu: function() {\n var owner = this.ownerMenu,\n visibleBounds = this.world().visibleBounds(),\n localVisibleBounds = this.getTransform().inverse().transformRectToRect(visibleBounds),\n newBounds = this.moveSubMenuBoundsForVisibility(\n this.innerBounds(),\n owner.overItemMorph ? owner.overItemMorph.bounds() : new Rectangle(0,0,0,0),\n localVisibleBounds);\n this.setBounds(newBounds);\n },\n\n fitToItems: function() {\n var offset = 10 + 20,\n morphs = this.itemMorphs;\n if (this.title) morphs = morphs.concat([this.title]);\n var widths = morphs.invoke('getTextExtent').pluck('x');\n var width = Math.max.apply(Global, widths) + offset;\n var newExtent = this.getExtent().withX(width);\n this.setExtent(newExtent);\n morphs.forEach(function(ea) { \n ea.setExtent(ea.getExtent().withX(newExtent.x));\n if (ea.submorphs.length>0) { \n var arrow = ea.submorphs.first();\n arrow.setPosition(arrow.getPosition().withX(newExtent.x-17));\n }\n })\n }\n\n});\n\nObject.extend(lively.morphic.Menu, {\n openAtHand: function(title, items) {\n return this.openAt(lively.morphic.World.current().firstHand().getPosition(), title, items);\n },\n openAt: function(pos, title, items) {\n var menu = new lively.morphic.Menu(title, items);\n return menu.openIn(lively.morphic.World.current(), pos, false);\n },\n});\n\n\nlively.morphic.Morph.addMethods(\n'menu', {\n enableMorphMenu: function() {\n this.showsMorphMenu = true;\n },\n disableMorphMenu: function() { this.showsMorphMenu = false },\n openMorphMenuAt: function(pos, itemFilter) {\n if (!(itemFilter instanceof Function)) {\n itemFilter = function (items) { return items }\n }\n return lively.morphic.Menu.openAt(pos, this.name || this.toString(), itemFilter(this.morphMenuItems()));\n },\n showMorphMenu: function(evt) {\n this.openMorphMenuAt(evt.getPosition());\n evt.stop();\n return true;\n },\n morphMenuItems: function() {\n var self = this, items = [];\n items.push([\n 'publish', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }])\n items.push(['open in window', function(evt){\n self.openInWindow(evt.mousePoint);\n }]);\n\n // Drilling into scene to addMorph or get a halo\n var morphs = this.world().morphsContainingPoint(this.worldPoint(pt(0,0)))\n .reject(function(ea) { return ea === self})\n .reject(function(ea) { return ea === $world})\n var self = this;\n items.push([\"add morph to...\", morphs.collect(function(ea) {\n return [ea, function() { ea.addMorph(self)}]\n })])\n items.push([\"get halo on...\", morphs.collect(function(ea) {\n return [ea, function(evt) { ea.toggleHalos(evt)}]\n })])\n var steppingItems = [];\n \n if (this.startSteppingScripts) {\n steppingItems.push([\"start stepping\", function(){self.startSteppingScripts()}])\n } \n if (this.scripts.length != 0) {\n steppingItems.push([\"stop stepping\", function(){self.stopStepping()}])\n }\n if (steppingItems.length != 0) {\n items.push([\"stepping\", steppingItems])\n } \n if (this.attributeConnections && this.attributeConnections.length > 0) {\n items.push([\"connections\", this.attributeConnections\n .reject(function(ea) { return ea.dependedBy}) // Meta connection\n .reject(function(ea) { return ea.targetMethodName == 'alignToMagnet'}) // Meta connection\n .collect(function(ea) {\n var s = ea.sourceAttrName + \" -> \" + ea.targetObj + \".\" + ea.targetMethodName\n return [s, [\n [\"disconnect\", function() {\n alertOK(\"disconnecting \" + ea)\n ea.disconnect()}],\n [\"edit converter\", function() {\n var window = lively.bindings.editConnection(ea);\n }],\n [\"show\", function() {\n lively.bindings.showConnection(ea);\n }],\n [\"hide\", function() {\n if (ea.visualConnector) ea.visualConnector.remove();\n }],\n ]]\n })])\n }\n\n if (this.grabbingEnabled || this.grabbingEnabled == undefined) {\n items.push([\"disable grabbing\", this.disableGrabbing.bind(this)])\n } else {\n items.push([\"enable grabbing\", this.enableGrabbing.bind(this)])\n }\n\n if (this.owner && this.owner.submorphs.length > 1) {\n var arrange = [];\n arrange.push([\"bring to front\", function(){self.bringToFront()}]);\n arrange.push([\"send to back\", function(){self.sendToBack()}]);\n items.push([\"arrange morph\", arrange]);\n }\n \n\n if (this.submorphs.length > 0) {\n if (this.isLocked()) {\n items.push([\"unlock parts\", this.unlock.bind(this)])\n } else {\n items.push([\"lock parts\", this.lock.bind(this)])\n }\n }\n\n if (false) {\n items.push([\"enable internal selections\", function() {\n Trait('SelectionMorphTrait').applyTo(self, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n self.enableDragging();\n }])\n }\n\n if (this.reset)\n items.push(['reset', this.reset.bind(this)]);\n\n if (this.owner.owner) { // Is owner owner a Stack?\n if (this.owner.owner.pageArray) {\n this.owner.owner.stackMenuItems(this, items) // move between page and background\n }\n }\n\n return items;\n },\n getWindow: function() {\n if (this.isWorld) {\n return null;\n }\n if (this.isWindow) {\n return this;\n }\n if (this.owner) {\n return this.owner.getWindow();\n }\n return null;\n },\n\n\n\n\n});\nlively.morphic.Text.addMethods(\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n (this.evalEnabled ? '[X]' : '[ ]') + ' eval',\n function() { self.evalEnabled = !self.evalEnabled }\n ]);\n items.push([\n (this.syntaxHighlightingWhileTyping ? '[X]' : '[ ]') + ' syntax highlighting',\n function() { self.syntaxHighlightingWhileTyping ?\n self.disableSyntaxHighlighting() : self.enableSyntaxHighlighting() }\n ]);\n items.push([\n 'convert to annotation',\n function() {\n var part = $world.openPartItem('AnnotationPin', 'PartsBin/Documentation');\n part.setPosition(self.getPosition());\n part.createAnnotationFromText(self);\n self.remove();\n }\n ]);\n items.push([\n (self.isInChunkDebugMode() ? 'disable' : 'enable') + ' text chunk debugging',\n function() { self.setChunkDebugMode(!self.isInChunkDebugMode()) }]);\n return items;\n },\n\n});\n\n\nlively.morphic.World.addMethods(\n'tools', {\n loadPartItem: function(partName, optPartspaceName) {\n var optPartspaceName = optPartspaceName || 'PartsBin/NewWorld';\n var part = lively.PartsBin.getPart(partName, optPartspaceName);\n if (!part)\n \treturn;\n if (part.onCreateFromPartsBin) part.onCreateFromPartsBin();\n return part;\n },\n openPartItem: function(partName, optPartspaceName) {\n var part = this.loadPartItem(partName, optPartspaceName);\n part.openInWorld(pt(0,0))\n part.align(part.bounds().center(), this.visibleBounds().center());\n return part;\n },\n openPartsBin: function(evt) {\n return this.openPartItem('PartsBinBrowser', 'PartsBin/Tools');\n },\n openInspectorFor: function(object, evt) {\n var name = Config.useObjectInspector ? \"ObjectInspector\" : \"Explorer\";\n var part = this.openPartItem(name, 'PartsBin/Tools');\n part.explore(object);\n return part;\n },\n openStyleEditorFor: function(morph, evt) {\n var editor = this.openPartItem('StyleEditor', 'PartsBin/Tools');\n editor.setTarget(morph);\n var globalPos = morph.owner.getGlobalTransform().transformPoint(\n morph.bounds().bottomLeft());\n editor.align(editor.bounds().topLeft(),globalPos);\n return editor;\n },\n openObjectEditor: function() {\n return this.openPartItem('ObjectEditor', 'PartsBin/Tools');\n },\n openObjectEditorFor: function(morph) {\n var part = this.openObjectEditor();\n part.setTarget(morph);\n return part;\n },\n openMethodFinder: function() {\n return this.openPartItem('MethodFinder', 'PartsBin/Tools');\n },\n openMethodFinderFor: function(searchString) {\n var toolPane = this.get('ToolTabPane');\n if (!toolPane) {\n toolPane = this.openPartItem('ToolTabPane', 'PartsBin/Dialogs');\n toolPane.openInWindow();\n toolPane.owner.name = toolPane.name +\"Window\";\n toolPane.owner.minExtent = pt(700,370);\n var corner = toolPane.withAllSubmorphsDetect(function (ea) {\n return ea.name == \"ResizeCorner\";\n });\n corner && toolPane.owner.addMorph(corner)\n }\n var part = toolPane.openMethodFinderFor(searchString)\n part.setExtent(toolPane.tabPaneExtent)\n part.owner.layout = part.owner.layout || {};\n part.owner.layout.resizeWidth = true;\n part.owner.layout.resizeHeight = true;\n part.owner.layout.adjustForNewBounds = true;\n return part;\n },\n openVersionViewer: function(evt) {\n return this.openPartItem('VersionViewer', 'PartsBin/Wiki');\n },\n openTestRunner: function() {\n var m = this.openPartItem('TestRunner', 'PartsBin/Tools');\n m.align(m.bounds().topCenter().addPt(pt(0,-20)), this.visibleBounds().topCenter());\n return m\n },\n openClassBrowserFor: function(searchString) {\n var part = this.openPartItem('ClassBrowser', 'PartsBin/Tools');\n part.targetMorph.searchClass(searchString);\n return part;\n },\n openPublishPartDialogFor: function(morph) {\n var publishDialog = this.loadPartItem('PublishPartDialog', 'PartsBin/Dialogs');\n var metaInfo = morph.getPartsBinMetaInfo();\n publishDialog.targetMorph.setTarget(morph);\n publishDialog.openInWorldCenter();\n $world.publishPartDialog = publishDialog;\n return publishDialog;\n },\n openConnectDocumentation: function() {\n return this.openPartItem('HowConnectWorks', 'PartsBin/Documentation');\n },\n openShortcutDocumentation: function() {\n return this.openPartItem('HelpfulShortcuts', 'PartsBin/Documentation');\n },\n openPartsBinDocumentation: function() {\n return this.openPartItem('LivelysPartsBin', 'PartsBin/Documentation');\n },\n openSystemBrowser: function(evt) {\n var world = this,\n browser;\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n browser = new lively.ide.SystemBrowser();\n browser.openIn(world);\n\n var lastOpened = lively.ide.SourceControl.registeredBrowsers.last();\n lastOpened && browser.setTargetURL(lastOpened.targetURL)\n });\n return browser;\n },\n browseCode: function(/*args*/) {\n // find code and browse it\n // args can be objectName, methodName, sourceModuleName\n // see lively.ide.browse for more options\n var args = Array.from(arguments);\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n lively.ide.browse.apply(lively.ide, args);\n });\n },\n\n openWorkspace: function(evt) {\n var text = this.addTextWindow({title: 'Workspace',\n content: 'nothing', syntaxHighlighting: true})\n text.accessibleInInactiveWindow = true;\n text.setFontFamily('Monaco,monospace');\n return text;\n },\n openAboutBox: function() {\n var text = this.addTextWindow({title: 'About Lively Kernel'});\n text.owner.setExtent(pt(390, 105));\n var webR = new WebResource(new URL(Config.rootPath));\n var licenseURL = 'http://lively-kernel.org/license/index.html';\n var headRevision = webR.getHeadRevision().headRevision;\n var repositoryString = 'Repository: ' + Config.rootPath;\n var revisionString = '\\n\\nRevision: ' + headRevision;\n var licenseString = '\\n\\nLicense: ' + licenseURL;\n text.setTextString(repositoryString + revisionString + licenseString);\n text.changeEmphasis('Repository: '.length, repositoryString.length + 1, function(emph, doEmph) {\n doEmph({uri: Config.rootPath});\n });\n text.changeEmphasis(repositoryString.length + revisionString.length + '\\n\\nLicense: '.length, repositoryString.length + revisionString.length + licenseString.length + 1, function(emph, doEmph) {\n doEmph({uri: licenseURL});\n });\n text.setSelectionRange(0,0)\n return text;\n },\n openBootstrapParts: function() {\n // load the bootstrap part from webwerkstat\n // this part can fetch all his friends :-)\n var oldRootPath = Config.rootPath\n try {\n Config.rootPath = 'http://lively-kernel.org/repository/webwerkstatt/'\n this.openPartItem(\"BootstrapParts\", \"PartsBin/Tools\")\n } finally {\n Config.rootPath = oldRootPath\n }\n },\n openSystemConsole: function() {\n return this.openPartItem('SystemConsole', 'PartsBin/Tools');\n }\n},\n'menu', {\n morphMenuPartsBinItems: function() {\n var partSpaceName = 'PartsBin/NewWorld'\n var partSpace = lively.PartsBin.partsSpaceNamed(partSpaceName);\n partSpace.load()\n return partSpace.getPartNames().sort().collect(function(ea) { return [ea, function() {\n var part = lively.PartsBin.getPart(ea, partSpaceName)\n lively.morphic.World.current().firstHand().addMorph(part)\n }]})\n },\n morphMenuDefaultPartsItems: function() {\n var items = [],\n partNames = [\"Rectangle\", \"Ellipse\", \"Image\", \"Text\", 'Line'].sort();\n\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Basic',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n\n partNames = [\"List\", \"Slider\", \"ScriptableButton\", \"Button\"].sort()\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Inputs',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n return items;\n },\n\n debuggingMenuItems: function(world) {\n var items = [\n ['Reset world scale', this.resetScale.bind(this)],\n ['Reset title bars', this.resetAllTitleBars.bind(this)],\n ['Reset button labels', this.resetAllButtonLabels.bind(this)],\n ['World serialization info', function() {\n require('lively.persistence.Debugging').toRun(function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n })}]];\n\n // world requirements\n var changeSet = this.getChangeSet()\n worldRequirementsChange = changeSet.getWorldRequirementsList(),\n worldRequirements = worldRequirementsChange.evaluate(),\n removeRequirement = function(name) {\n changeSet.removeWorldRequirement(name);\n alertOK(name + ' is not loaded at startup anymore');\n },\n menuItems = worldRequirements.collect(function(name) {\n return [name, [['Remove', removeRequirement.curry(name)]]];\n });\n items.push(['Requirements', menuItems]);\n\n // method tracing items\n function disableGlobalTracing() {\n // FIXME better to move this functionality into lively.Tracing\n var controller = $morph(\"TracingController\");\n if (controller) {\n controller.stopTrace();\n } else {\n lively.Tracing.stopGlobalDebugging();\n }\n }\n var tracersInstalled = lively.Tracing && lively.Tracing.stackTracingEnabled,\n globalTracingEnabled = tracersInstalled && lively.Tracing.globalTracingEnabled;\n if (tracersInstalled) {\n items.push([\"Remove trace wrappers\", function() {\n if (globalTracingEnabled) disableGlobalTracing();\n lively.Tracing.uninstallStackTracers();\n }]);\n\n if (!globalTracingEnabled) {\n items.push(['Start global tracing', function() {\n lively.Tracing.startGlobalTracing()\n }]);\n items.push(['Start global debugging', function() {\n require('lively.ast.Morphic').toRun(function() {\n lively.Tracing.startGlobalDebugging()\n });\n }]);\n }\n } else {\n items.push(['Prepare system for tracing/debugging', function() {\n require(\"lively.Tracing\").toRun(function() {\n lively.Tracing.installStackTracers();\n });\n }]);\n }\n if (Global.DebugScriptsLayer && DebugScriptsLayer.isGlobal()) {\n items.push(['[X] Debug Morphic Scripts', function() {\n DebugScriptsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Morphic Scripts', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugScriptsLayer.beGlobal()\n });\n }]);\n }\n if (Global.DebugMethodsLayer && DebugMethodsLayer.isGlobal()) {\n items.push(['[X] Debug Methods', function() {\n DebugMethodsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Methods', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugMethodsLayer.beGlobal()\n });\n }]);\n }\n if (Global.AdvancedSyntaxHighlighting && AdvancedSyntaxHighlighting.isGlobal()) {\n items.push(['[X] Advanced Syntax Highlighting', function() {\n AdvancedSyntaxHighlighting.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Advanced Syntax Highlighting', function() {\n require('lively.ast.StaticAnalysis').toRun(function() {\n AdvancedSyntaxHighlighting.beGlobal();\n });\n }]);\n }\n if (Global.AutoIndentLayer && AutoIndentLayer.isGlobal()) {\n items.push(['[X] Auto Indent', function() {\n AutoIndentLayer.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Auto Indent', function() {\n require('users.cschuster.AutoIndent').toRun(function() {\n AutoIndentLayer.beGlobal();\n });\n }]);\n }\n return items;\n },\n\n morphMenuItems: function() {\n var world = this;\n var items = [\n ['PartsBin', this.openPartsBin.bind(this)],\n ['Parts', this.morphMenuDefaultPartsItems()],\n ['Tools', [\n ['Workspace', this.openWorkspace.bind(this)],\n\t\t['System Code Browser', this.openSystemBrowser.bind(this)],\n ['Object Editor', this.openObjectEditor.bind(this)],\n ['Test Runner', this.openTestRunner.bind(this)],\n ['Method Finder', this.openMethodFinder.bind(this)],\n ['Text Editor', function() { new lively.morphic.TextEditor().openIn(world) }],\n ['System Console', this.openSystemConsole.bind(this)]\n ]],\n ['Stepping', [\n ['Start stepping', function() { world.submorphs.each(\n function(ea) {ea.startSteppingScripts && ea.startSteppingScripts()})}],\n ['Stop stepping', function() { world.submorphs.each(\n function(ea) {ea.stopStepping && ea.stopStepping()})}],\n ]], \n ['Preferences', [\n ['Set username', this.askForUserName.bind(this)],\n ['My user config', this.showUserConfig.bind(this)],\n ['Set extent', this.askForNewWorldExtent.bind(this)],\n ['Set background color', this.askForNewBackgroundColor.bind(this)]]\n ],\n ['Debugging', this.debuggingMenuItems(world)],\n ['Wiki', [\n ['About this wiki', this.openAboutBox.bind(this)],\n ['Bootstrap parts from webwerkstatt', this.openBootstrapParts.bind(this)],\n ['View versions of this world', this.openVersionViewer.bind(this)],\n ['Download world', function() {\n require('lively.persistence.StandAlonePackaging').toRun(function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n });\n }],\n ['Upload world to Dropbox', function() {\n require('apps.Dropbox').toRun(function() {\n DropboxAPI.uploadArchivedWorld();\n });\n }],\n ['Delete world', this.interactiveDeleteWorldOnServer.bind(this)]\n ]],\n ['Documentation', [\n [\"On short cuts\", this.openShortcutDocumentation.bind(this)],\n [\"On connect data bindings\", this.openConnectDocumentation.bind(this)],\n\t\t\t\t [\"On Lively's PartsBin\", this.openPartsBinDocumentation.bind(this)],\n [\"More ...\", function() { window.open(Config.rootPath + 'documentation/'); }]\n ]],\n ['Save world as ...', this.interactiveSaveWorldAs.bind(this), 'synchron'],\n ['Save world', this.saveWorld.bind(this), 'synchron']\n ];\n return items;\n }\n},\n'positioning', {\n positionForNewMorph: function (newMorph, relatedMorph) {\n // this should be much smarter than the following:\n if (relatedMorph)\n return relatedMorph.bounds().topLeft().addPt(pt(5, 0));\n var pos = this.firstHand().getPosition();\n if (!newMorph) return pos;\n var viewRect = this.visibleBounds().insetBy(80),\n newMorphBounds = pos.extent(newMorph.getExtent());\n\n // newShowRect(viewRect)\n return viewRect.containsRect(newMorphBounds) ?\n pos : viewRect.center().subPt(newMorphBounds.extent().scaleBy(0.5));\n },\n},\n'windows', {\n addFramedMorph: function(morph, title, optLoc, optSuppressControls, suppressReframeHandle) {\n var w = this.addMorph(\n new lively.morphic.Window(morph, title || 'Window',\n optSuppressControls, suppressReframeHandle));\n w.setPosition(optLoc || this.positionForNewMorph(morph));\n return w;\n },\n\n addTextWindow: function(spec) {\n // FIXME: typecheck the spec\n if (Object.isString(spec.valueOf())) spec = {content: spec}; // convenience\n var extent = spec.extent || pt(500, 200),\n textMorph = new lively.morphic.Text(extent.extentAsRectangle(), spec.content || \"\"),\n pane = this.internalAddWindow(textMorph, spec.title, spec.position);\n textMorph.applyStyle({\n clipMode: 'auto',\n fixedWidth: true, fixedHeight: true,\n resizeWidth: true, resizeHeight: true,\n syntaxHighlighting: spec.syntaxHighlighting,\n padding: Rectangle.inset(4,2)});\n return pane;\n },\n\n internalAddWindow: function(morph, title, pos, suppressReframeHandle) {\n morph.applyStyle({borderWidth: 1, borderColor: CrayonColors.iron});\n pos = pos || this.firstHand().getPosition().subPt(pt(5, 5));\n var win = this.addFramedMorph(morph, String(title || \"\"), pos, suppressReframeHandle);\n return morph;\n },\n},\n'dialogs', {\n openDialog: function(dialog) {\n var activeWindow = $world.getActiveWindow() || $world,\n visibleBounds = this.visibleBounds(),\n blockee = activeWindow.targetMorph || $world,\n pointOfAlign = activeWindow.targetMorph ?\n blockee.getShape().getBounds().topRight() :\n this.visibleBounds().center(),\n window = dialog.openIn(this, pt(0,0)),\n d,\n transparentMorph,\n blockMorph;\n window.align(window.owner.localize(window.bounds().center()), visibleBounds.center());\n window.focus();\n d = dialog\n if (!activeWindow) return d;\n\n // normal bounds can be negative.. we want the shape bounds here\n var bounds = blockee.shape.bounds().translatedBy(blockee.getPosition());\n blockMorph = lively.morphic.Morph.makeRectangle(bounds);\n blockMorph.disableGrabbing();\n blockMorph.disableDragging();\n blockMorph.isEpiMorph = true;\n blockMorph.applyStyle({\n fill: null,\n borderWidth: 0,\n });\n transparentMorph = lively.morphic.Morph.makeRectangle(blockMorph.getShape().getBounds());\n transparentMorph.disableGrabbing();\n transparentMorph.disableDragging();\n transparentMorph.isEpiMorph = true;\n blockMorph.addMorph(transparentMorph);\n transparentMorph.applyStyle({\n fill: Color.black,\n opacity: 0.5,\n });\n\n blockMorph.addMorph(d.panel);\n\n if(activeWindow.targetMorph){\n d.panel.align(d.panel.bounds().topRight(), pointOfAlign);\n } else {\n d.panel.align(d.panel.bounds().center(), pointOfAlign);\n }\n\n activeWindow.addMorph(blockMorph);\n connect(d.panel, 'remove', blockMorph, 'remove');\n return dialog;\n },\n confirm: function (message, callback) {\n return this.openDialog(new lively.morphic.ConfirmDialog(message, callback));\n },\n prompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.PromptDialog(message, callback, defaultInput))\n },\n editPrompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.EditDialog(message, callback, defaultInput))\n }\n},\n'progress bar', {\n addProgressBar: function(optPt, optLabel) {\n var progressBar = new lively.morphic.ProgressBar(),\n center = optPt || this.visibleBounds().center();\n this.addMorph(progressBar);\n progressBar.align(progressBar.bounds().center(), center);\n progressBar.setLabel(optLabel || '');\n progressBar.ignoreEvents();\n return progressBar\n },\n},\n'preferences', {\n askForUserName: function() {\n var world = this;\n this.prompt(\"Please, give your username\", function(name) {\n if (name) {\n alertOK(\"setting username to: \" + name)\n world.setCurrentUser(name);\n } else {\n alertOK(\"removing username\")\n world.setCurrentUser(undefined);\n }\n })\n },\n askForNewWorldExtent: function() {\n var world = this;\n this.prompt(\"Please, give new world extent\", function(str) {\n if (!str) return;\n var newExtent;\n try {\n newExtent = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newExtent instanceof lively.Point)) {\n alert(\"\" + newExtent + \" \" + \"is not a proper extent\")\n return\n }\n alert(\"set world extent to \" + newExtent);\n world.setExtent(newExtent)\n }, this.getExtent())\n },\n askForNewBackgroundColor: function() {\n var world = this,\n oldColor = this.getFill();\n if(! (oldColor instanceof Color)){\n oldColor = Color.rgb(255,255,255);\n }\n this.prompt(\"Please, give new world background color\", function(str) {\n if (!str) return;\n var newColor;\n try {\n newColor = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newColor instanceof Color)) {\n alert(\"\" + newColor + \" \" + \"is not a proper Color\")\n return\n }\n alert(\"set world background color \" + newColor);\n world.setFill(newColor)\n }, \"Color.\" + oldColor)\n },\n\n setCurrentUser: function(username) {\n this.currentUser = username;\n if (lively.LocalStorage)\n lively.LocalStorage.set('UserName', username);\n },\n},\n'morph selection', {\n withSelectedMorphsDo: function(func, context) {\n // FIXME currently it is the halo target...\n if (!this.currentHaloTarget) return;\n func.call(context || Global, this.currentHaloTarget);\n },\n},\n'debugging', {\n resetAllScales: function() {\n this.withAllSubmorphsDo(function(ea) {\n ea.setScale(1);\n })\n },\n\tresetScale: function () {\n\t\tthis.setScale(1);\n\t\tthis.firstHand().setScale(1)\n\t},\n\tresetAllTitleBars: function() {\n this.submorphs.select(function(ea) {\n return ea instanceof lively.morphic.Window\n }).invoke('resetTitleBar')\n },\n resetAllButtonLabels: function() {\n this.withAllSubmorphsDo(function(ea) {\n if (ea instanceof lively.morphic.Button) {\n // doppelt haellt besser ;) (old german proverb)\n ea.setLabel(ea.getLabel());\n ea.setLabel(ea.getLabel());\n }\n })\n },\n},\n'wiki', {\n interactiveDeleteWorldOnServer: function() {\n var url = URL.source;\n this.world().confirm('Do you really want to delete ' + url.filename() + '?',\n function(answer) {\n if (!answer) return;\n new WebResource(URL.source)\n .statusMessage('Removed ' + url, 'Error removing ' + url, true)\n .del();\n })\n },\n getActiveWindow: function () {\n return this.submorphs.detect(function (ea) { return ea.isWindow && ea.isActive() });\n }\n});\n\nlively.morphic.List.addMethods(\n'documentation', {\n connections: {\n selection: {},\n itemList: {},\n selectedLineNo: {}\n },\n},\n'settings', {\n style: {borderColor: Color.black, borderWidth: 0, fill: Color.gray.lighter().lighter(), clipMode: 'auto', fontFamily: 'Helvetica', fontSize: 10, enableGrabbing: false},\n selectionColor: Color.green.lighter(),\n isList: true,\n},\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds);\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n if (optItems) this.updateList(optItems);\n },\n},\n'accessing', {\n setExtent: function($super, extent) {\n $super(extent);\n this.resizeList();\n },\n getListExtent: function() { return this.renderContextDispatch('getListExtent') },\n\n\n},\n'list interface', {\n getMenu: function() { /*FIXME actually menu items*/ return [] },\n updateList: function(items) {\n if (!items) items = [];\n this.itemList = items;\n var that = this;\n var itemStrings = items.collect(function(ea) { return that.renderFunction(ea); });\n this.renderContextDispatch('updateListContent', itemStrings);\n },\n addItem: function(item) {\n this.updateList(this.itemList.concat([item]));\n },\n\n selectAt: function(idx) {\n if (!this.isMultipleSelectionList)\n this.clearSelections();\n this.renderContextDispatch('selectAllAt', [idx]);\n this.updateSelectionAndLineNoProperties(idx);\n },\n deselectAt: function(idx) { this.renderContextDispatch('deselectAt', idx) },\n\n updateSelectionAndLineNoProperties: function(selectionIdx) {\n var item = this.itemList[selectionIdx];\n this.selectedLineNo = selectionIdx;\n this.selection = item && (item.value !== undefined) ? item.value : item;\n },\n\n setList: function(items) { return this.updateList(items) },\n getList: function() { return this.itemList },\n getValues: function() {\n return this.getList().collect(function(ea) { return ea.isListItem ? ea. value : ea})\n },\n\n setSelection: function(sel) {\n this.selectAt(this.find(sel));\n },\n getSelection: function() { return this.selection },\n getItem: function(value) {\n return this.itemList[this.find(value)];\n },\n removeItemOrValue: function(itemOrValue) {\n var idx = this.find(itemOrValue), item = this.itemList[idx];\n this.updateList(this.itemList.without(item));\n return item;\n },\n\n getSelectedItem: function() {\n return this.selection && this.selection.isListItem ? this.itemList[this.selectedLineNo] : this.selection;\n },\n moveUpInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx-1);\n },\n moveDownInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx+1);\n },\n clearSelections: function() { this.renderContextDispatch('clearSelections') },\n\n},\n'private list functions', {\n changeListPosition: function(oldIdx, newIdx) {\n var item = this.itemList[oldIdx];\n this.itemList.removeAt(oldIdx);\n this.itemList.pushAt(item, newIdx);\n this.updateList(this.itemList);\n this.selectAt(newIdx);\n },\n resizeList: function(idx) {\n this.renderContextDispatch('resizeList');\n },\n find: function(itemOrValue) {\n // returns the index in this.itemList\n for (var i = 0; i < this.itemList.length; i++) {\n var val = this.itemList[i];\n if (val === itemOrValue || (val && val.isListItem && val.value === itemOrValue))\n return i\n }\n },\n\n},\n'styling', {\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.fontFamily !== undefined) this.setFontFamily(spec.fontFamily);\n if (spec.fontSize !== undefined) this.setFontSize(spec.fontSize);\n },\n setFontSize: function(fontSize) { return this.morphicSetter('FontSize', fontSize) },\n getFontSize: function() { return this.morphicGetter('FontSize') || 10 },\n setFontFamily: function(fontFamily) { return this.morphicSetter('FontFamily', fontFamily) },\n getFontFamily: function() { return this.morphicSetter('FontFamily') || 'Helvetica' },\n},\n'multiple selection support', {\n enableMultipleSelections: function() {\n this.isMultipleSelectionList = true;\n this.renderContextDispatch('enableMultipleSelections');\n },\n getSelectedItems: function() {\n var items = this.itemList;\n return this.getSelectedIndexes().collect(function(i) { return items[i] });\n },\n getSelectedIndexes: function() { return this.renderContextDispatch('getSelectedIndexes') },\n\n getSelections: function() {\n return this.getSelectedItems().collect(function(ea) {return ea.isListItem ? ea.value : ea})\n },\n setSelections: function(arr) {\n var indexes = arr.collect(function(ea) { return this.find(ea) }, this);\n this.selectAllAt(indexes);\n },\n setSelectionMatching: function(string) {\n for (var i = 0; i < this.itemList.length; i++) {\n var itemString = this.itemList[i].string || String(this.itemList[i]);\n if (string == itemString)\n this.selectAt(i);\n }\n },\n selectAllAt: function(indexes) {\n this.renderContextDispatch('selectAllAt', indexes)\n },\n renderFunction: function(anObject) {\n return anObject.string || String(anObject);\n },\n\n});\nlively.morphic.DropDownList.addMethods(\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds, optItems);\n },\n});\n\nlively.morphic.Button.subclass(\"lively.morphic.WindowControl\",\n'documentation', {\n documentation: \"Event handling for Window morphs\",\n},\n'settings and state', {\n style: {borderWidth: 0, strokeOpacity: 0, padding: Rectangle.inset(0,2), accessibleInInactiveWindow: true},\n connections: ['HelpText', 'fire'],\n},\n'initializing', {\n initialize: function($super, bnds, inset, labelString, labelOffset) {\n $super(bnds, labelString)\n this.label.applyStyle({fontSize: 8})\n },\n});\n\nlively.morphic.Box.subclass(\"lively.morphic.TitleBar\", Trait('TitleBarMorph'),\n'documentation', {\n documentation: \"Title bar for lively.morphic.Window\",\n},\n'properties', {\n controlSpacing: 3,\n barHeight: 22,\n shortBarHeight: 15,\n accessibleInInactiveWindow: true,\n style: {\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray.mixedWith(Color.black, 0.8)}]),\n strokeOpacity: 1,\n borderRadius: \"8px 8px 0px 0px\",\n borderWidth: 1,\n borderColor: Color.darkGray,\n adjustForNewBounds: true,\n resizeWidth: true\n },\n labelStyle: {\n borderRadius: 0,\n padding: Rectangle.inset(0,0),\n fill: null,\n fontSize: 10,\n align: 'center',\n clipMode: 'hidden',\n fixedWidth: true,\n fixedHeight: true,\n resizeWidth: true,\n textColor: Color.darkGray,\n emphasize: {textShadow: {color: Color.white, offset: pt(0,1)}}\n }\n},\n'intitializing', {\n initialize: function($super, headline, windowWidth, windowMorph, optSuppressControls) {\n if (optSuppressControls) { // for dialog boxes\n this.suppressControls = true;\n this.barHeight = this.shortBarHeight;\n }\n var bounds = new Rectangle(0, 0, windowWidth, this.barHeight);\n\n $super(bounds);\n\n // this.ignoreEvents();\n this.windowMorph = windowMorph;\n\n // Note: Layout of submorphs happens in adjustForNewBounds (q.v.)\n var label;\n if (headline instanceof lively.morphic.Text) {\n label = headline;\n } else if (headline != null) { // String\n label = lively.morphic.Text.makeLabel(headline, this.labelStyle);\n }\n this.label = this.addMorph(label);\n\n if (!this.suppressControls) {\n var cell = new Rectangle(0, 0, this.barHeight-5, this.barHeight-5);\n\n this.closeButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"X\", pt(-5,-4)));\n this.closeButton.applyStyle({moveHorizontal: true});\n //this.closeButton.linkToStyles('titleBar_closeButton');\n this.menuButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"M\", pt(-5,-6)));\n //this.menuButton.linkToStyles('titleBar_menuButton');\n this.collapseButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"–\", pt(-3,-6)));\n this.collapseButton.applyStyle({moveHorizontal: true});\n //this.collapseButton.linkToStyles('titleBar_collapseButton');\n\n this.connectButtons(windowMorph);\n }\n // This will align the buttons and label properly\n this.adjustForNewBounds();\n this.adjustForNewBounds();\n\n this.disableDropping();\n },\n\n},\n'label', {\n setTitle: function(string) {\n this.label.replaceTextString(string);\n this.adjustForNewBounds();\n },\n},\n'layouting', {\n adjustForNewBounds: function($super) {\n $super();\n var innerBounds = this.innerBounds();\n var sp = this.controlSpacing;\n var loc = this.innerBounds().topLeft().addXY(sp, sp);\n var l0 = loc;\n var dx = pt(this.barHeight - sp, 0);\n if (this.menuButton) {\n this.menuButton.setPosition(loc);\n loc = loc.addPt(dx);\n }\n if (this.label) {\n var start = this.menuButton ? this.menuButton.bounds().topRight() : pt(0,0),\n end = this.collapseButton ? this.collapseButton.bounds().bottomLeft() : innerBounds.bottomRight();\n this.label.setBounds(rect(start, end))\n }\n if (this.closeButton) {\n loc = this.innerBounds().topRight().addXY(\n -sp-this.closeButton.shape.getBounds().width, sp);\n this.closeButton.setPosition(loc);\n loc = loc.subPt(dx);\n }\n if (this.collapseButton) {\n this.collapseButton.setPosition(loc);\n //loc = loc.subPt(dx);\n };\n\n/* var style = this.styleNamed(\"titleBar\");\n var w = style.borderWidth || 1;\n var r = style.borderRadius || 3;\n this.contentMorph.setBounds(new Rectangle(w/2, w/2, innerBounds.width, this.barHeight + r));*/\n },\n lookCollapsedOrNot: function(collapsed) {\n this.applyStyle({borderRadius: collapsed ? \"8px 8px 8px 8px\" : \"8px 8px 0px 0px\"});\n },\n\n\n\n},\n'event handling', {\n onMouseDown: function (evt) {\n //Functions.False,\n // TODO: refactor to evt.hand.clickedOnMorph when everything else is ready for it\n evt.world.clickedOnMorph = this.windowMorph;\n },\n onMouseUp: Functions.False,\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Window', Trait('WindowMorph'),\n'documentation', {\n documentation: \"Full-fledged windows with title bar, menus, etc\",\n},\n'settings and state', {\n state: 'expanded',\n style: {borderWidth: 0, fill: null, borderRadius: 0, strokeOpacity: 0, adjustForNewBounds: true, enableDragging: true},\n isWindow: true,\n isCollapsed: function() { return this.state === 'collapsed' },\n\n},\n'initializing', {\n initialize: function($super, targetMorph, titleString, optSuppressControls) {\n $super(new lively.morphic.Shapes.Rectangle());\n this.LK2 = true; // to enable workaround in WindowMorph trait.expand\n\n var bounds = targetMorph.bounds(),\n titleBar = this.makeTitleBar(titleString, bounds.width, optSuppressControls),\n titleHeight = titleBar.bounds().height - titleBar.getBorderWidth();\n this.setBounds(bounds.withHeight(bounds.height + titleHeight));\n this.targetMorph = this.addMorph(targetMorph);\n this.reframeHandle = this.addMorph(this.makeReframeHandle());\n this.alignReframeHandle();\n this.titleBar = this.addMorph(titleBar);\n this.contentOffset = pt(0, titleHeight);\n targetMorph.setPosition(this.contentOffset);\n // this.closeAllToDnD();\n\n this.collapsedTransform = null;\n this.collapsedExtent = null;\n this.expandedTransform = null;\n this.expandedExtent = null;\n this.ignoreEventsOnExpand = false;\n this.disableDropping();\n return this;\n },\n\n},\n'window behavior', {\n makeTitleBar: function(titleString, width, optSuppressControls) {\n // Overridden in TabbedPanelMorph\n return new lively.morphic.TitleBar(titleString, width, this, optSuppressControls);\n },\n removeHalos: function($super, optWorld) {\n // Sadly, this doesn't get called when click away from halo\n // Need to patch World.removeHalosFor, or refactor so it calls this\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n $super(optWorld);\n },\n showHalos: function($super) {\n // Hide the reframe handle in case of menu reframe\n if (this.reframeHandle) {\n this.reframeHandle.remove();\n }\n $super();\n },\n\n makeReframeHandle: function() {\n var handle = lively.morphic.Morph.makePolygon(\n [pt(14, 0), pt(14, 14), pt(0, 14)], 0, null, Color.gray);\n handle.addScript(function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n });\n handle.addScript(function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n });\n handle.addScript(function onDragEnd (evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n });\n return handle;\n },\n\n alignReframeHandle: function() {\n if (this.reframeHandle) {\n this.reframeHandle.align(this.reframeHandle.bounds().bottomRight(), this.getExtent());\n }\n },\n\n getBounds: function($super) {\n if (this.titleBar && this.isCollapsed()) {\n var titleBarTranslation = this.titleBar.getGlobalTransform().getTranslation();\n return this.titleBar.bounds().translatedBy(titleBarTranslation);\n }\n return $super();\n },\n\n initiateShutdown: function() {\n if (this.isShutdown()) return null;\n if (this.onShutdown) this.onShutdown();\n this.remove();\n this.state = 'shutdown'; // no one will ever know...\n return true;\n },\n\n resetTitleBar: function() {\n var oldTitleBar = this.titleBar;\n oldTitleBar.remove();\n this.titleBar = this.makeTitleBar(oldTitleBar.label.textString, this.getExtent().x);\n this.addMorph(this.titleBar);\n },\n\n},\n'menu', {\n showTargetMorphMenu: function() {\n var target = this.targetMorph || this;\n if (this.targetMorph) {\n var self = this;\n itemFilter = function (items) {\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }]\n return items;\n }\n }\n target.openMorphMenuAt(this.getGlobalTransform().transformPoint(pt(0,0)), itemFilter);\n },\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }];\n items.push([\n 'Set title', function(evt) {\n $world.prompt('Enter new title', function(input) {\n if (input || input == '') self.setTitle(input);\n }, self.getTitle()); }]);\n return items;\n },\n},\n'mouse event handling', {\n highlight: function(trueForLight) {\n this.highlighted = trueForLight;\n var fill = this.titleBar.getStyle().fill || this.titleBar.getFill(),\n newFill = trueForLight ? fill.lighter(1) : fill;\n this.titleBar.applyStyle({\n fill: newFill,\n });\n this.titleBar.label.applyStyle({emphasize: {fontWeight: trueForLight ? 'bold' : 'normal'}});\n },\n\n isInFront: function() { return this.owner && this.owner.topMorph() === this },\n isActive: function() {\n return this.isInFront() && this.world() && this.highlighted;\n },\n\n comeForward: function() {\n // adds the window before each other morph in owner\n // this resets the scroll in HTML, fix for now -- gather before and set it afterwards\n if (this.isInFront()) return; // already at front\n var textsAndLists = [], scrolls = [];\n this.withAllSubmorphsDo(function(ea) {\n if (!ea.isList && !ea.isText) return;\n textsAndLists.push(ea);\n scrolls.push(ea.getScroll());\n });\n this.owner.addMorphFront(this); // come forward\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n (function() {\n textsAndLists.forEach(function(ea, i) { ea.setScroll(scrolls[i][0], scrolls[i][1]) });\n if (this.targetMorph && this.targetMorph.onWindowGetsFocus) {\n this.targetMorph.onWindowGetsFocus();\n }\n }).delay(0);\n },\n\n onMouseDown: function(evt) {\n var wasInFront = this.isActive();\n // this.highlight(true);\n this.comeForward();\n if (!wasInFront) {\n this.world().submorphs.forEach(function(ea) {\n ea !== this && ea.isWindow && ea.highlight(false);\n }, this);\n this.highlight(true);\n if (this.morphsContainingPoint(evt.getPosition()).detect(function(ea) {\n return ea.accessibleInInactiveWindow || true }))\n return false; // was: $super(evt);\n\n this.cameForward = true; // for stopping the up as well\n evt.world.clickedOnMorph = null; // dont initiate drag, FIXME, global state!\n evt.stop(); // so that text, lists that are automatically doing things are not modified\n return true;\n } else {\n this.comeForward();\n return false; // was: $super(evt);\n }\n },\n onMouseUp: function(evt) {\n if (this.cameForward) {\n this.cameForward = false;\n evt.stop();\n return true;\n }\n return false;\n },\n onDragStart: function(evt) {\n this.prevDragPos = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var movedBy = evt.getPosition().subPt(this.prevDragPos);\n this.prevDragPos = evt.getPosition();\n this.moveBy(movedBy);\n return true;\n },\n},\n'debugging', {\n toString: function($super) {\n return $super() + ' ' + (this.titleBar ? this.titleBar.getTitle() : '');\n },\n},\n'removing', {\n remove: function($super) {\n // should trigger remove of submorphs but remove is also usedelsewhere (grab)\n // this.targetMorph && this.targetMorph.remove();\n return $super();\n },\n},\n'collapsing', {\n collapse: function() {\n if (this.isCollapsed()) return;\n this.expandedTransform = this.getTransform();\n this.expandedExtent = this.getExtent();\n this.expandedPosition = this.getPosition();\n this.targetMorph.onWindowCollapse && this.targetMorph.onWindowCollapse();\n this.targetMorph.remove();\n this.helperMorphs = this.submorphs.withoutAll([this.targetMorph, this.titleBar]);\n this.helperMorphs.invoke('remove');\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(true);\n var finCollapse = function () {\n this.state = 'collapsed'; // Set it now so setExtent works right\n if (this.collapsedTransform) this.setTransform(this.collapsedTransform);\n if (this.collapsedExtent) this.setExtent(this.collapsedExtent);\n if (this.collapsedPosition) this.setPosition(this.collapsedPosition);\n this.shape.setBounds(this.titleBar.bounds());\n }.bind(this);\n if (this.collapsedPosition && this.collapsedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.collapsedPosition, 5, 50, finCollapse);\n else finCollapse();\n },\n expand: function() {\n if (!this.isCollapsed()) return;\n this.collapsedTransform = this.getTransform();\n this.collapsedExtent = this.innerBounds().extent();\n this.collapsedPosition = this.getPosition();\n var finExpand = function () {\n this.state = 'expanded';\n if (this.expandedTransform)\n this.setTransform(this.expandedTransform);\n if (this.expandedExtent) {\n this.setExtent(this.expandedExtent);\n }\n if (this.expandedPosition) {\n this.setPosition(this.expandedPosition);\n }\n\n this.addMorph(this.targetMorph);\n\n this.helperMorphs.forEach(function(ea) {\n this.addMorph(ea)\n }, this);\n\n // Bring this window forward if it wasn't already\n this.owner && this.owner.addMorphFront(this);\n this.targetMorph.onWindowExpand && this.targetMorph.onWindowExpand();\n }.bind(this);\n if (this.expandedPosition && this.expandedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.expandedPosition, 5, 50, finExpand);\n else finExpand();\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(false);\n },\n\n});\n\n\nObject.subclass('lively.morphic.App',\n'properties', {\n initialViewExtent: pt(350, 200),\n},\n'initializing', {\n buildView: function(extent) {\n throw new Error('buildView not implemented!')\n },\n},\n'accessing', {\n getInitialViewExtent: function(world, hint) {\n return hint || this.initialViewExtent;\n },\n},\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world));\n view.ownerApp = this; // for debugging\n this.view = view;\n if (pos) view.setPosition(pos);\n if (world.currentScene) world = world.currentScene;\n return world.addMorph(view);\n },\n open: function() {\n return this.openIn(lively.morphic.World.current());\n },\n\n},\n'removing', {\n removeTopLevel: function() {\n if (this.view) this.view.remove();\n },\n});\n\nlively.morphic.App.subclass('lively.morphic.AbstractDialog',\n'documentation', {\n connections: ['result'],\n},\n'properties', {\n initialViewExtent: pt(300, 90),\n inset: 4,\n},\n'initializing', {\n initialize: function(message, callback) {\n this.result = null;\n this.message = message || '?';\n if (callback) this.setCallback(callback);\n },\n buildPanel: function(bounds) {\n this.panel = new lively.morphic.Box(bounds);\n this.panel.applyStyle({\n fill: Color.rgb(210,210,210),\n borderColor: Color.gray.darker(),\n borderWidth: 1,\n adjustForNewBounds: true, // layouting\n lock: true,\n });\n this.panel.disableDragging();\n this.panel.disableGrabbing();\n },\n buildLabel: function() {\n var bounds = new Rectangle(this.inset, this.inset, this.panel.getExtent().x - 2*this.inset, 18);\n this.label = this.panel.addMorph(new lively.morphic.Text(bounds, this.message));\n this.label.beLabel({fill: Color.white, fixedHeight: true, fixedWidth: false, padding: Rectangle.inset(0,0)});\n// FIXME ugly hack for wide dialogs\n(function fit() {\n this.label.fit();\n var labelWidth = this.label.getExtent().x, panelExtent = this.panel.getExtent();\n if (labelWidth > panelExtent.x)\n this.panel.setExtent(panelExtent.withX(labelWidth))\n}).bind(this).delay(0);\n this.label.disableDragging();\n this.label.disableGrabbing();\n },\n buildCancelButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'Cancel');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, this.inset), this.panel.innerBounds().bottomRight())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.cancelButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildOKButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'OK');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, 0), this.cancelButton.bounds().bottomLeft())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.okButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildView: function(extent) {\n this.buildPanel(extent.extentAsRectangle());\n this.buildLabel();\n this.buildCancelButton();\n this.buildOKButton();\n return this.panel;\n },\n},\n'callbacks', {\n setCallback: function(func) {\n this.callback = func;\n connect(this, 'result', this, 'triggerCallback')\n },\n triggerCallback: function(resultBool) {\n this.removeTopLevel();\n if (this.callback) this.callback(resultBool);\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.ConfirmDialog',\n'properties', {\n initialViewExtent: pt(260, 70),\n},\n'initializing', {\n buildView: function($super, extent) {\n var panel = $super(extent);\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(this.okButton, 'fire', this, 'result', {\n converter: function() { return true }});\n lively.bindings.connect(panel, 'onEscPressed', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(panel, 'onEnterPressed', this, 'result', {\n converter: function() { return true }});\n\n return panel;\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.PromptDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function(bounds) {\n var input = new lively.morphic.Text(this.label.bounds().insetByPt(pt(this.label.getPosition().x * 2, 0)), this.defaultInput || '');\n input.align(input.getPosition(), this.label.bounds().bottomLeft().addPt(pt(0,5)));\n input.beInputLine({fixedWidth: true});\n\t\tinput.disableDragging();\n\t\tinput.disableGrabbing();\n connect(input, 'savedTextString', this, 'result');\n connect(input, 'onEscPressed', this, 'result', {converter: function() { return null } });\n connect(this.panel, 'onEscPressed', this, 'result', {converter: function() { return null}});\n // addScript is a bit of a hack because the function in addScript\n // doesn't close over \"input\", apparently...\n this.panel.addScript(function onEnterPressed(evt) {\n evt.stop();\n });\n connect(this.panel, 'onEnterPressed', input, 'doSave', {converter: function(arg) { return arg } });\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\nlively.morphic.AbstractDialog.subclass('lively.morphic.EditDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function() {\n var input = new lively.morphic.Text(this.label.bounds(), this.defaultInput || '')\n .applyStyle({resizeWidth: true, resizeHeight: true, clipMode: 'auto'});\n input.align(input.getPosition(), this.label.bounds().bottomLeft());\n connect(input, 'savedTextString', this, 'result');\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n panel.setExtent(pt(400,200))\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\n\n\nlively.morphic.App.subclass('lively.morphic.WindowedApp',\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world)),\n window = world.addFramedMorph(view, this.defaultTitle);\n if (world.currentScene) world.currentScene.addMorph(window); // FIXME\n view.ownerApp = this; // for debugging\n this.view = window;\n return window;\n },\n});\n\n\n// COPIED from Widgets.js SelectionMorph\nlively.morphic.Box.subclass('lively.morphic.Selection',\n'documentation', {\n documentation: 'selection \"tray\" object that allows multiple objects to be moved and otherwise manipulated simultaneously',\n},\n'settings', {\n style: {fill: null, borderWidth: 1, borderColor: Color.darkGray},\n isEpiMorph: true,\n doNotRemove: true,\n propagate: true,\n isSelection: true,\n\n},\n'initializing', {\n initialize: function($super, initialBounds) {\n $super(initialBounds);\n this.applyStyle(this.style);\n this.selectedMorphs = [];\n\n },\n},\n'propagation', {\n withoutPropagationDo: function(func) {\n // emulate COP\n this.propagate = false;\n func()\n this.propagate = true;\n },\n isPropagating: function() {\n return this.propagate\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n if (this.selectedMorphs.length === 1) {\n var self = this;\n items.push([\"open ObjectEditor for selection\", function(){\n $world.openObjectEditorFor(self.selectedMorphs[0])\n }])\n }\n items.push([\"align vertically\", this.alignVertically.bind(this)]);\n items.push([\"space vertically\", this.spaceVertically.bind(this)]);\n items.push([\"align horizontally\", this.alignHorizontally.bind(this)]);\n items.push([\"space horizontally\", this.spaceHorizontally.bind(this)]);\n\n if (this.selectedMorphs.length == 1) {\n items.push([\"ungroup\", this.unGroup.bind(this)]);\n } else {\n items.push([\"group\", this.makeGroup.bind(this)]);\n }\n\n // items.push([\"align to grid...\", this.alignToGrid.bind(this)]);\n\n return items;\n },\n},\n'copying', {\n copy: function($super) {\n this.isEpiMorph = false;\n try { return this.addSelectionWhile($super) } finally { this.isEpiMorph = true }\n },\n},\n'selection handling', {\n addSelectionWhile: function(func) {\n // certain operations require selected morphs to be added to selection frame\n // e.g. for transformations or copying\n // use this method to add them for certain operations\n var world = this.world();\n if (!world || !this.isPropagating()) return func();\n\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.addMorph(this.selectedMorphs[i]);\n try { return func() } finally {\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.world().addMorph(this.selectedMorphs[i]);\n }\n },\n},\n'removing', {\n remove: function() {\n if (this.isPropagating())\n this.selectedMorphs.invoke('remove');\n this.removeOnlyIt();\n },\n removeOnlyIt: function() {\n if ( this.myWorld == null ) {\n this.myWorld = this.world();\n }\n // this.myWorld.currentSelection = null;\n Class.getSuperPrototype(this).remove.call(this);\n },\n},\n'accessing', {\n world: function($super) {\n return $super() || this.owner || this.myWorld\n },\n setBorderWidth: function($super, width) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(width);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderWidth(width)});\n },\n\n setFill: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating())\n $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFill(color)});\n },\n\n setBorderColor: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderColor(color)});\n },\n\n shapeRoundEdgesBy: function($super, r) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(r);\n else this.selectedMorphs.forEach(\n function(m) { if (m.shape.roundEdgesBy) m.shapeRoundEdgesBy(r); });\n },\n\n setFillOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFillOpacity(op)});\n },\n\n setStrokeOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('callOnAllSubmorphs',\n function(ea) { ea.setStrokeOpacity(op)});\n },\n\n setTextColor: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setTextColor) m.setTextColor(c); });\n },\n\n setFontSize: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontSize) m.setFontSize(c); });\n },\n\n setFontFamily: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontFamily) m.setFontFamily(c); });\n },\n\n setRotation: function($super, theta) {\n this.addSelectionWhile($super.curry(theta));\n },\n\n setScale: function($super, scale) {\n this.addSelectionWhile($super.curry(scale));\n },\n adjustOrigin: function($super, origin) {\n this.withoutPropagationDo(function() {\n return $super(origin)\n });\n },\n\n\n\n},\n'aligning', {\n // Note: the next four methods should be removed after we have gridding, i think (DI)\n alignVertically: function() {\n // Align all morphs to same left x as the top one.\n//console.log(\"this=\" + Object.inspect(this)); if(true) return;\n var morphs = this.selectedMorphs.slice(0).sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n var minX = morphs[0].getPosition().x; // align to left x of top morph\n morphs.forEach(function(m) { m.setPosition(pt(minX,m.getPosition().y)) });\n },\n\n alignHorizontally: function() {\n var minY = 9999;\n this.selectedMorphs.forEach(function(m) { minY = Math.min(minY, m.getPosition().y); });\n this.selectedMorphs.forEach(function(m) { m.setPosition(pt(m.getPosition().x, minY)) });\n },\n\n spaceVertically: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxY and sumOfHeights\n var maxY = minY;\n var sumOfHeights = 0;\n morphs.forEach(function(m) {\n var ht = m.innerBounds().height;\n sumOfHeights += ht;\n maxY = Math.max(maxY, m.getPosition().y + ht);\n });\n // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxY - minY - sumOfHeights)/Math.max(this.selectedMorphs.length - 1, 1);\n var y = minY;\n morphs.forEach(function(m) {\n m.setPosition(pt(minX, y));\n y += m.innerBounds().height + separation;\n });\n },\n\n spaceHorizontally: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m, n) {\n return m.getPosition().x - n.getPosition().x;\n });\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxX and sumOfWidths\n var maxX = minY;\n var sumOfWidths = 0;\n morphs.forEach(function(m) {\n var wid = m.innerBounds().width;\n sumOfWidths += wid;\n maxX = Math.max(maxX, m.getPosition().x + wid);\n }); // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxX - minX - sumOfWidths)/Math.max(this.selectedMorphs.length - 1, 1);\n var x = minX;\n morphs.forEach(function(m) {\n m.setPosition(pt(x, minY));\n x += m.innerBounds().width + separation;\n });\n },\n},\n'grabbing', {\n grabByHand: function(hand) {\n this.withoutPropagationDo(function() {\n hand.addMorph(this)\n }.bind(this))\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n // alert(\"grab \" + this.selectedMorphs[i])\n this.addMorph(this.selectedMorphs[i]);\n }\n\n\n },\n dropOn: function(morph) {\n // alert(\"drop \" + this + \" on \" + morph)\n // morph.addMorph(this)\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n morph.addMorph(this.selectedMorphs[i]);\n }\n this.removeSelecitonIndicators();\n this.removeOnlyIt();\n },\n\n},\n'geometry', {\n moveBy: function($super, delta) {\n // Jens: I would like to express this in a layer...\n if (this.isPropagating()) {\n for (var i = 0; i < this.selectedMorphs.length; i++ )\n this.selectedMorphs[i].moveBy(delta);\n }\n $super(delta);\n },\n setPosition: function($super, pos) {\n var delta = pos.subPt(this.getPosition())\n // Jens: I would like to express this in a layer...\n if (this.isPropagating() && this.selectedMorphs) {\n for (var i = 0; i < this.selectedMorphs.length; i++ ) {\n // alertOK(\"set pos move \" + printStack())\n this.selectedMorphs[i].moveBy(delta);\n }\n }\n $super(pos);\n },\n\n},\n'world', {\n reset: function() {\n this.selectedMorphs = [];\n this.setRotation(0)\n this.setScale(1)\n this.removeOnlyIt();\n this.removeSelecitonIndicators();\n this.adjustOrigin(pt(0,0));\n },\n\n selectMorphs: function(selectedMorphs) {\n this.owner.selectionMorph.selectedMorphs = selectedMorphs\n\n// finding pos, starting with max values\n var topLeft = this.bounds().bottomRight();\n var bottomRight = this.bounds().topLeft();\n var self = this;\n\n this.removeSelecitonIndicators();\n selectedMorphs.forEach(function(ea) {\n var innerBounds = ea.getTransform().inverse().\n transformRectToRect(ea.bounds().insetBy(-4));\n var bounds = ea.getTransform().transformRectToRect(innerBounds);\n topLeft = bounds.topLeft().minPt(topLeft);\n bottomRight = bounds.bottomRight().maxPt(bottomRight);\n\n var selectionIndicator =\n new lively.morphic.Morph.makeRectangle(innerBounds);\n selectionIndicator.name = 'Selection of ' + ea\n selectionIndicator.isEpiMorph = true;\n selectionIndicator.isSelectionIndicator = true;\n selectionIndicator.applyStyle({\n fill: null, borderWidth: 4,\n strokeOpacity: 0.5, borderColor: Color.green})\n ea.addMorph(selectionIndicator);\n self.selectionIndicators.push(selectionIndicator);\n })\n this.withoutPropagationDo(function() {\n this.setPosition(topLeft);\n this.setExtent(bottomRight.subPt(topLeft));\n // this.adjustOrigin(this.getExtent().scaleBy(0.5))\n }.bind(this))\n\n },\n\n removeSelecitonIndicators: function() {\n if (this.selectionIndicators)\n this.selectionIndicators.invoke('remove');\n this.selectionIndicators = [];\n },\n makeGroup: function() {\n if (!this.selectedMorphs) return;\n var group = new lively.morphic.Box(this.bounds());\n group.isGroup = true;\n this.owner.addMorph(group);\n this.selectedMorphs.forEach(function(ea) {\n group.addMorph(ea)\n })\n this.selectMorphs([group])\n },\n unGroup: function() {\n if (!this.selectedMorphs || this.selectedMorphs.length !== 1) return;\n var group = this.selectedMorphs[0]\n var all = group.submorphs\n group.submorphs.forEach(function(ea) {\n this.owner.addMorph(ea)\n }.bind(this))\n this.selectMorphs(all)\n },\n\n\n});\nTrait('SelectionMorphTrait',\n'selection', {\n getSelectedMorphs: function() {\n return this.selectionMorph.selectedMorphs\n },\n\n onDragStart: function(evt) {\n if (evt.isRightMouseButtonDown()) {\n return; // no selection with right mouse button (fbo 2011-09-13)\n }\n\n this.resetSelection()\n\n if (this.selectionMorph.owner !== this)\n this.addMorph(this.selectionMorph);\n\n var pos = this.localize(this.eventStartPos || evt.getPosition());\n this.selectionMorph.withoutPropagationDo(function() {\n this.selectionMorph.setPosition(pos)\n this.selectionMorph.setExtent(pt(1, 1))\n this.selectionMorph.initialPosition = pos;\n }.bind(this))\n\n },\n onDrag: function(evt) {\n if (!this.selectionMorph) return\n var p1 = this.localize(evt.getPosition()),\n p2 = this.selectionMorph.initialPosition;\n\n // alert(\"p1\" + p1 + \" p2\" + p2)\n var topLeft = pt(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y))\n var bottomRight = pt(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y))\n\n\n this.selectionMorph.setPosition(topLeft);\n this.selectionMorph.setExtent(bottomRight.subPt(topLeft));\n },\n onDragEnd: function(evt) {\n var self = this;\n if (!self.selectionMorph) return;\n var selectionBounds = self.selectionMorph.bounds();\n var selectedMorphs = this.submorphs\n .reject(function(ea){\n return ea === self || ea.isEpiMorph || ea instanceof lively.morphic.HandMorph\n })\n .select(function(m) {\n return selectionBounds.containsRect(m.bounds())})\n .reverse()\n\n this.selectionMorph.selectedMorphs = selectedMorphs;\n if (selectedMorphs.length == 0) {\n this.selectionMorph.removeOnlyIt();\n return\n }\n\n this.selectionMorph.selectMorphs(selectedMorphs);\n\n this.selectionMorph.showHalos()\n\n },\n\n resetSelection: function() {\n if (!this.selectionMorph || !this.selectionMorph.isSelection)\n this.selectionMorph = new lively.morphic.Selection(new Rectangle(0,0,0,0))\n this.selectionMorph.reset();\n },\n})\n.applyTo(lively.morphic.World, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n\nlively.morphic.WindowedApp.subclass('lively.morphic.TextEditor',\n'settings', {\n defaultTitle: 'TextEditor',\n initialViewExtent: pt(900, 800),\n},\n'initializing', {\n buildView: function(extent) {\n var panel = lively.morphic.Morph.makeRectangle(0,0, extent.x, extent.y)\n .applyStyle({\n fill: Color.gray.lighter(2),\n resizeWidth: true,\n resizeHeight: true,\n adjustForNewBounds: true});\n\n var bounds;\n bounds = new Rectangle(0,0, extent.x, 30);\n var urlText = new lively.morphic.Text(bounds, URL.source.toString())\n .beInputLine({resizeWidth: true, fixedWidth: true, padding: Rectangle.inset(5,5)})\n panel.urlText = panel.addMorph(urlText);\n connect(urlText, 'savedTextString', this, 'setCurrentURL');\n connect(this, 'currentURL', this, 'loadFile');\n\n bounds = new Rectangle(0, bounds.height, extent.x/3, 30);\n var saveBtn = new lively.morphic.Button(bounds, 'save');\n saveBtn.applyStyle({resizeWidth: true})\n panel.addMorph(saveBtn);\n connect(saveBtn, 'fire', this, 'saveFile');\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var loadBtn = new lively.morphic.Button(bounds, 'load')\n loadBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(loadBtn);\n connect(loadBtn, 'fire', this, 'setCurrentURL', {converter: function() {\n // FIXME\n this.targetObj.panel.urlText.cachedTextString = null\n return this.targetObj.panel.urlText.textString }});\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var removeBtn = new lively.morphic.Button(bounds, 'remove')\n removeBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(removeBtn)\n connect(removeBtn, 'fire', this, 'removeFile');\n\n bounds = rect(pt(0, bounds.maxY()), panel.bounds().bottomRight());\n var contentMorph = new lively.morphic.Text(bounds, 'emtpy')\n .applyStyle({\n clipMode: 'scroll',\n fixedHeight: true,\n fontFamily: 'Monaco',\n fontSize: 10,\n resizeWidth: true,\n resizeHeight: true,\n padding: Rectangle.inset(5,5)});\n panel.contentMorph = panel.addMorph(contentMorph);\n connect(contentMorph, 'savedTextString', this, 'saveFile');\n\n this.panel = panel;\n return panel;\n },\n},\n'network', {\n setCurrentURL: function(urlString) {\n this.currentURL = new URL(urlString);\n alert(this.currentURL);\n },\n createWebResource: function() { return new WebResource(this.getURL()) },\n getURL: function() { return new URL(this.currentURL || this.panel.urlText.textString) },\n},\n'helper', {\n showAsLoading: function(bool) {\n if (!bool) {\n this.loadingScreen && this.loadingScreen.remove();\n this.loadingScreen = null;\n } else {\n if (this.loadingScreen) return;\n var morph = lively.morphic.Morph.makeRectangle(this.panel.contentMorph.bounds());\n morph.applyStyle({fill: Color.gray.withA(0.6)});\n this.loadingScreen = this.panel.addMorph(morph);\n }\n },\n},\n'file functions', {\n getEditorContent: function() { return this.panel.contentMorph.textString },\n saveFile: function() {\n var webR = this.createWebResource();\n webR\n .beAsync()\n .createProgressBar()\n .statusMessage('Successfully saved ' + webR.getURL(), 'Error saving ' + webR.getURL(), true)\n .put(this.getEditorContent());\n },\n loadFile: function() {\n var res = this.createWebResource().forceUncached();\n this.showAsLoading(true);\n connect(res, 'status', this, 'showAsLoading', {updater: function($upd, status) {$upd(false)}});\n connect(res, 'content', this, 'finishLoading', {updater: function($upd, content) {\n $upd(this.sourceObj) }});\n res.beAsync().get();\n\n },\n finishLoading: function(res) {\n if (res.isExisting) {\n this.panel.contentMorph.setTextString(res.content);\n return\n } else if (res.getURL().isLeaf()) {\n this.askToCreateFile(res);\n } else {\n alert('Cannot open/create document at ' + res.getURL());\n }\n },\n\n askToCreateFile: function(webResource) {\n var question = 'No file ' + webResource.getURL() + ' exists...! Create it?';\n this.panel.world().confirm(question, function(input) {\n if (!input) return;\n webResource.statusMessage(\n 'Successfully created ' + webResource.getURL().filename(),\n 'Cannot create ' + webResource.getURL().filename(), true)\n webResource.put('empty file');\n this.loadFile();\n }.bind(this));\n },\n removeFile: function() {\n var webR = this.createWebResource();\n if (!webR.exists()) return;\n webR.statusMessage('Successfully deleted','Error deleting', true).del();\n },\n},\n'interface', {\n load: function(url) {\n this.panel.urlText.textString = url;\n this.panel.urlText.doSave();\n },\n});\n\nmodule('lively.ide'); // so that the namespace is defined even if ide is not loaded\n\nObject.extend(lively.ide, {\n openFile: function(url) {\n if (!String(url).startsWith('http')) url = URL.codeBase.withFilename(url);\n var textEditor = new lively.morphic.TextEditor()\n textEditor.open()\n textEditor.load(url);\n },\n});\n\n\n\nlively.morphic.Box.subclass('lively.morphic.HorizontalDivider', Trait('HorizontalDividerTrait'),\n'settings', {\n style: {fill: Color.gray, enableDragging: true},\n},\n'initializing', {\n initialize: function($super, bounds) {\n $super(bounds);\n this.fixed = [];\n this.scalingBelow = [];\n this.scalingAbove = [];\n this.minHeight = 20;\n this.pointerConnection = null;\n },\n},\n'mouse events', {\n onDragStart: function(evt) {\n this.oldPoint = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var p1 = this.oldPoint,\n p2 = evt.getPosition(),\n deltaY = p2.y - p1.y;\n this.oldPoint = p2;\n this.movedVerticallyBy(deltaY);\n return true;\n },\n});\n\nlively.morphic.Box.subclass('lively.morphic.Slider', Trait('SliderMorphTrait'),\n'settings', {\n style: {\n borderColor: Color.darkGray,\n borderWidth: 1,\n borderRadius: 6,\n fill: Styles.sliderBackgroundGradient(Color.gray, \"NorthSouth\")\n },\n connections: {\n value: {}}\n},\n'initializing', {\n initialize: function($super, initialBounds, scaleIfAny) {\n $super(initialBounds);\n connect(this, 'value', this, 'adjustSliderParts')\n this.setValue(0);\n this.setSliderExtent(0.1);\n this.valueScale = (scaleIfAny === undefined) ? 1.0 : scaleIfAny;\n this.sliderKnob = this.addMorph(new lively.morphic.SliderKnob(new Rectangle(0, 0, this.mss, this.mss), this));\n this.setupFill();\n this.adjustSliderParts()\n },\n},\n'accessing', {\n getValue: function() { return this.value },\n\n setValue: function(value) { return this.value = value },\n\n getSliderExtent: function() { return this.sliderExtent },\n\n setSliderExtent: function(value) {\n this.sliderExtent = value\n this.adjustSliderParts();\n return value;\n },\n setExtent: function($super, value) {\n $super(value);\n this.adjustSliderParts();\n return value;\n },\n\n},\n'mouse events', {\n onMouseDown: function(evt) {\n\n // FIXME: a lot of this is handled in Morph>>onMouseDown. remove.\n if (!evt.isLeftMouseButtonDown() || evt.isCommandKey()) return false;\n\n var handPos = this.localize(evt.getPosition());\n\n if (this.sliderKnob.bounds().containsPoint(handPos)) return false; // knob handles move\n\n var inc = this.getSliderExtent(),\n newValue = this.getValue(),\n delta = handPos.subPt(this.sliderKnob.bounds().center());\n if (this.vertical() ? delta.y > 0 : delta.x > 0) newValue += inc;\n else newValue -= inc;\n\n if (isNaN(newValue)) newValue = 0;\n this.setScaledValue(this.clipValue(newValue));\n\n return true;\n },\n})\n\n// FIXME move somewhere else\nlively.morphic.Box.subclass('lively.morphic.SliderKnob',\n'settings', {\n style: {borderColor: Color.black, borderWidth: 1, fill: Color.gray, enableDragging: true},\n dragTriggerDistance: 0,\n},\n'initializing', {\n initialize: function($super, initialBounds, slider) {\n $super(initialBounds);\n this.slider = slider;\n },\n},\n'mouse events', {\n onDragStart: function($super, evt) {\n this.hitPoint = evt.getPosition();\n return true;\n },\n onDrag: function($super, evt) {\n // the hitpoint is the offset that make the slider move smooth\n if (!this.hitPoint) return; // we were not clicked on...\n\n // Compute the value from a new mouse point, and emit it\n var delta = evt.getPosition().subPt(this.hitPoint),\n p = this.bounds().topLeft().addPt(delta),\n bnds = this.slider.innerBounds(),\n ext = this.slider.getSliderExtent();\n\n this.hitPoint = evt.getPosition()\n if (this.slider.vertical()) {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.height,this.slider.mss),\n newValue = p.y / (bnds.height-elevPix);\n } else {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.width,this.slider.mss),\n newValue = p.x / (bnds.width-elevPix);\n }\n\n if (isNaN(newValue)) newValue = 0;\n this.slider.setScaledValue(this.slider.clipValue(newValue));\n },\n onDragEnd: function($super, evt) { return $super(evt) },\n onMouseDown: function(evt) {\n return true;\n },\n\n\n});\nObject.extend(Array.prototype, {\n asListItemArray: function() {\n return this.collect(function(ea) {\n return {isListItem: true, string: ea.toString(), value: ea};\n });\n },\n})\n\n}) // end of module\n","_syntaxHighlightTimeout":null,"parseErrors":null,"lastSyntaxHighlightTime":803,"savedTextString":"lively.morphic.Morph.subclass('lively.morphic.Button',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\n\n\nlively.morphic.Button.subclass('lively.morphic.ImageButton',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n","specialHighlighting":"topLevel","styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"isBeingDragged":false,"charsReplaced":"Button","lastFindLoc":4274,"priorSelectionRange":[4432,4432],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3736":{"_Position":{"__isSmartRef__":true,"id":3737},"renderContextTable":{"__isSmartRef__":true,"id":3738},"_Extent":{"__isSmartRef__":true,"id":3739},"_Padding":{"__isSmartRef__":true,"id":3740},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3741},"_Fill":{"__isSmartRef__":true,"id":449},"_NodeClass":["morph","text"],"_NodeId":"morph-d166ded7-c01d-4db1-88f5-237b530dc387","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3737":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3738":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3739":{"x":974.9999999999999,"y":433.9499999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3740":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3741":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3742":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3743":{"style":{"__isSmartRef__":true,"id":3744},"chunkOwner":{"__isSmartRef__":true,"id":3735},"storedString":"module('lively.morphic.Widgets').requires('lively.morphic.Core', 'lively.morphic.Events', 'lively.WidgetsTraits', 'lively.morphic.Styles').toRun(function() {\n\nlively.morphic.Morph.subclass('lively.morphic.Button',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\n\n\nlively.morphic.Button.subclass('lively.morphic.ImageButton',\n'settings', {\n isButton: true,\n style: {\n enableGrabbing: false,\n enableDropping: false,\n borderColor: Color.neutral.lightGray,\n borderWidth: 1,\n borderRadius: 5,\n padding: Rectangle.inset(0,3),\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.gray.mixedWith(Color.white, 0.2)},\n {offset: 0.4, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 0.6, color: Color.gray.mixedWith(Color.white, 0.9)},\n {offset: 1, color: Color.gray.mixedWith(Color.white, 0.3)}],\n \"NorthSouth\"),\n label: {\n borderWidth: 0,\n fill: null,\n padding: Rectangle.inset(0,3),\n fontSize: 10,\n align: 'center',\n fixedWidth: true,\n fixedHeight: true,\n textColor: Color.black,\n clipMode: 'hidden',\n emphasize: {textShadow: {offset: pt(0,1), color: Color.white}}\n }\n }\n},\n'initializing', {\n initialize: function($super, bounds, labelString) {\n $super(this.defaultShape());\n if (bounds) this.setBounds(bounds);\n\n this.value = false;\n this.toggle = false;\n this.isActive = true;\n this.normalFill = this.getFill();\n this.lighterFill = this.normalFill.lighter();\n this.setFill(this.normalFill);\n\n this.label = new lively.morphic.Text(this.getExtent().extentAsRectangle(), labelString);\n this.addMorph(this.label);\n this.label.beLabel(this.style.label);\n },\n},\n'accessing', {\n setLabel: function(label) {\n this.label.setTextString(label);\n this.label.setExtent(this.getExtent());\n this.label.applyStyle(this.style.label);\n return this;\n },\n getLabel: function(label) { return this.label.textString },\n\n setValue: function(bool) {\n this.value = bool;\n // buttons should fire on mouse up\n if (!bool || this.toggle) lively.bindings.signal(this, 'fire', bool);\n this.changeAppearanceFor(bool);\n },\n setExtent: function($super, extent) {\n // FIXME use layout! spaceFill!\n $super(extent);\n this.label && this.label.setExtent(extent)\n },\n setPadding: function(padding) { this.label && this.label.setPadding(padding) },\n},\n'styling', {\n changeAppearanceFor: function(value) {\n this.setFill(value ? this.lighterFill : this.normalFill);\n },\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.label && this.label) {\n this.label.applyStyle(spec.label);\n }\n }\n},\n'events', {\n\n onMouseDown: function (evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !this.toggle && !evt.isCommandKey()) {\n this.setValue(true);\n }\n return false;\n },\n onMouseUp: function(evt) {\n if (this.isActive && evt.isLeftMouseButtonDown()\n && !evt.isCommandKey()) {\n var newValue = this.toggle ? !this.value : false;\n this.setValue(newValue);\n return false;\n }\n return false;\n },\n simulateButtonClick: function() {\n var world = this.world() || lively.morphic.World.current(),\n hand = world.firstHand();\n function createEvent() {\n return {\n isLeftMouseButtonDown: Functions.True,\n isRightMouseButtonDown: Functions.False,\n isCommandKey: Functions.False,\n isAltDown: Functions.False,\n world: world,\n hand: hand,\n getPosition: function() { return hand.getPosition() }\n }\n }\n this.onMouseDown(createEvent());\n this.onMouseUp(createEvent());\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n 'set label', function(evt) {\n $world.prompt('Set label', function(input) {\n if (input !== null)\n self.setLabel(input || '');\n }, self.getLabel());\n }])\n return items;\n },\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Image',\n'initializing', {\n doNotSerialize: ['isLoaded'],\n initialize: function($super, bounds, url, useNativeExtent) {\n var imageShape = this.createImageShape(bounds.extent().extentAsRectangle(), url);\n $super(imageShape);\n this.setPosition(bounds.topLeft());\n if (useNativeExtent) {\n connect(imageShape, 'isLoaded', this, 'setNativeExtent',\n {removeAfterUpdate: true});\n } else {\n connect(imageShape, 'isLoaded', this, 'setExtent',\n {removeAfterUpdate: true, converter: function() {\n return this.targetObj.getExtent() }});\n }\n },\n createImageShape: function(bounds, url) {\n return new lively.morphic.Shapes.Image(bounds, url);\n },\n},\n'accessing', {\n setImageURL: function(url) { return this.shape.setImageURL(url) },\n getImageURL: function() { return this.shape.getImageURL() },\n getNativeExtent: function() { return this.shape.getNativeExtent() },\n setNativeExtent: function() {\n var ext = this.getNativeExtent();\n // FIXME magic numbers\n if (ext.x < 10) ext.x = 10;\n if (ext.y < 10) ext.y = 10;\n return this.setExtent(ext);\n },\n},\n'halos', {\n getHaloClasses: function($super) {\n return $super().concat([lively.morphic.SetImageURLHalo]);\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n items.push(['set to original extent', this.setNativeExtent.bind(this)]);\n items.push(['inline image data', this.convertToBase64.bind(this)]);\n return items;\n },\n},\n'keyboard events', {\n onKeyPress: function($super, evt) {\n // The extent of iages should can be changed by using the + and - key\n var key = evt.getKeyChar();\n\n switch (key) {\n case \"-\": {\n this.setExtent(this.getExtent().scaleBy(0.8))\n return true;\n }\n case \"+\": {\n this.setExtent(this.getExtent().scaleBy(1.1))\n return true;\n }\n }\n return $super(evt)\n }\n},\n'inline image', {\n convertToBase64: function() {\n var urlString = this.getImageURL();\n\n var type = urlString.substring(urlString.lastIndexOf('.') + 1, urlString.length)\n if (type == 'jpg') type = 'jpeg'\n if (!['gif', 'jpeg', 'png', 'tiff'].include(type)) type = 'gif'\n\n if (false && Global.btoa) {\n // FIXME actually this should work but the encoding result is wrong...\n // maybe the binary image content is not loaded correctly because of encoding?\n urlString = URL.makeProxied(urlString);\n var content = new WebResource(urlString).get(null, 'image/' + type).content\n\n var fixedContent = content.replace(/./g, function(m) {\n return String.fromCharCode(m.charCodeAt(0) & 0xff);\n });\n var encoded = btoa(fixedContent);\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n } else {\n if (!urlString.startsWith('http'))\n urlString = URL.source.getDirectory().withFilename(urlString).toString()\n require('server.nodejs.WebInterface').toRun(function() { // FIXME\n var encoded = this.encodeOnServer(urlString)\n if (!encoded || encoded == '')\n lively.morphic.World.current().alert('Cannot convert image with url ' + urlString + ' to base64');\n else\n this.setImageURL('data:image/' + type + ';base64,' + encoded);\n }.bind(this));\n }\n },\n encodeOnServer: function(urlString) {\n var cmd = 'curl --silent \"' + urlString + '\" | openssl base64',\n result = new CommandLineServerInterface().beSync().runCommand(cmd).result;\n return result && result.stdout ? result.stdout : '';\n },\n});\nObject.extend(lively.morphic.Image, {\n fromURL: function(url, optBounds) {\n var bounds = optBounds || new Rectangle(0,0, 100, 100);\n return new lively.morphic.Image(bounds, url, optBounds == undefined)\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.CheckBox',\n'properties', {\n connections: {\n setChecked: {}\n }\n},\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n this.setChecked(isChecked);\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'checkbox';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n setChecked: function(bool) {\n this.checked = bool;\n this.renderContext().shapeNode.checked = bool;\n return bool;\n },\n},\n'testing', {\n isChecked: function() {\n return this.checked;\n },\n},\n'event handling', {\n onClick: function(evt) {\n // for halos/menus\n if (evt.isCommandKey() || !evt.isLeftMouseButtonDown()) {\n evt.stop()\n return true;\n }\n // we do it ourselves\n this.setChecked(!this.isChecked());\n return true;\n },\n},\n'serialization', {\n prepareForNewRenderContext: function ($super, renderCtx) {\n $super(renderCtx);\n // FIXME what about connections to this.isChecked?\n // they would be updated here...\n this.setChecked(this.isChecked());\n },\n});\nlively.morphic.Morph.subclass('lively.morphic.PasswordInput',\n'initializing', {\n initialize: function($super, isChecked) {\n $super(this.createShape());\n },\n createShape: function() {\n var node = XHTMLNS.create('input');\n node.type = 'password';\n node.className = 'visibleSelection';\n return new lively.morphic.Shapes.External(node);\n },\n},\n'accessing', {\n set value(string) {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n if (inputNode) {\n inputNode.value = string;\n }\n\n lively.bindings.signal(this, 'value', string);\n return string;\n },\n get value() {\n // FIXME move to lively.morphic.HTML\n var inputNode = this.renderContext().shapeNode;\n return inputNode ? inputNode.value : '';\n }\n});\n\nlively.morphic.Box.subclass('lively.morphic.ProgressBar',\n'settings', {\n style: {\n fill: Color.white, borderColor: Color.rgb(170,170,170), borderWidth: 1, borderRadius: 5,\n adjustForNewBounds: true,\n clipMode: 'hidden', // so that sharp borders of progress do not stick out\n },\n progressStyle: {\n scaleHorizontal: true,\n scaleVertical: true,\n borderColor: Color.rgb(170,170,170),\n borderWidth: 1,\n borderRadius: \"5px 0px 0px 5px\",\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(223,223,223)},\n {offset: 1, color: Color.rgb(204,204,204)}]),\n clipMode: 'hidden', // for label\n },\n labelStyle: {\n fontSize: 11,\n fixedWidth: true,\n fixedHeight: false,\n clipMode: 'hidden',\n align: 'center',\n },\n},\n'initializing', {\n initialize: function($super, bounds) {\n bounds = bounds || new Rectangle(0,0, 200,22);\n $super(bounds);\n this.createProgressMorph();\n this.createLabel();\n this.value = 0;\n },\n createProgressMorph: function() {\n var bounds = this.innerBounds();\n this.progressMorph = this.addMorph(lively.morphic.Morph.makeRectangle(bounds.withWidth(0)));\n this.progressMorph.applyStyle(this.progressStyle);\n this.progressMorph.ignoreEvents();\n },\n createLabel: function() {\n this.labelBlack = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.black, centeredVertical: true, scaleHorizontal: true}, this.labelStyle));\n this.labelWhite = lively.morphic.Text.makeLabel('', Object.extend({textColor: Color.white}, this.labelStyle));\n\n this.addMorphBack(this.labelBlack);\n this.progressMorph.addMorph(this.labelWhite);\n\n this.labelBlack.ignoreEvents();\n this.labelWhite.ignoreEvents();\n\n connect(this.labelBlack, 'extent', this.labelWhite, 'setExtent')\n connect(this.labelBlack, 'position', this.labelWhite, 'setPosition')\n this.labelBlack.setBounds(this.innerBounds());\n this.labelBlack.fit();\n },\n\n\n},\n'accessing', {\n getValue: function() { return this.value },\n setValue: function(v) { this.updateBar(v); return this.value = v },\n setLabel: function(string) {\n this.labelBlack.textString = string;\n this.labelWhite.textString = string;\n },\n\n},\n'updating', {\n updateBar: function(value) {\n\tvar maxExt = this.getExtent();\n // this.progressMorph.setPosition(pt(1,1));\n this.progressMorph.setExtent(pt(Math.floor(maxExt.x * value), maxExt.y));\n },\n});\n\nlively.morphic.Text.subclass('lively.morphic.FrameRateMorph', {\n\n initialize: function($super, shape) {\n // Steps at maximum speed, and gathers stats on ticks per sec and max latency\n $super(shape);\n this.setTextString('FrameRateMorph')\n this.reset(new Date());\n },\n\n reset: function(date) {\n this.lastTick = date.getSeconds();\n this.lastMS = date.getTime();\n this.stepsSinceTick = 0;\n this.maxLatency = 0;\n },\n\n nextStep: function() {\n var date = new Date();\n this.stepsSinceTick++;\n var nowMS = date.getTime();\n this.maxLatency = Math.max(this.maxLatency, nowMS - this.lastMS);\n this.lastMS = nowMS;\n var nowTick = date.getSeconds();\n if (nowTick != this.lastTick) {\n this.lastTick = nowTick;\n var ms = (1000 / Math.max(this. stepsSinceTick,1)).roundTo(1);\n this.setTextString(this.stepsSinceTick + \" frames/sec (\" + ms + \"ms avg),\\nmax latency \" + this.maxLatency + \" ms.\");\n this.reset(date);\n }\n },\n\n startSteppingScripts: function() { this.startStepping(1, 'nextStep'); }\n\n});\n\nlively.morphic.Box.subclass('lively.morphic.Menu',\n'settings', {\n style: {\n fill: Color.gray.lighter(3),\n borderColor: Color.gray.lighter(),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n opacity: 0.95,\n },\n isEpiMorph: true,\n},\n'initializing', {\n initialize: function($super, title, items) {\n $super(new Rectangle(0,0, 120, 10));\n this.items = [];\n this.itemMorphs = [];\n\n if (title) this.setupTitle(title);\n if (items) this.addItems(items);\n },\n setupTitle: function(title) {\n if (this.title) this.title.remove()\n this.title = new lively.morphic.Text(\n new Rectangle(0,0, this.getExtent().x, 25),\n String(title).truncate(26)).beLabel({\n borderRadius: this.getBorderRadius(),\n borderColor: this.getBorderColor(),\n borderWidth: 0,\n fill: new lively.morphic.LinearGradient([{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray}]),\n textColor: CrayonColors.lead,\n clipMode: 'hidden',\n fixedWidth: false,\n fixedHeight: true,\n borderColor: Color.gray.lighter(2),\n borderWidth: 1,\n borderStyle: 'outset',\n borderRadius: 4,\n padding: Rectangle.inset(5,5,5,5),\n emphasize: {fontWeight: 'bold'}\n });\n this.title.align(this.title.bounds().bottomLeft(), pt(0,0));\n this.addMorph(this.title);\n this.fitToItems()\n },\n},\n'opening', {\n openIn: function(parentMorph, pos, remainOnScreen, captionIfAny) {\n this.setPosition(pos || pt(0,0));\n\n if (captionIfAny) { this.setupTitle(captionIfAny) };\n\n var owner = parentMorph || lively.morphic.World.current();\n this.remainOnScreen = remainOnScreen;\n if (!remainOnScreen) {\n if (owner.currentMenu) { owner.currentMenu.remove() };\n owner.currentMenu = this;\n } else {\n this.isEpiMorph = false;\n }\n\n owner.addMorph(this);\n this.fitToItems.bind(this).delay(0);\n\n this.offsetForWorld(pos);\n // delayed because of fitToItems\n // currently this is deactivated because the initial bounds are correct\n // for our current usage\n // this.offsetForWorld.curry(pos).bind(this).delay(0);\n\n return this;\n },\n},\n'removing', {\n remove: function($super) {\n var w = this.world();\n if (w && w.currentMenu === this) w.currentMenu = null;\n $super();\n },\n},\n'item management', {\n removeAllItems: function() {\n this.items = [];\n this.itemMorphs = [];\n this.submorphs.without(this.title).invoke('remove');\n },\n\n createMenuItems: function(items) {\n function createItem(string, value, idx, callback, callback2, isSubMenu) {\n return {\n isMenuItem: true,\n isListItem: true,\n\t\t\t\tisSubMenu: isSubMenu,\n string: string,\n value: value,\n idx: idx,\n onClickCallback: callback,\n onMouseOverCallback: callback2,\n }\n }\n var result = [], self = this;\n items.forEach(function(item, i) {\n if (item.isMenuItem) { item.idx = i; result.push(item); return };\n // item = [name, callback]\n if (Object.isArray(item) && Object.isFunction(item[1])) {\n result.push(createItem(String(item[0]), item[0], i, item[1]))\n return;\n }\n // item = [name, target, methodName, args...]\n if (Object.isArray(item) && Object.isString(item[2])) {\n result.push(createItem(String(item[0]), item[0], i, function(evt) {\n var receiver = item[1],\n method = receiver[item[2]],\n args = item.slice(3);\n method.apply(receiver, args) }))\n return;\n }\n // sub menu item = [name, [sub elements]]\n if (Object.isArray(item) && Object.isArray(item[1])) {\n var name = item[0], subItems = item[1];\n result.push(createItem(name, name, i, null, function(evt) {\n self.openSubMenu(evt, name, subItems) }, true));\n return;\n }\n // item = \"some string\"\n result.push(createItem(String(item), item, i, function() { alert('clicked ' + self.idx) }));\n });\n return result;\n },\n\n addItems: function(items) {\n this.removeAllItems();\n this.items = this.createMenuItems(items);\n var y = 0, x = 0, self = this;\n\n this.items.forEach(function(item) {\n \n // Always start menu items with a capital letter\n var title = item.string //.substr(0,1).toUpperCase() + item.string.substr(1, item.string.length-1);\n \n var itemHeight = 23,\n itemMorph = new lively.morphic.Text(\n new Rectangle(0, y, this.getExtent().x, itemHeight), title);\n \n // If an item has a sub menu, add an arrow icon to it\n if (item.isSubMenu) {\n var arrowMorph = new lively.morphic.Text(\n new Rectangle(0, 0, 10, itemHeight), \"▶\");\n arrowMorph.setPosition(pt(this.getExtent().x, y));\n arrowMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10,\n padding: Rectangle.inset(3,2) });\n itemMorph.addMorph(arrowMorph);\n }\n \n\n this.itemMorphs.push(this.addMorph(itemMorph));\n \n\n itemMorph.applyStyle({\n clipMode: 'hidden',\n fixedHeight: true,\n fixedWidth: false,\n borderWidth: 0,\n fill: null,\n handStyle: 'default',\n enableGrabbing: false,\n allowInput: false,\n fontSize: 10.5,\n padding: Rectangle.inset(3,2) });\n itemMorph.onMouseUp = function(evt) {\n if((evt.world.clickedOnMorph !== itemMorph)\n && (Date.now() - evt.world.clickedOnMorphTime < 500))\n return false; // only a click\n // FIXME $super\n lively.morphic.Morph.prototype.onMouseUp(evt);\n //if (!evt.isLeftMouseButtonDown()) return false;\n item.onClickCallback && item.onClickCallback(evt);\n if (!self.remainOnScreen) self.remove(); // remove the menu\n evt.stop();\n return true;\n }\n\n itemMorph.registerForEvent('mouseover', itemMorph, 'onMouseOver');\n itemMorph.onMouseOver = function(evt) {\n if (itemMorph.isSelected) return true;\n itemMorph.isSelected = true;\n itemMorph.owner.itemMorphs.without(itemMorph).invoke('deselect');\n itemMorph.applyStyle({\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.rgb(100,131,248)},\n {offset: 1, color: Color.rgb(34,85,245)}]),\n textColor: Color.white,\n borderRadius: 4\n })\n \n // if the item is a submenu, set its textColor to white\n var arrow = itemMorph.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.white});\n }\n \n self.overItemMorph = itemMorph;\n self.removeSubMenu()\n item.onMouseOverCallback && item.onMouseOverCallback(evt);\n evt.stop();\n return true;\n };\n itemMorph.addScript(function onMouseWheel(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function onSelectStart(evt) {\n return false; // to allow scrolling\n });\n itemMorph.addScript(function deselect(evt) {\n this.isSelected = false;\n this.applyStyle({fill: null, textColor: Color.black});\n \n // if the item is a submenu, set its textColor back to black\n var arrow = this.submorphs.first();\n if (arrow) {\n arrow.applyStyle({textColor: Color.black});\n }\n })\n y += itemHeight;\n x = Math.max(x, itemMorph.getTextExtent().x);\n }, this)\n // this.setExtent(pt(this.getExtent().x, y))\n if (this.title) y += this.title.bounds().height;\n this.setExtent(pt(x, y));\n },\n addItems2: function() {\n/* use list morph for items...\n var listMorph = new lively.morphic.List(new Rectangle(0,0, 200, 0), this.items);\n listMorph.applyStyle({clipMode: 'visible', fill: Color.white})\n listMorph.addScript(function onMouseOver(evt) {\n // just highlight\n var idx = this.renderContextDispatch('getItemIndexFromEvent', evt);\n this.renderContextDispatch('selectAt', idx);\n var item = this.itemList[idx];\n this.owner.removeSubMenu()\n this.owner.overItemMorph = this;\n if (item && item.onMouseOverCallback) item.onMouseOverCallback(evt);\n evt.stop()\n return true;\n })\n listMorph.addScript(function onMouseDown(evt) {\n if (!$super(evt)) return false;\n var item = this.itemList[this.selectedLineNo];\n if (item && item.onClickCallback) item.onClickCallback(evt);\n this.owner.remove();\n evt.stop();\n return true;\n })\n this.addMorph(listMorph);\n(function() { listMorph.setExtent(listMorph.getListExtent()); }).delay(0);\n// lively.bindings.callWhenNotNull(\n // this, 'owner',\n // {fit: function() { alert(listMorph.getListExtent()); listMorph.setExtent(listMorph.getListExtent()); }}, 'fit');\n\n return;\n*/\n },\n},\n'sub menu', {\n openSubMenu: function(evt, name, items) {\n var m = new lively.morphic.Menu(null, items);\n this.addMorph(m);\n m.fitToItems.bind(m).delay(0);\n this.subMenu = m;\n m.ownerMenu = this;\n\n // we do this twice because effect of fitToItems is delayed\n m.setVisible(false); // we hide it because it is first shown at the wrong position\n m.offsetForOwnerMenu();\n (function() {\n m.offsetForOwnerMenu()\n m.setVisible(true);\n }).delay(0);\n\n return m;\n },\n removeSubMenu: function() { if (this.subMenu) { var m = this.subMenu; m.ownerMenu = null; this.subMenu = null; m.remove() } },\n removeOwnerMenu: function() { if (this.ownerMenu) { var m = this.ownerMenu; this.ownerMenu = null; m.remove() } },\n},\n'removal', {\n remove: function($super) {\n $super();\n this.removeSubMenu();\n this.removeOwnerMenu();\n },\n},\n'bounds calculation', {\n moveBoundsForVisibility: function(menuBounds, visibleBounds) {\n var offsetX = 0,\n offsetY = 0;\n Global.lastMenuBounds = menuBounds;\n\n if (menuBounds.right() > visibleBounds.right())\n offsetX = -1 * (menuBounds.right() - visibleBounds.right());\n\n var overlapLeft = menuBounds.left() + offsetX;\n if (overlapLeft < 0)\n offsetX += -overlapLeft;\n\n if (menuBounds.bottom() > visibleBounds.bottom()) {\n offsetY = -1 * (menuBounds.bottom() - visibleBounds.bottom());\n // so that hand is not directly over menu, does not work when\n // menu is in the bottom right corner\n offsetX += 1;\n }\n var overlapTop = menuBounds.top() + offsetY;\n if (overlapTop < 0)\n offsetY += -overlapTop;\n\n return menuBounds.translatedBy(pt(offsetX, offsetY));\n },\n moveSubMenuBoundsForVisibility: function(subMenuBnds, mainMenuItemBnds, visibleBounds, direction) {\n // subMenuBnds is bounds to be transformed, mainMenuItemBnds is the bounds of the menu\n // item that caused the submenu to appear, visbleBounds is the bounds that the submenu\n // should fit into, when there are multiple submenus force one direction with forceDirection\n if (!direction) {\n direction = mainMenuItemBnds.right() + subMenuBnds.width > visibleBounds.right() ?\n 'left' : 'right';\n }\n var extent = subMenuBnds.extent();\n if (direction === 'left') {\n subMenuBnds = mainMenuItemBnds.topLeft().addXY(-extent.x, 0).extent(extent);\n } else {\n subMenuBnds = mainMenuItemBnds.topRight().extent(extent);\n }\n\n if (subMenuBnds.bottom() > visibleBounds.bottom()) {\n var deltaY = -1 * (subMenuBnds.bottom() - visibleBounds.bottom());\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n // if it overlaps at the top move the bounds so that it aligns woitht he top\n if (subMenuBnds.top() < visibleBounds.top()) {\n var deltaY = visibleBounds.top() - subMenuBnds.top();\n subMenuBnds = subMenuBnds.translatedBy(pt(0, deltaY));\n }\n\n return subMenuBnds;\n },\n\n offsetForWorld: function(pos) {\n var bounds = this.innerBounds().translatedBy(pos);\n if (this.title) {\n bounds = bounds.withTopLeft(bounds.topLeft().addXY(0, this.title.getExtent().y));\n }\n if (this.owner.visibleBounds) {\n bounds = this.moveBoundsForVisibility(bounds, this.owner.visibleBounds());\n }\n this.setBounds(bounds);\n },\n\n offsetForOwnerMenu: function() {\n var owner = this.ownerMenu,\n visibleBounds = this.world().visibleBounds(),\n localVisibleBounds = this.getTransform().inverse().transformRectToRect(visibleBounds),\n newBounds = this.moveSubMenuBoundsForVisibility(\n this.innerBounds(),\n owner.overItemMorph ? owner.overItemMorph.bounds() : new Rectangle(0,0,0,0),\n localVisibleBounds);\n this.setBounds(newBounds);\n },\n\n fitToItems: function() {\n var offset = 10 + 20,\n morphs = this.itemMorphs;\n if (this.title) morphs = morphs.concat([this.title]);\n var widths = morphs.invoke('getTextExtent').pluck('x');\n var width = Math.max.apply(Global, widths) + offset;\n var newExtent = this.getExtent().withX(width);\n this.setExtent(newExtent);\n morphs.forEach(function(ea) { \n ea.setExtent(ea.getExtent().withX(newExtent.x));\n if (ea.submorphs.length>0) { \n var arrow = ea.submorphs.first();\n arrow.setPosition(arrow.getPosition().withX(newExtent.x-17));\n }\n })\n }\n\n});\n\nObject.extend(lively.morphic.Menu, {\n openAtHand: function(title, items) {\n return this.openAt(lively.morphic.World.current().firstHand().getPosition(), title, items);\n },\n openAt: function(pos, title, items) {\n var menu = new lively.morphic.Menu(title, items);\n return menu.openIn(lively.morphic.World.current(), pos, false);\n },\n});\n\n\nlively.morphic.Morph.addMethods(\n'menu', {\n enableMorphMenu: function() {\n this.showsMorphMenu = true;\n },\n disableMorphMenu: function() { this.showsMorphMenu = false },\n openMorphMenuAt: function(pos, itemFilter) {\n if (!(itemFilter instanceof Function)) {\n itemFilter = function (items) { return items }\n }\n return lively.morphic.Menu.openAt(pos, this.name || this.toString(), itemFilter(this.morphMenuItems()));\n },\n showMorphMenu: function(evt) {\n this.openMorphMenuAt(evt.getPosition());\n evt.stop();\n return true;\n },\n morphMenuItems: function() {\n var self = this, items = [];\n items.push([\n 'publish', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }])\n items.push(['open in window', function(evt){\n self.openInWindow(evt.mousePoint);\n }]);\n\n // Drilling into scene to addMorph or get a halo\n var morphs = this.world().morphsContainingPoint(this.worldPoint(pt(0,0)))\n .reject(function(ea) { return ea === self})\n .reject(function(ea) { return ea === $world})\n var self = this;\n items.push([\"add morph to...\", morphs.collect(function(ea) {\n return [ea, function() { ea.addMorph(self)}]\n })])\n items.push([\"get halo on...\", morphs.collect(function(ea) {\n return [ea, function(evt) { ea.toggleHalos(evt)}]\n })])\n var steppingItems = [];\n \n if (this.startSteppingScripts) {\n steppingItems.push([\"start stepping\", function(){self.startSteppingScripts()}])\n } \n if (this.scripts.length != 0) {\n steppingItems.push([\"stop stepping\", function(){self.stopStepping()}])\n }\n if (steppingItems.length != 0) {\n items.push([\"stepping\", steppingItems])\n } \n if (this.attributeConnections && this.attributeConnections.length > 0) {\n items.push([\"connections\", this.attributeConnections\n .reject(function(ea) { return ea.dependedBy}) // Meta connection\n .reject(function(ea) { return ea.targetMethodName == 'alignToMagnet'}) // Meta connection\n .collect(function(ea) {\n var s = ea.sourceAttrName + \" -> \" + ea.targetObj + \".\" + ea.targetMethodName\n return [s, [\n [\"disconnect\", function() {\n alertOK(\"disconnecting \" + ea)\n ea.disconnect()}],\n [\"edit converter\", function() {\n var window = lively.bindings.editConnection(ea);\n }],\n [\"show\", function() {\n lively.bindings.showConnection(ea);\n }],\n [\"hide\", function() {\n if (ea.visualConnector) ea.visualConnector.remove();\n }],\n ]]\n })])\n }\n\n if (this.grabbingEnabled || this.grabbingEnabled == undefined) {\n items.push([\"disable grabbing\", this.disableGrabbing.bind(this)])\n } else {\n items.push([\"enable grabbing\", this.enableGrabbing.bind(this)])\n }\n\n if (this.owner && this.owner.submorphs.length > 1) {\n var arrange = [];\n arrange.push([\"bring to front\", function(){self.bringToFront()}]);\n arrange.push([\"send to back\", function(){self.sendToBack()}]);\n items.push([\"arrange morph\", arrange]);\n }\n \n\n if (this.submorphs.length > 0) {\n if (this.isLocked()) {\n items.push([\"unlock parts\", this.unlock.bind(this)])\n } else {\n items.push([\"lock parts\", this.lock.bind(this)])\n }\n }\n\n if (false) {\n items.push([\"enable internal selections\", function() {\n Trait('SelectionMorphTrait').applyTo(self, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n self.enableDragging();\n }])\n }\n\n if (this.reset)\n items.push(['reset', this.reset.bind(this)]);\n\n if (this.owner.owner) { // Is owner owner a Stack?\n if (this.owner.owner.pageArray) {\n this.owner.owner.stackMenuItems(this, items) // move between page and background\n }\n }\n\n return items;\n },\n getWindow: function() {\n if (this.isWorld) {\n return null;\n }\n if (this.isWindow) {\n return this;\n }\n if (this.owner) {\n return this.owner.getWindow();\n }\n return null;\n },\n\n\n\n\n});\nlively.morphic.Text.addMethods(\n'menu', {\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items.push([\n (this.evalEnabled ? '[X]' : '[ ]') + ' eval',\n function() { self.evalEnabled = !self.evalEnabled }\n ]);\n items.push([\n (this.syntaxHighlightingWhileTyping ? '[X]' : '[ ]') + ' syntax highlighting',\n function() { self.syntaxHighlightingWhileTyping ?\n self.disableSyntaxHighlighting() : self.enableSyntaxHighlighting() }\n ]);\n items.push([\n 'convert to annotation',\n function() {\n var part = $world.openPartItem('AnnotationPin', 'PartsBin/Documentation');\n part.setPosition(self.getPosition());\n part.createAnnotationFromText(self);\n self.remove();\n }\n ]);\n items.push([\n (self.isInChunkDebugMode() ? 'disable' : 'enable') + ' text chunk debugging',\n function() { self.setChunkDebugMode(!self.isInChunkDebugMode()) }]);\n return items;\n },\n\n});\n\n\nlively.morphic.World.addMethods(\n'tools', {\n loadPartItem: function(partName, optPartspaceName) {\n var optPartspaceName = optPartspaceName || 'PartsBin/NewWorld';\n var part = lively.PartsBin.getPart(partName, optPartspaceName);\n if (!part)\n \treturn;\n if (part.onCreateFromPartsBin) part.onCreateFromPartsBin();\n return part;\n },\n openPartItem: function(partName, optPartspaceName) {\n var part = this.loadPartItem(partName, optPartspaceName);\n part.openInWorld(pt(0,0))\n part.align(part.bounds().center(), this.visibleBounds().center());\n return part;\n },\n openPartsBin: function(evt) {\n return this.openPartItem('PartsBinBrowser', 'PartsBin/Tools');\n },\n openInspectorFor: function(object, evt) {\n var name = Config.useObjectInspector ? \"ObjectInspector\" : \"Explorer\";\n var part = this.openPartItem(name, 'PartsBin/Tools');\n part.explore(object);\n return part;\n },\n openStyleEditorFor: function(morph, evt) {\n var editor = this.openPartItem('StyleEditor', 'PartsBin/Tools');\n editor.setTarget(morph);\n var globalPos = morph.owner.getGlobalTransform().transformPoint(\n morph.bounds().bottomLeft());\n editor.align(editor.bounds().topLeft(),globalPos);\n return editor;\n },\n openObjectEditor: function() {\n return this.openPartItem('ObjectEditor', 'PartsBin/Tools');\n },\n openObjectEditorFor: function(morph) {\n var part = this.openObjectEditor();\n part.setTarget(morph);\n return part;\n },\n openMethodFinder: function() {\n return this.openPartItem('MethodFinder', 'PartsBin/Tools');\n },\n openMethodFinderFor: function(searchString) {\n var toolPane = this.get('ToolTabPane');\n if (!toolPane) {\n toolPane = this.openPartItem('ToolTabPane', 'PartsBin/Dialogs');\n toolPane.openInWindow();\n toolPane.owner.name = toolPane.name +\"Window\";\n toolPane.owner.minExtent = pt(700,370);\n var corner = toolPane.withAllSubmorphsDetect(function (ea) {\n return ea.name == \"ResizeCorner\";\n });\n corner && toolPane.owner.addMorph(corner)\n }\n var part = toolPane.openMethodFinderFor(searchString)\n part.setExtent(toolPane.tabPaneExtent)\n part.owner.layout = part.owner.layout || {};\n part.owner.layout.resizeWidth = true;\n part.owner.layout.resizeHeight = true;\n part.owner.layout.adjustForNewBounds = true;\n return part;\n },\n openVersionViewer: function(evt) {\n return this.openPartItem('VersionViewer', 'PartsBin/Wiki');\n },\n openTestRunner: function() {\n var m = this.openPartItem('TestRunner', 'PartsBin/Tools');\n m.align(m.bounds().topCenter().addPt(pt(0,-20)), this.visibleBounds().topCenter());\n return m\n },\n openClassBrowserFor: function(searchString) {\n var part = this.openPartItem('ClassBrowser', 'PartsBin/Tools');\n part.targetMorph.searchClass(searchString);\n return part;\n },\n openPublishPartDialogFor: function(morph) {\n var publishDialog = this.loadPartItem('PublishPartDialog', 'PartsBin/Dialogs');\n var metaInfo = morph.getPartsBinMetaInfo();\n publishDialog.targetMorph.setTarget(morph);\n publishDialog.openInWorldCenter();\n $world.publishPartDialog = publishDialog;\n return publishDialog;\n },\n openConnectDocumentation: function() {\n return this.openPartItem('HowConnectWorks', 'PartsBin/Documentation');\n },\n openShortcutDocumentation: function() {\n return this.openPartItem('HelpfulShortcuts', 'PartsBin/Documentation');\n },\n openPartsBinDocumentation: function() {\n return this.openPartItem('LivelysPartsBin', 'PartsBin/Documentation');\n },\n openSystemBrowser: function(evt) {\n var world = this,\n browser;\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n browser = new lively.ide.SystemBrowser();\n browser.openIn(world);\n\n var lastOpened = lively.ide.SourceControl.registeredBrowsers.last();\n lastOpened && browser.setTargetURL(lastOpened.targetURL)\n });\n return browser;\n },\n browseCode: function(/*args*/) {\n // find code and browse it\n // args can be objectName, methodName, sourceModuleName\n // see lively.ide.browse for more options\n var args = Array.from(arguments);\n require('lively.ide.SystemCodeBrowser').toRun(function() {\n lively.ide.browse.apply(lively.ide, args);\n });\n },\n\n openWorkspace: function(evt) {\n var text = this.addTextWindow({title: 'Workspace',\n content: 'nothing', syntaxHighlighting: true})\n text.accessibleInInactiveWindow = true;\n text.setFontFamily('Monaco,monospace');\n return text;\n },\n openAboutBox: function() {\n var text = this.addTextWindow({title: 'About Lively Kernel'});\n text.owner.setExtent(pt(390, 105));\n var webR = new WebResource(new URL(Config.rootPath));\n var licenseURL = 'http://lively-kernel.org/license/index.html';\n var headRevision = webR.getHeadRevision().headRevision;\n var repositoryString = 'Repository: ' + Config.rootPath;\n var revisionString = '\\n\\nRevision: ' + headRevision;\n var licenseString = '\\n\\nLicense: ' + licenseURL;\n text.setTextString(repositoryString + revisionString + licenseString);\n text.changeEmphasis('Repository: '.length, repositoryString.length + 1, function(emph, doEmph) {\n doEmph({uri: Config.rootPath});\n });\n text.changeEmphasis(repositoryString.length + revisionString.length + '\\n\\nLicense: '.length, repositoryString.length + revisionString.length + licenseString.length + 1, function(emph, doEmph) {\n doEmph({uri: licenseURL});\n });\n text.setSelectionRange(0,0)\n return text;\n },\n openBootstrapParts: function() {\n // load the bootstrap part from webwerkstat\n // this part can fetch all his friends :-)\n var oldRootPath = Config.rootPath\n try {\n Config.rootPath = 'http://lively-kernel.org/repository/webwerkstatt/'\n this.openPartItem(\"BootstrapParts\", \"PartsBin/Tools\")\n } finally {\n Config.rootPath = oldRootPath\n }\n },\n openSystemConsole: function() {\n return this.openPartItem('SystemConsole', 'PartsBin/Tools');\n }\n},\n'menu', {\n morphMenuPartsBinItems: function() {\n var partSpaceName = 'PartsBin/NewWorld'\n var partSpace = lively.PartsBin.partsSpaceNamed(partSpaceName);\n partSpace.load()\n return partSpace.getPartNames().sort().collect(function(ea) { return [ea, function() {\n var part = lively.PartsBin.getPart(ea, partSpaceName)\n lively.morphic.World.current().firstHand().addMorph(part)\n }]})\n },\n morphMenuDefaultPartsItems: function() {\n var items = [],\n partNames = [\"Rectangle\", \"Ellipse\", \"Image\", \"Text\", 'Line'].sort();\n\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Basic',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n\n partNames = [\"List\", \"Slider\", \"ScriptableButton\", \"Button\"].sort()\n items.pushAll(partNames.collect(function(ea) { return [ea, function() {\n var partSpaceName = 'PartsBin/Inputs',\n part = lively.PartsBin.getPart(ea, partSpaceName);\n\t\t\t if (!part) return;\n lively.morphic.World.current().firstHand().grabMorph(part);\n }]}))\n\n return items;\n },\n\n debuggingMenuItems: function(world) {\n var items = [\n ['Reset world scale', this.resetScale.bind(this)],\n ['Reset title bars', this.resetAllTitleBars.bind(this)],\n ['Reset button labels', this.resetAllButtonLabels.bind(this)],\n ['World serialization info', function() {\n require('lively.persistence.Debugging').toRun(function() {\n var json = lively.persistence.Serializer.serialize(world),\n printer = lively.persistence.Debugging.Helper.listObjects(json);\n world.addTextWindow(printer.toString());\n })}]];\n\n // world requirements\n var changeSet = this.getChangeSet()\n worldRequirementsChange = changeSet.getWorldRequirementsList(),\n worldRequirements = worldRequirementsChange.evaluate(),\n removeRequirement = function(name) {\n changeSet.removeWorldRequirement(name);\n alertOK(name + ' is not loaded at startup anymore');\n },\n menuItems = worldRequirements.collect(function(name) {\n return [name, [['Remove', removeRequirement.curry(name)]]];\n });\n items.push(['Requirements', menuItems]);\n\n // method tracing items\n function disableGlobalTracing() {\n // FIXME better to move this functionality into lively.Tracing\n var controller = $morph(\"TracingController\");\n if (controller) {\n controller.stopTrace();\n } else {\n lively.Tracing.stopGlobalDebugging();\n }\n }\n var tracersInstalled = lively.Tracing && lively.Tracing.stackTracingEnabled,\n globalTracingEnabled = tracersInstalled && lively.Tracing.globalTracingEnabled;\n if (tracersInstalled) {\n items.push([\"Remove trace wrappers\", function() {\n if (globalTracingEnabled) disableGlobalTracing();\n lively.Tracing.uninstallStackTracers();\n }]);\n\n if (!globalTracingEnabled) {\n items.push(['Start global tracing', function() {\n lively.Tracing.startGlobalTracing()\n }]);\n items.push(['Start global debugging', function() {\n require('lively.ast.Morphic').toRun(function() {\n lively.Tracing.startGlobalDebugging()\n });\n }]);\n }\n } else {\n items.push(['Prepare system for tracing/debugging', function() {\n require(\"lively.Tracing\").toRun(function() {\n lively.Tracing.installStackTracers();\n });\n }]);\n }\n if (Global.DebugScriptsLayer && DebugScriptsLayer.isGlobal()) {\n items.push(['[X] Debug Morphic Scripts', function() {\n DebugScriptsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Morphic Scripts', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugScriptsLayer.beGlobal()\n });\n }]);\n }\n if (Global.DebugMethodsLayer && DebugMethodsLayer.isGlobal()) {\n items.push(['[X] Debug Methods', function() {\n DebugMethodsLayer.beNotGlobal()\n }]);\n } else {\n items.push(['[ ] Debug Methods', function() {\n require('lively.ast.Morphic').toRun(function() {\n DebugMethodsLayer.beGlobal()\n });\n }]);\n }\n if (Global.AdvancedSyntaxHighlighting && AdvancedSyntaxHighlighting.isGlobal()) {\n items.push(['[X] Advanced Syntax Highlighting', function() {\n AdvancedSyntaxHighlighting.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Advanced Syntax Highlighting', function() {\n require('lively.ast.StaticAnalysis').toRun(function() {\n AdvancedSyntaxHighlighting.beGlobal();\n });\n }]);\n }\n if (Global.AutoIndentLayer && AutoIndentLayer.isGlobal()) {\n items.push(['[X] Auto Indent', function() {\n AutoIndentLayer.beNotGlobal();\n }]);\n } else {\n items.push(['[ ] Auto Indent', function() {\n require('users.cschuster.AutoIndent').toRun(function() {\n AutoIndentLayer.beGlobal();\n });\n }]);\n }\n return items;\n },\n\n morphMenuItems: function() {\n var world = this;\n var items = [\n ['PartsBin', this.openPartsBin.bind(this)],\n ['Parts', this.morphMenuDefaultPartsItems()],\n ['Tools', [\n ['Workspace', this.openWorkspace.bind(this)],\n\t\t['System Code Browser', this.openSystemBrowser.bind(this)],\n ['Object Editor', this.openObjectEditor.bind(this)],\n ['Test Runner', this.openTestRunner.bind(this)],\n ['Method Finder', this.openMethodFinder.bind(this)],\n ['Text Editor', function() { new lively.morphic.TextEditor().openIn(world) }],\n ['System Console', this.openSystemConsole.bind(this)]\n ]],\n ['Stepping', [\n ['Start stepping', function() { world.submorphs.each(\n function(ea) {ea.startSteppingScripts && ea.startSteppingScripts()})}],\n ['Stop stepping', function() { world.submorphs.each(\n function(ea) {ea.stopStepping && ea.stopStepping()})}],\n ]], \n ['Preferences', [\n ['Set username', this.askForUserName.bind(this)],\n ['My user config', this.showUserConfig.bind(this)],\n ['Set extent', this.askForNewWorldExtent.bind(this)],\n ['Set background color', this.askForNewBackgroundColor.bind(this)]]\n ],\n ['Debugging', this.debuggingMenuItems(world)],\n ['Wiki', [\n ['About this wiki', this.openAboutBox.bind(this)],\n ['Bootstrap parts from webwerkstatt', this.openBootstrapParts.bind(this)],\n ['View versions of this world', this.openVersionViewer.bind(this)],\n ['Download world', function() {\n require('lively.persistence.StandAlonePackaging').toRun(function() {\n lively.persistence.StandAlonePackaging.packageCurrentWorld();\n });\n }],\n ['Upload world to Dropbox', function() {\n require('apps.Dropbox').toRun(function() {\n DropboxAPI.uploadArchivedWorld();\n });\n }],\n ['Delete world', this.interactiveDeleteWorldOnServer.bind(this)]\n ]],\n ['Documentation', [\n [\"On short cuts\", this.openShortcutDocumentation.bind(this)],\n [\"On connect data bindings\", this.openConnectDocumentation.bind(this)],\n\t\t\t\t [\"On Lively's PartsBin\", this.openPartsBinDocumentation.bind(this)],\n [\"More ...\", function() { window.open(Config.rootPath + 'documentation/'); }]\n ]],\n ['Save world as ...', this.interactiveSaveWorldAs.bind(this), 'synchron'],\n ['Save world', this.saveWorld.bind(this), 'synchron']\n ];\n return items;\n }\n},\n'positioning', {\n positionForNewMorph: function (newMorph, relatedMorph) {\n // this should be much smarter than the following:\n if (relatedMorph)\n return relatedMorph.bounds().topLeft().addPt(pt(5, 0));\n var pos = this.firstHand().getPosition();\n if (!newMorph) return pos;\n var viewRect = this.visibleBounds().insetBy(80),\n newMorphBounds = pos.extent(newMorph.getExtent());\n\n // newShowRect(viewRect)\n return viewRect.containsRect(newMorphBounds) ?\n pos : viewRect.center().subPt(newMorphBounds.extent().scaleBy(0.5));\n },\n},\n'windows', {\n addFramedMorph: function(morph, title, optLoc, optSuppressControls, suppressReframeHandle) {\n var w = this.addMorph(\n new lively.morphic.Window(morph, title || 'Window',\n optSuppressControls, suppressReframeHandle));\n w.setPosition(optLoc || this.positionForNewMorph(morph));\n return w;\n },\n\n addTextWindow: function(spec) {\n // FIXME: typecheck the spec\n if (Object.isString(spec.valueOf())) spec = {content: spec}; // convenience\n var extent = spec.extent || pt(500, 200),\n textMorph = new lively.morphic.Text(extent.extentAsRectangle(), spec.content || \"\"),\n pane = this.internalAddWindow(textMorph, spec.title, spec.position);\n textMorph.applyStyle({\n clipMode: 'auto',\n fixedWidth: true, fixedHeight: true,\n resizeWidth: true, resizeHeight: true,\n syntaxHighlighting: spec.syntaxHighlighting,\n padding: Rectangle.inset(4,2)});\n return pane;\n },\n\n internalAddWindow: function(morph, title, pos, suppressReframeHandle) {\n morph.applyStyle({borderWidth: 1, borderColor: CrayonColors.iron});\n pos = pos || this.firstHand().getPosition().subPt(pt(5, 5));\n var win = this.addFramedMorph(morph, String(title || \"\"), pos, suppressReframeHandle);\n return morph;\n },\n},\n'dialogs', {\n openDialog: function(dialog) {\n var activeWindow = $world.getActiveWindow() || $world,\n visibleBounds = this.visibleBounds(),\n blockee = activeWindow.targetMorph || $world,\n pointOfAlign = activeWindow.targetMorph ?\n blockee.getShape().getBounds().topRight() :\n this.visibleBounds().center(),\n window = dialog.openIn(this, pt(0,0)),\n d,\n transparentMorph,\n blockMorph;\n window.align(window.owner.localize(window.bounds().center()), visibleBounds.center());\n window.focus();\n d = dialog\n if (!activeWindow) return d;\n\n // normal bounds can be negative.. we want the shape bounds here\n var bounds = blockee.shape.bounds().translatedBy(blockee.getPosition());\n blockMorph = lively.morphic.Morph.makeRectangle(bounds);\n blockMorph.disableGrabbing();\n blockMorph.disableDragging();\n blockMorph.isEpiMorph = true;\n blockMorph.applyStyle({\n fill: null,\n borderWidth: 0,\n });\n transparentMorph = lively.morphic.Morph.makeRectangle(blockMorph.getShape().getBounds());\n transparentMorph.disableGrabbing();\n transparentMorph.disableDragging();\n transparentMorph.isEpiMorph = true;\n blockMorph.addMorph(transparentMorph);\n transparentMorph.applyStyle({\n fill: Color.black,\n opacity: 0.5,\n });\n\n blockMorph.addMorph(d.panel);\n\n if(activeWindow.targetMorph){\n d.panel.align(d.panel.bounds().topRight(), pointOfAlign);\n } else {\n d.panel.align(d.panel.bounds().center(), pointOfAlign);\n }\n\n activeWindow.addMorph(blockMorph);\n connect(d.panel, 'remove', blockMorph, 'remove');\n return dialog;\n },\n confirm: function (message, callback) {\n return this.openDialog(new lively.morphic.ConfirmDialog(message, callback));\n },\n prompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.PromptDialog(message, callback, defaultInput))\n },\n editPrompt: function (message, callback, defaultInput) {\n return this.openDialog(new lively.morphic.EditDialog(message, callback, defaultInput))\n }\n},\n'progress bar', {\n addProgressBar: function(optPt, optLabel) {\n var progressBar = new lively.morphic.ProgressBar(),\n center = optPt || this.visibleBounds().center();\n this.addMorph(progressBar);\n progressBar.align(progressBar.bounds().center(), center);\n progressBar.setLabel(optLabel || '');\n progressBar.ignoreEvents();\n return progressBar\n },\n},\n'preferences', {\n askForUserName: function() {\n var world = this;\n this.prompt(\"Please, give your username\", function(name) {\n if (name) {\n alertOK(\"setting username to: \" + name)\n world.setCurrentUser(name);\n } else {\n alertOK(\"removing username\")\n world.setCurrentUser(undefined);\n }\n })\n },\n askForNewWorldExtent: function() {\n var world = this;\n this.prompt(\"Please, give new world extent\", function(str) {\n if (!str) return;\n var newExtent;\n try {\n newExtent = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newExtent instanceof lively.Point)) {\n alert(\"\" + newExtent + \" \" + \"is not a proper extent\")\n return\n }\n alert(\"set world extent to \" + newExtent);\n world.setExtent(newExtent)\n }, this.getExtent())\n },\n askForNewBackgroundColor: function() {\n var world = this,\n oldColor = this.getFill();\n if(! (oldColor instanceof Color)){\n oldColor = Color.rgb(255,255,255);\n }\n this.prompt(\"Please, give new world background color\", function(str) {\n if (!str) return;\n var newColor;\n try {\n newColor = eval(str);\n } catch(e) {\n alert(\"could not eval: \" + str)\n };\n if (! (newColor instanceof Color)) {\n alert(\"\" + newColor + \" \" + \"is not a proper Color\")\n return\n }\n alert(\"set world background color \" + newColor);\n world.setFill(newColor)\n }, \"Color.\" + oldColor)\n },\n\n setCurrentUser: function(username) {\n this.currentUser = username;\n if (lively.LocalStorage)\n lively.LocalStorage.set('UserName', username);\n },\n},\n'morph selection', {\n withSelectedMorphsDo: function(func, context) {\n // FIXME currently it is the halo target...\n if (!this.currentHaloTarget) return;\n func.call(context || Global, this.currentHaloTarget);\n },\n},\n'debugging', {\n resetAllScales: function() {\n this.withAllSubmorphsDo(function(ea) {\n ea.setScale(1);\n })\n },\n\tresetScale: function () {\n\t\tthis.setScale(1);\n\t\tthis.firstHand().setScale(1)\n\t},\n\tresetAllTitleBars: function() {\n this.submorphs.select(function(ea) {\n return ea instanceof lively.morphic.Window\n }).invoke('resetTitleBar')\n },\n resetAllButtonLabels: function() {\n this.withAllSubmorphsDo(function(ea) {\n if (ea instanceof lively.morphic.Button) {\n // doppelt haellt besser ;) (old german proverb)\n ea.setLabel(ea.getLabel());\n ea.setLabel(ea.getLabel());\n }\n })\n },\n},\n'wiki', {\n interactiveDeleteWorldOnServer: function() {\n var url = URL.source;\n this.world().confirm('Do you really want to delete ' + url.filename() + '?',\n function(answer) {\n if (!answer) return;\n new WebResource(URL.source)\n .statusMessage('Removed ' + url, 'Error removing ' + url, true)\n .del();\n })\n },\n getActiveWindow: function () {\n return this.submorphs.detect(function (ea) { return ea.isWindow && ea.isActive() });\n }\n});\n\nlively.morphic.List.addMethods(\n'documentation', {\n connections: {\n selection: {},\n itemList: {},\n selectedLineNo: {}\n },\n},\n'settings', {\n style: {borderColor: Color.black, borderWidth: 0, fill: Color.gray.lighter().lighter(), clipMode: 'auto', fontFamily: 'Helvetica', fontSize: 10, enableGrabbing: false},\n selectionColor: Color.green.lighter(),\n isList: true,\n},\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds);\n this.itemList = [];\n this.selection = null;\n this.selectedLineNo = -1;\n if (optItems) this.updateList(optItems);\n },\n},\n'accessing', {\n setExtent: function($super, extent) {\n $super(extent);\n this.resizeList();\n },\n getListExtent: function() { return this.renderContextDispatch('getListExtent') },\n\n\n},\n'list interface', {\n getMenu: function() { /*FIXME actually menu items*/ return [] },\n updateList: function(items) {\n if (!items) items = [];\n this.itemList = items;\n var that = this;\n var itemStrings = items.collect(function(ea) { return that.renderFunction(ea); });\n this.renderContextDispatch('updateListContent', itemStrings);\n },\n addItem: function(item) {\n this.updateList(this.itemList.concat([item]));\n },\n\n selectAt: function(idx) {\n if (!this.isMultipleSelectionList)\n this.clearSelections();\n this.renderContextDispatch('selectAllAt', [idx]);\n this.updateSelectionAndLineNoProperties(idx);\n },\n deselectAt: function(idx) { this.renderContextDispatch('deselectAt', idx) },\n\n updateSelectionAndLineNoProperties: function(selectionIdx) {\n var item = this.itemList[selectionIdx];\n this.selectedLineNo = selectionIdx;\n this.selection = item && (item.value !== undefined) ? item.value : item;\n },\n\n setList: function(items) { return this.updateList(items) },\n getList: function() { return this.itemList },\n getValues: function() {\n return this.getList().collect(function(ea) { return ea.isListItem ? ea. value : ea})\n },\n\n setSelection: function(sel) {\n this.selectAt(this.find(sel));\n },\n getSelection: function() { return this.selection },\n getItem: function(value) {\n return this.itemList[this.find(value)];\n },\n removeItemOrValue: function(itemOrValue) {\n var idx = this.find(itemOrValue), item = this.itemList[idx];\n this.updateList(this.itemList.without(item));\n return item;\n },\n\n getSelectedItem: function() {\n return this.selection && this.selection.isListItem ? this.itemList[this.selectedLineNo] : this.selection;\n },\n moveUpInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx-1);\n },\n moveDownInList: function(itemOrValue) {\n if (!itemOrValue) return;\n var idx = this.find(itemOrValue);\n if (idx === undefined) return;\n this.changeListPosition(idx, idx+1);\n },\n clearSelections: function() { this.renderContextDispatch('clearSelections') },\n\n},\n'private list functions', {\n changeListPosition: function(oldIdx, newIdx) {\n var item = this.itemList[oldIdx];\n this.itemList.removeAt(oldIdx);\n this.itemList.pushAt(item, newIdx);\n this.updateList(this.itemList);\n this.selectAt(newIdx);\n },\n resizeList: function(idx) {\n this.renderContextDispatch('resizeList');\n },\n find: function(itemOrValue) {\n // returns the index in this.itemList\n for (var i = 0; i < this.itemList.length; i++) {\n var val = this.itemList[i];\n if (val === itemOrValue || (val && val.isListItem && val.value === itemOrValue))\n return i\n }\n },\n\n},\n'styling', {\n applyStyle: function($super, spec) {\n $super(spec);\n if (spec.fontFamily !== undefined) this.setFontFamily(spec.fontFamily);\n if (spec.fontSize !== undefined) this.setFontSize(spec.fontSize);\n },\n setFontSize: function(fontSize) { return this.morphicSetter('FontSize', fontSize) },\n getFontSize: function() { return this.morphicGetter('FontSize') || 10 },\n setFontFamily: function(fontFamily) { return this.morphicSetter('FontFamily', fontFamily) },\n getFontFamily: function() { return this.morphicSetter('FontFamily') || 'Helvetica' },\n},\n'multiple selection support', {\n enableMultipleSelections: function() {\n this.isMultipleSelectionList = true;\n this.renderContextDispatch('enableMultipleSelections');\n },\n getSelectedItems: function() {\n var items = this.itemList;\n return this.getSelectedIndexes().collect(function(i) { return items[i] });\n },\n getSelectedIndexes: function() { return this.renderContextDispatch('getSelectedIndexes') },\n\n getSelections: function() {\n return this.getSelectedItems().collect(function(ea) {return ea.isListItem ? ea.value : ea})\n },\n setSelections: function(arr) {\n var indexes = arr.collect(function(ea) { return this.find(ea) }, this);\n this.selectAllAt(indexes);\n },\n setSelectionMatching: function(string) {\n for (var i = 0; i < this.itemList.length; i++) {\n var itemString = this.itemList[i].string || String(this.itemList[i]);\n if (string == itemString)\n this.selectAt(i);\n }\n },\n selectAllAt: function(indexes) {\n this.renderContextDispatch('selectAllAt', indexes)\n },\n renderFunction: function(anObject) {\n return anObject.string || String(anObject);\n },\n\n});\nlively.morphic.DropDownList.addMethods(\n'initializing', {\n initialize: function($super, bounds, optItems) {\n $super(bounds, optItems);\n },\n});\n\nlively.morphic.Button.subclass(\"lively.morphic.WindowControl\",\n'documentation', {\n documentation: \"Event handling for Window morphs\",\n},\n'settings and state', {\n style: {borderWidth: 0, strokeOpacity: 0, padding: Rectangle.inset(0,2), accessibleInInactiveWindow: true},\n connections: ['HelpText', 'fire'],\n},\n'initializing', {\n initialize: function($super, bnds, inset, labelString, labelOffset) {\n $super(bnds, labelString)\n this.label.applyStyle({fontSize: 8})\n },\n});\n\nlively.morphic.Box.subclass(\"lively.morphic.TitleBar\", Trait('TitleBarMorph'),\n'documentation', {\n documentation: \"Title bar for lively.morphic.Window\",\n},\n'properties', {\n controlSpacing: 3,\n barHeight: 22,\n shortBarHeight: 15,\n accessibleInInactiveWindow: true,\n style: {\n fill: new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.white},\n {offset: 1, color: Color.gray.mixedWith(Color.black, 0.8)}]),\n strokeOpacity: 1,\n borderRadius: \"8px 8px 0px 0px\",\n borderWidth: 1,\n borderColor: Color.darkGray,\n adjustForNewBounds: true,\n resizeWidth: true\n },\n labelStyle: {\n borderRadius: 0,\n padding: Rectangle.inset(0,0),\n fill: null,\n fontSize: 10,\n align: 'center',\n clipMode: 'hidden',\n fixedWidth: true,\n fixedHeight: true,\n resizeWidth: true,\n textColor: Color.darkGray,\n emphasize: {textShadow: {color: Color.white, offset: pt(0,1)}}\n }\n},\n'intitializing', {\n initialize: function($super, headline, windowWidth, windowMorph, optSuppressControls) {\n if (optSuppressControls) { // for dialog boxes\n this.suppressControls = true;\n this.barHeight = this.shortBarHeight;\n }\n var bounds = new Rectangle(0, 0, windowWidth, this.barHeight);\n\n $super(bounds);\n\n // this.ignoreEvents();\n this.windowMorph = windowMorph;\n\n // Note: Layout of submorphs happens in adjustForNewBounds (q.v.)\n var label;\n if (headline instanceof lively.morphic.Text) {\n label = headline;\n } else if (headline != null) { // String\n label = lively.morphic.Text.makeLabel(headline, this.labelStyle);\n }\n this.label = this.addMorph(label);\n\n if (!this.suppressControls) {\n var cell = new Rectangle(0, 0, this.barHeight-5, this.barHeight-5);\n\n this.closeButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"X\", pt(-5,-4)));\n this.closeButton.applyStyle({moveHorizontal: true});\n //this.closeButton.linkToStyles('titleBar_closeButton');\n this.menuButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"M\", pt(-5,-6)));\n //this.menuButton.linkToStyles('titleBar_menuButton');\n this.collapseButton = this.addMorph(\n new lively.morphic.WindowControl(cell, this.controlSpacing, \"–\", pt(-3,-6)));\n this.collapseButton.applyStyle({moveHorizontal: true});\n //this.collapseButton.linkToStyles('titleBar_collapseButton');\n\n this.connectButtons(windowMorph);\n }\n // This will align the buttons and label properly\n this.adjustForNewBounds();\n this.adjustForNewBounds();\n\n this.disableDropping();\n },\n\n},\n'label', {\n setTitle: function(string) {\n this.label.replaceTextString(string);\n this.adjustForNewBounds();\n },\n},\n'layouting', {\n adjustForNewBounds: function($super) {\n $super();\n var innerBounds = this.innerBounds();\n var sp = this.controlSpacing;\n var loc = this.innerBounds().topLeft().addXY(sp, sp);\n var l0 = loc;\n var dx = pt(this.barHeight - sp, 0);\n if (this.menuButton) {\n this.menuButton.setPosition(loc);\n loc = loc.addPt(dx);\n }\n if (this.label) {\n var start = this.menuButton ? this.menuButton.bounds().topRight() : pt(0,0),\n end = this.collapseButton ? this.collapseButton.bounds().bottomLeft() : innerBounds.bottomRight();\n this.label.setBounds(rect(start, end))\n }\n if (this.closeButton) {\n loc = this.innerBounds().topRight().addXY(\n -sp-this.closeButton.shape.getBounds().width, sp);\n this.closeButton.setPosition(loc);\n loc = loc.subPt(dx);\n }\n if (this.collapseButton) {\n this.collapseButton.setPosition(loc);\n //loc = loc.subPt(dx);\n };\n\n/* var style = this.styleNamed(\"titleBar\");\n var w = style.borderWidth || 1;\n var r = style.borderRadius || 3;\n this.contentMorph.setBounds(new Rectangle(w/2, w/2, innerBounds.width, this.barHeight + r));*/\n },\n lookCollapsedOrNot: function(collapsed) {\n this.applyStyle({borderRadius: collapsed ? \"8px 8px 8px 8px\" : \"8px 8px 0px 0px\"});\n },\n\n\n\n},\n'event handling', {\n onMouseDown: function (evt) {\n //Functions.False,\n // TODO: refactor to evt.hand.clickedOnMorph when everything else is ready for it\n evt.world.clickedOnMorph = this.windowMorph;\n },\n onMouseUp: Functions.False,\n});\n\nlively.morphic.Morph.subclass('lively.morphic.Window', Trait('WindowMorph'),\n'documentation', {\n documentation: \"Full-fledged windows with title bar, menus, etc\",\n},\n'settings and state', {\n state: 'expanded',\n style: {borderWidth: 0, fill: null, borderRadius: 0, strokeOpacity: 0, adjustForNewBounds: true, enableDragging: true},\n isWindow: true,\n isCollapsed: function() { return this.state === 'collapsed' },\n\n},\n'initializing', {\n initialize: function($super, targetMorph, titleString, optSuppressControls) {\n $super(new lively.morphic.Shapes.Rectangle());\n this.LK2 = true; // to enable workaround in WindowMorph trait.expand\n\n var bounds = targetMorph.bounds(),\n titleBar = this.makeTitleBar(titleString, bounds.width, optSuppressControls),\n titleHeight = titleBar.bounds().height - titleBar.getBorderWidth();\n this.setBounds(bounds.withHeight(bounds.height + titleHeight));\n this.targetMorph = this.addMorph(targetMorph);\n this.reframeHandle = this.addMorph(this.makeReframeHandle());\n this.alignReframeHandle();\n this.titleBar = this.addMorph(titleBar);\n this.contentOffset = pt(0, titleHeight);\n targetMorph.setPosition(this.contentOffset);\n // this.closeAllToDnD();\n\n this.collapsedTransform = null;\n this.collapsedExtent = null;\n this.expandedTransform = null;\n this.expandedExtent = null;\n this.ignoreEventsOnExpand = false;\n this.disableDropping();\n return this;\n },\n\n},\n'window behavior', {\n makeTitleBar: function(titleString, width, optSuppressControls) {\n // Overridden in TabbedPanelMorph\n return new lively.morphic.TitleBar(titleString, width, this, optSuppressControls);\n },\n removeHalos: function($super, optWorld) {\n // Sadly, this doesn't get called when click away from halo\n // Need to patch World.removeHalosFor, or refactor so it calls this\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n $super(optWorld);\n },\n showHalos: function($super) {\n // Hide the reframe handle in case of menu reframe\n if (this.reframeHandle) {\n this.reframeHandle.remove();\n }\n $super();\n },\n\n makeReframeHandle: function() {\n var handle = lively.morphic.Morph.makePolygon(\n [pt(14, 0), pt(14, 14), pt(0, 14)], 0, null, Color.gray);\n handle.addScript(function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n });\n handle.addScript(function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n });\n handle.addScript(function onDragEnd (evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n });\n return handle;\n },\n\n alignReframeHandle: function() {\n if (this.reframeHandle) {\n this.reframeHandle.align(this.reframeHandle.bounds().bottomRight(), this.getExtent());\n }\n },\n\n getBounds: function($super) {\n if (this.titleBar && this.isCollapsed()) {\n var titleBarTranslation = this.titleBar.getGlobalTransform().getTranslation();\n return this.titleBar.bounds().translatedBy(titleBarTranslation);\n }\n return $super();\n },\n\n initiateShutdown: function() {\n if (this.isShutdown()) return null;\n if (this.onShutdown) this.onShutdown();\n this.remove();\n this.state = 'shutdown'; // no one will ever know...\n return true;\n },\n\n resetTitleBar: function() {\n var oldTitleBar = this.titleBar;\n oldTitleBar.remove();\n this.titleBar = this.makeTitleBar(oldTitleBar.label.textString, this.getExtent().x);\n this.addMorph(this.titleBar);\n },\n\n},\n'menu', {\n showTargetMorphMenu: function() {\n var target = this.targetMorph || this;\n if (this.targetMorph) {\n var self = this;\n itemFilter = function (items) {\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }]\n return items;\n }\n }\n target.openMorphMenuAt(this.getGlobalTransform().transformPoint(pt(0,0)), itemFilter);\n },\n morphMenuItems: function($super) {\n var self = this, items = $super();\n items[0] = [\n 'Publish window', function(evt) {\n self.copyToPartsBinWithUserRequest();\n }];\n items.push([\n 'Set title', function(evt) {\n $world.prompt('Enter new title', function(input) {\n if (input || input == '') self.setTitle(input);\n }, self.getTitle()); }]);\n return items;\n },\n},\n'mouse event handling', {\n highlight: function(trueForLight) {\n this.highlighted = trueForLight;\n var fill = this.titleBar.getStyle().fill || this.titleBar.getFill(),\n newFill = trueForLight ? fill.lighter(1) : fill;\n this.titleBar.applyStyle({\n fill: newFill,\n });\n this.titleBar.label.applyStyle({emphasize: {fontWeight: trueForLight ? 'bold' : 'normal'}});\n },\n\n isInFront: function() { return this.owner && this.owner.topMorph() === this },\n isActive: function() {\n return this.isInFront() && this.world() && this.highlighted;\n },\n\n comeForward: function() {\n // adds the window before each other morph in owner\n // this resets the scroll in HTML, fix for now -- gather before and set it afterwards\n if (this.isInFront()) return; // already at front\n var textsAndLists = [], scrolls = [];\n this.withAllSubmorphsDo(function(ea) {\n if (!ea.isList && !ea.isText) return;\n textsAndLists.push(ea);\n scrolls.push(ea.getScroll());\n });\n this.owner.addMorphFront(this); // come forward\n if (this.reframeHandle) {\n this.addMorphFront(this.reframeHandle);\n this.alignReframeHandle();\n }\n (function() {\n textsAndLists.forEach(function(ea, i) { ea.setScroll(scrolls[i][0], scrolls[i][1]) });\n if (this.targetMorph && this.targetMorph.onWindowGetsFocus) {\n this.targetMorph.onWindowGetsFocus();\n }\n }).delay(0);\n },\n\n onMouseDown: function(evt) {\n var wasInFront = this.isActive();\n // this.highlight(true);\n this.comeForward();\n if (!wasInFront) {\n this.world().submorphs.forEach(function(ea) {\n ea !== this && ea.isWindow && ea.highlight(false);\n }, this);\n this.highlight(true);\n if (this.morphsContainingPoint(evt.getPosition()).detect(function(ea) {\n return ea.accessibleInInactiveWindow || true }))\n return false; // was: $super(evt);\n\n this.cameForward = true; // for stopping the up as well\n evt.world.clickedOnMorph = null; // dont initiate drag, FIXME, global state!\n evt.stop(); // so that text, lists that are automatically doing things are not modified\n return true;\n } else {\n this.comeForward();\n return false; // was: $super(evt);\n }\n },\n onMouseUp: function(evt) {\n if (this.cameForward) {\n this.cameForward = false;\n evt.stop();\n return true;\n }\n return false;\n },\n onDragStart: function(evt) {\n this.prevDragPos = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var movedBy = evt.getPosition().subPt(this.prevDragPos);\n this.prevDragPos = evt.getPosition();\n this.moveBy(movedBy);\n return true;\n },\n},\n'debugging', {\n toString: function($super) {\n return $super() + ' ' + (this.titleBar ? this.titleBar.getTitle() : '');\n },\n},\n'removing', {\n remove: function($super) {\n // should trigger remove of submorphs but remove is also usedelsewhere (grab)\n // this.targetMorph && this.targetMorph.remove();\n return $super();\n },\n},\n'collapsing', {\n collapse: function() {\n if (this.isCollapsed()) return;\n this.expandedTransform = this.getTransform();\n this.expandedExtent = this.getExtent();\n this.expandedPosition = this.getPosition();\n this.targetMorph.onWindowCollapse && this.targetMorph.onWindowCollapse();\n this.targetMorph.remove();\n this.helperMorphs = this.submorphs.withoutAll([this.targetMorph, this.titleBar]);\n this.helperMorphs.invoke('remove');\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(true);\n var finCollapse = function () {\n this.state = 'collapsed'; // Set it now so setExtent works right\n if (this.collapsedTransform) this.setTransform(this.collapsedTransform);\n if (this.collapsedExtent) this.setExtent(this.collapsedExtent);\n if (this.collapsedPosition) this.setPosition(this.collapsedPosition);\n this.shape.setBounds(this.titleBar.bounds());\n }.bind(this);\n if (this.collapsedPosition && this.collapsedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.collapsedPosition, 5, 50, finCollapse);\n else finCollapse();\n },\n expand: function() {\n if (!this.isCollapsed()) return;\n this.collapsedTransform = this.getTransform();\n this.collapsedExtent = this.innerBounds().extent();\n this.collapsedPosition = this.getPosition();\n var finExpand = function () {\n this.state = 'expanded';\n if (this.expandedTransform)\n this.setTransform(this.expandedTransform);\n if (this.expandedExtent) {\n this.setExtent(this.expandedExtent);\n }\n if (this.expandedPosition) {\n this.setPosition(this.expandedPosition);\n }\n\n this.addMorph(this.targetMorph);\n\n this.helperMorphs.forEach(function(ea) {\n this.addMorph(ea)\n }, this);\n\n // Bring this window forward if it wasn't already\n this.owner && this.owner.addMorphFront(this);\n this.targetMorph.onWindowExpand && this.targetMorph.onWindowExpand();\n }.bind(this);\n if (this.expandedPosition && this.expandedPosition.dist(this.getPosition()) > 100)\n this.animatedInterpolateTo(this.expandedPosition, 5, 50, finExpand);\n else finExpand();\n if(this.titleBar.lookCollapsedOrNot) this.titleBar.lookCollapsedOrNot(false);\n },\n\n});\n\n\nObject.subclass('lively.morphic.App',\n'properties', {\n initialViewExtent: pt(350, 200),\n},\n'initializing', {\n buildView: function(extent) {\n throw new Error('buildView not implemented!')\n },\n},\n'accessing', {\n getInitialViewExtent: function(world, hint) {\n return hint || this.initialViewExtent;\n },\n},\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world));\n view.ownerApp = this; // for debugging\n this.view = view;\n if (pos) view.setPosition(pos);\n if (world.currentScene) world = world.currentScene;\n return world.addMorph(view);\n },\n open: function() {\n return this.openIn(lively.morphic.World.current());\n },\n\n},\n'removing', {\n removeTopLevel: function() {\n if (this.view) this.view.remove();\n },\n});\n\nlively.morphic.App.subclass('lively.morphic.AbstractDialog',\n'documentation', {\n connections: ['result'],\n},\n'properties', {\n initialViewExtent: pt(300, 90),\n inset: 4,\n},\n'initializing', {\n initialize: function(message, callback) {\n this.result = null;\n this.message = message || '?';\n if (callback) this.setCallback(callback);\n },\n buildPanel: function(bounds) {\n this.panel = new lively.morphic.Box(bounds);\n this.panel.applyStyle({\n fill: Color.rgb(210,210,210),\n borderColor: Color.gray.darker(),\n borderWidth: 1,\n adjustForNewBounds: true, // layouting\n lock: true,\n });\n this.panel.disableDragging();\n this.panel.disableGrabbing();\n },\n buildLabel: function() {\n var bounds = new Rectangle(this.inset, this.inset, this.panel.getExtent().x - 2*this.inset, 18);\n this.label = this.panel.addMorph(new lively.morphic.Text(bounds, this.message));\n this.label.beLabel({fill: Color.white, fixedHeight: true, fixedWidth: false, padding: Rectangle.inset(0,0)});\n// FIXME ugly hack for wide dialogs\n(function fit() {\n this.label.fit();\n var labelWidth = this.label.getExtent().x, panelExtent = this.panel.getExtent();\n if (labelWidth > panelExtent.x)\n this.panel.setExtent(panelExtent.withX(labelWidth))\n}).bind(this).delay(0);\n this.label.disableDragging();\n this.label.disableGrabbing();\n },\n buildCancelButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'Cancel');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, this.inset), this.panel.innerBounds().bottomRight())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.cancelButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildOKButton: function() {\n var bounds = new Rectangle(0,0, 60, 30),\n btn = new lively.morphic.Button(bounds, 'OK');\n btn.align(btn.bounds().bottomRight().addXY(this.inset, 0), this.cancelButton.bounds().bottomLeft())\n btn.applyStyle({moveHorizontal: true, moveVertical: true, padding: rect(pt(0,6),pt(0,6))})\n this.okButton = this.panel.addMorph(btn);\n lively.bindings.connect(btn, 'fire', this, 'removeTopLevel')\n },\n buildView: function(extent) {\n this.buildPanel(extent.extentAsRectangle());\n this.buildLabel();\n this.buildCancelButton();\n this.buildOKButton();\n return this.panel;\n },\n},\n'callbacks', {\n setCallback: function(func) {\n this.callback = func;\n connect(this, 'result', this, 'triggerCallback')\n },\n triggerCallback: function(resultBool) {\n this.removeTopLevel();\n if (this.callback) this.callback(resultBool);\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.ConfirmDialog',\n'properties', {\n initialViewExtent: pt(260, 70),\n},\n'initializing', {\n buildView: function($super, extent) {\n var panel = $super(extent);\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(this.okButton, 'fire', this, 'result', {\n converter: function() { return true }});\n lively.bindings.connect(panel, 'onEscPressed', this, 'result', {\n converter: function() { return false }});\n lively.bindings.connect(panel, 'onEnterPressed', this, 'result', {\n converter: function() { return true }});\n\n return panel;\n },\n});\n\nlively.morphic.AbstractDialog.subclass('lively.morphic.PromptDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function(bounds) {\n var input = new lively.morphic.Text(this.label.bounds().insetByPt(pt(this.label.getPosition().x * 2, 0)), this.defaultInput || '');\n input.align(input.getPosition(), this.label.bounds().bottomLeft().addPt(pt(0,5)));\n input.beInputLine({fixedWidth: true});\n\t\tinput.disableDragging();\n\t\tinput.disableGrabbing();\n connect(input, 'savedTextString', this, 'result');\n connect(input, 'onEscPressed', this, 'result', {converter: function() { return null } });\n connect(this.panel, 'onEscPressed', this, 'result', {converter: function() { return null}});\n // addScript is a bit of a hack because the function in addScript\n // doesn't close over \"input\", apparently...\n this.panel.addScript(function onEnterPressed(evt) {\n evt.stop();\n });\n connect(this.panel, 'onEnterPressed', input, 'doSave', {converter: function(arg) { return arg } });\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\nlively.morphic.AbstractDialog.subclass('lively.morphic.EditDialog',\n// new lively.morphic.PromptDialog('Test', function(input) { alert(input) }).open()\n'initializing', {\n initialize: function($super, label, callback, defaultInput) {\n $super(label, callback, defaultInput);\n this.defaultInput = defaultInput;\n },\n buildTextInput: function() {\n var input = new lively.morphic.Text(this.label.bounds(), this.defaultInput || '')\n .applyStyle({resizeWidth: true, resizeHeight: true, clipMode: 'auto'});\n input.align(input.getPosition(), this.label.bounds().bottomLeft());\n connect(input, 'savedTextString', this, 'result');\n this.inputText = this.panel.addMorph(input);\n },\n\n buildView: function($super, extent) {\n var panel = $super(extent);\n this.buildTextInput();\n\n lively.bindings.connect(this.cancelButton, 'fire', this, 'result', {\n converter: function() { return null }});\n lively.bindings.connect(this.okButton, 'fire', this.inputText, 'doSave')\n\n panel.setExtent(pt(400,200))\n\n return panel;\n },\n\n},\n'opening', {\n openIn: function($super, owner, pos) {\n var view = $super(owner, pos);\n // delayed because selectAll will scroll the world on text focus\n // sometimes the final pos of the dialog is different to the pos here\n // so dialog will open at wrong place, focus, world scrolls to the top,\n // dialog is moved and out of frame\n this.inputText.selectAll.bind(this.inputText).delay(0);\n return view;\n },\n});\n\n\nlively.morphic.App.subclass('lively.morphic.WindowedApp',\n'opening', {\n openIn: function(world, pos) {\n var view = this.buildView(this.getInitialViewExtent(world)),\n window = world.addFramedMorph(view, this.defaultTitle);\n if (world.currentScene) world.currentScene.addMorph(window); // FIXME\n view.ownerApp = this; // for debugging\n this.view = window;\n return window;\n },\n});\n\n\n// COPIED from Widgets.js SelectionMorph\nlively.morphic.Box.subclass('lively.morphic.Selection',\n'documentation', {\n documentation: 'selection \"tray\" object that allows multiple objects to be moved and otherwise manipulated simultaneously',\n},\n'settings', {\n style: {fill: null, borderWidth: 1, borderColor: Color.darkGray},\n isEpiMorph: true,\n doNotRemove: true,\n propagate: true,\n isSelection: true,\n\n},\n'initializing', {\n initialize: function($super, initialBounds) {\n $super(initialBounds);\n this.applyStyle(this.style);\n this.selectedMorphs = [];\n\n },\n},\n'propagation', {\n withoutPropagationDo: function(func) {\n // emulate COP\n this.propagate = false;\n func()\n this.propagate = true;\n },\n isPropagating: function() {\n return this.propagate\n },\n},\n'menu', {\n morphMenuItems: function($super) {\n var items = $super();\n if (this.selectedMorphs.length === 1) {\n var self = this;\n items.push([\"open ObjectEditor for selection\", function(){\n $world.openObjectEditorFor(self.selectedMorphs[0])\n }])\n }\n items.push([\"align vertically\", this.alignVertically.bind(this)]);\n items.push([\"space vertically\", this.spaceVertically.bind(this)]);\n items.push([\"align horizontally\", this.alignHorizontally.bind(this)]);\n items.push([\"space horizontally\", this.spaceHorizontally.bind(this)]);\n\n if (this.selectedMorphs.length == 1) {\n items.push([\"ungroup\", this.unGroup.bind(this)]);\n } else {\n items.push([\"group\", this.makeGroup.bind(this)]);\n }\n\n // items.push([\"align to grid...\", this.alignToGrid.bind(this)]);\n\n return items;\n },\n},\n'copying', {\n copy: function($super) {\n this.isEpiMorph = false;\n try { return this.addSelectionWhile($super) } finally { this.isEpiMorph = true }\n },\n},\n'selection handling', {\n addSelectionWhile: function(func) {\n // certain operations require selected morphs to be added to selection frame\n // e.g. for transformations or copying\n // use this method to add them for certain operations\n var world = this.world();\n if (!world || !this.isPropagating()) return func();\n\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.addMorph(this.selectedMorphs[i]);\n try { return func() } finally {\n for (var i = 0; i < this.selectedMorphs.length; i++)\n this.world().addMorph(this.selectedMorphs[i]);\n }\n },\n},\n'removing', {\n remove: function() {\n if (this.isPropagating())\n this.selectedMorphs.invoke('remove');\n this.removeOnlyIt();\n },\n removeOnlyIt: function() {\n if ( this.myWorld == null ) {\n this.myWorld = this.world();\n }\n // this.myWorld.currentSelection = null;\n Class.getSuperPrototype(this).remove.call(this);\n },\n},\n'accessing', {\n world: function($super) {\n return $super() || this.owner || this.myWorld\n },\n setBorderWidth: function($super, width) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(width);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderWidth(width)});\n },\n\n setFill: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating())\n $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFill(color)});\n },\n\n setBorderColor: function($super, color) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(color);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setBorderColor(color)});\n },\n\n shapeRoundEdgesBy: function($super, r) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(r);\n else this.selectedMorphs.forEach(\n function(m) { if (m.shape.roundEdgesBy) m.shapeRoundEdgesBy(r); });\n },\n\n setFillOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('withAllSubmorphsDo',\n function(ea) { ea.setFillOpacity(op)});\n },\n\n setStrokeOpacity: function($super, op) {\n if (!this.selectedMorphs || !this.isPropagating()) $super(op);\n else this.selectedMorphs.invoke('callOnAllSubmorphs',\n function(ea) { ea.setStrokeOpacity(op)});\n },\n\n setTextColor: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setTextColor) m.setTextColor(c); });\n },\n\n setFontSize: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontSize) m.setFontSize(c); });\n },\n\n setFontFamily: function(c) {\n if (!this.selectedMorphs || !this.isPropagating()) return;\n this.selectedMorphs.forEach( function(m) { if (m.setFontFamily) m.setFontFamily(c); });\n },\n\n setRotation: function($super, theta) {\n this.addSelectionWhile($super.curry(theta));\n },\n\n setScale: function($super, scale) {\n this.addSelectionWhile($super.curry(scale));\n },\n adjustOrigin: function($super, origin) {\n this.withoutPropagationDo(function() {\n return $super(origin)\n });\n },\n\n\n\n},\n'aligning', {\n // Note: the next four methods should be removed after we have gridding, i think (DI)\n alignVertically: function() {\n // Align all morphs to same left x as the top one.\n//console.log(\"this=\" + Object.inspect(this)); if(true) return;\n var morphs = this.selectedMorphs.slice(0).sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n var minX = morphs[0].getPosition().x; // align to left x of top morph\n morphs.forEach(function(m) { m.setPosition(pt(minX,m.getPosition().y)) });\n },\n\n alignHorizontally: function() {\n var minY = 9999;\n this.selectedMorphs.forEach(function(m) { minY = Math.min(minY, m.getPosition().y); });\n this.selectedMorphs.forEach(function(m) { m.setPosition(pt(m.getPosition().x, minY)) });\n },\n\n spaceVertically: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m,n) {return m.getPosition().y - n.getPosition().y});\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxY and sumOfHeights\n var maxY = minY;\n var sumOfHeights = 0;\n morphs.forEach(function(m) {\n var ht = m.innerBounds().height;\n sumOfHeights += ht;\n maxY = Math.max(maxY, m.getPosition().y + ht);\n });\n // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxY - minY - sumOfHeights)/Math.max(this.selectedMorphs.length - 1, 1);\n var y = minY;\n morphs.forEach(function(m) {\n m.setPosition(pt(minX, y));\n y += m.innerBounds().height + separation;\n });\n },\n\n spaceHorizontally: function() {\n // Sort the morphs vertically\n var morphs = this.selectedMorphs.clone().sort(function(m, n) {\n return m.getPosition().x - n.getPosition().x;\n });\n // Align all morphs to same left x as the top one.\n var minX = morphs[0].getPosition().x;\n var minY = morphs[0].getPosition().y;\n // Compute maxX and sumOfWidths\n var maxX = minY;\n var sumOfWidths = 0;\n morphs.forEach(function(m) {\n var wid = m.innerBounds().width;\n sumOfWidths += wid;\n maxX = Math.max(maxX, m.getPosition().x + wid);\n }); // Now spread them out to fit old top and bottom with even spacing between\n var separation = (maxX - minX - sumOfWidths)/Math.max(this.selectedMorphs.length - 1, 1);\n var x = minX;\n morphs.forEach(function(m) {\n m.setPosition(pt(x, minY));\n x += m.innerBounds().width + separation;\n });\n },\n},\n'grabbing', {\n grabByHand: function(hand) {\n this.withoutPropagationDo(function() {\n hand.addMorph(this)\n }.bind(this))\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n // alert(\"grab \" + this.selectedMorphs[i])\n this.addMorph(this.selectedMorphs[i]);\n }\n\n\n },\n dropOn: function(morph) {\n // alert(\"drop \" + this + \" on \" + morph)\n // morph.addMorph(this)\n for (var i = 0; i < this.selectedMorphs.length; i++) {\n morph.addMorph(this.selectedMorphs[i]);\n }\n this.removeSelecitonIndicators();\n this.removeOnlyIt();\n },\n\n},\n'geometry', {\n moveBy: function($super, delta) {\n // Jens: I would like to express this in a layer...\n if (this.isPropagating()) {\n for (var i = 0; i < this.selectedMorphs.length; i++ )\n this.selectedMorphs[i].moveBy(delta);\n }\n $super(delta);\n },\n setPosition: function($super, pos) {\n var delta = pos.subPt(this.getPosition())\n // Jens: I would like to express this in a layer...\n if (this.isPropagating() && this.selectedMorphs) {\n for (var i = 0; i < this.selectedMorphs.length; i++ ) {\n // alertOK(\"set pos move \" + printStack())\n this.selectedMorphs[i].moveBy(delta);\n }\n }\n $super(pos);\n },\n\n},\n'world', {\n reset: function() {\n this.selectedMorphs = [];\n this.setRotation(0)\n this.setScale(1)\n this.removeOnlyIt();\n this.removeSelecitonIndicators();\n this.adjustOrigin(pt(0,0));\n },\n\n selectMorphs: function(selectedMorphs) {\n this.owner.selectionMorph.selectedMorphs = selectedMorphs\n\n// finding pos, starting with max values\n var topLeft = this.bounds().bottomRight();\n var bottomRight = this.bounds().topLeft();\n var self = this;\n\n this.removeSelecitonIndicators();\n selectedMorphs.forEach(function(ea) {\n var innerBounds = ea.getTransform().inverse().\n transformRectToRect(ea.bounds().insetBy(-4));\n var bounds = ea.getTransform().transformRectToRect(innerBounds);\n topLeft = bounds.topLeft().minPt(topLeft);\n bottomRight = bounds.bottomRight().maxPt(bottomRight);\n\n var selectionIndicator =\n new lively.morphic.Morph.makeRectangle(innerBounds);\n selectionIndicator.name = 'Selection of ' + ea\n selectionIndicator.isEpiMorph = true;\n selectionIndicator.isSelectionIndicator = true;\n selectionIndicator.applyStyle({\n fill: null, borderWidth: 4,\n strokeOpacity: 0.5, borderColor: Color.green})\n ea.addMorph(selectionIndicator);\n self.selectionIndicators.push(selectionIndicator);\n })\n this.withoutPropagationDo(function() {\n this.setPosition(topLeft);\n this.setExtent(bottomRight.subPt(topLeft));\n // this.adjustOrigin(this.getExtent().scaleBy(0.5))\n }.bind(this))\n\n },\n\n removeSelecitonIndicators: function() {\n if (this.selectionIndicators)\n this.selectionIndicators.invoke('remove');\n this.selectionIndicators = [];\n },\n makeGroup: function() {\n if (!this.selectedMorphs) return;\n var group = new lively.morphic.Box(this.bounds());\n group.isGroup = true;\n this.owner.addMorph(group);\n this.selectedMorphs.forEach(function(ea) {\n group.addMorph(ea)\n })\n this.selectMorphs([group])\n },\n unGroup: function() {\n if (!this.selectedMorphs || this.selectedMorphs.length !== 1) return;\n var group = this.selectedMorphs[0]\n var all = group.submorphs\n group.submorphs.forEach(function(ea) {\n this.owner.addMorph(ea)\n }.bind(this))\n this.selectMorphs(all)\n },\n\n\n});\nTrait('SelectionMorphTrait',\n'selection', {\n getSelectedMorphs: function() {\n return this.selectionMorph.selectedMorphs\n },\n\n onDragStart: function(evt) {\n if (evt.isRightMouseButtonDown()) {\n return; // no selection with right mouse button (fbo 2011-09-13)\n }\n\n this.resetSelection()\n\n if (this.selectionMorph.owner !== this)\n this.addMorph(this.selectionMorph);\n\n var pos = this.localize(this.eventStartPos || evt.getPosition());\n this.selectionMorph.withoutPropagationDo(function() {\n this.selectionMorph.setPosition(pos)\n this.selectionMorph.setExtent(pt(1, 1))\n this.selectionMorph.initialPosition = pos;\n }.bind(this))\n\n },\n onDrag: function(evt) {\n if (!this.selectionMorph) return\n var p1 = this.localize(evt.getPosition()),\n p2 = this.selectionMorph.initialPosition;\n\n // alert(\"p1\" + p1 + \" p2\" + p2)\n var topLeft = pt(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y))\n var bottomRight = pt(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y))\n\n\n this.selectionMorph.setPosition(topLeft);\n this.selectionMorph.setExtent(bottomRight.subPt(topLeft));\n },\n onDragEnd: function(evt) {\n var self = this;\n if (!self.selectionMorph) return;\n var selectionBounds = self.selectionMorph.bounds();\n var selectedMorphs = this.submorphs\n .reject(function(ea){\n return ea === self || ea.isEpiMorph || ea instanceof lively.morphic.HandMorph\n })\n .select(function(m) {\n return selectionBounds.containsRect(m.bounds())})\n .reverse()\n\n this.selectionMorph.selectedMorphs = selectedMorphs;\n if (selectedMorphs.length == 0) {\n this.selectionMorph.removeOnlyIt();\n return\n }\n\n this.selectionMorph.selectMorphs(selectedMorphs);\n\n this.selectionMorph.showHalos()\n\n },\n\n resetSelection: function() {\n if (!this.selectionMorph || !this.selectionMorph.isSelection)\n this.selectionMorph = new lively.morphic.Selection(new Rectangle(0,0,0,0))\n this.selectionMorph.reset();\n },\n})\n.applyTo(lively.morphic.World, {override: ['onDrag', 'onDragStart', 'onDragEnd']});\n\nlively.morphic.WindowedApp.subclass('lively.morphic.TextEditor',\n'settings', {\n defaultTitle: 'TextEditor',\n initialViewExtent: pt(900, 800),\n},\n'initializing', {\n buildView: function(extent) {\n var panel = lively.morphic.Morph.makeRectangle(0,0, extent.x, extent.y)\n .applyStyle({\n fill: Color.gray.lighter(2),\n resizeWidth: true,\n resizeHeight: true,\n adjustForNewBounds: true});\n\n var bounds;\n bounds = new Rectangle(0,0, extent.x, 30);\n var urlText = new lively.morphic.Text(bounds, URL.source.toString())\n .beInputLine({resizeWidth: true, fixedWidth: true, padding: Rectangle.inset(5,5)})\n panel.urlText = panel.addMorph(urlText);\n connect(urlText, 'savedTextString', this, 'setCurrentURL');\n connect(this, 'currentURL', this, 'loadFile');\n\n bounds = new Rectangle(0, bounds.height, extent.x/3, 30);\n var saveBtn = new lively.morphic.Button(bounds, 'save');\n saveBtn.applyStyle({resizeWidth: true})\n panel.addMorph(saveBtn);\n connect(saveBtn, 'fire', this, 'saveFile');\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var loadBtn = new lively.morphic.Button(bounds, 'load')\n loadBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(loadBtn);\n connect(loadBtn, 'fire', this, 'setCurrentURL', {converter: function() {\n // FIXME\n this.targetObj.panel.urlText.cachedTextString = null\n return this.targetObj.panel.urlText.textString }});\n\n bounds = rect(bounds.topRight(), bounds.bottomRight().addXY(extent.x/3, 0));\n var removeBtn = new lively.morphic.Button(bounds, 'remove')\n removeBtn.applyStyle({resizeWidth: false, moveHorizontal: true})\n panel.addMorph(removeBtn)\n connect(removeBtn, 'fire', this, 'removeFile');\n\n bounds = rect(pt(0, bounds.maxY()), panel.bounds().bottomRight());\n var contentMorph = new lively.morphic.Text(bounds, 'emtpy')\n .applyStyle({\n clipMode: 'scroll',\n fixedHeight: true,\n fontFamily: 'Monaco',\n fontSize: 10,\n resizeWidth: true,\n resizeHeight: true,\n padding: Rectangle.inset(5,5)});\n panel.contentMorph = panel.addMorph(contentMorph);\n connect(contentMorph, 'savedTextString', this, 'saveFile');\n\n this.panel = panel;\n return panel;\n },\n},\n'network', {\n setCurrentURL: function(urlString) {\n this.currentURL = new URL(urlString);\n alert(this.currentURL);\n },\n createWebResource: function() { return new WebResource(this.getURL()) },\n getURL: function() { return new URL(this.currentURL || this.panel.urlText.textString) },\n},\n'helper', {\n showAsLoading: function(bool) {\n if (!bool) {\n this.loadingScreen && this.loadingScreen.remove();\n this.loadingScreen = null;\n } else {\n if (this.loadingScreen) return;\n var morph = lively.morphic.Morph.makeRectangle(this.panel.contentMorph.bounds());\n morph.applyStyle({fill: Color.gray.withA(0.6)});\n this.loadingScreen = this.panel.addMorph(morph);\n }\n },\n},\n'file functions', {\n getEditorContent: function() { return this.panel.contentMorph.textString },\n saveFile: function() {\n var webR = this.createWebResource();\n webR\n .beAsync()\n .createProgressBar()\n .statusMessage('Successfully saved ' + webR.getURL(), 'Error saving ' + webR.getURL(), true)\n .put(this.getEditorContent());\n },\n loadFile: function() {\n var res = this.createWebResource().forceUncached();\n this.showAsLoading(true);\n connect(res, 'status', this, 'showAsLoading', {updater: function($upd, status) {$upd(false)}});\n connect(res, 'content', this, 'finishLoading', {updater: function($upd, content) {\n $upd(this.sourceObj) }});\n res.beAsync().get();\n\n },\n finishLoading: function(res) {\n if (res.isExisting) {\n this.panel.contentMorph.setTextString(res.content);\n return\n } else if (res.getURL().isLeaf()) {\n this.askToCreateFile(res);\n } else {\n alert('Cannot open/create document at ' + res.getURL());\n }\n },\n\n askToCreateFile: function(webResource) {\n var question = 'No file ' + webResource.getURL() + ' exists...! Create it?';\n this.panel.world().confirm(question, function(input) {\n if (!input) return;\n webResource.statusMessage(\n 'Successfully created ' + webResource.getURL().filename(),\n 'Cannot create ' + webResource.getURL().filename(), true)\n webResource.put('empty file');\n this.loadFile();\n }.bind(this));\n },\n removeFile: function() {\n var webR = this.createWebResource();\n if (!webR.exists()) return;\n webR.statusMessage('Successfully deleted','Error deleting', true).del();\n },\n},\n'interface', {\n load: function(url) {\n this.panel.urlText.textString = url;\n this.panel.urlText.doSave();\n },\n});\n\nmodule('lively.ide'); // so that the namespace is defined even if ide is not loaded\n\nObject.extend(lively.ide, {\n openFile: function(url) {\n if (!String(url).startsWith('http')) url = URL.codeBase.withFilename(url);\n var textEditor = new lively.morphic.TextEditor()\n textEditor.open()\n textEditor.load(url);\n },\n});\n\n\n\nlively.morphic.Box.subclass('lively.morphic.HorizontalDivider', Trait('HorizontalDividerTrait'),\n'settings', {\n style: {fill: Color.gray, enableDragging: true},\n},\n'initializing', {\n initialize: function($super, bounds) {\n $super(bounds);\n this.fixed = [];\n this.scalingBelow = [];\n this.scalingAbove = [];\n this.minHeight = 20;\n this.pointerConnection = null;\n },\n},\n'mouse events', {\n onDragStart: function(evt) {\n this.oldPoint = evt.getPosition();\n return true;\n },\n onDrag: function(evt) {\n var p1 = this.oldPoint,\n p2 = evt.getPosition(),\n deltaY = p2.y - p1.y;\n this.oldPoint = p2;\n this.movedVerticallyBy(deltaY);\n return true;\n },\n});\n\nlively.morphic.Box.subclass('lively.morphic.Slider', Trait('SliderMorphTrait'),\n'settings', {\n style: {\n borderColor: Color.darkGray,\n borderWidth: 1,\n borderRadius: 6,\n fill: Styles.sliderBackgroundGradient(Color.gray, \"NorthSouth\")\n },\n connections: {\n value: {}}\n},\n'initializing', {\n initialize: function($super, initialBounds, scaleIfAny) {\n $super(initialBounds);\n connect(this, 'value', this, 'adjustSliderParts')\n this.setValue(0);\n this.setSliderExtent(0.1);\n this.valueScale = (scaleIfAny === undefined) ? 1.0 : scaleIfAny;\n this.sliderKnob = this.addMorph(new lively.morphic.SliderKnob(new Rectangle(0, 0, this.mss, this.mss), this));\n this.setupFill();\n this.adjustSliderParts()\n },\n},\n'accessing', {\n getValue: function() { return this.value },\n\n setValue: function(value) { return this.value = value },\n\n getSliderExtent: function() { return this.sliderExtent },\n\n setSliderExtent: function(value) {\n this.sliderExtent = value\n this.adjustSliderParts();\n return value;\n },\n setExtent: function($super, value) {\n $super(value);\n this.adjustSliderParts();\n return value;\n },\n\n},\n'mouse events', {\n onMouseDown: function(evt) {\n\n // FIXME: a lot of this is handled in Morph>>onMouseDown. remove.\n if (!evt.isLeftMouseButtonDown() || evt.isCommandKey()) return false;\n\n var handPos = this.localize(evt.getPosition());\n\n if (this.sliderKnob.bounds().containsPoint(handPos)) return false; // knob handles move\n\n var inc = this.getSliderExtent(),\n newValue = this.getValue(),\n delta = handPos.subPt(this.sliderKnob.bounds().center());\n if (this.vertical() ? delta.y > 0 : delta.x > 0) newValue += inc;\n else newValue -= inc;\n\n if (isNaN(newValue)) newValue = 0;\n this.setScaledValue(this.clipValue(newValue));\n\n return true;\n },\n})\n\n// FIXME move somewhere else\nlively.morphic.Box.subclass('lively.morphic.SliderKnob',\n'settings', {\n style: {borderColor: Color.black, borderWidth: 1, fill: Color.gray, enableDragging: true},\n dragTriggerDistance: 0,\n},\n'initializing', {\n initialize: function($super, initialBounds, slider) {\n $super(initialBounds);\n this.slider = slider;\n },\n},\n'mouse events', {\n onDragStart: function($super, evt) {\n this.hitPoint = evt.getPosition();\n return true;\n },\n onDrag: function($super, evt) {\n // the hitpoint is the offset that make the slider move smooth\n if (!this.hitPoint) return; // we were not clicked on...\n\n // Compute the value from a new mouse point, and emit it\n var delta = evt.getPosition().subPt(this.hitPoint),\n p = this.bounds().topLeft().addPt(delta),\n bnds = this.slider.innerBounds(),\n ext = this.slider.getSliderExtent();\n\n this.hitPoint = evt.getPosition()\n if (this.slider.vertical()) {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.height,this.slider.mss),\n newValue = p.y / (bnds.height-elevPix);\n } else {\n // thickness of elevator in pixels\n var elevPix = Math.max(ext*bnds.width,this.slider.mss),\n newValue = p.x / (bnds.width-elevPix);\n }\n\n if (isNaN(newValue)) newValue = 0;\n this.slider.setScaledValue(this.slider.clipValue(newValue));\n },\n onDragEnd: function($super, evt) { return $super(evt) },\n onMouseDown: function(evt) {\n return true;\n },\n\n\n});\nObject.extend(Array.prototype, {\n asListItemArray: function() {\n return this.collect(function(ea) {\n return {isListItem: true, string: ea.toString(), value: ea};\n });\n },\n})\n\n}) // end of module\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3744":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3745":{"morph":{"__isSmartRef__":true,"id":3735},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3746":{"x":0,"y":355.0500000000001,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3747":{"x":974.9999999999999,"y":433.9499999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3748":{"scaleVertical":true,"scaleHorizontal":true},"3749":{"sourceObj":{"__isSmartRef__":true,"id":3735},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3735},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3750":{"sourceObj":{"__isSmartRef__":true,"id":3735},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3751},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3751":{"source":{"__isSmartRef__":true,"id":3735},"target":{"__isSmartRef__":true,"id":2211}},"3752":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":3735}},"3753":{"sourceObj":{"__isSmartRef__":true,"id":2211},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":2197},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":3754},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3755},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3754":{"source":{"__isSmartRef__":true,"id":2211},"target":{"__isSmartRef__":true,"id":2197}},"3755":{"updater":{"__isSmartRef__":true,"id":3756}},"3756":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3754},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":3757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3757":{},"3758":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3759},"derivationIds":[null],"id":"E67574CB-6757-4DFC-983B-FA811DAE4959","renderContextTable":{"__isSmartRef__":true,"id":3765},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3766}],"eventHandler":{"__isSmartRef__":true,"id":3768},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":null,"priorExtent":{"__isSmartRef__":true,"id":3769},"_MaxTextWidth":292,"_MinTextWidth":292,"_MaxTextHeight":null,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":3770},"_Position":{"__isSmartRef__":true,"id":3771},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3759":{"_Position":{"__isSmartRef__":true,"id":3760},"renderContextTable":{"__isSmartRef__":true,"id":3761},"_Extent":{"__isSmartRef__":true,"id":3762},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":3764},"_NodeClass":["morph","text"],"_NodeId":"morph-e67574cb-6757-4dfc-983b-fa811dae4959","_StrokeOpacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3760":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3761":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3762":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3763":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3764":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3765":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3766":{"style":{"__isSmartRef__":true,"id":3767},"chunkOwner":{"__isSmartRef__":true,"id":3758},"storedString":"Saving lively.morphic.Button...\nSuccessfully saved\nSuccessfully evaluated lively.morphic.Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3767":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3768":{"morph":{"__isSmartRef__":true,"id":3758},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3769":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3770":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3771":{"x":337.49999999999994,"y":201.97499999999994,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3772":{"source":{"__isSmartRef__":true,"id":2197},"target":{"__isSmartRef__":true,"id":2211}},"3773":{"submorphs":[{"__isSmartRef__":true,"id":3774}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3785},"derivationIds":[null],"id":"D71948FE-789C-475C-B883-8121351BB98E","renderContextTable":{"__isSmartRef__":true,"id":3789},"eventHandler":{"__isSmartRef__":true,"id":3790},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3791},"priorExtent":{"__isSmartRef__":true,"id":3784},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":3792},"label":{"__isSmartRef__":true,"id":3774},"owner":{"__isSmartRef__":true,"id":2196},"attributeConnections":[{"__isSmartRef__":true,"id":3801}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":3803},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3774":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3775},"derivationIds":[null],"id":"B8CA8EA9-C473-4AE2-9F83-4528A15CC3F8","renderContextTable":{"__isSmartRef__":true,"id":3780},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3781}],"eventHandler":{"__isSmartRef__":true,"id":3783},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3773},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3784},"_MaxTextWidth":112.99999999999996,"_MinTextWidth":112.99999999999996,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3775":{"_Position":{"__isSmartRef__":true,"id":3776},"renderContextTable":{"__isSmartRef__":true,"id":3777},"_Extent":{"__isSmartRef__":true,"id":3778},"_Padding":{"__isSmartRef__":true,"id":3779},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-b8ca8ea9-c473-4ae2-9f83-4528a15cc3f8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3776":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3777":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3778":{"x":116.99999999999996,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3779":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3780":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3781":{"style":{"__isSmartRef__":true,"id":3782},"chunkOwner":{"__isSmartRef__":true,"id":3774},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3782":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3783":{"morph":{"__isSmartRef__":true,"id":3774},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3784":{"x":116.99999999999996,"y":23.609999999999996,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3785":{"_Position":{"__isSmartRef__":true,"id":3786},"renderContextTable":{"__isSmartRef__":true,"id":3787},"_Extent":{"__isSmartRef__":true,"id":3778},"_Padding":{"__isSmartRef__":true,"id":3788},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-d71948fe-789c-475c-b883-8121351bb98e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3786":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3787":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3788":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3789":{"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","setStyleSheet":"setStyleSheetHTML"},"3790":{"morph":{"__isSmartRef__":true,"id":3773},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3791":{"x":779.9999999999998,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3792":{"stops":[{"__isSmartRef__":true,"id":3793},{"__isSmartRef__":true,"id":3795},{"__isSmartRef__":true,"id":3797},{"__isSmartRef__":true,"id":3799}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3793":{"offset":0,"color":{"__isSmartRef__":true,"id":3794}},"3794":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3795":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3796}},"3796":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3797":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3798}},"3798":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3799":{"offset":1,"color":{"__isSmartRef__":true,"id":3800}},"3800":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3801":{"sourceObj":{"__isSmartRef__":true,"id":3773},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3802},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3802":{"source":{"__isSmartRef__":true,"id":3773},"target":{"__isSmartRef__":true,"id":2211}},"3803":{"scaleVertical":true,"scaleHorizontal":true},"3804":{"submorphs":[{"__isSmartRef__":true,"id":3805}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3816},"derivationIds":[null],"id":"D9028029-5291-4478-A2C1-B6C87005E689","renderContextTable":{"__isSmartRef__":true,"id":3820},"eventHandler":{"__isSmartRef__":true,"id":3821},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3822},"priorExtent":{"__isSmartRef__":true,"id":3815},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":3823},"label":{"__isSmartRef__":true,"id":3805},"owner":{"__isSmartRef__":true,"id":2196},"attributeConnections":[{"__isSmartRef__":true,"id":3832}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":3834},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3805":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3806},"derivationIds":[null],"id":"A850804C-F707-433B-B0C8-0B4DA9840CA1","renderContextTable":{"__isSmartRef__":true,"id":3811},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3812}],"eventHandler":{"__isSmartRef__":true,"id":3814},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3804},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3815},"_MaxTextWidth":74.00000000000001,"_MinTextWidth":74.00000000000001,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3806":{"_Position":{"__isSmartRef__":true,"id":3807},"renderContextTable":{"__isSmartRef__":true,"id":3808},"_Extent":{"__isSmartRef__":true,"id":3809},"_Padding":{"__isSmartRef__":true,"id":3810},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-a850804c-f707-433b-b0c8-0b4da9840ca1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3807":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3808":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3809":{"x":78.00000000000001,"y":23.669999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3810":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3811":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3812":{"style":{"__isSmartRef__":true,"id":3813},"chunkOwner":{"__isSmartRef__":true,"id":3805},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3813":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3814":{"morph":{"__isSmartRef__":true,"id":3805},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3815":{"x":78.00000000000001,"y":23.609999999999996,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3816":{"_Position":{"__isSmartRef__":true,"id":3817},"renderContextTable":{"__isSmartRef__":true,"id":3818},"_Extent":{"__isSmartRef__":true,"id":3809},"_Padding":{"__isSmartRef__":true,"id":3819},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-d9028029-5291-4478-a2c1-b6c87005e689","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3817":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3818":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3819":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3820":{"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","setStyleSheet":"setStyleSheetHTML"},"3821":{"morph":{"__isSmartRef__":true,"id":3804},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3822":{"x":896.9999999999995,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3823":{"stops":[{"__isSmartRef__":true,"id":3824},{"__isSmartRef__":true,"id":3826},{"__isSmartRef__":true,"id":3828},{"__isSmartRef__":true,"id":3830}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3824":{"offset":0,"color":{"__isSmartRef__":true,"id":3825}},"3825":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3826":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3827}},"3827":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3828":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3829}},"3829":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3830":{"offset":1,"color":{"__isSmartRef__":true,"id":3831}},"3831":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3832":{"sourceObj":{"__isSmartRef__":true,"id":3804},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2211},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () {\n return $world.getUserName() ? $world.getUserDir() : URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3833},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3833":{"source":{"__isSmartRef__":true,"id":3804},"target":{"__isSmartRef__":true,"id":2211}},"3834":{"scaleVertical":true,"scaleHorizontal":true},"3835":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3836},"derivationIds":[null],"id":"8A235012-3ACC-46A9-8441-1A87ABB8942E","renderContextTable":{"__isSmartRef__":true,"id":3848},"eventHandler":{"__isSmartRef__":true,"id":3849},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":3850},"fixed":[{"__isSmartRef__":true,"id":2213},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2289},{"__isSmartRef__":true,"id":2322},{"__isSmartRef__":true,"id":2355},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2421}],"scalingBelow":[{"__isSmartRef__":true,"id":3735}],"scalingAbove":[{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":3553},{"__isSmartRef__":true,"id":3656},{"__isSmartRef__":true,"id":3698}],"minHeight":20,"pointerConnection":null,"priorExtent":{"__isSmartRef__":true,"id":3851},"owner":{"__isSmartRef__":true,"id":2196},"styleClass":["Browser_resizer"],"layout":{"__isSmartRef__":true,"id":3852},"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3836":{"_Position":{"__isSmartRef__":true,"id":3837},"renderContextTable":{"__isSmartRef__":true,"id":3838},"_Extent":{"__isSmartRef__":true,"id":3839},"_Padding":{"__isSmartRef__":true,"id":3840},"_Fill":{"__isSmartRef__":true,"id":3841},"_NodeClass":["morph","box","horizontaldivider"],"_NodeId":"morph-8a235012-3acc-46a9-8441-1a87abb8942e","_BorderRadius":3,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3837":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3838":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3839":{"x":974.9999999999999,"y":7.889999999999999,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3840":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3841":{"stops":[{"__isSmartRef__":true,"id":3842},{"__isSmartRef__":true,"id":3844},{"__isSmartRef__":true,"id":3846}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3842":{"offset":0,"color":{"__isSmartRef__":true,"id":3843}},"3843":{"r":0.92,"g":0.92,"b":0.92,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3844":{"offset":0.5,"color":{"__isSmartRef__":true,"id":3845}},"3845":{"r":0.8400000000000001,"g":0.8400000000000001,"b":0.8400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3846":{"offset":1,"color":{"__isSmartRef__":true,"id":3847}},"3847":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3848":{"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","setStyleSheet":"setStyleSheetHTML"},"3849":{"morph":{"__isSmartRef__":true,"id":3835},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3850":{"x":0,"y":347.15999999999974,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3851":{"x":974.9999999999999,"y":7.869999999999998,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3852":{"scaleVertical":true,"scaleHorizontal":true},"3853":{"_Position":{"__isSmartRef__":true,"id":3854},"renderContextTable":{"__isSmartRef__":true,"id":3855},"_Extent":{"__isSmartRef__":true,"id":3856},"_Padding":{"__isSmartRef__":true,"id":3857},"_NodeClass":["morph","box","panel","browserpanel"],"_NodeId":"morph-a0ad545e-bf1e-4631-8ff3-f6d9bbeffe34","_Fill":{"__isSmartRef__":true,"id":3858},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3854":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3855":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3856":{"x":975,"y":789,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3857":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3858":{"r":0.9019607843137255,"g":0.9019607843137255,"b":0.9019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3859":{"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","setStyleSheet":"setStyleSheetHTML"},"3860":{"morph":{"__isSmartRef__":true,"id":2196},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3861":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"3862":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3863":{"x":975,"y":789,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3864":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3865},"derivationIds":[null],"id":"1C411F74-83E3-41F8-BEC6-865ED1AA61B4","renderContextTable":{"__isSmartRef__":true,"id":3874},"eventHandler":{"__isSmartRef__":true,"id":3875},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":2195},"_Position":{"__isSmartRef__":true,"id":3876},"dragStartPoint":null,"originalTargetExtent":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3877},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"3865":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":3866},{"__isSmartRef__":true,"id":3867},{"__isSmartRef__":true,"id":3868}],"renderContextTable":{"__isSmartRef__":true,"id":3869},"_Position":{"__isSmartRef__":true,"id":3870},"_Extent":{"__isSmartRef__":true,"id":3871},"_Padding":{"__isSmartRef__":true,"id":3872},"_BorderWidth":0,"_BorderColor":null,"_NodeClass":["morph","path"],"_NodeId":"morph-1c411f74-83e3-41f8-bec6-865ed1aa61b4","_Fill":{"__isSmartRef__":true,"id":3873},"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"3866":{"isAbsolute":true,"x":14,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"3867":{"isAbsolute":true,"x":14,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"3868":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"3869":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"3870":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3871":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3872":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3873":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3874":{"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","setStyleSheet":"setStyleSheetHTML"},"3875":{"morph":{"__isSmartRef__":true,"id":3864},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3876":{"x":961,"y":796,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3877":{"onDragStart":{"__isSmartRef__":true,"id":3878},"onDrag":{"__isSmartRef__":true,"id":3885},"onDragEnd":{"__isSmartRef__":true,"id":3892}},"3878":{"varMapping":{"__isSmartRef__":true,"id":3879},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":3884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3879":{"this":{"__isSmartRef__":true,"id":3864},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3880}},"3880":{"$super":{"__isSmartRef__":true,"id":3881}},"3881":{"varMapping":{"__isSmartRef__":true,"id":3882},"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":3883},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3882":{"obj":{"__isSmartRef__":true,"id":3864},"name":"onDragStart"},"3883":{},"3884":{},"3885":{"varMapping":{"__isSmartRef__":true,"id":3886},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":3891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3886":{"this":{"__isSmartRef__":true,"id":3864},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3887}},"3887":{"$super":{"__isSmartRef__":true,"id":3888}},"3888":{"varMapping":{"__isSmartRef__":true,"id":3889},"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":3890},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3889":{"obj":{"__isSmartRef__":true,"id":3864},"name":"onDrag"},"3890":{},"3891":{},"3892":{"varMapping":{"__isSmartRef__":true,"id":3893},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":3898},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3893":{"this":{"__isSmartRef__":true,"id":3864},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3894}},"3894":{"$super":{"__isSmartRef__":true,"id":3895}},"3895":{"varMapping":{"__isSmartRef__":true,"id":3896},"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":3897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3896":{"obj":{"__isSmartRef__":true,"id":3864},"name":"onDragEnd"},"3897":{},"3898":{},"3899":{"submorphs":[{"__isSmartRef__":true,"id":3900},{"__isSmartRef__":true,"id":3913},{"__isSmartRef__":true,"id":3947},{"__isSmartRef__":true,"id":3980}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4014},"derivationIds":[null],"id":"CE1F35BE-BC49-49DE-8C42-EAA1D889BE84","renderContextTable":{"__isSmartRef__":true,"id":4019},"eventHandler":{"__isSmartRef__":true,"id":4020},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4021},"_Position":{"__isSmartRef__":true,"id":4022},"windowMorph":{"__isSmartRef__":true,"id":2195},"label":{"__isSmartRef__":true,"id":3900},"closeButton":{"__isSmartRef__":true,"id":3913},"menuButton":{"__isSmartRef__":true,"id":3947},"collapseButton":{"__isSmartRef__":true,"id":3980},"priorExtent":{"__isSmartRef__":true,"id":4023},"owner":{"__isSmartRef__":true,"id":2195},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3900":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3901},"derivationIds":[null],"id":"46BC1E1E-B56A-4566-B1CD-F3FA38E372DB","renderContextTable":{"__isSmartRef__":true,"id":3906},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3907}],"eventHandler":{"__isSmartRef__":true,"id":3909},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":3910},"_TextColor":{"__isSmartRef__":true,"id":3741},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3899},"_Position":{"__isSmartRef__":true,"id":3911},"priorExtent":{"__isSmartRef__":true,"id":3912},"_MaxTextWidth":916,"_MinTextWidth":916,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3901":{"_Position":{"__isSmartRef__":true,"id":3902},"renderContextTable":{"__isSmartRef__":true,"id":3903},"_Extent":{"__isSmartRef__":true,"id":3904},"_Padding":{"__isSmartRef__":true,"id":3905},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-46bc1e1e-b56a-4566-b1cd-f3fa38e372db","_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3902":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3903":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3904":{"x":916,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3905":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3906":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3907":{"style":{"__isSmartRef__":true,"id":3908},"chunkOwner":{"__isSmartRef__":true,"id":3900},"storedString":"Widgets.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3908":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3909":{"morph":{"__isSmartRef__":true,"id":3900},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3910":{"resizeWidth":true},"3911":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3912":{"x":916,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3913":{"submorphs":[{"__isSmartRef__":true,"id":3914}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3924},"derivationIds":[null],"id":"D34D0ED9-D1B8-4E9C-B157-C724044FEA38","renderContextTable":{"__isSmartRef__":true,"id":3929},"eventHandler":{"__isSmartRef__":true,"id":3930},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3931},"priorExtent":{"__isSmartRef__":true,"id":3932},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":3933},"label":{"__isSmartRef__":true,"id":3914},"owner":{"__isSmartRef__":true,"id":3899},"layout":{"__isSmartRef__":true,"id":3942},"attributeConnections":[{"__isSmartRef__":true,"id":3943},{"__isSmartRef__":true,"id":3945}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3914":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3915},"derivationIds":[null],"id":"4ED7B06F-86E0-4167-AF1C-61DE35899A1F","renderContextTable":{"__isSmartRef__":true,"id":3919},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3920}],"eventHandler":{"__isSmartRef__":true,"id":3922},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3913},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3923},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3915":{"_Position":{"__isSmartRef__":true,"id":3916},"renderContextTable":{"__isSmartRef__":true,"id":3917},"_Extent":{"__isSmartRef__":true,"id":3918},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-4ed7b06f-86e0-4167-af1c-61de35899a1f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3916":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3917":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3918":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3919":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3920":{"style":{"__isSmartRef__":true,"id":3921},"chunkOwner":{"__isSmartRef__":true,"id":3914},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3921":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3922":{"morph":{"__isSmartRef__":true,"id":3914},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3923":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3924":{"_Position":{"__isSmartRef__":true,"id":3925},"renderContextTable":{"__isSmartRef__":true,"id":3926},"_Extent":{"__isSmartRef__":true,"id":3927},"_Padding":{"__isSmartRef__":true,"id":3928},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["morph","button","windowcontrol"],"_NodeId":"morph-d34d0ed9-d1b8-4e9c-b157-c724044fea38","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3925":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3926":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3927":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3928":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3929":{"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","setStyleSheet":"setStyleSheetHTML"},"3930":{"morph":{"__isSmartRef__":true,"id":3913},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3931":{"x":955,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3932":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3933":{"stops":[{"__isSmartRef__":true,"id":3934},{"__isSmartRef__":true,"id":3936},{"__isSmartRef__":true,"id":3938},{"__isSmartRef__":true,"id":3940}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3934":{"offset":0,"color":{"__isSmartRef__":true,"id":3935}},"3935":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3936":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3937}},"3937":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3938":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3939}},"3939":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3940":{"offset":1,"color":{"__isSmartRef__":true,"id":3941}},"3941":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3942":{"moveHorizontal":true},"3943":{"sourceObj":{"__isSmartRef__":true,"id":3913},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3944},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3944":{"source":{"__isSmartRef__":true,"id":3913},"target":{"__isSmartRef__":true,"id":2195}},"3945":{"sourceObj":{"__isSmartRef__":true,"id":3913},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3946},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3946":{"source":{"__isSmartRef__":true,"id":3913},"target":{"__isSmartRef__":true,"id":2195}},"3947":{"submorphs":[{"__isSmartRef__":true,"id":3948}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3958},"derivationIds":[null],"id":"6F37A886-2C0A-493D-A48B-6B5E09E18AEF","renderContextTable":{"__isSmartRef__":true,"id":3963},"eventHandler":{"__isSmartRef__":true,"id":3964},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3965},"priorExtent":{"__isSmartRef__":true,"id":3966},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":3967},"label":{"__isSmartRef__":true,"id":3948},"owner":{"__isSmartRef__":true,"id":3899},"attributeConnections":[{"__isSmartRef__":true,"id":3976},{"__isSmartRef__":true,"id":3978}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3948":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3949},"derivationIds":[null],"id":"55D8F3B1-EA50-415A-8D35-ED961E7584E6","renderContextTable":{"__isSmartRef__":true,"id":3953},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3954}],"eventHandler":{"__isSmartRef__":true,"id":3956},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3947},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3957},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3949":{"_Position":{"__isSmartRef__":true,"id":3950},"renderContextTable":{"__isSmartRef__":true,"id":3951},"_Extent":{"__isSmartRef__":true,"id":3952},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-55d8f3b1-ea50-415a-8d35-ed961e7584e6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3950":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3952":{"x":16,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3953":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3954":{"style":{"__isSmartRef__":true,"id":3955},"chunkOwner":{"__isSmartRef__":true,"id":3948},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3955":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3956":{"morph":{"__isSmartRef__":true,"id":3948},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3957":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3958":{"_Position":{"__isSmartRef__":true,"id":3959},"renderContextTable":{"__isSmartRef__":true,"id":3960},"_Extent":{"__isSmartRef__":true,"id":3961},"_Padding":{"__isSmartRef__":true,"id":3962},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["morph","button","windowcontrol"],"_NodeId":"morph-6f37a886-2c0a-493d-a48b-6b5e09e18aef","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3959":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3960":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3961":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3962":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3963":{"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","setStyleSheet":"setStyleSheetHTML"},"3964":{"morph":{"__isSmartRef__":true,"id":3947},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3965":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3966":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3967":{"stops":[{"__isSmartRef__":true,"id":3968},{"__isSmartRef__":true,"id":3970},{"__isSmartRef__":true,"id":3972},{"__isSmartRef__":true,"id":3974}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3968":{"offset":0,"color":{"__isSmartRef__":true,"id":3969}},"3969":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3970":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3971}},"3971":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3972":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3973}},"3973":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3974":{"offset":1,"color":{"__isSmartRef__":true,"id":3975}},"3975":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3976":{"sourceObj":{"__isSmartRef__":true,"id":3947},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3977},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3977":{"source":{"__isSmartRef__":true,"id":3947},"target":{"__isSmartRef__":true,"id":2195}},"3978":{"sourceObj":{"__isSmartRef__":true,"id":3947},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3979},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3979":{"source":{"__isSmartRef__":true,"id":3947},"target":{"__isSmartRef__":true,"id":2195}},"3980":{"submorphs":[{"__isSmartRef__":true,"id":3981}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3991},"derivationIds":[null],"id":"ADA4BD08-B819-45D9-93A1-92987834B274","renderContextTable":{"__isSmartRef__":true,"id":3996},"eventHandler":{"__isSmartRef__":true,"id":3997},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3998},"priorExtent":{"__isSmartRef__":true,"id":3999},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2230},"lighterFill":{"__isSmartRef__":true,"id":4000},"label":{"__isSmartRef__":true,"id":3981},"owner":{"__isSmartRef__":true,"id":3899},"layout":{"__isSmartRef__":true,"id":4009},"attributeConnections":[{"__isSmartRef__":true,"id":4010},{"__isSmartRef__":true,"id":4012}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3981":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3982},"derivationIds":[null],"id":"61F104E7-C237-443B-9AC5-95A3DC058E66","renderContextTable":{"__isSmartRef__":true,"id":3986},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3987}],"eventHandler":{"__isSmartRef__":true,"id":3989},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3980},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3990},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3982":{"_Position":{"__isSmartRef__":true,"id":3983},"renderContextTable":{"__isSmartRef__":true,"id":3984},"_Extent":{"__isSmartRef__":true,"id":3985},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-61f104e7-c237-443b-9ac5-95a3dc058e66","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3983":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3984":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3985":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3986":{"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","setStyleSheet":"setStyleSheetHTML","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"},"3987":{"style":{"__isSmartRef__":true,"id":3988},"chunkOwner":{"__isSmartRef__":true,"id":3981},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3988":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3989":{"morph":{"__isSmartRef__":true,"id":3981},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3990":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3991":{"_Position":{"__isSmartRef__":true,"id":3992},"renderContextTable":{"__isSmartRef__":true,"id":3993},"_Extent":{"__isSmartRef__":true,"id":3994},"_Padding":{"__isSmartRef__":true,"id":3995},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":2230},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["morph","button","windowcontrol"],"_NodeId":"morph-ada4bd08-b819-45d9-93a1-92987834b274","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3992":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3993":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"3994":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3995":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3996":{"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","setStyleSheet":"setStyleSheetHTML"},"3997":{"morph":{"__isSmartRef__":true,"id":3980},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3998":{"x":936,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3999":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4000":{"stops":[{"__isSmartRef__":true,"id":4001},{"__isSmartRef__":true,"id":4003},{"__isSmartRef__":true,"id":4005},{"__isSmartRef__":true,"id":4007}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4001":{"offset":0,"color":{"__isSmartRef__":true,"id":4002}},"4002":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4003":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4004}},"4004":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4005":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4006}},"4006":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4007":{"offset":1,"color":{"__isSmartRef__":true,"id":4008}},"4008":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4009":{"moveHorizontal":true},"4010":{"sourceObj":{"__isSmartRef__":true,"id":3980},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4011},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4011":{"source":{"__isSmartRef__":true,"id":3980},"target":{"__isSmartRef__":true,"id":2195}},"4012":{"sourceObj":{"__isSmartRef__":true,"id":3980},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2195},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4013},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4013":{"source":{"__isSmartRef__":true,"id":3980},"target":{"__isSmartRef__":true,"id":2195}},"4014":{"_Position":{"__isSmartRef__":true,"id":4015},"renderContextTable":{"__isSmartRef__":true,"id":4016},"_Extent":{"__isSmartRef__":true,"id":4017},"_Padding":{"__isSmartRef__":true,"id":4018},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3741},"_Fill":{"__isSmartRef__":true,"id":447},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_NodeClass":["morph","box","titlebar"],"_NodeId":"morph-ce1f35be-bc49-49de-8c42-eaa1d889be84","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4015":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4016":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4017":{"x":975,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4018":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4019":{"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","setStyleSheet":"setStyleSheetHTML"},"4020":{"morph":{"__isSmartRef__":true,"id":3899},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4021":{"resizeWidth":true,"adjustForNewBounds":true},"4022":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4023":{"x":975,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4024":{"renderContextTable":{"__isSmartRef__":true,"id":4025},"_Padding":{"__isSmartRef__":true,"id":4026},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_NodeClass":["morph","window"],"_NodeId":"morph-f2c73741-9cf8-4320-bae7-b54e0399e42e","_Extent":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4025":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4026":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4027":{"x":975,"y":810,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4028":{"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","setStyleSheet":"setStyleSheetHTML"},"4029":{"morph":{"__isSmartRef__":true,"id":2195},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4030":{"adjustForNewBounds":true},"4031":{"x":267.5,"y":123,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4032":{"x":975,"y":810,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4033":{"x":489,"y":123,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4034":{"submorphs":[{"__isSmartRef__":true,"id":4035},{"__isSmartRef__":true,"id":6233},{"__isSmartRef__":true,"id":6371}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6406},"derivationIds":[null,"CD7BCB08-EB4A-48CD-952B-53A1EAEB23D0","581E5168-D9B0-4133-8DDD-C2A067EE91FD","5BDC76F6-9933-4A8D-A8D7-7A53D1313D5A","DC8E6D9C-D7A4-4C3D-8100-3E1546871B63","955E7F07-39AE-450D-8EE8-29E429842845","1C9D44BC-517C-4A89-B751-45C9076B8A48","231B606C-D216-476D-BD06-1E97C2F166E9","56440E75-AABF-40EE-BADE-EF6DE957BED1","83527CBE-511C-4D2C-BADC-53AA4E951B4C","CF9928AD-677A-417F-9067-73633E132979","AD34B2C8-22BE-4C8A-8E34-7B3A0AAFCA5A","4809EAF2-ACD4-4607-8911-3BAA5711C74F","69E5575E-8364-41D8-8809-31BFA13B658F","467E9CE0-4C43-465A-AE66-70F8E94FF818","43427F0A-798B-4B43-A2A5-6783E3A4FBEC","C32B806A-02C8-4A60-B1EF-A7DD42C68BB7","440B2525-75D8-4DA2-A2B0-F365EAE45A99","8172411B-9EE0-4CC3-8467-6E9B83645928","AB2C8B18-4386-407F-B100-C4011CCB060A","E7E5E0FB-4D6C-4232-AE3E-F29216473B50","3F84D56A-C67B-46DE-8FAA-5F8B0FA0E0CD","33729558-E9D3-46B1-AEC0-7B1814FFFECD","F139243C-8B20-4832-9041-78BB3BD36BB6","E2AD5203-521C-4A07-A471-843E7E073F5B","744CB741-A236-4AEB-8030-B0BDF723E4F5","57C9662A-FCEA-4242-B2F4-59A86310C5EF","9DAEA7B4-F388-424A-81D8-40B6BE949ABB","798285BC-057B-438E-A7BA-C7DF54B312F1"],"id":"C0939C6D-15E4-45B3-A480-A9BFBD8FA443","renderContextTable":{"__isSmartRef__":true,"id":6410},"eventHandler":{"__isSmartRef__":true,"id":6411},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":6412},"LK2":true,"_Position":{"__isSmartRef__":true,"id":6413},"priorExtent":{"__isSmartRef__":true,"id":6414},"targetMorph":{"__isSmartRef__":true,"id":4035},"reframeHandle":{"__isSmartRef__":true,"id":6371},"titleBar":{"__isSmartRef__":true,"id":6233},"contentOffset":{"__isSmartRef__":true,"id":6157},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6415},"name":"ObjectInspector","highlighted":false,"prevDragPos":{"__isSmartRef__":true,"id":6476},"isBeingDragged":false,"#startLetters":"get","__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1.0181721460114361,"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6477},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"4035":{"submorphs":[{"__isSmartRef__":true,"id":4036},{"__isSmartRef__":true,"id":4055},{"__isSmartRef__":true,"id":6102}],"scripts":[{"__isSmartRef__":true,"id":6149}],"id":"E870BB50-E561-4EE7-9294-0863D3637647","shape":{"__isSmartRef__":true,"id":6150},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6157},"showsHalos":false,"name":"ObjectInspector","partsBinMetaInfo":{"__isSmartRef__":true,"id":6158},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":6173},"eventHandler":{"__isSmartRef__":true,"id":6174},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","5276E050-462B-4ED7-8645-FC4C5F60FE2C","88F0CB6D-932E-4927-AC3F-E132C18AB5E3","A386B89D-9A23-4177-B9BA-8B962FF236C4","D352E8A5-29FA-41D9-9B35-73FF3564157E","4BDE366B-9002-45D8-B200-9892CE8E1C96","9FA6F23B-5584-4720-A460-81C48DCF514B","AD23A5BA-025F-4197-962F-6D64F6AEA3AD","4E00CA05-F3C7-4A1F-8769-5831DDD64874","CB599F3F-9886-43EC-AA8B-1EE9A162031B","91015D82-71FF-471E-A78C-9A2498BAA4FE","B19B84BB-582D-4F5D-B0BA-7097BD7E553C","D9F3227D-E20B-457B-BF85-47DD91F74598","9F00820B-ABA8-4E70-B63F-293A8159A36A","A9654D03-2824-4671-BD26-10F342EC4C9B","080739E4-92B2-4E4D-A17C-A45D08A1A473","9D21C3F5-01B1-4FE6-864B-F3C51A7860B5","027EA526-9F60-4B4D-9B7B-73EA324D1463","CE1A5A57-A548-4F2D-90A0-DE5B1FD7F0E6","EE86A04F-F125-4D31-9E3D-48761A0486CB","20C274CF-FBD0-45AD-BD1E-9EC348102EB4","C83BF7B2-FF72-463F-8189-642A8969D9CF","B3755676-4902-47C7-A23C-2539F9BCC9FA","07346937-19F7-4644-8389-BF59DE2F203A","49808445-DC14-4391-BF1E-701710D8D9B8","AD2918D7-97E8-42C9-A681-18EAA129EB55","3CC1874B-4ADB-4A90-A12A-55B7ADF9392D","9AFC4676-5280-4B72-82E2-55B51441AF1E","482F476C-5C4E-4F4D-B56A-1989175C1352"],"partTests":{"__isSmartRef__":true,"id":6175},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":4034},"layout":{"__isSmartRef__":true,"id":6180},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6183},"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":2,"tree":{"__isSmartRef__":true,"id":4056},"prevScroll":[0,0],"updateFilter":"standard","showInherited":false,"_Rotation":0,"_Scale":1.0040100200350561,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6184},"__LivelyClassName__":"lively.morphic.Box"},"4036":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4037},"derivationIds":[null,"4E5E2B48-0B47-4B2D-BC78-14E1BDBE0B57","EA4FE185-C289-4D95-B8AF-461C2E8219E6","7F3E4F8B-3F32-4809-91A5-5DEA3A3FD09E","7571A08C-937B-467A-9D49-68F3AAAD1140","85283104-ADA2-4C53-A73D-C5487B62C829","5E0941AD-4504-4F9D-B650-B018490C56B0","EAD81395-1252-4B07-8FB3-2F4253CB798F","7696C2D4-B858-4212-80CB-84803CAAD87E","4C0819CC-FCCD-4A8B-A1FF-1603EFE5EE49","FB7EF974-A95D-4A3A-95F4-498936A61AB1","060FCB63-2D3A-4FE6-AB19-B40854B0BB78","5ABD6D73-9D28-45A3-AE27-3035D892467D","19CC5587-3BCE-4293-B785-F659497CDD76","440643CA-166F-44AE-A8FF-D3B1E457D081","BA20821C-578F-4256-8870-B86E3AFEE3FC","7C1E3822-1018-45B9-AE6C-6E2BD39DF2F8","312B6786-7F93-4E97-AF06-CC08B9BEF91B","B6142DF2-38A9-41DD-B7C0-60D315537301","7DE27692-A1E7-4B48-8126-2939656AE639","1CA5EB71-650C-48BB-B5F0-4B1FDA2B0FCE","E1B8DC34-B6A5-4CB2-857B-597844C49DF0","0BB210B2-5CAC-4548-A650-A8FB85814B89","3493E4F4-5A4F-41F9-8FB4-6DD2781CE33F","3E9289C4-8439-4FF4-8533-20CCC231E86C","1007D257-74BA-41E4-9426-43503840A328","AB02F6ED-6541-4C2B-BE33-9E30E2D4E8CB","86414643-3214-48C0-A848-A1AD0622F4F3","64D914CC-285D-46F9-9DDD-F6898F714D0C","08B1186F-89EF-4676-9F58-FC0F720D76B7"],"id":"135F26BD-A419-4CF6-9F35-1D297B5C386E","renderContextTable":{"__isSmartRef__":true,"id":4044},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4045},{"__isSmartRef__":true,"id":4048}],"eventHandler":{"__isSmartRef__":true,"id":4050},"_ClipMode":"auto","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":4051},"priorExtent":{"__isSmartRef__":true,"id":4052},"_MaxTextWidth":286.8712591602084,"_MinTextWidth":286.8712591602084,"_MaxTextHeight":null,"_MinTextHeight":null,"layout":{"__isSmartRef__":true,"id":4053},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":4054}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"lastSyntaxHighlightTime":4,"accessibleInInactiveWindow":true,"charsReplaced":"this.bla","lastFindLoc":8,"isBeingDragged":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"parseErrors":null,"#startLetters":"getDo","name":"ObjectInspectorText","owner":{"__isSmartRef__":true,"id":4035},"doItContext":null,"doitContext":{"__isSmartRef__":true,"id":2101},"_syntaxHighlightTimeout":null,"previousSelection":[0,19],"_Rotation":0,"_Scale":0.996005996001,"textString":"this.ignoreEvents()","priorSelectionRange":[0,19],"__LivelyClassName__":"lively.morphic.Text"},"4037":{"_Position":{"__isSmartRef__":true,"id":4038},"renderContextTable":{"__isSmartRef__":true,"id":4039},"_Extent":{"__isSmartRef__":true,"id":4040},"_Padding":{"__isSmartRef__":true,"id":4041},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4042},"_Fill":{"__isSmartRef__":true,"id":4043},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4038":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4039":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4040":{"x":296.8712591602084,"y":69.84397433389242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4041":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4042":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4043":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4044":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4045":{"style":{"__isSmartRef__":true,"id":4046},"chunkOwner":{"__isSmartRef__":true,"id":4036},"storedString":"this","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4046":{"color":{"__isSmartRef__":true,"id":4047},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4047":{"r":0,"g":0,"b":0.5450980392156862,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4048":{"style":{"__isSmartRef__":true,"id":4049},"chunkOwner":{"__isSmartRef__":true,"id":4036},"storedString":".ignoreEvents()","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4049":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4050":{"morph":{"__isSmartRef__":true,"id":4036},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4051":{"x":8.145,"y":319.3919550462613,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4052":{"x":296.8712591602084,"y":69.84397433389242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4053":{"resizeWidth":true,"resizeHeight":false},"4054":{"sourceObj":{"__isSmartRef__":true,"id":4036},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":4036},"targetMethodName":"highlightJavaScriptSyntax","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4055":{"submorphs":[{"__isSmartRef__":true,"id":4056}],"scripts":[],"id":"65C659F5-3BE0-4C90-A101-1D0C1386304D","shape":{"__isSmartRef__":true,"id":6072},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6079},"showsHalos":false,"name":"Rectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":6080},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":6093},"eventHandler":{"__isSmartRef__":true,"id":6094},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","C284F4DE-14F1-43C2-A4D0-1BAE909D98DA","9EEF20FD-27E3-4A31-8DBC-36073E64666F","283BD2F7-EFEE-4D83-876B-A8F2BD099B93","50245F69-C51D-40B5-BFD8-EE4870A65AF5","410821C9-3A7A-4ACB-8AEF-6B82AAB72D55","EFEAD1DE-A920-4272-BB24-C0361CBF2906","A5D165E3-E5BD-43E3-B6B0-9C23B5CC1964","6CC2F1A6-9C53-4980-80E4-0167A10F9942","95406291-4689-49C6-ADE6-C2C642AC0B5C","33084DB2-FE6B-44DA-AF4A-5C017450FC97","46D25FF6-F6EA-49A2-B643-59628686B2DC","9648CC00-8E9E-4911-A41B-46CED518B0D3","E1275348-0270-4F01-BE65-8C80AC5A5588","734AED0F-F7BE-44E8-92CE-86F1AE7F6D55","42AD8A44-C2B7-462F-89AE-4AE94C29A9D5","9548995B-025B-42CC-9DC4-44999A80E52F","0AA45256-249A-420C-A183-0A3BE69F95C6","3FF6DBA9-F3C1-4D0D-999B-981406660635","5BDFFDB8-16A6-4122-8CF6-2EC7C7CFA0DE","F73CBC23-DED8-4667-B4C4-4842BBD64AF5","F4E6EC9B-F4BE-4249-AB50-3EE510BF3ACD","5E0F549D-154A-4598-972D-7FB5D7EB2597","4EFF8DE7-D20D-4C65-B931-9AE67A17ABAD","81382340-4F55-428F-8FA9-23679D643920","12AEE6D1-BD69-4690-84DC-EBFC54F436CF","C434C7E8-49F2-4EDF-AA66-363EDB6AA0F8","EE756834-F5B4-47EB-993C-83C2B8B448FB","3DAC0D13-C416-4EF8-9BA1-62A438291A79"],"partTests":{"__isSmartRef__":true,"id":6095},"_ClipMode":"auto","moved":true,"owner":{"__isSmartRef__":true,"id":4035},"layout":{"__isSmartRef__":true,"id":6100},"priorExtent":{"__isSmartRef__":true,"id":6101},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"4056":{"item":{"__isSmartRef__":true,"id":4057},"parent":null,"depth":0,"submorphs":[{"__isSmartRef__":true,"id":4061},{"__isSmartRef__":true,"id":4143},{"__isSmartRef__":true,"id":4224},{"__isSmartRef__":true,"id":4305},{"__isSmartRef__":true,"id":4386},{"__isSmartRef__":true,"id":4461},{"__isSmartRef__":true,"id":4617},{"__isSmartRef__":true,"id":4698},{"__isSmartRef__":true,"id":4773},{"__isSmartRef__":true,"id":4848},{"__isSmartRef__":true,"id":4923},{"__isSmartRef__":true,"id":4998},{"__isSmartRef__":true,"id":5073},{"__isSmartRef__":true,"id":5154},{"__isSmartRef__":true,"id":5235},{"__isSmartRef__":true,"id":5316},{"__isSmartRef__":true,"id":5397},{"__isSmartRef__":true,"id":5472},{"__isSmartRef__":true,"id":5553},{"__isSmartRef__":true,"id":5634},{"__isSmartRef__":true,"id":5715},{"__isSmartRef__":true,"id":5790},{"__isSmartRef__":true,"id":5872},{"__isSmartRef__":true,"id":4542}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5962},"derivationIds":[null,"01A6356E-C15D-4F8D-BBB6-8680B231177D","8C1A96D3-6843-4386-9FC2-67909491ADEA","B85242E4-52C0-4A2B-9704-D5973B5BE1FE","8674A527-60C2-400B-82C8-B9209A0E288F","A851FE58-8397-4F98-BAE6-339C4926C930","2F1F744A-AA0E-4AB5-9D27-2EF1599780DD","98C0C210-DC70-452B-B05C-3B97B6CC4501","2D252C30-0809-4CDD-85A6-224D3B4186DC","5D83B1E4-35D8-403E-BABC-68E6E581B41C","48C1E58B-63D5-4C4B-A618-49EC747D4D2A","18F7D7DD-933D-4F14-AD42-27D4E5007E90","C7B88DEE-33BC-4C19-A8CA-C875519F03FB","B9610924-8476-414F-AF8C-4B18464386B1","3CBB6CB7-B377-4C0F-8906-7D0EBB8C1EB9","4EB0E124-3A4F-4BAB-ADCC-90E994E6F063","2248AE83-905F-4289-9C28-C08A0CE81D44","6722763D-AF2A-4186-AC25-1BCFCDD5D86F","3CC06143-943E-49E6-BBEF-094170056209","81130FBB-61ED-4567-BF03-7DA1DF84A8B8","445967DD-B3DE-4549-925F-75F5850757D7","FB1B17A2-78E6-46AD-B956-557B044AFE3F","BC5F0D9A-7059-4A21-B6D5-FD24FD58EB94","B57AF529-0187-4F02-8B37-5C01BCE44F88","D8021CB8-17EB-4641-A33A-60581D80E90A","48211CBE-B665-47DE-8B09-EA18C5A80082","0963EBD4-CBC3-47DD-AAFD-1329BF14A381","A5F36FD3-A2CC-4060-9A35-17A942EE2967","CB01C699-0407-4F5A-8D3C-2CDE89925CAB"],"id":"034670E4-77C0-43EA-BF61-3BA629E0872C","renderContextTable":{"__isSmartRef__":true,"id":5969},"eventHandler":{"__isSmartRef__":true,"id":5970},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5971},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5974},"draggingEnabled":false,"dragAndDrop":true,"childNodes":[{"__isSmartRef__":true,"id":4061},{"__isSmartRef__":true,"id":4143},{"__isSmartRef__":true,"id":4224},{"__isSmartRef__":true,"id":4305},{"__isSmartRef__":true,"id":4386},{"__isSmartRef__":true,"id":4461},{"__isSmartRef__":true,"id":4542},{"__isSmartRef__":true,"id":4617},{"__isSmartRef__":true,"id":4698},{"__isSmartRef__":true,"id":4773},{"__isSmartRef__":true,"id":4848},{"__isSmartRef__":true,"id":4923},{"__isSmartRef__":true,"id":4998},{"__isSmartRef__":true,"id":5073},{"__isSmartRef__":true,"id":5154},{"__isSmartRef__":true,"id":5235},{"__isSmartRef__":true,"id":5316},{"__isSmartRef__":true,"id":5397},{"__isSmartRef__":true,"id":5472},{"__isSmartRef__":true,"id":5553},{"__isSmartRef__":true,"id":5634},{"__isSmartRef__":true,"id":5715},{"__isSmartRef__":true,"id":5790},{"__isSmartRef__":true,"id":5872}],"icon":{"__isSmartRef__":true,"id":5975},"label":{"__isSmartRef__":true,"id":5987},"owner":{"__isSmartRef__":true,"id":4055},"_Position":{"__isSmartRef__":true,"id":6011},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"name":"ObjectInspectorTree","__SourceModuleName__":"Global.users.cschuster.Widgets","selectedLabel":{"__isSmartRef__":true,"id":6012},"node":null,"showMoreNode":null,"_Rotation":0,"_Scale":0.996005996001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6067},"__LivelyClassName__":"users.cschuster.Widgets.Tree"},"4057":{"data":{"__isSmartRef__":true,"id":2101},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":4058},"description":"Rectangle","children":[{"__isSmartRef__":true,"id":4059},{"__isSmartRef__":true,"id":4141},{"__isSmartRef__":true,"id":4222},{"__isSmartRef__":true,"id":4303},{"__isSmartRef__":true,"id":4384},{"__isSmartRef__":true,"id":4459},{"__isSmartRef__":true,"id":4540},{"__isSmartRef__":true,"id":4615},{"__isSmartRef__":true,"id":4696},{"__isSmartRef__":true,"id":4771},{"__isSmartRef__":true,"id":4846},{"__isSmartRef__":true,"id":4921},{"__isSmartRef__":true,"id":4996},{"__isSmartRef__":true,"id":5071},{"__isSmartRef__":true,"id":5152},{"__isSmartRef__":true,"id":5233},{"__isSmartRef__":true,"id":5314},{"__isSmartRef__":true,"id":5395},{"__isSmartRef__":true,"id":5470},{"__isSmartRef__":true,"id":5551},{"__isSmartRef__":true,"id":5632},{"__isSmartRef__":true,"id":5713},{"__isSmartRef__":true,"id":5788},{"__isSmartRef__":true,"id":5869}],"attributeConnections":[{"__isSmartRef__":true,"id":5948}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5949}},"4058":{"":{"__isSmartRef__":true,"id":2101}},"4059":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"attributeConnections","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4060}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4128}},"4060":{"sourceObj":{"__isSmartRef__":true,"id":4059},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4061},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4061":{"item":{"__isSmartRef__":true,"id":4059},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4062}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4115},"derivationIds":[null],"id":"3C342354-CE6C-4B63-9A31-B8C1FDF73357","renderContextTable":{"__isSmartRef__":true,"id":4121},"eventHandler":{"__isSmartRef__":true,"id":4122},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4123},"layout":{"__isSmartRef__":true,"id":4124},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4127},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4063},"label":{"__isSmartRef__":true,"id":4082},"node":{"__isSmartRef__":true,"id":4062},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4062":{"submorphs":[{"__isSmartRef__":true,"id":4063},{"__isSmartRef__":true,"id":4082}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4104},"derivationIds":[null],"id":"5F99E54A-B858-46C9-AB99-95CE655B8436","renderContextTable":{"__isSmartRef__":true,"id":4109},"eventHandler":{"__isSmartRef__":true,"id":4110},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4111},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4112},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4061},"priorExtent":{"__isSmartRef__":true,"id":4114},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4063":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4064},"derivationIds":[null],"id":"D998A6B8-6117-48AD-B085-7FB1D263A09D","renderContextTable":{"__isSmartRef__":true,"id":4068},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4069}],"eventHandler":{"__isSmartRef__":true,"id":4071},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4062},"_Position":{"__isSmartRef__":true,"id":4072},"priorExtent":{"__isSmartRef__":true,"id":4073},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4074},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4064":{"_Position":{"__isSmartRef__":true,"id":4065},"renderContextTable":{"__isSmartRef__":true,"id":4066},"_Extent":{"__isSmartRef__":true,"id":4067},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-d998a6b8-6117-48ad-b085-7fb1d263a09d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4065":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4066":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4067":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4068":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4069":{"style":{"__isSmartRef__":true,"id":4070},"chunkOwner":{"__isSmartRef__":true,"id":4063},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4070":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4071":{"morph":{"__isSmartRef__":true,"id":4063},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4072":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4073":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4074":{"onMouseDown":{"__isSmartRef__":true,"id":4075}},"4075":{"varMapping":{"__isSmartRef__":true,"id":4076},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4076":{"this":{"__isSmartRef__":true,"id":4063},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4077}},"4077":{"$super":{"__isSmartRef__":true,"id":4078}},"4078":{"varMapping":{"__isSmartRef__":true,"id":4079},"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":4080},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4079":{"obj":{"__isSmartRef__":true,"id":4063},"name":"onMouseDown"},"4080":{},"4081":{},"4082":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4083},"derivationIds":[null],"id":"8F1AFB3A-05D9-46BD-B6A8-80BA33E56ED3","renderContextTable":{"__isSmartRef__":true,"id":4087},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4088},{"__isSmartRef__":true,"id":4090}],"cachedTextString":"attributeConnections ","eventHandler":{"__isSmartRef__":true,"id":4093},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4062},"_Position":{"__isSmartRef__":true,"id":4094},"priorExtent":{"__isSmartRef__":true,"id":4095},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4096},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4083":{"_Position":{"__isSmartRef__":true,"id":4084},"renderContextTable":{"__isSmartRef__":true,"id":4085},"_Extent":{"__isSmartRef__":true,"id":4086},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-8f1afb3a-05d9-46bd-b6a8-80ba33e56ed3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4084":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4085":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4086":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4087":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4088":{"style":{"__isSmartRef__":true,"id":4089},"chunkOwner":{"__isSmartRef__":true,"id":4082},"storedString":"attributeConnections ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4089":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4090":{"style":{"__isSmartRef__":true,"id":4091},"chunkOwner":{"__isSmartRef__":true,"id":4082},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4091":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4092":{"r":0.6627450980392157,"g":0.6627450980392157,"b":0.6627450980392157,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4093":{"morph":{"__isSmartRef__":true,"id":4082},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4094":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4095":{"x":143,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4096":{"onMouseDown":{"__isSmartRef__":true,"id":4097}},"4097":{"varMapping":{"__isSmartRef__":true,"id":4098},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4098":{"this":{"__isSmartRef__":true,"id":4082},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4099}},"4099":{"$super":{"__isSmartRef__":true,"id":4100}},"4100":{"varMapping":{"__isSmartRef__":true,"id":4101},"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":4102},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4101":{"obj":{"__isSmartRef__":true,"id":4082},"name":"onMouseDown"},"4102":{},"4103":{},"4104":{"_Position":{"__isSmartRef__":true,"id":4105},"renderContextTable":{"__isSmartRef__":true,"id":4106},"_Extent":{"__isSmartRef__":true,"id":4107},"_Padding":{"__isSmartRef__":true,"id":4108},"_NodeClass":["morph","box"],"_NodeId":"morph-5f99e54a-b858-46c9-ab99-95ce655b8436","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4105":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4106":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4107":{"x":158,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4108":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4109":{"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","setStyleSheet":"setStyleSheetHTML"},"4110":{"morph":{"__isSmartRef__":true,"id":4062},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4111":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4112":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4113}},"4113":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4062},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4114":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4115":{"_Position":{"__isSmartRef__":true,"id":4116},"renderContextTable":{"__isSmartRef__":true,"id":4117},"_Extent":{"__isSmartRef__":true,"id":4118},"_Padding":{"__isSmartRef__":true,"id":4119},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-3c342354-ce6c-4b63-9a31-b8c1fdf73357","_Fill":{"__isSmartRef__":true,"id":4120},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4116":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4118":{"x":168,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4119":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4120":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4121":{"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","setStyleSheet":"setStyleSheetHTML"},"4122":{"morph":{"__isSmartRef__":true,"id":4061},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4123":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4124":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4125}},"4125":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4126},"spacing":0,"container":{"__isSmartRef__":true,"id":4061},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4126":{"top":0,"right":0,"bottom":0,"left":0},"4127":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4128":{"onSelect":{"__isSmartRef__":true,"id":4129},"onExpand":{"__isSmartRef__":true,"id":4132},"onUpdateChildren":{"__isSmartRef__":true,"id":4135},"onUpdate":{"__isSmartRef__":true,"id":4138}},"4129":{"varMapping":{"__isSmartRef__":true,"id":4130},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4130":{"this":{"__isSmartRef__":true,"id":4059}},"4131":{},"4132":{"varMapping":{"__isSmartRef__":true,"id":4133},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4134},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4133":{"this":{"__isSmartRef__":true,"id":4059}},"4134":{},"4135":{"varMapping":{"__isSmartRef__":true,"id":4136},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4136":{"this":{"__isSmartRef__":true,"id":4059}},"4137":{},"4138":{"varMapping":{"__isSmartRef__":true,"id":4139},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4139":{"this":{"__isSmartRef__":true,"id":4059}},"4140":{},"4141":{"data":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C"],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"derivationIds","description":"[...]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4142}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4209}},"4142":{"sourceObj":{"__isSmartRef__":true,"id":4141},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4143},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4143":{"item":{"__isSmartRef__":true,"id":4141},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4144}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4196},"derivationIds":[null],"id":"DA23EF05-9F19-45AA-9FE0-B1986BDD78D2","renderContextTable":{"__isSmartRef__":true,"id":4202},"eventHandler":{"__isSmartRef__":true,"id":4203},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4204},"layout":{"__isSmartRef__":true,"id":4205},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4208},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4145},"label":{"__isSmartRef__":true,"id":4164},"node":{"__isSmartRef__":true,"id":4144},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4144":{"submorphs":[{"__isSmartRef__":true,"id":4145},{"__isSmartRef__":true,"id":4164}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4185},"derivationIds":[null],"id":"38EEBD60-7B3C-4E35-B8A1-55BD5B4D87B4","renderContextTable":{"__isSmartRef__":true,"id":4190},"eventHandler":{"__isSmartRef__":true,"id":4191},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4192},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4193},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4143},"priorExtent":{"__isSmartRef__":true,"id":4195},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4145":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4146},"derivationIds":[null],"id":"829A63C3-F4A4-41EF-B10D-9A1158A9FAF9","renderContextTable":{"__isSmartRef__":true,"id":4150},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4151}],"eventHandler":{"__isSmartRef__":true,"id":4153},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4144},"_Position":{"__isSmartRef__":true,"id":4154},"priorExtent":{"__isSmartRef__":true,"id":4155},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4156},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4146":{"_Position":{"__isSmartRef__":true,"id":4147},"renderContextTable":{"__isSmartRef__":true,"id":4148},"_Extent":{"__isSmartRef__":true,"id":4149},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-829a63c3-f4a4-41ef-b10d-9a1158a9faf9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4147":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4148":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4149":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4150":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4151":{"style":{"__isSmartRef__":true,"id":4152},"chunkOwner":{"__isSmartRef__":true,"id":4145},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4152":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4153":{"morph":{"__isSmartRef__":true,"id":4145},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4154":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4155":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4156":{"onMouseDown":{"__isSmartRef__":true,"id":4157}},"4157":{"varMapping":{"__isSmartRef__":true,"id":4158},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4163},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4158":{"this":{"__isSmartRef__":true,"id":4145},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4159}},"4159":{"$super":{"__isSmartRef__":true,"id":4160}},"4160":{"varMapping":{"__isSmartRef__":true,"id":4161},"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":4162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4161":{"obj":{"__isSmartRef__":true,"id":4145},"name":"onMouseDown"},"4162":{},"4163":{},"4164":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4165},"derivationIds":[null],"id":"08B29484-5513-40B4-8371-4BDE2CFD6A8C","renderContextTable":{"__isSmartRef__":true,"id":4169},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4170},{"__isSmartRef__":true,"id":4172}],"cachedTextString":"derivationIds ","eventHandler":{"__isSmartRef__":true,"id":4174},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4144},"_Position":{"__isSmartRef__":true,"id":4175},"priorExtent":{"__isSmartRef__":true,"id":4176},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4177},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4165":{"_Position":{"__isSmartRef__":true,"id":4166},"renderContextTable":{"__isSmartRef__":true,"id":4167},"_Extent":{"__isSmartRef__":true,"id":4168},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-08b29484-5513-40b4-8371-4bde2cfd6a8c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4166":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4167":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4168":{"x":107,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4169":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4170":{"style":{"__isSmartRef__":true,"id":4171},"chunkOwner":{"__isSmartRef__":true,"id":4164},"storedString":"derivationIds ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4171":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4172":{"style":{"__isSmartRef__":true,"id":4173},"chunkOwner":{"__isSmartRef__":true,"id":4164},"storedString":"[...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4173":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4174":{"morph":{"__isSmartRef__":true,"id":4164},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4175":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4176":{"x":107,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4177":{"onMouseDown":{"__isSmartRef__":true,"id":4178}},"4178":{"varMapping":{"__isSmartRef__":true,"id":4179},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4184},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4179":{"this":{"__isSmartRef__":true,"id":4164},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4180}},"4180":{"$super":{"__isSmartRef__":true,"id":4181}},"4181":{"varMapping":{"__isSmartRef__":true,"id":4182},"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":4183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4182":{"obj":{"__isSmartRef__":true,"id":4164},"name":"onMouseDown"},"4183":{},"4184":{},"4185":{"_Position":{"__isSmartRef__":true,"id":4186},"renderContextTable":{"__isSmartRef__":true,"id":4187},"_Extent":{"__isSmartRef__":true,"id":4188},"_Padding":{"__isSmartRef__":true,"id":4189},"_NodeClass":["morph","box"],"_NodeId":"morph-38eebd60-7b3c-4e35-b8a1-55bd5b4d87b4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4186":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4187":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4188":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4189":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4190":{"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","setStyleSheet":"setStyleSheetHTML"},"4191":{"morph":{"__isSmartRef__":true,"id":4144},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4192":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4193":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4194}},"4194":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4144},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4195":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4196":{"_Position":{"__isSmartRef__":true,"id":4197},"renderContextTable":{"__isSmartRef__":true,"id":4198},"_Extent":{"__isSmartRef__":true,"id":4199},"_Padding":{"__isSmartRef__":true,"id":4200},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-da23ef05-9f19-45aa-9fe0-b1986bdd78d2","_Fill":{"__isSmartRef__":true,"id":4201},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4197":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4198":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4199":{"x":132,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4200":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4201":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4202":{"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","setStyleSheet":"setStyleSheetHTML"},"4203":{"morph":{"__isSmartRef__":true,"id":4143},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4204":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4205":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4206}},"4206":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4207},"spacing":0,"container":{"__isSmartRef__":true,"id":4143},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4207":{"top":0,"right":0,"bottom":0,"left":0},"4208":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4209":{"onSelect":{"__isSmartRef__":true,"id":4210},"onExpand":{"__isSmartRef__":true,"id":4213},"onUpdateChildren":{"__isSmartRef__":true,"id":4216},"onUpdate":{"__isSmartRef__":true,"id":4219}},"4210":{"varMapping":{"__isSmartRef__":true,"id":4211},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4212},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4211":{"this":{"__isSmartRef__":true,"id":4141}},"4212":{},"4213":{"varMapping":{"__isSmartRef__":true,"id":4214},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4215},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4214":{"this":{"__isSmartRef__":true,"id":4141}},"4215":{},"4216":{"varMapping":{"__isSmartRef__":true,"id":4217},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4217":{"this":{"__isSmartRef__":true,"id":4141}},"4218":{},"4219":{"varMapping":{"__isSmartRef__":true,"id":4220},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4220":{"this":{"__isSmartRef__":true,"id":4141}},"4221":{},"4222":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"doNotCopyProperties","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4223}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4290}},"4223":{"sourceObj":{"__isSmartRef__":true,"id":4222},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4224},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4224":{"item":{"__isSmartRef__":true,"id":4222},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4225}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4277},"derivationIds":[null],"id":"6071FA25-5A97-4A4F-BB87-572A89318A46","renderContextTable":{"__isSmartRef__":true,"id":4283},"eventHandler":{"__isSmartRef__":true,"id":4284},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4285},"layout":{"__isSmartRef__":true,"id":4286},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4289},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4226},"label":{"__isSmartRef__":true,"id":4245},"node":{"__isSmartRef__":true,"id":4225},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4225":{"submorphs":[{"__isSmartRef__":true,"id":4226},{"__isSmartRef__":true,"id":4245}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4266},"derivationIds":[null],"id":"E8DD33CC-F921-4149-89C9-CB400D1B9E9C","renderContextTable":{"__isSmartRef__":true,"id":4271},"eventHandler":{"__isSmartRef__":true,"id":4272},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4273},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4274},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4224},"priorExtent":{"__isSmartRef__":true,"id":4276},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4226":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4227},"derivationIds":[null],"id":"E316E275-8B47-489C-82DD-9FAB981526A3","renderContextTable":{"__isSmartRef__":true,"id":4231},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4232}],"eventHandler":{"__isSmartRef__":true,"id":4234},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4225},"_Position":{"__isSmartRef__":true,"id":4235},"priorExtent":{"__isSmartRef__":true,"id":4236},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4237},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4227":{"_Position":{"__isSmartRef__":true,"id":4228},"renderContextTable":{"__isSmartRef__":true,"id":4229},"_Extent":{"__isSmartRef__":true,"id":4230},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-e316e275-8b47-489c-82dd-9fab981526a3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4228":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4229":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4230":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4231":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4232":{"style":{"__isSmartRef__":true,"id":4233},"chunkOwner":{"__isSmartRef__":true,"id":4226},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4233":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4234":{"morph":{"__isSmartRef__":true,"id":4226},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4235":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4236":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4237":{"onMouseDown":{"__isSmartRef__":true,"id":4238}},"4238":{"varMapping":{"__isSmartRef__":true,"id":4239},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4239":{"this":{"__isSmartRef__":true,"id":4226},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4240}},"4240":{"$super":{"__isSmartRef__":true,"id":4241}},"4241":{"varMapping":{"__isSmartRef__":true,"id":4242},"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":4243},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4242":{"obj":{"__isSmartRef__":true,"id":4226},"name":"onMouseDown"},"4243":{},"4244":{},"4245":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4246},"derivationIds":[null],"id":"03056722-6AD6-4C09-8A20-A4B91260DBAF","renderContextTable":{"__isSmartRef__":true,"id":4250},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4251},{"__isSmartRef__":true,"id":4253}],"cachedTextString":"doNotCopyProperties ","eventHandler":{"__isSmartRef__":true,"id":4255},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4225},"_Position":{"__isSmartRef__":true,"id":4256},"priorExtent":{"__isSmartRef__":true,"id":4257},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4258},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4246":{"_Position":{"__isSmartRef__":true,"id":4247},"renderContextTable":{"__isSmartRef__":true,"id":4248},"_Extent":{"__isSmartRef__":true,"id":4249},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-03056722-6ad6-4c09-8a20-a4b91260dbaf","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4247":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4248":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4249":{"x":147,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4250":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4251":{"style":{"__isSmartRef__":true,"id":4252},"chunkOwner":{"__isSmartRef__":true,"id":4245},"storedString":"doNotCopyProperties ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4252":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4253":{"style":{"__isSmartRef__":true,"id":4254},"chunkOwner":{"__isSmartRef__":true,"id":4245},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4254":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4255":{"morph":{"__isSmartRef__":true,"id":4245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4256":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4257":{"x":147,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4258":{"onMouseDown":{"__isSmartRef__":true,"id":4259}},"4259":{"varMapping":{"__isSmartRef__":true,"id":4260},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4260":{"this":{"__isSmartRef__":true,"id":4245},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4261}},"4261":{"$super":{"__isSmartRef__":true,"id":4262}},"4262":{"varMapping":{"__isSmartRef__":true,"id":4263},"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":4264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4263":{"obj":{"__isSmartRef__":true,"id":4245},"name":"onMouseDown"},"4264":{},"4265":{},"4266":{"_Position":{"__isSmartRef__":true,"id":4267},"renderContextTable":{"__isSmartRef__":true,"id":4268},"_Extent":{"__isSmartRef__":true,"id":4269},"_Padding":{"__isSmartRef__":true,"id":4270},"_NodeClass":["morph","box"],"_NodeId":"morph-e8dd33cc-f921-4149-89c9-cb400d1b9e9c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4267":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4268":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4269":{"x":162,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4270":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4271":{"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","setStyleSheet":"setStyleSheetHTML"},"4272":{"morph":{"__isSmartRef__":true,"id":4225},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4274":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4275}},"4275":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4225},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4276":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4277":{"_Position":{"__isSmartRef__":true,"id":4278},"renderContextTable":{"__isSmartRef__":true,"id":4279},"_Extent":{"__isSmartRef__":true,"id":4280},"_Padding":{"__isSmartRef__":true,"id":4281},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-6071fa25-5a97-4a4f-bb87-572a89318a46","_Fill":{"__isSmartRef__":true,"id":4282},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4278":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4279":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4280":{"x":172,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4281":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4282":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4283":{"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","setStyleSheet":"setStyleSheetHTML"},"4284":{"morph":{"__isSmartRef__":true,"id":4224},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4285":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4286":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4287}},"4287":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4288},"spacing":0,"container":{"__isSmartRef__":true,"id":4224},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4288":{"top":0,"right":0,"bottom":0,"left":0},"4289":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4290":{"onSelect":{"__isSmartRef__":true,"id":4291},"onExpand":{"__isSmartRef__":true,"id":4294},"onUpdateChildren":{"__isSmartRef__":true,"id":4297},"onUpdate":{"__isSmartRef__":true,"id":4300}},"4291":{"varMapping":{"__isSmartRef__":true,"id":4292},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4292":{"this":{"__isSmartRef__":true,"id":4222}},"4293":{},"4294":{"varMapping":{"__isSmartRef__":true,"id":4295},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4296},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4295":{"this":{"__isSmartRef__":true,"id":4222}},"4296":{},"4297":{"varMapping":{"__isSmartRef__":true,"id":4298},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4298":{"this":{"__isSmartRef__":true,"id":4222}},"4299":{},"4300":{"varMapping":{"__isSmartRef__":true,"id":4301},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4302},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4301":{"this":{"__isSmartRef__":true,"id":4222}},"4302":{},"4303":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"doNotSerialize","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4304}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4371}},"4304":{"sourceObj":{"__isSmartRef__":true,"id":4303},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4305},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4305":{"item":{"__isSmartRef__":true,"id":4303},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4306}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4358},"derivationIds":[null],"id":"58B53D2F-1DDC-4B20-B1CA-E39D95C6D1C0","renderContextTable":{"__isSmartRef__":true,"id":4364},"eventHandler":{"__isSmartRef__":true,"id":4365},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4366},"layout":{"__isSmartRef__":true,"id":4367},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4370},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4307},"label":{"__isSmartRef__":true,"id":4326},"node":{"__isSmartRef__":true,"id":4306},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4306":{"submorphs":[{"__isSmartRef__":true,"id":4307},{"__isSmartRef__":true,"id":4326}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4347},"derivationIds":[null],"id":"9327B22F-C99D-403F-9553-7A9D8EA77F9B","renderContextTable":{"__isSmartRef__":true,"id":4352},"eventHandler":{"__isSmartRef__":true,"id":4353},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4354},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4355},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4305},"priorExtent":{"__isSmartRef__":true,"id":4357},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4307":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4308},"derivationIds":[null],"id":"F637C9BD-608A-4A3A-B369-E2739A0E14D9","renderContextTable":{"__isSmartRef__":true,"id":4312},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4313}],"eventHandler":{"__isSmartRef__":true,"id":4315},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4306},"_Position":{"__isSmartRef__":true,"id":4316},"priorExtent":{"__isSmartRef__":true,"id":4317},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4318},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4308":{"_Position":{"__isSmartRef__":true,"id":4309},"renderContextTable":{"__isSmartRef__":true,"id":4310},"_Extent":{"__isSmartRef__":true,"id":4311},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f637c9bd-608a-4a3a-b369-e2739a0e14d9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4309":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4310":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4311":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4312":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4313":{"style":{"__isSmartRef__":true,"id":4314},"chunkOwner":{"__isSmartRef__":true,"id":4307},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4314":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4315":{"morph":{"__isSmartRef__":true,"id":4307},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4316":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4317":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4318":{"onMouseDown":{"__isSmartRef__":true,"id":4319}},"4319":{"varMapping":{"__isSmartRef__":true,"id":4320},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4320":{"this":{"__isSmartRef__":true,"id":4307},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4321}},"4321":{"$super":{"__isSmartRef__":true,"id":4322}},"4322":{"varMapping":{"__isSmartRef__":true,"id":4323},"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":4324},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4323":{"obj":{"__isSmartRef__":true,"id":4307},"name":"onMouseDown"},"4324":{},"4325":{},"4326":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4327},"derivationIds":[null],"id":"EC688A92-21AB-4622-9A91-06DD30E8DC10","renderContextTable":{"__isSmartRef__":true,"id":4331},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4332},{"__isSmartRef__":true,"id":4334}],"cachedTextString":"doNotSerialize ","eventHandler":{"__isSmartRef__":true,"id":4336},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4306},"_Position":{"__isSmartRef__":true,"id":4337},"priorExtent":{"__isSmartRef__":true,"id":4338},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4339},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4327":{"_Position":{"__isSmartRef__":true,"id":4328},"renderContextTable":{"__isSmartRef__":true,"id":4329},"_Extent":{"__isSmartRef__":true,"id":4330},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ec688a92-21ab-4622-9a91-06dd30e8dc10","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4328":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4329":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4330":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4331":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4332":{"style":{"__isSmartRef__":true,"id":4333},"chunkOwner":{"__isSmartRef__":true,"id":4326},"storedString":"doNotSerialize ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4333":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4334":{"style":{"__isSmartRef__":true,"id":4335},"chunkOwner":{"__isSmartRef__":true,"id":4326},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4335":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4336":{"morph":{"__isSmartRef__":true,"id":4326},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4337":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4338":{"x":108,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4339":{"onMouseDown":{"__isSmartRef__":true,"id":4340}},"4340":{"varMapping":{"__isSmartRef__":true,"id":4341},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4346},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4341":{"this":{"__isSmartRef__":true,"id":4326},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4342}},"4342":{"$super":{"__isSmartRef__":true,"id":4343}},"4343":{"varMapping":{"__isSmartRef__":true,"id":4344},"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":4345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4344":{"obj":{"__isSmartRef__":true,"id":4326},"name":"onMouseDown"},"4345":{},"4346":{},"4347":{"_Position":{"__isSmartRef__":true,"id":4348},"renderContextTable":{"__isSmartRef__":true,"id":4349},"_Extent":{"__isSmartRef__":true,"id":4350},"_Padding":{"__isSmartRef__":true,"id":4351},"_NodeClass":["morph","box"],"_NodeId":"morph-9327b22f-c99d-403f-9553-7a9d8ea77f9b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4348":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4349":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4350":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4351":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4352":{"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","setStyleSheet":"setStyleSheetHTML"},"4353":{"morph":{"__isSmartRef__":true,"id":4306},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4354":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4355":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4356}},"4356":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4306},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4357":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4358":{"_Position":{"__isSmartRef__":true,"id":4359},"renderContextTable":{"__isSmartRef__":true,"id":4360},"_Extent":{"__isSmartRef__":true,"id":4361},"_Padding":{"__isSmartRef__":true,"id":4362},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-58b53d2f-1ddc-4b20-b1ca-e39d95c6d1c0","_Fill":{"__isSmartRef__":true,"id":4363},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4359":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4360":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4361":{"x":133,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4362":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4363":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4364":{"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","setStyleSheet":"setStyleSheetHTML"},"4365":{"morph":{"__isSmartRef__":true,"id":4305},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4366":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4367":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4368}},"4368":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4369},"spacing":0,"container":{"__isSmartRef__":true,"id":4305},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4369":{"top":0,"right":0,"bottom":0,"left":0},"4370":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4371":{"onSelect":{"__isSmartRef__":true,"id":4372},"onExpand":{"__isSmartRef__":true,"id":4375},"onUpdateChildren":{"__isSmartRef__":true,"id":4378},"onUpdate":{"__isSmartRef__":true,"id":4381}},"4372":{"varMapping":{"__isSmartRef__":true,"id":4373},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4373":{"this":{"__isSmartRef__":true,"id":4303}},"4374":{},"4375":{"varMapping":{"__isSmartRef__":true,"id":4376},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4376":{"this":{"__isSmartRef__":true,"id":4303}},"4377":{},"4378":{"varMapping":{"__isSmartRef__":true,"id":4379},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4379":{"this":{"__isSmartRef__":true,"id":4303}},"4380":{},"4381":{"varMapping":{"__isSmartRef__":true,"id":4382},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4382":{"this":{"__isSmartRef__":true,"id":4303}},"4383":{},"4384":{"data":true,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"droppingEnabled","description":"true","attributeConnections":[{"__isSmartRef__":true,"id":4385}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4452}},"4385":{"sourceObj":{"__isSmartRef__":true,"id":4384},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4386},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4386":{"item":{"__isSmartRef__":true,"id":4384},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4387}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4439},"derivationIds":[null],"id":"8D0F1F72-051F-490C-85D0-E521B8ABCCE3","renderContextTable":{"__isSmartRef__":true,"id":4445},"eventHandler":{"__isSmartRef__":true,"id":4446},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4447},"layout":{"__isSmartRef__":true,"id":4448},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4451},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4388},"label":{"__isSmartRef__":true,"id":4407},"node":{"__isSmartRef__":true,"id":4387},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4387":{"submorphs":[{"__isSmartRef__":true,"id":4388},{"__isSmartRef__":true,"id":4407}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4428},"derivationIds":[null],"id":"475619D4-0C71-410F-80D3-62DFE3A0037D","renderContextTable":{"__isSmartRef__":true,"id":4433},"eventHandler":{"__isSmartRef__":true,"id":4434},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4435},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4436},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4386},"priorExtent":{"__isSmartRef__":true,"id":4438},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4388":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4389},"derivationIds":[null],"id":"37B90BC6-033E-45A4-B25D-E5373D69D7DF","renderContextTable":{"__isSmartRef__":true,"id":4393},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4394}],"eventHandler":{"__isSmartRef__":true,"id":4396},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4387},"_Position":{"__isSmartRef__":true,"id":4397},"priorExtent":{"__isSmartRef__":true,"id":4398},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4399},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4389":{"_Position":{"__isSmartRef__":true,"id":4390},"renderContextTable":{"__isSmartRef__":true,"id":4391},"_Extent":{"__isSmartRef__":true,"id":4392},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-37b90bc6-033e-45a4-b25d-e5373d69d7df","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4390":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4391":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4392":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4393":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4394":{"style":{"__isSmartRef__":true,"id":4395},"chunkOwner":{"__isSmartRef__":true,"id":4388},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4395":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4396":{"morph":{"__isSmartRef__":true,"id":4388},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4397":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4398":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4399":{"onMouseDown":{"__isSmartRef__":true,"id":4400}},"4400":{"varMapping":{"__isSmartRef__":true,"id":4401},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4401":{"this":{"__isSmartRef__":true,"id":4388},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4402}},"4402":{"$super":{"__isSmartRef__":true,"id":4403}},"4403":{"varMapping":{"__isSmartRef__":true,"id":4404},"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":4405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4404":{"obj":{"__isSmartRef__":true,"id":4388},"name":"onMouseDown"},"4405":{},"4406":{},"4407":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4408},"derivationIds":[null],"id":"527B3529-DE90-4EE3-BB70-DFD155D4B903","renderContextTable":{"__isSmartRef__":true,"id":4412},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4413},{"__isSmartRef__":true,"id":4415}],"cachedTextString":"droppingEnabled ","eventHandler":{"__isSmartRef__":true,"id":4417},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4387},"_Position":{"__isSmartRef__":true,"id":4418},"priorExtent":{"__isSmartRef__":true,"id":4419},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4420},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4408":{"_Position":{"__isSmartRef__":true,"id":4409},"renderContextTable":{"__isSmartRef__":true,"id":4410},"_Extent":{"__isSmartRef__":true,"id":4411},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-527b3529-de90-4ee3-bb70-dfd155d4b903","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4409":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4410":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4411":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4412":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4413":{"style":{"__isSmartRef__":true,"id":4414},"chunkOwner":{"__isSmartRef__":true,"id":4407},"storedString":"droppingEnabled ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4414":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4415":{"style":{"__isSmartRef__":true,"id":4416},"chunkOwner":{"__isSmartRef__":true,"id":4407},"storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4416":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4417":{"morph":{"__isSmartRef__":true,"id":4407},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4418":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4419":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4420":{"onMouseDown":{"__isSmartRef__":true,"id":4421}},"4421":{"varMapping":{"__isSmartRef__":true,"id":4422},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4427},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4422":{"this":{"__isSmartRef__":true,"id":4407},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4423}},"4423":{"$super":{"__isSmartRef__":true,"id":4424}},"4424":{"varMapping":{"__isSmartRef__":true,"id":4425},"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":4426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4425":{"obj":{"__isSmartRef__":true,"id":4407},"name":"onMouseDown"},"4426":{},"4427":{},"4428":{"_Position":{"__isSmartRef__":true,"id":4429},"renderContextTable":{"__isSmartRef__":true,"id":4430},"_Extent":{"__isSmartRef__":true,"id":4431},"_Padding":{"__isSmartRef__":true,"id":4432},"_NodeClass":["morph","box"],"_NodeId":"morph-475619d4-0c71-410f-80d3-62dfe3a0037d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4429":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4430":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4431":{"x":149,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4432":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4433":{"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","setStyleSheet":"setStyleSheetHTML"},"4434":{"morph":{"__isSmartRef__":true,"id":4387},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4435":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4436":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4437}},"4437":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4387},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4438":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4439":{"_Position":{"__isSmartRef__":true,"id":4440},"renderContextTable":{"__isSmartRef__":true,"id":4441},"_Extent":{"__isSmartRef__":true,"id":4442},"_Padding":{"__isSmartRef__":true,"id":4443},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-8d0f1f72-051f-490c-85d0-e521b8abcce3","_Fill":{"__isSmartRef__":true,"id":4444},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4440":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4442":{"x":159,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4443":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4444":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4445":{"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","setStyleSheet":"setStyleSheetHTML"},"4446":{"morph":{"__isSmartRef__":true,"id":4386},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4447":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4448":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4449}},"4449":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4450},"spacing":0,"container":{"__isSmartRef__":true,"id":4386},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4450":{"top":0,"right":0,"bottom":0,"left":0},"4451":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4452":{"onSelect":{"__isSmartRef__":true,"id":4453},"onUpdate":{"__isSmartRef__":true,"id":4456}},"4453":{"varMapping":{"__isSmartRef__":true,"id":4454},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4454":{"this":{"__isSmartRef__":true,"id":4384}},"4455":{},"4456":{"varMapping":{"__isSmartRef__":true,"id":4457},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4457":{"this":{"__isSmartRef__":true,"id":4384}},"4458":{},"4459":{"data":{"__isSmartRef__":true,"id":2126},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"eventHandler","description":"EventHandler","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4460}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4527}},"4460":{"sourceObj":{"__isSmartRef__":true,"id":4459},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4461},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4461":{"item":{"__isSmartRef__":true,"id":4459},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4462}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4514},"derivationIds":[null],"id":"AC6FB578-DE3B-468E-A62F-D7557AAE1682","renderContextTable":{"__isSmartRef__":true,"id":4520},"eventHandler":{"__isSmartRef__":true,"id":4521},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4522},"layout":{"__isSmartRef__":true,"id":4523},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4526},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4463},"label":{"__isSmartRef__":true,"id":4482},"node":{"__isSmartRef__":true,"id":4462},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4462":{"submorphs":[{"__isSmartRef__":true,"id":4463},{"__isSmartRef__":true,"id":4482}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4503},"derivationIds":[null],"id":"0D99A52D-C736-43A8-97D5-6B5047CC762D","renderContextTable":{"__isSmartRef__":true,"id":4508},"eventHandler":{"__isSmartRef__":true,"id":4509},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4510},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4511},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4461},"priorExtent":{"__isSmartRef__":true,"id":4513},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4463":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4464},"derivationIds":[null],"id":"E471D3F3-9018-4689-B346-CB7295083251","renderContextTable":{"__isSmartRef__":true,"id":4468},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4469}],"eventHandler":{"__isSmartRef__":true,"id":4471},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4462},"_Position":{"__isSmartRef__":true,"id":4472},"priorExtent":{"__isSmartRef__":true,"id":4473},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4474},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4464":{"_Position":{"__isSmartRef__":true,"id":4465},"renderContextTable":{"__isSmartRef__":true,"id":4466},"_Extent":{"__isSmartRef__":true,"id":4467},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-e471d3f3-9018-4689-b346-cb7295083251","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4465":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4466":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4467":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4468":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4469":{"style":{"__isSmartRef__":true,"id":4470},"chunkOwner":{"__isSmartRef__":true,"id":4463},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4470":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4471":{"morph":{"__isSmartRef__":true,"id":4463},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4472":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4473":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4474":{"onMouseDown":{"__isSmartRef__":true,"id":4475}},"4475":{"varMapping":{"__isSmartRef__":true,"id":4476},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4481},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4476":{"this":{"__isSmartRef__":true,"id":4463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4477}},"4477":{"$super":{"__isSmartRef__":true,"id":4478}},"4478":{"varMapping":{"__isSmartRef__":true,"id":4479},"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":4480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4479":{"obj":{"__isSmartRef__":true,"id":4463},"name":"onMouseDown"},"4480":{},"4481":{},"4482":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4483},"derivationIds":[null],"id":"DBAB272B-D6A8-4385-921B-9BB73CE0B635","renderContextTable":{"__isSmartRef__":true,"id":4487},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4488},{"__isSmartRef__":true,"id":4490}],"cachedTextString":"eventHandler ","eventHandler":{"__isSmartRef__":true,"id":4492},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4462},"_Position":{"__isSmartRef__":true,"id":4493},"priorExtent":{"__isSmartRef__":true,"id":4494},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4495},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4483":{"_Position":{"__isSmartRef__":true,"id":4484},"renderContextTable":{"__isSmartRef__":true,"id":4485},"_Extent":{"__isSmartRef__":true,"id":4486},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-dbab272b-d6a8-4385-921b-9bb73ce0b635","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4484":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4485":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4486":{"x":166,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4487":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4488":{"style":{"__isSmartRef__":true,"id":4489},"chunkOwner":{"__isSmartRef__":true,"id":4482},"storedString":"eventHandler ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4489":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4490":{"style":{"__isSmartRef__":true,"id":4491},"chunkOwner":{"__isSmartRef__":true,"id":4482},"storedString":"EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4491":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4492":{"morph":{"__isSmartRef__":true,"id":4482},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4493":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4494":{"x":166,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4495":{"onMouseDown":{"__isSmartRef__":true,"id":4496}},"4496":{"varMapping":{"__isSmartRef__":true,"id":4497},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4497":{"this":{"__isSmartRef__":true,"id":4482},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4498}},"4498":{"$super":{"__isSmartRef__":true,"id":4499}},"4499":{"varMapping":{"__isSmartRef__":true,"id":4500},"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":4501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4500":{"obj":{"__isSmartRef__":true,"id":4482},"name":"onMouseDown"},"4501":{},"4502":{},"4503":{"_Position":{"__isSmartRef__":true,"id":4504},"renderContextTable":{"__isSmartRef__":true,"id":4505},"_Extent":{"__isSmartRef__":true,"id":4506},"_Padding":{"__isSmartRef__":true,"id":4507},"_NodeClass":["morph","box"],"_NodeId":"morph-0d99a52d-c736-43a8-97d5-6b5047cc762d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4504":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4505":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4506":{"x":181,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4507":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4508":{"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","setStyleSheet":"setStyleSheetHTML"},"4509":{"morph":{"__isSmartRef__":true,"id":4462},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4510":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4511":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4512}},"4512":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4462},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4513":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4514":{"_Position":{"__isSmartRef__":true,"id":4515},"renderContextTable":{"__isSmartRef__":true,"id":4516},"_Extent":{"__isSmartRef__":true,"id":4517},"_Padding":{"__isSmartRef__":true,"id":4518},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-ac6fb578-de3b-468e-a62f-d7557aae1682","_Fill":{"__isSmartRef__":true,"id":4519},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4515":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4517":{"x":191,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4518":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4519":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4520":{"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","setStyleSheet":"setStyleSheetHTML"},"4521":{"morph":{"__isSmartRef__":true,"id":4461},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4522":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4523":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4524}},"4524":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4525},"spacing":0,"container":{"__isSmartRef__":true,"id":4461},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4525":{"top":0,"right":0,"bottom":0,"left":0},"4526":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4527":{"onSelect":{"__isSmartRef__":true,"id":4528},"onExpand":{"__isSmartRef__":true,"id":4531},"onUpdateChildren":{"__isSmartRef__":true,"id":4534},"onUpdate":{"__isSmartRef__":true,"id":4537}},"4528":{"varMapping":{"__isSmartRef__":true,"id":4529},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4529":{"this":{"__isSmartRef__":true,"id":4459}},"4530":{},"4531":{"varMapping":{"__isSmartRef__":true,"id":4532},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4532":{"this":{"__isSmartRef__":true,"id":4459}},"4533":{},"4534":{"varMapping":{"__isSmartRef__":true,"id":4535},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4535":{"this":{"__isSmartRef__":true,"id":4459}},"4536":{},"4537":{"varMapping":{"__isSmartRef__":true,"id":4538},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4538":{"this":{"__isSmartRef__":true,"id":4459}},"4539":{},"4540":{"data":true,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"eventsAreIgnored","description":"true","attributeConnections":[{"__isSmartRef__":true,"id":4541}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4608}},"4541":{"sourceObj":{"__isSmartRef__":true,"id":4540},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4542},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4542":{"item":{"__isSmartRef__":true,"id":4540},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4543}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4595},"derivationIds":[null],"id":"CE82FE60-E037-4BE3-BD06-D1C8F2948927","renderContextTable":{"__isSmartRef__":true,"id":4601},"eventHandler":{"__isSmartRef__":true,"id":4602},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4603},"layout":{"__isSmartRef__":true,"id":4604},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4607},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4544},"label":{"__isSmartRef__":true,"id":4563},"node":{"__isSmartRef__":true,"id":4543},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4543":{"submorphs":[{"__isSmartRef__":true,"id":4544},{"__isSmartRef__":true,"id":4563}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4584},"derivationIds":[null],"id":"19BBA1EF-385D-4EFB-90CD-668C7B7F6C17","renderContextTable":{"__isSmartRef__":true,"id":4589},"eventHandler":{"__isSmartRef__":true,"id":4590},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4591},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4592},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4542},"priorExtent":{"__isSmartRef__":true,"id":4594},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4544":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4545},"derivationIds":[null],"id":"4B39FC73-BC68-4913-9F9F-A6ABE1D8C2D6","renderContextTable":{"__isSmartRef__":true,"id":4549},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4550}],"eventHandler":{"__isSmartRef__":true,"id":4552},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4543},"_Position":{"__isSmartRef__":true,"id":4553},"priorExtent":{"__isSmartRef__":true,"id":4554},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4555},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4545":{"_Position":{"__isSmartRef__":true,"id":4546},"renderContextTable":{"__isSmartRef__":true,"id":4547},"_Extent":{"__isSmartRef__":true,"id":4548},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-4b39fc73-bc68-4913-9f9f-a6abe1d8c2d6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4546":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4547":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4548":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4549":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4550":{"style":{"__isSmartRef__":true,"id":4551},"chunkOwner":{"__isSmartRef__":true,"id":4544},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4551":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4552":{"morph":{"__isSmartRef__":true,"id":4544},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4553":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4554":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4555":{"onMouseDown":{"__isSmartRef__":true,"id":4556}},"4556":{"varMapping":{"__isSmartRef__":true,"id":4557},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4562},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4557":{"this":{"__isSmartRef__":true,"id":4544},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4558}},"4558":{"$super":{"__isSmartRef__":true,"id":4559}},"4559":{"varMapping":{"__isSmartRef__":true,"id":4560},"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":4561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4560":{"obj":{"__isSmartRef__":true,"id":4544},"name":"onMouseDown"},"4561":{},"4562":{},"4563":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4564},"derivationIds":[null],"id":"F97E2FF7-3662-4EA8-A108-696FA7A93D5A","renderContextTable":{"__isSmartRef__":true,"id":4568},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4569},{"__isSmartRef__":true,"id":4571}],"cachedTextString":"eventsAreIgnored ","eventHandler":{"__isSmartRef__":true,"id":4573},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4543},"_Position":{"__isSmartRef__":true,"id":4574},"priorExtent":{"__isSmartRef__":true,"id":4575},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4576},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4564":{"_Position":{"__isSmartRef__":true,"id":4565},"renderContextTable":{"__isSmartRef__":true,"id":4566},"_Extent":{"__isSmartRef__":true,"id":4567},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f97e2ff7-3662-4ea8-a108-696fa7a93d5a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4565":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4567":{"x":137,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4568":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4569":{"style":{"__isSmartRef__":true,"id":4570},"chunkOwner":{"__isSmartRef__":true,"id":4563},"storedString":"eventsAreIgnored ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4570":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4571":{"style":{"__isSmartRef__":true,"id":4572},"chunkOwner":{"__isSmartRef__":true,"id":4563},"storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4572":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4573":{"morph":{"__isSmartRef__":true,"id":4563},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4574":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4575":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4576":{"onMouseDown":{"__isSmartRef__":true,"id":4577}},"4577":{"varMapping":{"__isSmartRef__":true,"id":4578},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4583},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4578":{"this":{"__isSmartRef__":true,"id":4563},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4579}},"4579":{"$super":{"__isSmartRef__":true,"id":4580}},"4580":{"varMapping":{"__isSmartRef__":true,"id":4581},"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":4582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4581":{"obj":{"__isSmartRef__":true,"id":4563},"name":"onMouseDown"},"4582":{},"4583":{},"4584":{"_Position":{"__isSmartRef__":true,"id":4585},"renderContextTable":{"__isSmartRef__":true,"id":4586},"_Extent":{"__isSmartRef__":true,"id":4587},"_Padding":{"__isSmartRef__":true,"id":4588},"_NodeClass":["morph","box"],"_NodeId":"morph-19bba1ef-385d-4efb-90cd-668c7b7f6c17","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4585":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4586":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4587":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4588":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4589":{"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","setStyleSheet":"setStyleSheetHTML"},"4590":{"morph":{"__isSmartRef__":true,"id":4543},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4591":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4592":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4593}},"4593":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4543},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4594":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4595":{"_Position":{"__isSmartRef__":true,"id":4596},"renderContextTable":{"__isSmartRef__":true,"id":4597},"_Extent":{"__isSmartRef__":true,"id":4598},"_Padding":{"__isSmartRef__":true,"id":4599},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-ce82fe60-e037-4be3-bd06-d1c8f2948927","_Fill":{"__isSmartRef__":true,"id":4600},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4596":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4597":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4598":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4599":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4600":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4601":{"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","setStyleSheet":"setStyleSheetHTML"},"4602":{"morph":{"__isSmartRef__":true,"id":4542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4603":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4604":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4605}},"4605":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4606},"spacing":0,"container":{"__isSmartRef__":true,"id":4542},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4606":{"top":0,"right":0,"bottom":0,"left":0},"4607":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4608":{"onSelect":{"__isSmartRef__":true,"id":4609},"onUpdate":{"__isSmartRef__":true,"id":4612}},"4609":{"varMapping":{"__isSmartRef__":true,"id":4610},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4610":{"this":{"__isSmartRef__":true,"id":4540}},"4611":{},"4612":{"varMapping":{"__isSmartRef__":true,"id":4613},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4614},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4613":{"this":{"__isSmartRef__":true,"id":4540}},"4614":{},"4615":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"halos","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":4616}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4683}},"4616":{"sourceObj":{"__isSmartRef__":true,"id":4615},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4617},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4617":{"item":{"__isSmartRef__":true,"id":4615},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4618}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4670},"derivationIds":[null],"id":"C1DA5262-5C1B-437E-811F-39B1113D1DFE","renderContextTable":{"__isSmartRef__":true,"id":4676},"eventHandler":{"__isSmartRef__":true,"id":4677},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4678},"layout":{"__isSmartRef__":true,"id":4679},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4682},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4619},"label":{"__isSmartRef__":true,"id":4638},"node":{"__isSmartRef__":true,"id":4618},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4618":{"submorphs":[{"__isSmartRef__":true,"id":4619},{"__isSmartRef__":true,"id":4638}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4659},"derivationIds":[null],"id":"DCDE68AD-5F81-4A79-9AE5-E1171BE994EA","renderContextTable":{"__isSmartRef__":true,"id":4664},"eventHandler":{"__isSmartRef__":true,"id":4665},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4666},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4667},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4617},"priorExtent":{"__isSmartRef__":true,"id":4669},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4619":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4620},"derivationIds":[null],"id":"2B04D756-B10A-4D8E-A981-936566A2642E","renderContextTable":{"__isSmartRef__":true,"id":4624},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4625}],"eventHandler":{"__isSmartRef__":true,"id":4627},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4618},"_Position":{"__isSmartRef__":true,"id":4628},"priorExtent":{"__isSmartRef__":true,"id":4629},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4630},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4620":{"_Position":{"__isSmartRef__":true,"id":4621},"renderContextTable":{"__isSmartRef__":true,"id":4622},"_Extent":{"__isSmartRef__":true,"id":4623},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2b04d756-b10a-4d8e-a981-936566a2642e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4621":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4622":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4623":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4624":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4625":{"style":{"__isSmartRef__":true,"id":4626},"chunkOwner":{"__isSmartRef__":true,"id":4619},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4626":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4627":{"morph":{"__isSmartRef__":true,"id":4619},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4628":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4629":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4630":{"onMouseDown":{"__isSmartRef__":true,"id":4631}},"4631":{"varMapping":{"__isSmartRef__":true,"id":4632},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4632":{"this":{"__isSmartRef__":true,"id":4619},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4633}},"4633":{"$super":{"__isSmartRef__":true,"id":4634}},"4634":{"varMapping":{"__isSmartRef__":true,"id":4635},"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":4636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4635":{"obj":{"__isSmartRef__":true,"id":4619},"name":"onMouseDown"},"4636":{},"4637":{},"4638":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4639},"derivationIds":[null],"id":"3416FE70-585C-4F97-991E-0CDDF8F34199","renderContextTable":{"__isSmartRef__":true,"id":4643},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4644},{"__isSmartRef__":true,"id":4646}],"cachedTextString":"halos ","eventHandler":{"__isSmartRef__":true,"id":4648},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4618},"_Position":{"__isSmartRef__":true,"id":4649},"priorExtent":{"__isSmartRef__":true,"id":4650},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4651},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4639":{"_Position":{"__isSmartRef__":true,"id":4640},"renderContextTable":{"__isSmartRef__":true,"id":4641},"_Extent":{"__isSmartRef__":true,"id":4642},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3416fe70-585c-4f97-991e-0cddf8f34199","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4640":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4641":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4642":{"x":47,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4643":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4644":{"style":{"__isSmartRef__":true,"id":4645},"chunkOwner":{"__isSmartRef__":true,"id":4638},"storedString":"halos ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4645":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4646":{"style":{"__isSmartRef__":true,"id":4647},"chunkOwner":{"__isSmartRef__":true,"id":4638},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4647":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4648":{"morph":{"__isSmartRef__":true,"id":4638},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4649":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4650":{"x":59,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4651":{"onMouseDown":{"__isSmartRef__":true,"id":4652}},"4652":{"varMapping":{"__isSmartRef__":true,"id":4653},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4653":{"this":{"__isSmartRef__":true,"id":4638},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4654}},"4654":{"$super":{"__isSmartRef__":true,"id":4655}},"4655":{"varMapping":{"__isSmartRef__":true,"id":4656},"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":4657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4656":{"obj":{"__isSmartRef__":true,"id":4638},"name":"onMouseDown"},"4657":{},"4658":{},"4659":{"_Position":{"__isSmartRef__":true,"id":4660},"renderContextTable":{"__isSmartRef__":true,"id":4661},"_Extent":{"__isSmartRef__":true,"id":4662},"_Padding":{"__isSmartRef__":true,"id":4663},"_NodeClass":["morph","box"],"_NodeId":"morph-dcde68ad-5f81-4a79-9ae5-e1171be994ea","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4660":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4661":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4662":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4663":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4664":{"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","setStyleSheet":"setStyleSheetHTML"},"4665":{"morph":{"__isSmartRef__":true,"id":4618},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4666":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4667":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4668}},"4668":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4618},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4669":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4670":{"_Position":{"__isSmartRef__":true,"id":4671},"renderContextTable":{"__isSmartRef__":true,"id":4672},"_Extent":{"__isSmartRef__":true,"id":4673},"_Padding":{"__isSmartRef__":true,"id":4674},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-c1da5262-5c1b-437e-811f-39b1113d1dfe","_Fill":{"__isSmartRef__":true,"id":4675},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4671":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4672":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4673":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4674":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4675":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4676":{"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","setStyleSheet":"setStyleSheetHTML"},"4677":{"morph":{"__isSmartRef__":true,"id":4617},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4678":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4679":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4680}},"4680":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4681},"spacing":0,"container":{"__isSmartRef__":true,"id":4617},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4681":{"top":0,"right":0,"bottom":0,"left":0},"4682":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4683":{"onSelect":{"__isSmartRef__":true,"id":4684},"onExpand":{"__isSmartRef__":true,"id":4687},"onUpdateChildren":{"__isSmartRef__":true,"id":4690},"onUpdate":{"__isSmartRef__":true,"id":4693}},"4684":{"varMapping":{"__isSmartRef__":true,"id":4685},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4685":{"this":{"__isSmartRef__":true,"id":4615}},"4686":{},"4687":{"varMapping":{"__isSmartRef__":true,"id":4688},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4688":{"this":{"__isSmartRef__":true,"id":4615}},"4689":{},"4690":{"varMapping":{"__isSmartRef__":true,"id":4691},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":4692},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4691":{"this":{"__isSmartRef__":true,"id":4615}},"4692":{},"4693":{"varMapping":{"__isSmartRef__":true,"id":4694},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4695},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4694":{"this":{"__isSmartRef__":true,"id":4615}},"4695":{},"4696":{"data":true,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"halosEnabled","description":"true","attributeConnections":[{"__isSmartRef__":true,"id":4697}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4764}},"4697":{"sourceObj":{"__isSmartRef__":true,"id":4696},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4698},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4698":{"item":{"__isSmartRef__":true,"id":4696},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4699}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4751},"derivationIds":[null],"id":"ACA619AE-B566-4F0E-BA34-777F36C1D8DD","renderContextTable":{"__isSmartRef__":true,"id":4757},"eventHandler":{"__isSmartRef__":true,"id":4758},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4759},"layout":{"__isSmartRef__":true,"id":4760},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4763},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4700},"label":{"__isSmartRef__":true,"id":4719},"node":{"__isSmartRef__":true,"id":4699},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4699":{"submorphs":[{"__isSmartRef__":true,"id":4700},{"__isSmartRef__":true,"id":4719}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4740},"derivationIds":[null],"id":"76EB579D-4396-48CE-BF51-9F3F3673DBEC","renderContextTable":{"__isSmartRef__":true,"id":4745},"eventHandler":{"__isSmartRef__":true,"id":4746},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4747},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4748},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4698},"priorExtent":{"__isSmartRef__":true,"id":4750},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4700":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4701},"derivationIds":[null],"id":"D641907C-44F3-4E23-AAC8-B266CA1951B7","renderContextTable":{"__isSmartRef__":true,"id":4705},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4706}],"eventHandler":{"__isSmartRef__":true,"id":4708},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4699},"_Position":{"__isSmartRef__":true,"id":4709},"priorExtent":{"__isSmartRef__":true,"id":4710},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4711},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4701":{"_Position":{"__isSmartRef__":true,"id":4702},"renderContextTable":{"__isSmartRef__":true,"id":4703},"_Extent":{"__isSmartRef__":true,"id":4704},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-d641907c-44f3-4e23-aac8-b266ca1951b7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4702":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4703":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4704":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4705":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4706":{"style":{"__isSmartRef__":true,"id":4707},"chunkOwner":{"__isSmartRef__":true,"id":4700},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4707":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4708":{"morph":{"__isSmartRef__":true,"id":4700},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4709":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4710":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4711":{"onMouseDown":{"__isSmartRef__":true,"id":4712}},"4712":{"varMapping":{"__isSmartRef__":true,"id":4713},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4713":{"this":{"__isSmartRef__":true,"id":4700},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4714}},"4714":{"$super":{"__isSmartRef__":true,"id":4715}},"4715":{"varMapping":{"__isSmartRef__":true,"id":4716},"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":4717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4716":{"obj":{"__isSmartRef__":true,"id":4700},"name":"onMouseDown"},"4717":{},"4718":{},"4719":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4720},"derivationIds":[null],"id":"8B12285A-72EB-40D5-BB89-FF181D58DEB4","renderContextTable":{"__isSmartRef__":true,"id":4724},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4725},{"__isSmartRef__":true,"id":4727}],"cachedTextString":"halosEnabled ","eventHandler":{"__isSmartRef__":true,"id":4729},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4699},"_Position":{"__isSmartRef__":true,"id":4730},"priorExtent":{"__isSmartRef__":true,"id":4731},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4732},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4720":{"_Position":{"__isSmartRef__":true,"id":4721},"renderContextTable":{"__isSmartRef__":true,"id":4722},"_Extent":{"__isSmartRef__":true,"id":4723},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-8b12285a-72eb-40d5-bb89-ff181d58deb4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4721":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4722":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4723":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4724":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4725":{"style":{"__isSmartRef__":true,"id":4726},"chunkOwner":{"__isSmartRef__":true,"id":4719},"storedString":"halosEnabled ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4726":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4727":{"style":{"__isSmartRef__":true,"id":4728},"chunkOwner":{"__isSmartRef__":true,"id":4719},"storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4728":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4729":{"morph":{"__isSmartRef__":true,"id":4719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4730":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4731":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4732":{"onMouseDown":{"__isSmartRef__":true,"id":4733}},"4733":{"varMapping":{"__isSmartRef__":true,"id":4734},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4734":{"this":{"__isSmartRef__":true,"id":4719},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4735}},"4735":{"$super":{"__isSmartRef__":true,"id":4736}},"4736":{"varMapping":{"__isSmartRef__":true,"id":4737},"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":4738},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4737":{"obj":{"__isSmartRef__":true,"id":4719},"name":"onMouseDown"},"4738":{},"4739":{},"4740":{"_Position":{"__isSmartRef__":true,"id":4741},"renderContextTable":{"__isSmartRef__":true,"id":4742},"_Extent":{"__isSmartRef__":true,"id":4743},"_Padding":{"__isSmartRef__":true,"id":4744},"_NodeClass":["morph","box"],"_NodeId":"morph-76eb579d-4396-48ce-bf51-9f3f3673dbec","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4741":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4742":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4743":{"x":131,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4744":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4745":{"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","setStyleSheet":"setStyleSheetHTML"},"4746":{"morph":{"__isSmartRef__":true,"id":4699},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4747":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4748":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4749}},"4749":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4699},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4750":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4751":{"_Position":{"__isSmartRef__":true,"id":4752},"renderContextTable":{"__isSmartRef__":true,"id":4753},"_Extent":{"__isSmartRef__":true,"id":4754},"_Padding":{"__isSmartRef__":true,"id":4755},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-aca619ae-b566-4f0e-ba34-777f36c1d8dd","_Fill":{"__isSmartRef__":true,"id":4756},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4752":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4753":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4754":{"x":141,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4755":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4756":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4757":{"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","setStyleSheet":"setStyleSheetHTML"},"4758":{"morph":{"__isSmartRef__":true,"id":4698},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4759":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4760":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4761}},"4761":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4762},"spacing":0,"container":{"__isSmartRef__":true,"id":4698},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4762":{"top":0,"right":0,"bottom":0,"left":0},"4763":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4764":{"onSelect":{"__isSmartRef__":true,"id":4765},"onUpdate":{"__isSmartRef__":true,"id":4768}},"4765":{"varMapping":{"__isSmartRef__":true,"id":4766},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4767},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4766":{"this":{"__isSmartRef__":true,"id":4696}},"4767":{},"4768":{"varMapping":{"__isSmartRef__":true,"id":4769},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4769":{"this":{"__isSmartRef__":true,"id":4696}},"4770":{},"4771":{"data":"4D88A97C-EA84-48C2-94C8-63D266332075","inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"id","description":"4D88A97C-EA84-48C2-94C8-63D266332075...","attributeConnections":[{"__isSmartRef__":true,"id":4772}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4839}},"4772":{"sourceObj":{"__isSmartRef__":true,"id":4771},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4773},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4773":{"item":{"__isSmartRef__":true,"id":4771},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4774}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4826},"derivationIds":[null],"id":"45DD4687-0A05-4D27-A5EF-D1B3B1CA2EB5","renderContextTable":{"__isSmartRef__":true,"id":4832},"eventHandler":{"__isSmartRef__":true,"id":4833},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4834},"layout":{"__isSmartRef__":true,"id":4835},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4838},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4775},"label":{"__isSmartRef__":true,"id":4794},"node":{"__isSmartRef__":true,"id":4774},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4774":{"submorphs":[{"__isSmartRef__":true,"id":4775},{"__isSmartRef__":true,"id":4794}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4815},"derivationIds":[null],"id":"443FF792-1C40-4B74-A1DA-7EED79D0CC7F","renderContextTable":{"__isSmartRef__":true,"id":4820},"eventHandler":{"__isSmartRef__":true,"id":4821},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4822},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4823},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4773},"priorExtent":{"__isSmartRef__":true,"id":4825},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4775":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4776},"derivationIds":[null],"id":"0657E7DD-267B-4948-96E7-D10D5688462E","renderContextTable":{"__isSmartRef__":true,"id":4780},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4781}],"eventHandler":{"__isSmartRef__":true,"id":4783},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4774},"_Position":{"__isSmartRef__":true,"id":4784},"priorExtent":{"__isSmartRef__":true,"id":4785},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4786},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4776":{"_Position":{"__isSmartRef__":true,"id":4777},"renderContextTable":{"__isSmartRef__":true,"id":4778},"_Extent":{"__isSmartRef__":true,"id":4779},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-0657e7dd-267b-4948-96e7-d10d5688462e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4777":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4778":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4779":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4780":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4781":{"style":{"__isSmartRef__":true,"id":4782},"chunkOwner":{"__isSmartRef__":true,"id":4775},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4782":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4783":{"morph":{"__isSmartRef__":true,"id":4775},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4784":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4785":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4786":{"onMouseDown":{"__isSmartRef__":true,"id":4787}},"4787":{"varMapping":{"__isSmartRef__":true,"id":4788},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4793},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4788":{"this":{"__isSmartRef__":true,"id":4775},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4789}},"4789":{"$super":{"__isSmartRef__":true,"id":4790}},"4790":{"varMapping":{"__isSmartRef__":true,"id":4791},"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":4792},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4791":{"obj":{"__isSmartRef__":true,"id":4775},"name":"onMouseDown"},"4792":{},"4793":{},"4794":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4795},"derivationIds":[null],"id":"30196427-5F0E-488E-AAE8-6CE09CE5C026","renderContextTable":{"__isSmartRef__":true,"id":4799},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4800},{"__isSmartRef__":true,"id":4802}],"cachedTextString":"id ","eventHandler":{"__isSmartRef__":true,"id":4804},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4774},"_Position":{"__isSmartRef__":true,"id":4805},"priorExtent":{"__isSmartRef__":true,"id":4806},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4807},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4795":{"_Position":{"__isSmartRef__":true,"id":4796},"renderContextTable":{"__isSmartRef__":true,"id":4797},"_Extent":{"__isSmartRef__":true,"id":4798},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-30196427-5f0e-488e-aae8-6ce09ce5c026","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4796":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4797":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4798":{"x":294,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4799":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4800":{"style":{"__isSmartRef__":true,"id":4801},"chunkOwner":{"__isSmartRef__":true,"id":4794},"storedString":"id ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4801":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4802":{"style":{"__isSmartRef__":true,"id":4803},"chunkOwner":{"__isSmartRef__":true,"id":4794},"storedString":"4D88A97C-EA84-48C2-94C8-63D266332075...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4803":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4804":{"morph":{"__isSmartRef__":true,"id":4794},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4805":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4806":{"x":294,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4807":{"onMouseDown":{"__isSmartRef__":true,"id":4808}},"4808":{"varMapping":{"__isSmartRef__":true,"id":4809},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4809":{"this":{"__isSmartRef__":true,"id":4794},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4810}},"4810":{"$super":{"__isSmartRef__":true,"id":4811}},"4811":{"varMapping":{"__isSmartRef__":true,"id":4812},"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":4813},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4812":{"obj":{"__isSmartRef__":true,"id":4794},"name":"onMouseDown"},"4813":{},"4814":{},"4815":{"_Position":{"__isSmartRef__":true,"id":4816},"renderContextTable":{"__isSmartRef__":true,"id":4817},"_Extent":{"__isSmartRef__":true,"id":4818},"_Padding":{"__isSmartRef__":true,"id":4819},"_NodeClass":["morph","box"],"_NodeId":"morph-443ff792-1c40-4b74-a1da-7eed79d0cc7f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4816":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4818":{"x":309,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4819":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4820":{"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","setStyleSheet":"setStyleSheetHTML"},"4821":{"morph":{"__isSmartRef__":true,"id":4774},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4822":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4823":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4824}},"4824":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4774},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4825":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4826":{"_Position":{"__isSmartRef__":true,"id":4827},"renderContextTable":{"__isSmartRef__":true,"id":4828},"_Extent":{"__isSmartRef__":true,"id":4829},"_Padding":{"__isSmartRef__":true,"id":4830},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-45dd4687-0a05-4d27-a5ef-d1b3b1ca2eb5","_Fill":{"__isSmartRef__":true,"id":4831},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4827":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4828":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4829":{"x":319,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4830":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4831":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4832":{"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","setStyleSheet":"setStyleSheetHTML"},"4833":{"morph":{"__isSmartRef__":true,"id":4773},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4834":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4835":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4836}},"4836":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4837},"spacing":0,"container":{"__isSmartRef__":true,"id":4773},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4837":{"top":0,"right":0,"bottom":0,"left":0},"4838":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4839":{"onSelect":{"__isSmartRef__":true,"id":4840},"onUpdate":{"__isSmartRef__":true,"id":4843}},"4840":{"varMapping":{"__isSmartRef__":true,"id":4841},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4842},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4841":{"this":{"__isSmartRef__":true,"id":4771}},"4842":{},"4843":{"varMapping":{"__isSmartRef__":true,"id":4844},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4844":{"this":{"__isSmartRef__":true,"id":4771}},"4845":{},"4846":{"data":false,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"isBeingDragged","description":"false","attributeConnections":[{"__isSmartRef__":true,"id":4847}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4914}},"4847":{"sourceObj":{"__isSmartRef__":true,"id":4846},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4848},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4848":{"item":{"__isSmartRef__":true,"id":4846},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4849}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4901},"derivationIds":[null],"id":"C33B11B7-A04D-4EF8-B97E-75157568E239","renderContextTable":{"__isSmartRef__":true,"id":4907},"eventHandler":{"__isSmartRef__":true,"id":4908},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4909},"layout":{"__isSmartRef__":true,"id":4910},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4913},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4850},"label":{"__isSmartRef__":true,"id":4869},"node":{"__isSmartRef__":true,"id":4849},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4849":{"submorphs":[{"__isSmartRef__":true,"id":4850},{"__isSmartRef__":true,"id":4869}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4890},"derivationIds":[null],"id":"D21C482B-C0B1-495E-900E-08A426DF5C51","renderContextTable":{"__isSmartRef__":true,"id":4895},"eventHandler":{"__isSmartRef__":true,"id":4896},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4897},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4898},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4848},"priorExtent":{"__isSmartRef__":true,"id":4900},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4850":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4851},"derivationIds":[null],"id":"F1C1C6B3-A1B3-49FA-8FB2-10314D466720","renderContextTable":{"__isSmartRef__":true,"id":4855},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4856}],"eventHandler":{"__isSmartRef__":true,"id":4858},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4849},"_Position":{"__isSmartRef__":true,"id":4859},"priorExtent":{"__isSmartRef__":true,"id":4860},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4861},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4851":{"_Position":{"__isSmartRef__":true,"id":4852},"renderContextTable":{"__isSmartRef__":true,"id":4853},"_Extent":{"__isSmartRef__":true,"id":4854},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f1c1c6b3-a1b3-49fa-8fb2-10314d466720","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4852":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4853":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4854":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4855":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4856":{"style":{"__isSmartRef__":true,"id":4857},"chunkOwner":{"__isSmartRef__":true,"id":4850},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4857":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4858":{"morph":{"__isSmartRef__":true,"id":4850},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4860":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4861":{"onMouseDown":{"__isSmartRef__":true,"id":4862}},"4862":{"varMapping":{"__isSmartRef__":true,"id":4863},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4863":{"this":{"__isSmartRef__":true,"id":4850},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4864}},"4864":{"$super":{"__isSmartRef__":true,"id":4865}},"4865":{"varMapping":{"__isSmartRef__":true,"id":4866},"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":4867},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4866":{"obj":{"__isSmartRef__":true,"id":4850},"name":"onMouseDown"},"4867":{},"4868":{},"4869":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4870},"derivationIds":[null],"id":"02994D7F-DEDC-4D04-A620-14F4BD29A2EE","renderContextTable":{"__isSmartRef__":true,"id":4874},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4875},{"__isSmartRef__":true,"id":4877}],"cachedTextString":"isBeingDragged ","eventHandler":{"__isSmartRef__":true,"id":4879},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4849},"_Position":{"__isSmartRef__":true,"id":4880},"priorExtent":{"__isSmartRef__":true,"id":4881},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4882},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4870":{"_Position":{"__isSmartRef__":true,"id":4871},"renderContextTable":{"__isSmartRef__":true,"id":4872},"_Extent":{"__isSmartRef__":true,"id":4873},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-02994d7f-dedc-4d04-a620-14f4bd29a2ee","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4871":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4872":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4873":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4874":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4875":{"style":{"__isSmartRef__":true,"id":4876},"chunkOwner":{"__isSmartRef__":true,"id":4869},"storedString":"isBeingDragged ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4876":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4877":{"style":{"__isSmartRef__":true,"id":4878},"chunkOwner":{"__isSmartRef__":true,"id":4869},"storedString":"false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4878":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4879":{"morph":{"__isSmartRef__":true,"id":4869},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4880":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4881":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4882":{"onMouseDown":{"__isSmartRef__":true,"id":4883}},"4883":{"varMapping":{"__isSmartRef__":true,"id":4884},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4884":{"this":{"__isSmartRef__":true,"id":4869},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4885}},"4885":{"$super":{"__isSmartRef__":true,"id":4886}},"4886":{"varMapping":{"__isSmartRef__":true,"id":4887},"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":4888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4887":{"obj":{"__isSmartRef__":true,"id":4869},"name":"onMouseDown"},"4888":{},"4889":{},"4890":{"_Position":{"__isSmartRef__":true,"id":4891},"renderContextTable":{"__isSmartRef__":true,"id":4892},"_Extent":{"__isSmartRef__":true,"id":4893},"_Padding":{"__isSmartRef__":true,"id":4894},"_NodeClass":["morph","box"],"_NodeId":"morph-d21c482b-c0b1-495e-900e-08a426df5c51","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4891":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4892":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4893":{"x":149,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4894":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4895":{"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","setStyleSheet":"setStyleSheetHTML"},"4896":{"morph":{"__isSmartRef__":true,"id":4849},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4897":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4898":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4899}},"4899":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4849},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4900":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4901":{"_Position":{"__isSmartRef__":true,"id":4902},"renderContextTable":{"__isSmartRef__":true,"id":4903},"_Extent":{"__isSmartRef__":true,"id":4904},"_Padding":{"__isSmartRef__":true,"id":4905},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-c33b11b7-a04d-4ef8-b97e-75157568e239","_Fill":{"__isSmartRef__":true,"id":4906},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4902":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4903":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4904":{"x":159,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4905":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4906":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4907":{"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","setStyleSheet":"setStyleSheetHTML"},"4908":{"morph":{"__isSmartRef__":true,"id":4848},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4909":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4910":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4911}},"4911":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4912},"spacing":0,"container":{"__isSmartRef__":true,"id":4848},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4912":{"top":0,"right":0,"bottom":0,"left":0},"4913":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4914":{"onSelect":{"__isSmartRef__":true,"id":4915},"onUpdate":{"__isSmartRef__":true,"id":4918}},"4915":{"varMapping":{"__isSmartRef__":true,"id":4916},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4917},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4916":{"this":{"__isSmartRef__":true,"id":4846}},"4917":{},"4918":{"varMapping":{"__isSmartRef__":true,"id":4919},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4920},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4919":{"this":{"__isSmartRef__":true,"id":4846}},"4920":{},"4921":{"data":true,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"moved","description":"true","attributeConnections":[{"__isSmartRef__":true,"id":4922}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4989}},"4922":{"sourceObj":{"__isSmartRef__":true,"id":4921},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4923},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4923":{"item":{"__isSmartRef__":true,"id":4921},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4924}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4976},"derivationIds":[null],"id":"676856F1-9CDD-4201-A3C1-62229B74489A","renderContextTable":{"__isSmartRef__":true,"id":4982},"eventHandler":{"__isSmartRef__":true,"id":4983},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4984},"layout":{"__isSmartRef__":true,"id":4985},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4988},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":4925},"label":{"__isSmartRef__":true,"id":4944},"node":{"__isSmartRef__":true,"id":4924},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4924":{"submorphs":[{"__isSmartRef__":true,"id":4925},{"__isSmartRef__":true,"id":4944}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4965},"derivationIds":[null],"id":"D0CE800D-996D-4874-881D-072224707505","renderContextTable":{"__isSmartRef__":true,"id":4970},"eventHandler":{"__isSmartRef__":true,"id":4971},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4972},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":4973},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4923},"priorExtent":{"__isSmartRef__":true,"id":4975},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4925":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4926},"derivationIds":[null],"id":"5A105184-333F-47C1-8E09-E2B1577EC75F","renderContextTable":{"__isSmartRef__":true,"id":4930},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4931}],"eventHandler":{"__isSmartRef__":true,"id":4933},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4924},"_Position":{"__isSmartRef__":true,"id":4934},"priorExtent":{"__isSmartRef__":true,"id":4935},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4936},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4926":{"_Position":{"__isSmartRef__":true,"id":4927},"renderContextTable":{"__isSmartRef__":true,"id":4928},"_Extent":{"__isSmartRef__":true,"id":4929},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-5a105184-333f-47c1-8e09-e2b1577ec75f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4927":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4928":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4929":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4930":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4931":{"style":{"__isSmartRef__":true,"id":4932},"chunkOwner":{"__isSmartRef__":true,"id":4925},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4932":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4933":{"morph":{"__isSmartRef__":true,"id":4925},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4934":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4935":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4936":{"onMouseDown":{"__isSmartRef__":true,"id":4937}},"4937":{"varMapping":{"__isSmartRef__":true,"id":4938},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4938":{"this":{"__isSmartRef__":true,"id":4925},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4939}},"4939":{"$super":{"__isSmartRef__":true,"id":4940}},"4940":{"varMapping":{"__isSmartRef__":true,"id":4941},"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":4942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4941":{"obj":{"__isSmartRef__":true,"id":4925},"name":"onMouseDown"},"4942":{},"4943":{},"4944":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4945},"derivationIds":[null],"id":"AE01F8DC-112F-4A74-981A-44198CCA7CAF","renderContextTable":{"__isSmartRef__":true,"id":4949},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4950},{"__isSmartRef__":true,"id":4952}],"cachedTextString":"moved ","eventHandler":{"__isSmartRef__":true,"id":4954},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4924},"_Position":{"__isSmartRef__":true,"id":4955},"priorExtent":{"__isSmartRef__":true,"id":4956},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4957},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4945":{"_Position":{"__isSmartRef__":true,"id":4946},"renderContextTable":{"__isSmartRef__":true,"id":4947},"_Extent":{"__isSmartRef__":true,"id":4948},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ae01f8dc-112f-4a74-981a-44198cca7caf","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4946":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4947":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4948":{"x":75,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4949":{"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","setStyleSheet":"setStyleSheetHTML","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"},"4950":{"style":{"__isSmartRef__":true,"id":4951},"chunkOwner":{"__isSmartRef__":true,"id":4944},"storedString":"moved ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4951":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4952":{"style":{"__isSmartRef__":true,"id":4953},"chunkOwner":{"__isSmartRef__":true,"id":4944},"storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4953":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4954":{"morph":{"__isSmartRef__":true,"id":4944},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4955":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4956":{"x":75,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4957":{"onMouseDown":{"__isSmartRef__":true,"id":4958}},"4958":{"varMapping":{"__isSmartRef__":true,"id":4959},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4964},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4959":{"this":{"__isSmartRef__":true,"id":4944},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4960}},"4960":{"$super":{"__isSmartRef__":true,"id":4961}},"4961":{"varMapping":{"__isSmartRef__":true,"id":4962},"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":4963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4962":{"obj":{"__isSmartRef__":true,"id":4944},"name":"onMouseDown"},"4963":{},"4964":{},"4965":{"_Position":{"__isSmartRef__":true,"id":4966},"renderContextTable":{"__isSmartRef__":true,"id":4967},"_Extent":{"__isSmartRef__":true,"id":4968},"_Padding":{"__isSmartRef__":true,"id":4969},"_NodeClass":["morph","box"],"_NodeId":"morph-d0ce800d-996d-4874-881d-072224707505","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4966":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4967":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4968":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4969":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4970":{"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","setStyleSheet":"setStyleSheetHTML"},"4971":{"morph":{"__isSmartRef__":true,"id":4924},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4972":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4973":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4974}},"4974":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4924},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4975":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4976":{"_Position":{"__isSmartRef__":true,"id":4977},"renderContextTable":{"__isSmartRef__":true,"id":4978},"_Extent":{"__isSmartRef__":true,"id":4979},"_Padding":{"__isSmartRef__":true,"id":4980},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-676856f1-9cdd-4201-a3c1-62229b74489a","_Fill":{"__isSmartRef__":true,"id":4981},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4977":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4978":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"4979":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4980":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4981":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4982":{"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","setStyleSheet":"setStyleSheetHTML"},"4983":{"morph":{"__isSmartRef__":true,"id":4923},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4984":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4985":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":4986}},"4986":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":4987},"spacing":0,"container":{"__isSmartRef__":true,"id":4923},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4987":{"top":0,"right":0,"bottom":0,"left":0},"4988":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4989":{"onSelect":{"__isSmartRef__":true,"id":4990},"onUpdate":{"__isSmartRef__":true,"id":4993}},"4990":{"varMapping":{"__isSmartRef__":true,"id":4991},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":4992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4991":{"this":{"__isSmartRef__":true,"id":4921}},"4992":{},"4993":{"varMapping":{"__isSmartRef__":true,"id":4994},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":4995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4994":{"this":{"__isSmartRef__":true,"id":4921}},"4995":{},"4996":{"data":"Rectangle","inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"name","description":"Rectangle","attributeConnections":[{"__isSmartRef__":true,"id":4997}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5064}},"4997":{"sourceObj":{"__isSmartRef__":true,"id":4996},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4998},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4998":{"item":{"__isSmartRef__":true,"id":4996},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":4999}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5051},"derivationIds":[null],"id":"64B1DE58-63E3-4013-B493-5450B411D5D4","renderContextTable":{"__isSmartRef__":true,"id":5057},"eventHandler":{"__isSmartRef__":true,"id":5058},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5059},"layout":{"__isSmartRef__":true,"id":5060},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5063},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5000},"label":{"__isSmartRef__":true,"id":5019},"node":{"__isSmartRef__":true,"id":4999},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"4999":{"submorphs":[{"__isSmartRef__":true,"id":5000},{"__isSmartRef__":true,"id":5019}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5040},"derivationIds":[null],"id":"11622038-5ACA-4839-BFD1-8D6F95C75232","renderContextTable":{"__isSmartRef__":true,"id":5045},"eventHandler":{"__isSmartRef__":true,"id":5046},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5047},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5048},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":4998},"priorExtent":{"__isSmartRef__":true,"id":5050},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5000":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5001},"derivationIds":[null],"id":"2C8A6A4B-2447-40E2-92B0-15B4CD046169","renderContextTable":{"__isSmartRef__":true,"id":5005},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5006}],"eventHandler":{"__isSmartRef__":true,"id":5008},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":4999},"_Position":{"__isSmartRef__":true,"id":5009},"priorExtent":{"__isSmartRef__":true,"id":5010},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5011},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5001":{"_Position":{"__isSmartRef__":true,"id":5002},"renderContextTable":{"__isSmartRef__":true,"id":5003},"_Extent":{"__isSmartRef__":true,"id":5004},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2c8a6a4b-2447-40e2-92b0-15b4cd046169","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5002":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5003":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5004":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5005":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5006":{"style":{"__isSmartRef__":true,"id":5007},"chunkOwner":{"__isSmartRef__":true,"id":5000},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5007":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5008":{"morph":{"__isSmartRef__":true,"id":5000},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5009":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5010":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5011":{"onMouseDown":{"__isSmartRef__":true,"id":5012}},"5012":{"varMapping":{"__isSmartRef__":true,"id":5013},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5013":{"this":{"__isSmartRef__":true,"id":5000},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5014}},"5014":{"$super":{"__isSmartRef__":true,"id":5015}},"5015":{"varMapping":{"__isSmartRef__":true,"id":5016},"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":5017},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5016":{"obj":{"__isSmartRef__":true,"id":5000},"name":"onMouseDown"},"5017":{},"5018":{},"5019":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5020},"derivationIds":[null],"id":"EC0C9DE0-35B8-4D42-AA59-046CAC105A4C","renderContextTable":{"__isSmartRef__":true,"id":5024},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5025},{"__isSmartRef__":true,"id":5027}],"cachedTextString":"name ","eventHandler":{"__isSmartRef__":true,"id":5029},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":4999},"_Position":{"__isSmartRef__":true,"id":5030},"priorExtent":{"__isSmartRef__":true,"id":5031},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5032},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5020":{"_Position":{"__isSmartRef__":true,"id":5021},"renderContextTable":{"__isSmartRef__":true,"id":5022},"_Extent":{"__isSmartRef__":true,"id":5023},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ec0c9de0-35b8-4d42-aa59-046cac105a4c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5021":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5022":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5023":{"x":106,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5024":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5025":{"style":{"__isSmartRef__":true,"id":5026},"chunkOwner":{"__isSmartRef__":true,"id":5019},"storedString":"name ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5026":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5027":{"style":{"__isSmartRef__":true,"id":5028},"chunkOwner":{"__isSmartRef__":true,"id":5019},"storedString":"Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5028":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5029":{"morph":{"__isSmartRef__":true,"id":5019},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5030":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5031":{"x":106,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5032":{"onMouseDown":{"__isSmartRef__":true,"id":5033}},"5033":{"varMapping":{"__isSmartRef__":true,"id":5034},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5034":{"this":{"__isSmartRef__":true,"id":5019},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5035}},"5035":{"$super":{"__isSmartRef__":true,"id":5036}},"5036":{"varMapping":{"__isSmartRef__":true,"id":5037},"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":5038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5037":{"obj":{"__isSmartRef__":true,"id":5019},"name":"onMouseDown"},"5038":{},"5039":{},"5040":{"_Position":{"__isSmartRef__":true,"id":5041},"renderContextTable":{"__isSmartRef__":true,"id":5042},"_Extent":{"__isSmartRef__":true,"id":5043},"_Padding":{"__isSmartRef__":true,"id":5044},"_NodeClass":["morph","box"],"_NodeId":"morph-11622038-5aca-4839-bfd1-8d6f95c75232","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5041":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5042":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5043":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5044":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5045":{"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","setStyleSheet":"setStyleSheetHTML"},"5046":{"morph":{"__isSmartRef__":true,"id":4999},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5047":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5048":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5049}},"5049":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":4999},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5050":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5051":{"_Position":{"__isSmartRef__":true,"id":5052},"renderContextTable":{"__isSmartRef__":true,"id":5053},"_Extent":{"__isSmartRef__":true,"id":5054},"_Padding":{"__isSmartRef__":true,"id":5055},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-64b1de58-63e3-4013-b493-5450b411d5d4","_Fill":{"__isSmartRef__":true,"id":5056},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5052":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5053":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5054":{"x":131,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5055":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5056":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5057":{"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","setStyleSheet":"setStyleSheetHTML"},"5058":{"morph":{"__isSmartRef__":true,"id":4998},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5059":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5060":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5061}},"5061":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5062},"spacing":0,"container":{"__isSmartRef__":true,"id":4998},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5062":{"top":0,"right":0,"bottom":0,"left":0},"5063":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5064":{"onSelect":{"__isSmartRef__":true,"id":5065},"onUpdate":{"__isSmartRef__":true,"id":5068}},"5065":{"varMapping":{"__isSmartRef__":true,"id":5066},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5067},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5066":{"this":{"__isSmartRef__":true,"id":4996}},"5067":{},"5068":{"varMapping":{"__isSmartRef__":true,"id":5069},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5069":{"this":{"__isSmartRef__":true,"id":4996}},"5070":{},"5071":{"data":{"__isSmartRef__":true,"id":0},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"owner","description":"World","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5072}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5139}},"5072":{"sourceObj":{"__isSmartRef__":true,"id":5071},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5073},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5073":{"item":{"__isSmartRef__":true,"id":5071},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5074}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5126},"derivationIds":[null],"id":"C4ACE687-11F2-48A8-9248-D017737768A0","renderContextTable":{"__isSmartRef__":true,"id":5132},"eventHandler":{"__isSmartRef__":true,"id":5133},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5134},"layout":{"__isSmartRef__":true,"id":5135},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5138},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5075},"label":{"__isSmartRef__":true,"id":5094},"node":{"__isSmartRef__":true,"id":5074},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5074":{"submorphs":[{"__isSmartRef__":true,"id":5075},{"__isSmartRef__":true,"id":5094}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5115},"derivationIds":[null],"id":"FB5A4324-5CB5-4AED-9777-C90A5358A9DF","renderContextTable":{"__isSmartRef__":true,"id":5120},"eventHandler":{"__isSmartRef__":true,"id":5121},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5122},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5123},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5073},"priorExtent":{"__isSmartRef__":true,"id":5125},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5075":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5076},"derivationIds":[null],"id":"2CF33818-A67D-4FB9-996D-63D8752DCDA7","renderContextTable":{"__isSmartRef__":true,"id":5080},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5081}],"eventHandler":{"__isSmartRef__":true,"id":5083},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5074},"_Position":{"__isSmartRef__":true,"id":5084},"priorExtent":{"__isSmartRef__":true,"id":5085},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5086},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5076":{"_Position":{"__isSmartRef__":true,"id":5077},"renderContextTable":{"__isSmartRef__":true,"id":5078},"_Extent":{"__isSmartRef__":true,"id":5079},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2cf33818-a67d-4fb9-996d-63d8752dcda7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5077":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5078":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5079":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5080":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5081":{"style":{"__isSmartRef__":true,"id":5082},"chunkOwner":{"__isSmartRef__":true,"id":5075},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5082":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5083":{"morph":{"__isSmartRef__":true,"id":5075},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5084":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5085":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5086":{"onMouseDown":{"__isSmartRef__":true,"id":5087}},"5087":{"varMapping":{"__isSmartRef__":true,"id":5088},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5088":{"this":{"__isSmartRef__":true,"id":5075},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5089}},"5089":{"$super":{"__isSmartRef__":true,"id":5090}},"5090":{"varMapping":{"__isSmartRef__":true,"id":5091},"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":5092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5091":{"obj":{"__isSmartRef__":true,"id":5075},"name":"onMouseDown"},"5092":{},"5093":{},"5094":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5095},"derivationIds":[null],"id":"378AB089-CD27-4707-BCBD-F34001C68A43","renderContextTable":{"__isSmartRef__":true,"id":5099},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5100},{"__isSmartRef__":true,"id":5102}],"cachedTextString":"owner ","eventHandler":{"__isSmartRef__":true,"id":5104},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5074},"_Position":{"__isSmartRef__":true,"id":5105},"priorExtent":{"__isSmartRef__":true,"id":5106},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5107},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5095":{"_Position":{"__isSmartRef__":true,"id":5096},"renderContextTable":{"__isSmartRef__":true,"id":5097},"_Extent":{"__isSmartRef__":true,"id":5098},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-378ab089-cd27-4707-bcbd-f34001c68a43","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5096":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5097":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5098":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5099":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5100":{"style":{"__isSmartRef__":true,"id":5101},"chunkOwner":{"__isSmartRef__":true,"id":5094},"storedString":"owner ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5101":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5102":{"style":{"__isSmartRef__":true,"id":5103},"chunkOwner":{"__isSmartRef__":true,"id":5094},"storedString":"World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5103":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5104":{"morph":{"__isSmartRef__":true,"id":5094},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5105":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5106":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5107":{"onMouseDown":{"__isSmartRef__":true,"id":5108}},"5108":{"varMapping":{"__isSmartRef__":true,"id":5109},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5109":{"this":{"__isSmartRef__":true,"id":5094},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5110}},"5110":{"$super":{"__isSmartRef__":true,"id":5111}},"5111":{"varMapping":{"__isSmartRef__":true,"id":5112},"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":5113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5112":{"obj":{"__isSmartRef__":true,"id":5094},"name":"onMouseDown"},"5113":{},"5114":{},"5115":{"_Position":{"__isSmartRef__":true,"id":5116},"renderContextTable":{"__isSmartRef__":true,"id":5117},"_Extent":{"__isSmartRef__":true,"id":5118},"_Padding":{"__isSmartRef__":true,"id":5119},"_NodeClass":["morph","box"],"_NodeId":"morph-fb5a4324-5cb5-4aed-9777-c90a5358a9df","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5116":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5117":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5118":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5119":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5120":{"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","setStyleSheet":"setStyleSheetHTML"},"5121":{"morph":{"__isSmartRef__":true,"id":5074},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5122":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5123":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5124}},"5124":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5074},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5125":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5126":{"_Position":{"__isSmartRef__":true,"id":5127},"renderContextTable":{"__isSmartRef__":true,"id":5128},"_Extent":{"__isSmartRef__":true,"id":5129},"_Padding":{"__isSmartRef__":true,"id":5130},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-c4ace687-11f2-48a8-9248-d017737768a0","_Fill":{"__isSmartRef__":true,"id":5131},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5127":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5128":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5129":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5130":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5131":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5132":{"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","setStyleSheet":"setStyleSheetHTML"},"5133":{"morph":{"__isSmartRef__":true,"id":5073},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5134":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5135":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5136}},"5136":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5137},"spacing":0,"container":{"__isSmartRef__":true,"id":5073},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5137":{"top":0,"right":0,"bottom":0,"left":0},"5138":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5139":{"onSelect":{"__isSmartRef__":true,"id":5140},"onExpand":{"__isSmartRef__":true,"id":5143},"onUpdateChildren":{"__isSmartRef__":true,"id":5146},"onUpdate":{"__isSmartRef__":true,"id":5149}},"5140":{"varMapping":{"__isSmartRef__":true,"id":5141},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5142},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5141":{"this":{"__isSmartRef__":true,"id":5071}},"5142":{},"5143":{"varMapping":{"__isSmartRef__":true,"id":5144},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5144":{"this":{"__isSmartRef__":true,"id":5071}},"5145":{},"5146":{"varMapping":{"__isSmartRef__":true,"id":5147},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5147":{"this":{"__isSmartRef__":true,"id":5071}},"5148":{},"5149":{"varMapping":{"__isSmartRef__":true,"id":5150},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5151},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5150":{"this":{"__isSmartRef__":true,"id":5071}},"5151":{},"5152":{"data":{"__isSmartRef__":true,"id":2127},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"partTests","description":"{}","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5153}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5220}},"5153":{"sourceObj":{"__isSmartRef__":true,"id":5152},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5154},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5154":{"item":{"__isSmartRef__":true,"id":5152},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5155}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5207},"derivationIds":[null],"id":"3E414F3B-84CA-4BB4-9558-9182E1E332BE","renderContextTable":{"__isSmartRef__":true,"id":5213},"eventHandler":{"__isSmartRef__":true,"id":5214},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5215},"layout":{"__isSmartRef__":true,"id":5216},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5219},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5156},"label":{"__isSmartRef__":true,"id":5175},"node":{"__isSmartRef__":true,"id":5155},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5155":{"submorphs":[{"__isSmartRef__":true,"id":5156},{"__isSmartRef__":true,"id":5175}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5196},"derivationIds":[null],"id":"354027E3-3BD1-483D-A75A-AB4CCEB98A00","renderContextTable":{"__isSmartRef__":true,"id":5201},"eventHandler":{"__isSmartRef__":true,"id":5202},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5203},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5204},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5154},"priorExtent":{"__isSmartRef__":true,"id":5206},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5156":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5157},"derivationIds":[null],"id":"61570283-AB02-42FC-8B27-41604670D263","renderContextTable":{"__isSmartRef__":true,"id":5161},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5162}],"eventHandler":{"__isSmartRef__":true,"id":5164},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5155},"_Position":{"__isSmartRef__":true,"id":5165},"priorExtent":{"__isSmartRef__":true,"id":5166},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5167},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5157":{"_Position":{"__isSmartRef__":true,"id":5158},"renderContextTable":{"__isSmartRef__":true,"id":5159},"_Extent":{"__isSmartRef__":true,"id":5160},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-61570283-ab02-42fc-8b27-41604670d263","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5158":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5159":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5160":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5161":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5162":{"style":{"__isSmartRef__":true,"id":5163},"chunkOwner":{"__isSmartRef__":true,"id":5156},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5163":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5164":{"morph":{"__isSmartRef__":true,"id":5156},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5165":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5166":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5167":{"onMouseDown":{"__isSmartRef__":true,"id":5168}},"5168":{"varMapping":{"__isSmartRef__":true,"id":5169},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5169":{"this":{"__isSmartRef__":true,"id":5156},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5170}},"5170":{"$super":{"__isSmartRef__":true,"id":5171}},"5171":{"varMapping":{"__isSmartRef__":true,"id":5172},"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":5173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5172":{"obj":{"__isSmartRef__":true,"id":5156},"name":"onMouseDown"},"5173":{},"5174":{},"5175":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5176},"derivationIds":[null],"id":"E550349A-F7EA-4414-AA49-23DEE1461CBB","renderContextTable":{"__isSmartRef__":true,"id":5180},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5181},{"__isSmartRef__":true,"id":5183}],"cachedTextString":"partTests ","eventHandler":{"__isSmartRef__":true,"id":5185},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5155},"_Position":{"__isSmartRef__":true,"id":5186},"priorExtent":{"__isSmartRef__":true,"id":5187},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5188},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5176":{"_Position":{"__isSmartRef__":true,"id":5177},"renderContextTable":{"__isSmartRef__":true,"id":5178},"_Extent":{"__isSmartRef__":true,"id":5179},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-e550349a-f7ea-4414-aa49-23dee1461cbb","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5177":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5178":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5179":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5180":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5181":{"style":{"__isSmartRef__":true,"id":5182},"chunkOwner":{"__isSmartRef__":true,"id":5175},"storedString":"partTests ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5182":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5183":{"style":{"__isSmartRef__":true,"id":5184},"chunkOwner":{"__isSmartRef__":true,"id":5175},"storedString":"{}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5184":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5185":{"morph":{"__isSmartRef__":true,"id":5175},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5186":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5187":{"x":78,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5188":{"onMouseDown":{"__isSmartRef__":true,"id":5189}},"5189":{"varMapping":{"__isSmartRef__":true,"id":5190},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5190":{"this":{"__isSmartRef__":true,"id":5175},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5191}},"5191":{"$super":{"__isSmartRef__":true,"id":5192}},"5192":{"varMapping":{"__isSmartRef__":true,"id":5193},"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":5194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5193":{"obj":{"__isSmartRef__":true,"id":5175},"name":"onMouseDown"},"5194":{},"5195":{},"5196":{"_Position":{"__isSmartRef__":true,"id":5197},"renderContextTable":{"__isSmartRef__":true,"id":5198},"_Extent":{"__isSmartRef__":true,"id":5199},"_Padding":{"__isSmartRef__":true,"id":5200},"_NodeClass":["morph","box"],"_NodeId":"morph-354027e3-3bd1-483d-a75a-ab4cceb98a00","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5197":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5198":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5199":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5200":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5201":{"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","setStyleSheet":"setStyleSheetHTML"},"5202":{"morph":{"__isSmartRef__":true,"id":5155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5203":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5204":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5205}},"5205":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5155},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5206":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5207":{"_Position":{"__isSmartRef__":true,"id":5208},"renderContextTable":{"__isSmartRef__":true,"id":5209},"_Extent":{"__isSmartRef__":true,"id":5210},"_Padding":{"__isSmartRef__":true,"id":5211},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-3e414f3b-84ca-4bb4-9558-9182e1e332be","_Fill":{"__isSmartRef__":true,"id":5212},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5208":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5209":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5210":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5211":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5212":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5213":{"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","setStyleSheet":"setStyleSheetHTML"},"5214":{"morph":{"__isSmartRef__":true,"id":5154},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5215":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5216":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5217}},"5217":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5218},"spacing":0,"container":{"__isSmartRef__":true,"id":5154},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5218":{"top":0,"right":0,"bottom":0,"left":0},"5219":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5220":{"onSelect":{"__isSmartRef__":true,"id":5221},"onExpand":{"__isSmartRef__":true,"id":5224},"onUpdateChildren":{"__isSmartRef__":true,"id":5227},"onUpdate":{"__isSmartRef__":true,"id":5230}},"5221":{"varMapping":{"__isSmartRef__":true,"id":5222},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5222":{"this":{"__isSmartRef__":true,"id":5152}},"5223":{},"5224":{"varMapping":{"__isSmartRef__":true,"id":5225},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5225":{"this":{"__isSmartRef__":true,"id":5152}},"5226":{},"5227":{"varMapping":{"__isSmartRef__":true,"id":5228},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5228":{"this":{"__isSmartRef__":true,"id":5152}},"5229":{},"5230":{"varMapping":{"__isSmartRef__":true,"id":5231},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5231":{"this":{"__isSmartRef__":true,"id":5152}},"5232":{},"5233":{"data":{"__isSmartRef__":true,"id":2110},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"partsBinMetaInfo","description":"PartsBinMetaInfo","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5234}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5301}},"5234":{"sourceObj":{"__isSmartRef__":true,"id":5233},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5235},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5235":{"item":{"__isSmartRef__":true,"id":5233},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5236}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5288},"derivationIds":[null],"id":"CB0751B5-25AF-407F-AFC6-BF445F2CD4FA","renderContextTable":{"__isSmartRef__":true,"id":5294},"eventHandler":{"__isSmartRef__":true,"id":5295},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5296},"layout":{"__isSmartRef__":true,"id":5297},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5300},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5237},"label":{"__isSmartRef__":true,"id":5256},"node":{"__isSmartRef__":true,"id":5236},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5236":{"submorphs":[{"__isSmartRef__":true,"id":5237},{"__isSmartRef__":true,"id":5256}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5277},"derivationIds":[null],"id":"07F1687A-F6AE-458E-87C6-F06306D7BCB5","renderContextTable":{"__isSmartRef__":true,"id":5282},"eventHandler":{"__isSmartRef__":true,"id":5283},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5284},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5285},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5235},"priorExtent":{"__isSmartRef__":true,"id":5287},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5237":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5238},"derivationIds":[null],"id":"AFC30D28-9A4F-4666-9BDB-F661A158A28B","renderContextTable":{"__isSmartRef__":true,"id":5242},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5243}],"eventHandler":{"__isSmartRef__":true,"id":5245},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5236},"_Position":{"__isSmartRef__":true,"id":5246},"priorExtent":{"__isSmartRef__":true,"id":5247},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5248},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5238":{"_Position":{"__isSmartRef__":true,"id":5239},"renderContextTable":{"__isSmartRef__":true,"id":5240},"_Extent":{"__isSmartRef__":true,"id":5241},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-afc30d28-9a4f-4666-9bdb-f661a158a28b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5239":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5240":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5241":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5242":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5243":{"style":{"__isSmartRef__":true,"id":5244},"chunkOwner":{"__isSmartRef__":true,"id":5237},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5244":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5245":{"morph":{"__isSmartRef__":true,"id":5237},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5246":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5247":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5248":{"onMouseDown":{"__isSmartRef__":true,"id":5249}},"5249":{"varMapping":{"__isSmartRef__":true,"id":5250},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5250":{"this":{"__isSmartRef__":true,"id":5237},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5251}},"5251":{"$super":{"__isSmartRef__":true,"id":5252}},"5252":{"varMapping":{"__isSmartRef__":true,"id":5253},"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":5254},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5253":{"obj":{"__isSmartRef__":true,"id":5237},"name":"onMouseDown"},"5254":{},"5255":{},"5256":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5257},"derivationIds":[null],"id":"284F79EA-8F30-4FB6-B2D0-F57896A4141D","renderContextTable":{"__isSmartRef__":true,"id":5261},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5262},{"__isSmartRef__":true,"id":5264}],"cachedTextString":"partsBinMetaInfo ","eventHandler":{"__isSmartRef__":true,"id":5266},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5236},"_Position":{"__isSmartRef__":true,"id":5267},"priorExtent":{"__isSmartRef__":true,"id":5268},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5269},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5257":{"_Position":{"__isSmartRef__":true,"id":5258},"renderContextTable":{"__isSmartRef__":true,"id":5259},"_Extent":{"__isSmartRef__":true,"id":5260},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-284f79ea-8f30-4fb6-b2d0-f57896a4141d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5258":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5259":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5260":{"x":212,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5261":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5262":{"style":{"__isSmartRef__":true,"id":5263},"chunkOwner":{"__isSmartRef__":true,"id":5256},"storedString":"partsBinMetaInfo ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5263":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5264":{"style":{"__isSmartRef__":true,"id":5265},"chunkOwner":{"__isSmartRef__":true,"id":5256},"storedString":"PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5265":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5266":{"morph":{"__isSmartRef__":true,"id":5256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5267":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5268":{"x":212,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5269":{"onMouseDown":{"__isSmartRef__":true,"id":5270}},"5270":{"varMapping":{"__isSmartRef__":true,"id":5271},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5276},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5271":{"this":{"__isSmartRef__":true,"id":5256},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5272}},"5272":{"$super":{"__isSmartRef__":true,"id":5273}},"5273":{"varMapping":{"__isSmartRef__":true,"id":5274},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5274":{"obj":{"__isSmartRef__":true,"id":5256},"name":"onMouseDown"},"5275":{},"5276":{},"5277":{"_Position":{"__isSmartRef__":true,"id":5278},"renderContextTable":{"__isSmartRef__":true,"id":5279},"_Extent":{"__isSmartRef__":true,"id":5280},"_Padding":{"__isSmartRef__":true,"id":5281},"_NodeClass":["morph","box"],"_NodeId":"morph-07f1687a-f6ae-458e-87c6-f06306d7bcb5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5278":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5279":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5280":{"x":227,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5281":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5282":{"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","setStyleSheet":"setStyleSheetHTML"},"5283":{"morph":{"__isSmartRef__":true,"id":5236},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5284":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5285":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5286}},"5286":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5236},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5287":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5288":{"_Position":{"__isSmartRef__":true,"id":5289},"renderContextTable":{"__isSmartRef__":true,"id":5290},"_Extent":{"__isSmartRef__":true,"id":5291},"_Padding":{"__isSmartRef__":true,"id":5292},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-cb0751b5-25af-407f-afc6-bf445f2cd4fa","_Fill":{"__isSmartRef__":true,"id":5293},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5289":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5290":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5291":{"x":237,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5292":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5293":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5294":{"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","setStyleSheet":"setStyleSheetHTML"},"5295":{"morph":{"__isSmartRef__":true,"id":5235},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5296":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5297":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5298}},"5298":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5299},"spacing":0,"container":{"__isSmartRef__":true,"id":5235},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5299":{"top":0,"right":0,"bottom":0,"left":0},"5300":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5301":{"onSelect":{"__isSmartRef__":true,"id":5302},"onExpand":{"__isSmartRef__":true,"id":5305},"onUpdateChildren":{"__isSmartRef__":true,"id":5308},"onUpdate":{"__isSmartRef__":true,"id":5311}},"5302":{"varMapping":{"__isSmartRef__":true,"id":5303},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5303":{"this":{"__isSmartRef__":true,"id":5233}},"5304":{},"5305":{"varMapping":{"__isSmartRef__":true,"id":5306},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5306":{"this":{"__isSmartRef__":true,"id":5233}},"5307":{},"5308":{"varMapping":{"__isSmartRef__":true,"id":5309},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5310},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5309":{"this":{"__isSmartRef__":true,"id":5233}},"5310":{},"5311":{"varMapping":{"__isSmartRef__":true,"id":5312},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5312":{"this":{"__isSmartRef__":true,"id":5233}},"5313":{},"5314":{"data":{"__isSmartRef__":true,"id":2132},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"priorExtent","description":"Point","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5315}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5382}},"5315":{"sourceObj":{"__isSmartRef__":true,"id":5314},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5316},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5316":{"item":{"__isSmartRef__":true,"id":5314},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5317}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5369},"derivationIds":[null],"id":"C34C8D6C-DC3A-41A6-BFE2-267BD121341F","renderContextTable":{"__isSmartRef__":true,"id":5375},"eventHandler":{"__isSmartRef__":true,"id":5376},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5377},"layout":{"__isSmartRef__":true,"id":5378},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5381},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5318},"label":{"__isSmartRef__":true,"id":5337},"node":{"__isSmartRef__":true,"id":5317},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5317":{"submorphs":[{"__isSmartRef__":true,"id":5318},{"__isSmartRef__":true,"id":5337}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5358},"derivationIds":[null],"id":"F4BA0545-EA7B-4C87-B448-A1FC583408C9","renderContextTable":{"__isSmartRef__":true,"id":5363},"eventHandler":{"__isSmartRef__":true,"id":5364},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5365},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5366},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5316},"priorExtent":{"__isSmartRef__":true,"id":5368},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5318":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5319},"derivationIds":[null],"id":"65DA9DB3-5F76-4397-AC4C-835E8ED169BD","renderContextTable":{"__isSmartRef__":true,"id":5323},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5324}],"eventHandler":{"__isSmartRef__":true,"id":5326},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5317},"_Position":{"__isSmartRef__":true,"id":5327},"priorExtent":{"__isSmartRef__":true,"id":5328},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5329},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5319":{"_Position":{"__isSmartRef__":true,"id":5320},"renderContextTable":{"__isSmartRef__":true,"id":5321},"_Extent":{"__isSmartRef__":true,"id":5322},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-65da9db3-5f76-4397-ac4c-835e8ed169bd","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5320":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5321":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5322":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5323":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5324":{"style":{"__isSmartRef__":true,"id":5325},"chunkOwner":{"__isSmartRef__":true,"id":5318},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5325":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5326":{"morph":{"__isSmartRef__":true,"id":5318},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5327":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5328":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5329":{"onMouseDown":{"__isSmartRef__":true,"id":5330}},"5330":{"varMapping":{"__isSmartRef__":true,"id":5331},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5331":{"this":{"__isSmartRef__":true,"id":5318},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5332}},"5332":{"$super":{"__isSmartRef__":true,"id":5333}},"5333":{"varMapping":{"__isSmartRef__":true,"id":5334},"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":5335},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5334":{"obj":{"__isSmartRef__":true,"id":5318},"name":"onMouseDown"},"5335":{},"5336":{},"5337":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5338},"derivationIds":[null],"id":"DEE8BD51-0D1F-45A9-AFD9-75557B2DCEB7","renderContextTable":{"__isSmartRef__":true,"id":5342},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5343},{"__isSmartRef__":true,"id":5345}],"cachedTextString":"priorExtent ","eventHandler":{"__isSmartRef__":true,"id":5347},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5317},"_Position":{"__isSmartRef__":true,"id":5348},"priorExtent":{"__isSmartRef__":true,"id":5349},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5350},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5338":{"_Position":{"__isSmartRef__":true,"id":5339},"renderContextTable":{"__isSmartRef__":true,"id":5340},"_Extent":{"__isSmartRef__":true,"id":5341},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-dee8bd51-0d1f-45a9-afd9-75557b2dceb7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5339":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5340":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5341":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5342":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5343":{"style":{"__isSmartRef__":true,"id":5344},"chunkOwner":{"__isSmartRef__":true,"id":5337},"storedString":"priorExtent ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5344":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5345":{"style":{"__isSmartRef__":true,"id":5346},"chunkOwner":{"__isSmartRef__":true,"id":5337},"storedString":"Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5346":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5347":{"morph":{"__isSmartRef__":true,"id":5337},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5348":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5349":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5350":{"onMouseDown":{"__isSmartRef__":true,"id":5351}},"5351":{"varMapping":{"__isSmartRef__":true,"id":5352},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5352":{"this":{"__isSmartRef__":true,"id":5337},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5353}},"5353":{"$super":{"__isSmartRef__":true,"id":5354}},"5354":{"varMapping":{"__isSmartRef__":true,"id":5355},"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":5356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5355":{"obj":{"__isSmartRef__":true,"id":5337},"name":"onMouseDown"},"5356":{},"5357":{},"5358":{"_Position":{"__isSmartRef__":true,"id":5359},"renderContextTable":{"__isSmartRef__":true,"id":5360},"_Extent":{"__isSmartRef__":true,"id":5361},"_Padding":{"__isSmartRef__":true,"id":5362},"_NodeClass":["morph","box"],"_NodeId":"morph-f4ba0545-ea7b-4c87-b448-a1fc583408c9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5359":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5360":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5361":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5362":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5363":{"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","setStyleSheet":"setStyleSheetHTML"},"5364":{"morph":{"__isSmartRef__":true,"id":5317},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5365":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5366":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5367}},"5367":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5317},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5368":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5369":{"_Position":{"__isSmartRef__":true,"id":5370},"renderContextTable":{"__isSmartRef__":true,"id":5371},"_Extent":{"__isSmartRef__":true,"id":5372},"_Padding":{"__isSmartRef__":true,"id":5373},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-c34c8d6c-dc3a-41a6-bfe2-267bd121341f","_Fill":{"__isSmartRef__":true,"id":5374},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5370":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5371":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5372":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5373":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5374":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5375":{"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","setStyleSheet":"setStyleSheetHTML"},"5376":{"morph":{"__isSmartRef__":true,"id":5316},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5377":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5378":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5379}},"5379":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5380},"spacing":0,"container":{"__isSmartRef__":true,"id":5316},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5380":{"top":0,"right":0,"bottom":0,"left":0},"5381":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5382":{"onSelect":{"__isSmartRef__":true,"id":5383},"onExpand":{"__isSmartRef__":true,"id":5386},"onUpdateChildren":{"__isSmartRef__":true,"id":5389},"onUpdate":{"__isSmartRef__":true,"id":5392}},"5383":{"varMapping":{"__isSmartRef__":true,"id":5384},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5384":{"this":{"__isSmartRef__":true,"id":5314}},"5385":{},"5386":{"varMapping":{"__isSmartRef__":true,"id":5387},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5387":{"this":{"__isSmartRef__":true,"id":5314}},"5388":{},"5389":{"varMapping":{"__isSmartRef__":true,"id":5390},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5390":{"this":{"__isSmartRef__":true,"id":5314}},"5391":{},"5392":{"varMapping":{"__isSmartRef__":true,"id":5393},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5393":{"this":{"__isSmartRef__":true,"id":5314}},"5394":{},"5395":{"data":true,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"registeredForMouseEvents","description":"true","attributeConnections":[{"__isSmartRef__":true,"id":5396}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5463}},"5396":{"sourceObj":{"__isSmartRef__":true,"id":5395},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5397},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5397":{"item":{"__isSmartRef__":true,"id":5395},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5398}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5450},"derivationIds":[null],"id":"EB9CBDCA-8B87-4707-BEBE-4F5F6599872B","renderContextTable":{"__isSmartRef__":true,"id":5456},"eventHandler":{"__isSmartRef__":true,"id":5457},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5458},"layout":{"__isSmartRef__":true,"id":5459},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5462},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5399},"label":{"__isSmartRef__":true,"id":5418},"node":{"__isSmartRef__":true,"id":5398},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5398":{"submorphs":[{"__isSmartRef__":true,"id":5399},{"__isSmartRef__":true,"id":5418}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5439},"derivationIds":[null],"id":"0EC27B18-CE44-407E-9BAF-E39E5EC3736E","renderContextTable":{"__isSmartRef__":true,"id":5444},"eventHandler":{"__isSmartRef__":true,"id":5445},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5446},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5447},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5397},"priorExtent":{"__isSmartRef__":true,"id":5449},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5399":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5400},"derivationIds":[null],"id":"A8B87D28-19E2-4E36-ACEA-A022015ADE47","renderContextTable":{"__isSmartRef__":true,"id":5404},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5405}],"eventHandler":{"__isSmartRef__":true,"id":5407},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5398},"_Position":{"__isSmartRef__":true,"id":5408},"priorExtent":{"__isSmartRef__":true,"id":5409},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5410},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5400":{"_Position":{"__isSmartRef__":true,"id":5401},"renderContextTable":{"__isSmartRef__":true,"id":5402},"_Extent":{"__isSmartRef__":true,"id":5403},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-a8b87d28-19e2-4e36-acea-a022015ade47","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5401":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5403":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5404":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5405":{"style":{"__isSmartRef__":true,"id":5406},"chunkOwner":{"__isSmartRef__":true,"id":5399},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5406":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5407":{"morph":{"__isSmartRef__":true,"id":5399},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5408":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5409":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5410":{"onMouseDown":{"__isSmartRef__":true,"id":5411}},"5411":{"varMapping":{"__isSmartRef__":true,"id":5412},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5417},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5412":{"this":{"__isSmartRef__":true,"id":5399},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5413}},"5413":{"$super":{"__isSmartRef__":true,"id":5414}},"5414":{"varMapping":{"__isSmartRef__":true,"id":5415},"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":5416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5415":{"obj":{"__isSmartRef__":true,"id":5399},"name":"onMouseDown"},"5416":{},"5417":{},"5418":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5419},"derivationIds":[null],"id":"75E5AF7A-869C-4FC1-9D86-7FD1BE9C1B5D","renderContextTable":{"__isSmartRef__":true,"id":5423},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5424},{"__isSmartRef__":true,"id":5426}],"cachedTextString":"registeredForMouseEvents ","eventHandler":{"__isSmartRef__":true,"id":5428},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5398},"_Position":{"__isSmartRef__":true,"id":5429},"priorExtent":{"__isSmartRef__":true,"id":5430},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5431},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5419":{"_Position":{"__isSmartRef__":true,"id":5420},"renderContextTable":{"__isSmartRef__":true,"id":5421},"_Extent":{"__isSmartRef__":true,"id":5422},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-75e5af7a-869c-4fc1-9d86-7fd1be9c1b5d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5420":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5421":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5422":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5423":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5424":{"style":{"__isSmartRef__":true,"id":5425},"chunkOwner":{"__isSmartRef__":true,"id":5418},"storedString":"registeredForMouseEvents ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5425":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5426":{"style":{"__isSmartRef__":true,"id":5427},"chunkOwner":{"__isSmartRef__":true,"id":5418},"storedString":"true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5427":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5428":{"morph":{"__isSmartRef__":true,"id":5418},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5429":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5430":{"x":192,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5431":{"onMouseDown":{"__isSmartRef__":true,"id":5432}},"5432":{"varMapping":{"__isSmartRef__":true,"id":5433},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5433":{"this":{"__isSmartRef__":true,"id":5418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5434}},"5434":{"$super":{"__isSmartRef__":true,"id":5435}},"5435":{"varMapping":{"__isSmartRef__":true,"id":5436},"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":5437},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5436":{"obj":{"__isSmartRef__":true,"id":5418},"name":"onMouseDown"},"5437":{},"5438":{},"5439":{"_Position":{"__isSmartRef__":true,"id":5440},"renderContextTable":{"__isSmartRef__":true,"id":5441},"_Extent":{"__isSmartRef__":true,"id":5442},"_Padding":{"__isSmartRef__":true,"id":5443},"_NodeClass":["morph","box"],"_NodeId":"morph-0ec27b18-ce44-407e-9baf-e39e5ec3736e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5440":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5442":{"x":207,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5443":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5444":{"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","setStyleSheet":"setStyleSheetHTML"},"5445":{"morph":{"__isSmartRef__":true,"id":5398},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5446":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5447":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5448}},"5448":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5398},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5449":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5450":{"_Position":{"__isSmartRef__":true,"id":5451},"renderContextTable":{"__isSmartRef__":true,"id":5452},"_Extent":{"__isSmartRef__":true,"id":5453},"_Padding":{"__isSmartRef__":true,"id":5454},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-eb9cbdca-8b87-4707-bebe-4f5f6599872b","_Fill":{"__isSmartRef__":true,"id":5455},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5451":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5452":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5453":{"x":217,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5454":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5455":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5456":{"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","setStyleSheet":"setStyleSheetHTML"},"5457":{"morph":{"__isSmartRef__":true,"id":5397},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5458":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5459":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5460}},"5460":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5461},"spacing":0,"container":{"__isSmartRef__":true,"id":5397},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5461":{"top":0,"right":0,"bottom":0,"left":0},"5462":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5463":{"onSelect":{"__isSmartRef__":true,"id":5464},"onUpdate":{"__isSmartRef__":true,"id":5467}},"5464":{"varMapping":{"__isSmartRef__":true,"id":5465},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5466},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5465":{"this":{"__isSmartRef__":true,"id":5395}},"5466":{},"5467":{"varMapping":{"__isSmartRef__":true,"id":5468},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5468":{"this":{"__isSmartRef__":true,"id":5395}},"5469":{},"5470":{"data":{"__isSmartRef__":true,"id":2125},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"renderContextTable","description":"{...}","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5471}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5538}},"5471":{"sourceObj":{"__isSmartRef__":true,"id":5470},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5472},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5472":{"item":{"__isSmartRef__":true,"id":5470},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5473}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5525},"derivationIds":[null],"id":"CD5E15E0-F1F6-4129-894E-C202C8881F5A","renderContextTable":{"__isSmartRef__":true,"id":5531},"eventHandler":{"__isSmartRef__":true,"id":5532},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5533},"layout":{"__isSmartRef__":true,"id":5534},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5537},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5474},"label":{"__isSmartRef__":true,"id":5493},"node":{"__isSmartRef__":true,"id":5473},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5473":{"submorphs":[{"__isSmartRef__":true,"id":5474},{"__isSmartRef__":true,"id":5493}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5514},"derivationIds":[null],"id":"E50B5D21-B827-45F8-A506-CD267E7555B0","renderContextTable":{"__isSmartRef__":true,"id":5519},"eventHandler":{"__isSmartRef__":true,"id":5520},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5521},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5522},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5472},"priorExtent":{"__isSmartRef__":true,"id":5524},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5474":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5475},"derivationIds":[null],"id":"62CCF4A8-058B-4AFB-A669-AFA2F44ACEC5","renderContextTable":{"__isSmartRef__":true,"id":5479},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5480}],"eventHandler":{"__isSmartRef__":true,"id":5482},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5473},"_Position":{"__isSmartRef__":true,"id":5483},"priorExtent":{"__isSmartRef__":true,"id":5484},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5485},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5475":{"_Position":{"__isSmartRef__":true,"id":5476},"renderContextTable":{"__isSmartRef__":true,"id":5477},"_Extent":{"__isSmartRef__":true,"id":5478},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-62ccf4a8-058b-4afb-a669-afa2f44acec5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5476":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5477":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5478":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5479":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5480":{"style":{"__isSmartRef__":true,"id":5481},"chunkOwner":{"__isSmartRef__":true,"id":5474},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5481":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5482":{"morph":{"__isSmartRef__":true,"id":5474},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5483":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5484":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5485":{"onMouseDown":{"__isSmartRef__":true,"id":5486}},"5486":{"varMapping":{"__isSmartRef__":true,"id":5487},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5492},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5487":{"this":{"__isSmartRef__":true,"id":5474},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5488}},"5488":{"$super":{"__isSmartRef__":true,"id":5489}},"5489":{"varMapping":{"__isSmartRef__":true,"id":5490},"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":5491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5490":{"obj":{"__isSmartRef__":true,"id":5474},"name":"onMouseDown"},"5491":{},"5492":{},"5493":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5494},"derivationIds":[null],"id":"094F44E8-4655-4999-ADC0-E3830902C1D3","renderContextTable":{"__isSmartRef__":true,"id":5498},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5499},{"__isSmartRef__":true,"id":5501}],"cachedTextString":"renderContextTable ","eventHandler":{"__isSmartRef__":true,"id":5503},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5473},"_Position":{"__isSmartRef__":true,"id":5504},"priorExtent":{"__isSmartRef__":true,"id":5505},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5506},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5494":{"_Position":{"__isSmartRef__":true,"id":5495},"renderContextTable":{"__isSmartRef__":true,"id":5496},"_Extent":{"__isSmartRef__":true,"id":5497},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-094f44e8-4655-4999-adc0-e3830902c1d3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5495":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5496":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5497":{"x":148,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5498":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5499":{"style":{"__isSmartRef__":true,"id":5500},"chunkOwner":{"__isSmartRef__":true,"id":5493},"storedString":"renderContextTable ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5500":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5501":{"style":{"__isSmartRef__":true,"id":5502},"chunkOwner":{"__isSmartRef__":true,"id":5493},"storedString":"{...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5502":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5503":{"morph":{"__isSmartRef__":true,"id":5493},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5504":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5505":{"x":148,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5506":{"onMouseDown":{"__isSmartRef__":true,"id":5507}},"5507":{"varMapping":{"__isSmartRef__":true,"id":5508},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5513},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5508":{"this":{"__isSmartRef__":true,"id":5493},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5509}},"5509":{"$super":{"__isSmartRef__":true,"id":5510}},"5510":{"varMapping":{"__isSmartRef__":true,"id":5511},"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":5512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5511":{"obj":{"__isSmartRef__":true,"id":5493},"name":"onMouseDown"},"5512":{},"5513":{},"5514":{"_Position":{"__isSmartRef__":true,"id":5515},"renderContextTable":{"__isSmartRef__":true,"id":5516},"_Extent":{"__isSmartRef__":true,"id":5517},"_Padding":{"__isSmartRef__":true,"id":5518},"_NodeClass":["morph","box"],"_NodeId":"morph-e50b5d21-b827-45f8-a506-cd267e7555b0","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5515":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5517":{"x":163,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5518":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5519":{"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","setStyleSheet":"setStyleSheetHTML"},"5520":{"morph":{"__isSmartRef__":true,"id":5473},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5521":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5522":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5523}},"5523":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5473},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5524":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5525":{"_Position":{"__isSmartRef__":true,"id":5526},"renderContextTable":{"__isSmartRef__":true,"id":5527},"_Extent":{"__isSmartRef__":true,"id":5528},"_Padding":{"__isSmartRef__":true,"id":5529},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-cd5e15e0-f1f6-4129-894e-c202c8881f5a","_Fill":{"__isSmartRef__":true,"id":5530},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5526":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5527":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5528":{"x":173,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5529":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5530":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5531":{"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","setStyleSheet":"setStyleSheetHTML"},"5532":{"morph":{"__isSmartRef__":true,"id":5472},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5533":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5534":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5535}},"5535":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5536},"spacing":0,"container":{"__isSmartRef__":true,"id":5472},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5536":{"top":0,"right":0,"bottom":0,"left":0},"5537":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5538":{"onSelect":{"__isSmartRef__":true,"id":5539},"onExpand":{"__isSmartRef__":true,"id":5542},"onUpdateChildren":{"__isSmartRef__":true,"id":5545},"onUpdate":{"__isSmartRef__":true,"id":5548}},"5539":{"varMapping":{"__isSmartRef__":true,"id":5540},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5540":{"this":{"__isSmartRef__":true,"id":5470}},"5541":{},"5542":{"varMapping":{"__isSmartRef__":true,"id":5543},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5544},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5543":{"this":{"__isSmartRef__":true,"id":5470}},"5544":{},"5545":{"varMapping":{"__isSmartRef__":true,"id":5546},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5547},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5546":{"this":{"__isSmartRef__":true,"id":5470}},"5547":{},"5548":{"varMapping":{"__isSmartRef__":true,"id":5549},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5550},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5549":{"this":{"__isSmartRef__":true,"id":5470}},"5550":{},"5551":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"scripts","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5552}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5619}},"5552":{"sourceObj":{"__isSmartRef__":true,"id":5551},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5553},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5553":{"item":{"__isSmartRef__":true,"id":5551},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5554}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5606},"derivationIds":[null],"id":"DE9AD21D-B488-4603-921D-734D4F5D1E8D","renderContextTable":{"__isSmartRef__":true,"id":5612},"eventHandler":{"__isSmartRef__":true,"id":5613},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5614},"layout":{"__isSmartRef__":true,"id":5615},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5618},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5555},"label":{"__isSmartRef__":true,"id":5574},"node":{"__isSmartRef__":true,"id":5554},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5554":{"submorphs":[{"__isSmartRef__":true,"id":5555},{"__isSmartRef__":true,"id":5574}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5595},"derivationIds":[null],"id":"BFBD8D38-DFBE-4526-BA8C-26F9AA4C2587","renderContextTable":{"__isSmartRef__":true,"id":5600},"eventHandler":{"__isSmartRef__":true,"id":5601},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5602},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5603},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5553},"priorExtent":{"__isSmartRef__":true,"id":5605},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5555":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5556},"derivationIds":[null],"id":"0353A69D-40E2-4742-B200-3CB39C82F4B5","renderContextTable":{"__isSmartRef__":true,"id":5560},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5561}],"eventHandler":{"__isSmartRef__":true,"id":5563},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5554},"_Position":{"__isSmartRef__":true,"id":5564},"priorExtent":{"__isSmartRef__":true,"id":5565},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5566},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5556":{"_Position":{"__isSmartRef__":true,"id":5557},"renderContextTable":{"__isSmartRef__":true,"id":5558},"_Extent":{"__isSmartRef__":true,"id":5559},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-0353a69d-40e2-4742-b200-3cb39c82f4b5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5557":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5558":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5559":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5560":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5561":{"style":{"__isSmartRef__":true,"id":5562},"chunkOwner":{"__isSmartRef__":true,"id":5555},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5562":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5563":{"morph":{"__isSmartRef__":true,"id":5555},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5564":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5565":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5566":{"onMouseDown":{"__isSmartRef__":true,"id":5567}},"5567":{"varMapping":{"__isSmartRef__":true,"id":5568},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5568":{"this":{"__isSmartRef__":true,"id":5555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5569}},"5569":{"$super":{"__isSmartRef__":true,"id":5570}},"5570":{"varMapping":{"__isSmartRef__":true,"id":5571},"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":5572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5571":{"obj":{"__isSmartRef__":true,"id":5555},"name":"onMouseDown"},"5572":{},"5573":{},"5574":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5575},"derivationIds":[null],"id":"4F475E9E-524E-406A-8129-FE1C7653B67E","renderContextTable":{"__isSmartRef__":true,"id":5579},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5580},{"__isSmartRef__":true,"id":5582}],"cachedTextString":"scripts ","eventHandler":{"__isSmartRef__":true,"id":5584},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5554},"_Position":{"__isSmartRef__":true,"id":5585},"priorExtent":{"__isSmartRef__":true,"id":5586},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5587},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5575":{"_Position":{"__isSmartRef__":true,"id":5576},"renderContextTable":{"__isSmartRef__":true,"id":5577},"_Extent":{"__isSmartRef__":true,"id":5578},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-4f475e9e-524e-406a-8129-fe1c7653b67e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5576":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5577":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5578":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5579":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5580":{"style":{"__isSmartRef__":true,"id":5581},"chunkOwner":{"__isSmartRef__":true,"id":5574},"storedString":"scripts ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5581":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5582":{"style":{"__isSmartRef__":true,"id":5583},"chunkOwner":{"__isSmartRef__":true,"id":5574},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5583":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5584":{"morph":{"__isSmartRef__":true,"id":5574},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5585":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5586":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5587":{"onMouseDown":{"__isSmartRef__":true,"id":5588}},"5588":{"varMapping":{"__isSmartRef__":true,"id":5589},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5589":{"this":{"__isSmartRef__":true,"id":5574},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5590}},"5590":{"$super":{"__isSmartRef__":true,"id":5591}},"5591":{"varMapping":{"__isSmartRef__":true,"id":5592},"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":5593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5592":{"obj":{"__isSmartRef__":true,"id":5574},"name":"onMouseDown"},"5593":{},"5594":{},"5595":{"_Position":{"__isSmartRef__":true,"id":5596},"renderContextTable":{"__isSmartRef__":true,"id":5597},"_Extent":{"__isSmartRef__":true,"id":5598},"_Padding":{"__isSmartRef__":true,"id":5599},"_NodeClass":["morph","box"],"_NodeId":"morph-bfbd8d38-dfbe-4526-ba8c-26f9aa4c2587","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5596":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5597":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5598":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5599":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5600":{"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","setStyleSheet":"setStyleSheetHTML"},"5601":{"morph":{"__isSmartRef__":true,"id":5554},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5602":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5603":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5604}},"5604":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5554},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5605":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5606":{"_Position":{"__isSmartRef__":true,"id":5607},"renderContextTable":{"__isSmartRef__":true,"id":5608},"_Extent":{"__isSmartRef__":true,"id":5609},"_Padding":{"__isSmartRef__":true,"id":5610},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-de9ad21d-b488-4603-921d-734d4f5d1e8d","_Fill":{"__isSmartRef__":true,"id":5611},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5607":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5608":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5609":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5610":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5611":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5612":{"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","setStyleSheet":"setStyleSheetHTML"},"5613":{"morph":{"__isSmartRef__":true,"id":5553},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5614":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5615":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5616}},"5616":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5617},"spacing":0,"container":{"__isSmartRef__":true,"id":5553},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5617":{"top":0,"right":0,"bottom":0,"left":0},"5618":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5619":{"onSelect":{"__isSmartRef__":true,"id":5620},"onExpand":{"__isSmartRef__":true,"id":5623},"onUpdateChildren":{"__isSmartRef__":true,"id":5626},"onUpdate":{"__isSmartRef__":true,"id":5629}},"5620":{"varMapping":{"__isSmartRef__":true,"id":5621},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5622},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5621":{"this":{"__isSmartRef__":true,"id":5551}},"5622":{},"5623":{"varMapping":{"__isSmartRef__":true,"id":5624},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5625},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5624":{"this":{"__isSmartRef__":true,"id":5551}},"5625":{},"5626":{"varMapping":{"__isSmartRef__":true,"id":5627},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5628},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5627":{"this":{"__isSmartRef__":true,"id":5551}},"5628":{},"5629":{"varMapping":{"__isSmartRef__":true,"id":5630},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5631},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5630":{"this":{"__isSmartRef__":true,"id":5551}},"5631":{},"5632":{"data":{"__isSmartRef__":true,"id":2102},"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"shape","description":"Rectangle","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5633}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5700}},"5633":{"sourceObj":{"__isSmartRef__":true,"id":5632},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5634},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5634":{"item":{"__isSmartRef__":true,"id":5632},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5635}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5687},"derivationIds":[null],"id":"1B3D34B4-9352-4C84-910C-E211C185E65A","renderContextTable":{"__isSmartRef__":true,"id":5693},"eventHandler":{"__isSmartRef__":true,"id":5694},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5695},"layout":{"__isSmartRef__":true,"id":5696},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5699},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5636},"label":{"__isSmartRef__":true,"id":5655},"node":{"__isSmartRef__":true,"id":5635},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5635":{"submorphs":[{"__isSmartRef__":true,"id":5636},{"__isSmartRef__":true,"id":5655}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5676},"derivationIds":[null],"id":"9C4A18BB-7187-4741-94DB-5A4C0D261DC0","renderContextTable":{"__isSmartRef__":true,"id":5681},"eventHandler":{"__isSmartRef__":true,"id":5682},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5683},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5684},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5634},"priorExtent":{"__isSmartRef__":true,"id":5686},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5636":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5637},"derivationIds":[null],"id":"50ECCAD8-37FB-4B57-89F3-AD87D265FC86","renderContextTable":{"__isSmartRef__":true,"id":5641},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5642}],"eventHandler":{"__isSmartRef__":true,"id":5644},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5635},"_Position":{"__isSmartRef__":true,"id":5645},"priorExtent":{"__isSmartRef__":true,"id":5646},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5647},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5637":{"_Position":{"__isSmartRef__":true,"id":5638},"renderContextTable":{"__isSmartRef__":true,"id":5639},"_Extent":{"__isSmartRef__":true,"id":5640},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-50eccad8-37fb-4b57-89f3-ad87d265fc86","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5638":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5639":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5640":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5641":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5642":{"style":{"__isSmartRef__":true,"id":5643},"chunkOwner":{"__isSmartRef__":true,"id":5636},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5643":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5644":{"morph":{"__isSmartRef__":true,"id":5636},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5645":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5646":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5647":{"onMouseDown":{"__isSmartRef__":true,"id":5648}},"5648":{"varMapping":{"__isSmartRef__":true,"id":5649},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5649":{"this":{"__isSmartRef__":true,"id":5636},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5650}},"5650":{"$super":{"__isSmartRef__":true,"id":5651}},"5651":{"varMapping":{"__isSmartRef__":true,"id":5652},"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":5653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5652":{"obj":{"__isSmartRef__":true,"id":5636},"name":"onMouseDown"},"5653":{},"5654":{},"5655":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5656},"derivationIds":[null],"id":"6A53A9BE-6828-4B53-A66D-8004F7C42181","renderContextTable":{"__isSmartRef__":true,"id":5660},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5661},{"__isSmartRef__":true,"id":5663}],"cachedTextString":"shape ","eventHandler":{"__isSmartRef__":true,"id":5665},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5635},"_Position":{"__isSmartRef__":true,"id":5666},"priorExtent":{"__isSmartRef__":true,"id":5667},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5668},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5656":{"_Position":{"__isSmartRef__":true,"id":5657},"renderContextTable":{"__isSmartRef__":true,"id":5658},"_Extent":{"__isSmartRef__":true,"id":5659},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-6a53a9be-6828-4b53-a66d-8004f7c42181","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5657":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5658":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5659":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5660":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5661":{"style":{"__isSmartRef__":true,"id":5662},"chunkOwner":{"__isSmartRef__":true,"id":5655},"storedString":"shape ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5662":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5663":{"style":{"__isSmartRef__":true,"id":5664},"chunkOwner":{"__isSmartRef__":true,"id":5655},"storedString":"Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5664":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5665":{"morph":{"__isSmartRef__":true,"id":5655},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5666":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5667":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5668":{"onMouseDown":{"__isSmartRef__":true,"id":5669}},"5669":{"varMapping":{"__isSmartRef__":true,"id":5670},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5670":{"this":{"__isSmartRef__":true,"id":5655},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5671}},"5671":{"$super":{"__isSmartRef__":true,"id":5672}},"5672":{"varMapping":{"__isSmartRef__":true,"id":5673},"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":5674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5673":{"obj":{"__isSmartRef__":true,"id":5655},"name":"onMouseDown"},"5674":{},"5675":{},"5676":{"_Position":{"__isSmartRef__":true,"id":5677},"renderContextTable":{"__isSmartRef__":true,"id":5678},"_Extent":{"__isSmartRef__":true,"id":5679},"_Padding":{"__isSmartRef__":true,"id":5680},"_NodeClass":["morph","box"],"_NodeId":"morph-9c4a18bb-7187-4741-94db-5a4c0d261dc0","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5677":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5678":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5679":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5680":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5681":{"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","setStyleSheet":"setStyleSheetHTML"},"5682":{"morph":{"__isSmartRef__":true,"id":5635},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5683":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5684":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5685}},"5685":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5635},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5686":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5687":{"_Position":{"__isSmartRef__":true,"id":5688},"renderContextTable":{"__isSmartRef__":true,"id":5689},"_Extent":{"__isSmartRef__":true,"id":5690},"_Padding":{"__isSmartRef__":true,"id":5691},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-1b3d34b4-9352-4c84-910c-e211c185e65a","_Fill":{"__isSmartRef__":true,"id":5692},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5688":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5689":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5690":{"x":134,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5691":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5692":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5693":{"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","setStyleSheet":"setStyleSheetHTML"},"5694":{"morph":{"__isSmartRef__":true,"id":5634},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5695":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5696":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5697}},"5697":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5698},"spacing":0,"container":{"__isSmartRef__":true,"id":5634},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5698":{"top":0,"right":0,"bottom":0,"left":0},"5699":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5700":{"onSelect":{"__isSmartRef__":true,"id":5701},"onExpand":{"__isSmartRef__":true,"id":5704},"onUpdateChildren":{"__isSmartRef__":true,"id":5707},"onUpdate":{"__isSmartRef__":true,"id":5710}},"5701":{"varMapping":{"__isSmartRef__":true,"id":5702},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5703},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5702":{"this":{"__isSmartRef__":true,"id":5632}},"5703":{},"5704":{"varMapping":{"__isSmartRef__":true,"id":5705},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5705":{"this":{"__isSmartRef__":true,"id":5632}},"5706":{},"5707":{"varMapping":{"__isSmartRef__":true,"id":5708},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5709},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5708":{"this":{"__isSmartRef__":true,"id":5632}},"5709":{},"5710":{"varMapping":{"__isSmartRef__":true,"id":5711},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5712},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5711":{"this":{"__isSmartRef__":true,"id":5632}},"5712":{},"5713":{"data":false,"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"showsHalos","description":"false","attributeConnections":[{"__isSmartRef__":true,"id":5714}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5781}},"5714":{"sourceObj":{"__isSmartRef__":true,"id":5713},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5715},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5715":{"item":{"__isSmartRef__":true,"id":5713},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5716}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5768},"derivationIds":[null],"id":"4919F598-644E-4EFC-AD75-4C1469BB9285","renderContextTable":{"__isSmartRef__":true,"id":5774},"eventHandler":{"__isSmartRef__":true,"id":5775},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5776},"layout":{"__isSmartRef__":true,"id":5777},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5780},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5717},"label":{"__isSmartRef__":true,"id":5736},"node":{"__isSmartRef__":true,"id":5716},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5716":{"submorphs":[{"__isSmartRef__":true,"id":5717},{"__isSmartRef__":true,"id":5736}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5757},"derivationIds":[null],"id":"DA235720-55D1-497C-8817-0B3BDDE4E041","renderContextTable":{"__isSmartRef__":true,"id":5762},"eventHandler":{"__isSmartRef__":true,"id":5763},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5764},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5765},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5715},"priorExtent":{"__isSmartRef__":true,"id":5767},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5717":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5718},"derivationIds":[null],"id":"7B8F71F2-2701-4240-AE93-395A2DDA3224","renderContextTable":{"__isSmartRef__":true,"id":5722},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5723}],"eventHandler":{"__isSmartRef__":true,"id":5725},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5716},"_Position":{"__isSmartRef__":true,"id":5726},"priorExtent":{"__isSmartRef__":true,"id":5727},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5728},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5718":{"_Position":{"__isSmartRef__":true,"id":5719},"renderContextTable":{"__isSmartRef__":true,"id":5720},"_Extent":{"__isSmartRef__":true,"id":5721},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-7b8f71f2-2701-4240-ae93-395a2dda3224","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5719":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5720":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5721":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5722":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5723":{"style":{"__isSmartRef__":true,"id":5724},"chunkOwner":{"__isSmartRef__":true,"id":5717},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5724":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5725":{"morph":{"__isSmartRef__":true,"id":5717},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5726":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5727":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5728":{"onMouseDown":{"__isSmartRef__":true,"id":5729}},"5729":{"varMapping":{"__isSmartRef__":true,"id":5730},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5730":{"this":{"__isSmartRef__":true,"id":5717},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5731}},"5731":{"$super":{"__isSmartRef__":true,"id":5732}},"5732":{"varMapping":{"__isSmartRef__":true,"id":5733},"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":5734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5733":{"obj":{"__isSmartRef__":true,"id":5717},"name":"onMouseDown"},"5734":{},"5735":{},"5736":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5737},"derivationIds":[null],"id":"6A532FBA-89C0-4E3A-9B48-0CD517F8BA1D","renderContextTable":{"__isSmartRef__":true,"id":5741},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5742},{"__isSmartRef__":true,"id":5744}],"cachedTextString":"showsHalos ","eventHandler":{"__isSmartRef__":true,"id":5746},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5716},"_Position":{"__isSmartRef__":true,"id":5747},"priorExtent":{"__isSmartRef__":true,"id":5748},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5749},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5737":{"_Position":{"__isSmartRef__":true,"id":5738},"renderContextTable":{"__isSmartRef__":true,"id":5739},"_Extent":{"__isSmartRef__":true,"id":5740},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-6a532fba-89c0-4e3a-9b48-0cd517f8ba1d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5738":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5739":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5740":{"x":105,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5741":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5742":{"style":{"__isSmartRef__":true,"id":5743},"chunkOwner":{"__isSmartRef__":true,"id":5736},"storedString":"showsHalos ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5743":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5744":{"style":{"__isSmartRef__":true,"id":5745},"chunkOwner":{"__isSmartRef__":true,"id":5736},"storedString":"false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5745":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5746":{"morph":{"__isSmartRef__":true,"id":5736},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5747":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5748":{"x":100,"y":16,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5749":{"onMouseDown":{"__isSmartRef__":true,"id":5750}},"5750":{"varMapping":{"__isSmartRef__":true,"id":5751},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5756},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5751":{"this":{"__isSmartRef__":true,"id":5736},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5752}},"5752":{"$super":{"__isSmartRef__":true,"id":5753}},"5753":{"varMapping":{"__isSmartRef__":true,"id":5754},"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":5755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5754":{"obj":{"__isSmartRef__":true,"id":5736},"name":"onMouseDown"},"5755":{},"5756":{},"5757":{"_Position":{"__isSmartRef__":true,"id":5758},"renderContextTable":{"__isSmartRef__":true,"id":5759},"_Extent":{"__isSmartRef__":true,"id":5760},"_Padding":{"__isSmartRef__":true,"id":5761},"_NodeClass":["morph","box"],"_NodeId":"morph-da235720-55d1-497c-8817-0b3bdde4e041","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5758":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5759":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5760":{"x":128,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5761":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5762":{"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","setStyleSheet":"setStyleSheetHTML"},"5763":{"morph":{"__isSmartRef__":true,"id":5716},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5764":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5765":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5766}},"5766":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5716},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5767":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5768":{"_Position":{"__isSmartRef__":true,"id":5769},"renderContextTable":{"__isSmartRef__":true,"id":5770},"_Extent":{"__isSmartRef__":true,"id":5771},"_Padding":{"__isSmartRef__":true,"id":5772},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-4919f598-644e-4efc-ad75-4c1469bb9285","_Fill":{"__isSmartRef__":true,"id":5773},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5769":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5770":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5771":{"x":138,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5772":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5773":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5774":{"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","setStyleSheet":"setStyleSheetHTML"},"5775":{"morph":{"__isSmartRef__":true,"id":5715},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5776":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5777":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5778}},"5778":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5779},"spacing":0,"container":{"__isSmartRef__":true,"id":5715},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5779":{"top":0,"right":0,"bottom":0,"left":0},"5780":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5781":{"onSelect":{"__isSmartRef__":true,"id":5782},"onUpdate":{"__isSmartRef__":true,"id":5785}},"5782":{"varMapping":{"__isSmartRef__":true,"id":5783},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5784},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5783":{"this":{"__isSmartRef__":true,"id":5713}},"5784":{},"5785":{"varMapping":{"__isSmartRef__":true,"id":5786},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5786":{"this":{"__isSmartRef__":true,"id":5713}},"5787":{},"5788":{"data":[],"inspector":{"__isSmartRef__":true,"id":4035},"parent":{"__isSmartRef__":true,"id":2101},"name":"submorphs","description":"[]","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5789}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5856}},"5789":{"sourceObj":{"__isSmartRef__":true,"id":5788},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5790},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5790":{"item":{"__isSmartRef__":true,"id":5788},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5791}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5843},"derivationIds":[null],"id":"12129C45-5FE1-42B6-A1F7-AEF672B03E77","renderContextTable":{"__isSmartRef__":true,"id":5849},"eventHandler":{"__isSmartRef__":true,"id":5850},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5851},"layout":{"__isSmartRef__":true,"id":5852},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5855},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5792},"label":{"__isSmartRef__":true,"id":5811},"node":{"__isSmartRef__":true,"id":5791},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5791":{"submorphs":[{"__isSmartRef__":true,"id":5792},{"__isSmartRef__":true,"id":5811}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5832},"derivationIds":[null],"id":"0CDD6849-7B6A-448E-A416-DD364955BC95","renderContextTable":{"__isSmartRef__":true,"id":5837},"eventHandler":{"__isSmartRef__":true,"id":5838},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5839},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5840},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5790},"priorExtent":{"__isSmartRef__":true,"id":5842},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5792":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5793},"derivationIds":[null],"id":"950C13C6-BAB4-4369-B8DB-C74AC45F7819","renderContextTable":{"__isSmartRef__":true,"id":5797},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5798}],"eventHandler":{"__isSmartRef__":true,"id":5800},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5791},"_Position":{"__isSmartRef__":true,"id":5801},"priorExtent":{"__isSmartRef__":true,"id":5802},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5803},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5793":{"_Position":{"__isSmartRef__":true,"id":5794},"renderContextTable":{"__isSmartRef__":true,"id":5795},"_Extent":{"__isSmartRef__":true,"id":5796},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-950c13c6-bab4-4369-b8db-c74ac45f7819","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5794":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5795":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5796":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5797":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5798":{"style":{"__isSmartRef__":true,"id":5799},"chunkOwner":{"__isSmartRef__":true,"id":5792},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5799":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5800":{"morph":{"__isSmartRef__":true,"id":5792},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5801":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5802":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5803":{"onMouseDown":{"__isSmartRef__":true,"id":5804}},"5804":{"varMapping":{"__isSmartRef__":true,"id":5805},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5805":{"this":{"__isSmartRef__":true,"id":5792},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5806}},"5806":{"$super":{"__isSmartRef__":true,"id":5807}},"5807":{"varMapping":{"__isSmartRef__":true,"id":5808},"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":5809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5808":{"obj":{"__isSmartRef__":true,"id":5792},"name":"onMouseDown"},"5809":{},"5810":{},"5811":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5812},"derivationIds":[null],"id":"9D2ECAD4-AD87-4EDC-855C-10FC73D8F300","renderContextTable":{"__isSmartRef__":true,"id":5816},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5817},{"__isSmartRef__":true,"id":5819}],"cachedTextString":"submorphs ","eventHandler":{"__isSmartRef__":true,"id":5821},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5791},"_Position":{"__isSmartRef__":true,"id":5822},"priorExtent":{"__isSmartRef__":true,"id":5823},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5824},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5812":{"_Position":{"__isSmartRef__":true,"id":5813},"renderContextTable":{"__isSmartRef__":true,"id":5814},"_Extent":{"__isSmartRef__":true,"id":5815},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-9d2ecad4-ad87-4edc-855c-10fc73d8f300","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5813":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5814":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5815":{"x":88,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5816":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5817":{"style":{"__isSmartRef__":true,"id":5818},"chunkOwner":{"__isSmartRef__":true,"id":5811},"storedString":"submorphs ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5818":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5819":{"style":{"__isSmartRef__":true,"id":5820},"chunkOwner":{"__isSmartRef__":true,"id":5811},"storedString":"[]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5820":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5821":{"morph":{"__isSmartRef__":true,"id":5811},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5822":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5823":{"x":88,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5824":{"onMouseDown":{"__isSmartRef__":true,"id":5825}},"5825":{"varMapping":{"__isSmartRef__":true,"id":5826},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5831},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5826":{"this":{"__isSmartRef__":true,"id":5811},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5827}},"5827":{"$super":{"__isSmartRef__":true,"id":5828}},"5828":{"varMapping":{"__isSmartRef__":true,"id":5829},"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":5830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5829":{"obj":{"__isSmartRef__":true,"id":5811},"name":"onMouseDown"},"5830":{},"5831":{},"5832":{"_Position":{"__isSmartRef__":true,"id":5833},"renderContextTable":{"__isSmartRef__":true,"id":5834},"_Extent":{"__isSmartRef__":true,"id":5835},"_Padding":{"__isSmartRef__":true,"id":5836},"_NodeClass":["morph","box"],"_NodeId":"morph-0cdd6849-7b6a-448e-a416-dd364955bc95","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5833":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5834":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5835":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5836":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5837":{"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","setStyleSheet":"setStyleSheetHTML"},"5838":{"morph":{"__isSmartRef__":true,"id":5791},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5839":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5840":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5841}},"5841":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5791},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5842":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5843":{"_Position":{"__isSmartRef__":true,"id":5844},"renderContextTable":{"__isSmartRef__":true,"id":5845},"_Extent":{"__isSmartRef__":true,"id":5846},"_Padding":{"__isSmartRef__":true,"id":5847},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-12129c45-5fe1-42b6-a1f7-aef672b03e77","_Fill":{"__isSmartRef__":true,"id":5848},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5844":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5845":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5846":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5847":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5848":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5849":{"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","setStyleSheet":"setStyleSheetHTML"},"5850":{"morph":{"__isSmartRef__":true,"id":5790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5851":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5852":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5853}},"5853":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5854},"spacing":0,"container":{"__isSmartRef__":true,"id":5790},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5854":{"top":0,"right":0,"bottom":0,"left":0},"5855":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5856":{"onSelect":{"__isSmartRef__":true,"id":5857},"onExpand":{"__isSmartRef__":true,"id":5860},"onUpdateChildren":{"__isSmartRef__":true,"id":5863},"onUpdate":{"__isSmartRef__":true,"id":5866}},"5857":{"varMapping":{"__isSmartRef__":true,"id":5858},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5859},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5858":{"this":{"__isSmartRef__":true,"id":5788}},"5859":{},"5860":{"varMapping":{"__isSmartRef__":true,"id":5861},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5861":{"this":{"__isSmartRef__":true,"id":5788}},"5862":{},"5863":{"varMapping":{"__isSmartRef__":true,"id":5864},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5864":{"this":{"__isSmartRef__":true,"id":5788}},"5865":{},"5866":{"varMapping":{"__isSmartRef__":true,"id":5867},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5867":{"this":{"__isSmartRef__":true,"id":5788}},"5868":{},"5869":{"data":{"__isSmartRef__":true,"id":5870},"inspector":{"__isSmartRef__":true,"id":4035},"name":"","description":"inherited from lively.morphic.Box","children":[],"attributeConnections":[{"__isSmartRef__":true,"id":5871}],"doNotSerialize":["$$changed"],"doNotCopyProperties":["$$changed"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5938}},"5870":{"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5871":{"sourceObj":{"__isSmartRef__":true,"id":5869},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":5872},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5872":{"item":{"__isSmartRef__":true,"id":5869},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":5873}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5925},"derivationIds":[null],"id":"DA59B9C5-EE55-4246-992C-D996291659F2","renderContextTable":{"__isSmartRef__":true,"id":5931},"eventHandler":{"__isSmartRef__":true,"id":5932},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5933},"layout":{"__isSmartRef__":true,"id":5934},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5937},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":5874},"label":{"__isSmartRef__":true,"id":5893},"node":{"__isSmartRef__":true,"id":5873},"owner":{"__isSmartRef__":true,"id":4056},"__LivelyClassName__":"users.cschuster.Widgets.Tree","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5873":{"submorphs":[{"__isSmartRef__":true,"id":5874},{"__isSmartRef__":true,"id":5893}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5914},"derivationIds":[null],"id":"7006DF1B-97A2-4D44-85DE-D8E0405EC477","renderContextTable":{"__isSmartRef__":true,"id":5919},"eventHandler":{"__isSmartRef__":true,"id":5920},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5921},"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":5922},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":5872},"priorExtent":{"__isSmartRef__":true,"id":5924},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5874":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5875},"derivationIds":[null],"id":"9D78566E-920F-4E96-B115-8E142EB87960","renderContextTable":{"__isSmartRef__":true,"id":5879},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5880}],"eventHandler":{"__isSmartRef__":true,"id":5882},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5873},"_Position":{"__isSmartRef__":true,"id":5883},"priorExtent":{"__isSmartRef__":true,"id":5884},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5885},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5875":{"_Position":{"__isSmartRef__":true,"id":5876},"renderContextTable":{"__isSmartRef__":true,"id":5877},"_Extent":{"__isSmartRef__":true,"id":5878},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-9d78566e-920f-4e96-b115-8e142eb87960","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5876":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5877":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5878":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5879":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5880":{"style":{"__isSmartRef__":true,"id":5881},"chunkOwner":{"__isSmartRef__":true,"id":5874},"storedString":"►","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5881":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5882":{"morph":{"__isSmartRef__":true,"id":5874},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5883":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5884":{"x":10,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5885":{"onMouseDown":{"__isSmartRef__":true,"id":5886}},"5886":{"varMapping":{"__isSmartRef__":true,"id":5887},"source":"function onMouseDown(evt) {\n if (this.owner.owner.item.children && evt.isLeftMouseButtonDown()) {\n this.owner.owner.toggle();\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5887":{"this":{"__isSmartRef__":true,"id":5874},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5888}},"5888":{"$super":{"__isSmartRef__":true,"id":5889}},"5889":{"varMapping":{"__isSmartRef__":true,"id":5890},"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":5891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5890":{"obj":{"__isSmartRef__":true,"id":5874},"name":"onMouseDown"},"5891":{},"5892":{},"5893":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5894},"derivationIds":[null],"id":"F557BD1F-AB31-41A9-93EC-E4F003EDB26E","renderContextTable":{"__isSmartRef__":true,"id":5898},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5899},{"__isSmartRef__":true,"id":5901}],"cachedTextString":" ","eventHandler":{"__isSmartRef__":true,"id":5903},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5873},"_Position":{"__isSmartRef__":true,"id":5904},"priorExtent":{"__isSmartRef__":true,"id":5905},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5906},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5894":{"_Position":{"__isSmartRef__":true,"id":5895},"renderContextTable":{"__isSmartRef__":true,"id":5896},"_Extent":{"__isSmartRef__":true,"id":5897},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f557bd1f-ab31-41a9-93ec-e4f003edb26e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5895":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5896":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5897":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5898":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5899":{"style":{"__isSmartRef__":true,"id":5900},"chunkOwner":{"__isSmartRef__":true,"id":5893},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5900":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5901":{"style":{"__isSmartRef__":true,"id":5902},"chunkOwner":{"__isSmartRef__":true,"id":5893},"storedString":"inherited from lively.morphic.Box","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5902":{"color":{"__isSmartRef__":true,"id":4092},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5903":{"morph":{"__isSmartRef__":true,"id":5893},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5904":{"x":15,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5905":{"x":203,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5906":{"onMouseDown":{"__isSmartRef__":true,"id":5907}},"5907":{"varMapping":{"__isSmartRef__":true,"id":5908},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.owner.owner.item.onSelect) {\n this.owner.owner.getRootTree().select(this);\n this.owner.owner.item.onSelect(this.owner.owner);\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5908":{"this":{"__isSmartRef__":true,"id":5893},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5909}},"5909":{"$super":{"__isSmartRef__":true,"id":5910}},"5910":{"varMapping":{"__isSmartRef__":true,"id":5911},"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":5912},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5911":{"obj":{"__isSmartRef__":true,"id":5893},"name":"onMouseDown"},"5912":{},"5913":{},"5914":{"_Position":{"__isSmartRef__":true,"id":5915},"renderContextTable":{"__isSmartRef__":true,"id":5916},"_Extent":{"__isSmartRef__":true,"id":5917},"_Padding":{"__isSmartRef__":true,"id":5918},"_NodeClass":["morph","box"],"_NodeId":"morph-7006df1b-97a2-4d44-85de-d8e0405ec477","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5915":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5916":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5917":{"x":218,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5918":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5919":{"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","setStyleSheet":"setStyleSheetHTML"},"5920":{"morph":{"__isSmartRef__":true,"id":5873},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5921":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5922":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5923}},"5923":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5873},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5924":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5925":{"_Position":{"__isSmartRef__":true,"id":5926},"renderContextTable":{"__isSmartRef__":true,"id":5927},"_Extent":{"__isSmartRef__":true,"id":5928},"_Padding":{"__isSmartRef__":true,"id":5929},"_NodeClass":["morph","box","tree"],"_NodeId":"morph-da59b9c5-ee55-4246-992c-d996291659f2","_Fill":{"__isSmartRef__":true,"id":5930},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5926":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5928":{"x":228,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5929":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5930":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5931":{"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","setStyleSheet":"setStyleSheetHTML"},"5932":{"morph":{"__isSmartRef__":true,"id":5872},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5933":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5934":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5935}},"5935":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5936},"spacing":0,"container":{"__isSmartRef__":true,"id":5872},"isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout","__SourceModuleName__":"Global.users.cschuster.Widgets"},"5936":{"top":0,"right":0,"bottom":0,"left":0},"5937":{"x":125,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5938":{"onExpand":{"__isSmartRef__":true,"id":5939},"onUpdateChildren":{"__isSmartRef__":true,"id":5942},"onUpdate":{"__isSmartRef__":true,"id":5945}},"5939":{"varMapping":{"__isSmartRef__":true,"id":5940},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5940":{"this":{"__isSmartRef__":true,"id":5869}},"5941":{},"5942":{"varMapping":{"__isSmartRef__":true,"id":5943},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5944},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5943":{"this":{"__isSmartRef__":true,"id":5869}},"5944":{},"5945":{"varMapping":{"__isSmartRef__":true,"id":5946},"source":"function onUpdate() {\n this.description = \"inherited from \" + this.inspector.typename(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5947},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5946":{"this":{"__isSmartRef__":true,"id":5869}},"5947":{},"5948":{"sourceObj":{"__isSmartRef__":true,"id":4057},"sourceAttrName":"changed","targetObj":{"__isSmartRef__":true,"id":4056},"targetMethodName":"update","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"5949":{"onSelect":{"__isSmartRef__":true,"id":5950},"onExpand":{"__isSmartRef__":true,"id":5953},"onUpdateChildren":{"__isSmartRef__":true,"id":5956},"onUpdate":{"__isSmartRef__":true,"id":5959}},"5950":{"varMapping":{"__isSmartRef__":true,"id":5951},"source":"function onSelect(tree) { this.inspector.select(this, tree); }","funcProperties":{"__isSmartRef__":true,"id":5952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5951":{"this":{"__isSmartRef__":true,"id":4057}},"5952":{},"5953":{"varMapping":{"__isSmartRef__":true,"id":5954},"source":"function onExpand() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5955},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5954":{"this":{"__isSmartRef__":true,"id":4057}},"5955":{},"5956":{"varMapping":{"__isSmartRef__":true,"id":5957},"source":"function onUpdateChildren() { this.inspector.expand(this); }","funcProperties":{"__isSmartRef__":true,"id":5958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5957":{"this":{"__isSmartRef__":true,"id":4057}},"5958":{},"5959":{"varMapping":{"__isSmartRef__":true,"id":5960},"source":"function onUpdate() {\n this.description = this.inspector.describe(this.data);\n }","funcProperties":{"__isSmartRef__":true,"id":5961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5960":{"this":{"__isSmartRef__":true,"id":4057}},"5961":{},"5962":{"_Position":{"__isSmartRef__":true,"id":5963},"renderContextTable":{"__isSmartRef__":true,"id":5964},"_Extent":{"__isSmartRef__":true,"id":5965},"_Padding":{"__isSmartRef__":true,"id":5966},"_NodeClass":["tree"],"_NodeId":"morph-01a6356e-c15d-4f8d-bbb6-8680b231177d","_Fill":{"__isSmartRef__":true,"id":5967},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5968},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5963":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5964":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"5965":{"x":319,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5966":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5967":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5968":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5969":{"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","setStyleSheet":"setStyleSheetHTML"},"5970":{"morph":{"__isSmartRef__":true,"id":4056},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5971":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":5972}},"5972":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":5973},"spacing":0,"container":{"__isSmartRef__":true,"id":4056},"__SourceModuleName__":"Global.users.cschuster.Widgets","isDefered":false,"__LivelyClassName__":"users.cschuster.Widgets.TreeLayout"},"5973":{"top":0,"right":0,"bottom":0,"left":0},"5974":{"x":125,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5975":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5976},"derivationIds":[null],"id":"29A6219C-55DE-4ECC-9C26-6C13549D3D32","renderContextTable":{"__isSmartRef__":true,"id":5982},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5983}],"eventHandler":{"__isSmartRef__":true,"id":5985},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":5986},"_Position":{"__isSmartRef__":true,"id":6009},"priorExtent":{"__isSmartRef__":true,"id":6010},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"5976":{"_Position":{"__isSmartRef__":true,"id":5977},"renderContextTable":{"__isSmartRef__":true,"id":5978},"_Extent":{"__isSmartRef__":true,"id":5979},"_Padding":{"__isSmartRef__":true,"id":5980},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5981},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-29a6219c-55de-4ecc-9c26-6c13549d3d32","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5977":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5978":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"5979":{"x":10,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5980":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5981":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5982":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5983":{"style":{"__isSmartRef__":true,"id":5984},"chunkOwner":{"__isSmartRef__":true,"id":5975},"storedString":"▼","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5984":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5985":{"morph":{"__isSmartRef__":true,"id":5975},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5986":{"submorphs":[{"__isSmartRef__":true,"id":5975},{"__isSmartRef__":true,"id":5987}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5998},"derivationIds":[null],"id":"2AEC3E2F-CB91-46F1-B8C1-8D35A130458F","renderContextTable":{"__isSmartRef__":true,"id":6003},"eventHandler":{"__isSmartRef__":true,"id":6004},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":6005},"isInLayoutCycle":false,"owner":null,"_Position":{"__isSmartRef__":true,"id":6007},"priorExtent":{"__isSmartRef__":true,"id":6008},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Morph"},"5987":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5988},"derivationIds":[null],"id":"6978CD3E-475C-4D72-8FFC-4EE1D72E5A57","renderContextTable":{"__isSmartRef__":true,"id":5992},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5993}],"cachedTextString":"undefined","eventHandler":{"__isSmartRef__":true,"id":5995},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":5986},"_Position":{"__isSmartRef__":true,"id":5996},"priorExtent":{"__isSmartRef__":true,"id":5997},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"5988":{"_Position":{"__isSmartRef__":true,"id":5989},"renderContextTable":{"__isSmartRef__":true,"id":5990},"_Extent":{"__isSmartRef__":true,"id":5991},"_Padding":{"__isSmartRef__":true,"id":5980},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5981},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-6978cd3e-475c-4d72-8ffc-4ee1d72e5a57","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5989":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"5991":{"x":99,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5992":{"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","setStyleSheet":"setStyleSheetHTML","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"},"5993":{"style":{"__isSmartRef__":true,"id":5994},"chunkOwner":{"__isSmartRef__":true,"id":5987},"storedString":"undefinedObjectInspector","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"5994":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5995":{"morph":{"__isSmartRef__":true,"id":5987},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5996":{"x":15,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5997":{"x":100,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5998":{"_Position":{"__isSmartRef__":true,"id":5999},"renderContextTable":{"__isSmartRef__":true,"id":6000},"_Extent":{"__isSmartRef__":true,"id":6001},"_Padding":{"__isSmartRef__":true,"id":6002},"_NodeClass":["morph"],"_NodeId":"morph-2aec3e2f-cb91-46f1-b8c1-8d35a130458f","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5999":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6000":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML"},"6001":{"x":115,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6002":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6003":{"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","setStyleSheet":"setStyleSheetHTML"},"6004":{"morph":{"__isSmartRef__":true,"id":5986},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6005":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":6006}},"6006":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":5986},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"6007":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6008":{"x":1,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6009":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6010":{"x":10,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6011":{"x":-1.992011992001835,"y":-0.035946035991059944,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6012":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6013},"derivationIds":[null],"id":"5E06DAFA-7119-419A-A596-0EC4D0491436","renderContextTable":{"__isSmartRef__":true,"id":6020},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6021},{"__isSmartRef__":true,"id":6023}],"cachedTextString":"halosEnabled ","eventHandler":{"__isSmartRef__":true,"id":6026},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","owner":{"__isSmartRef__":true,"id":6027},"_Position":{"__isSmartRef__":true,"id":6065},"priorExtent":{"__isSmartRef__":true,"id":6066},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"6013":{"_Position":{"__isSmartRef__":true,"id":6014},"renderContextTable":{"__isSmartRef__":true,"id":6015},"_Extent":{"__isSmartRef__":true,"id":6016},"_Padding":{"__isSmartRef__":true,"id":6017},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6018},"_Fill":{"__isSmartRef__":true,"id":6019},"_NodeClass":["morph","text"],"_NodeId":"morph-5e06dafa-7119-419a-a596-0ec4d0491436","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6014":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6015":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6016":{"x":108,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6017":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6018":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6019":{"r":0.8549019607843137,"g":0.8549019607843137,"b":0.8549019607843137,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6020":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6021":{"style":{"__isSmartRef__":true,"id":6022},"chunkOwner":{"__isSmartRef__":true,"id":6012},"storedString":"halosEnabled ","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6022":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6023":{"style":{"__isSmartRef__":true,"id":6024},"chunkOwner":{"__isSmartRef__":true,"id":6012},"storedString":"true","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6024":{"color":{"__isSmartRef__":true,"id":6025},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6025":{"r":0.6627450980392157,"g":0.6627450980392157,"b":0.6627450980392157,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6026":{"morph":{"__isSmartRef__":true,"id":6012},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6027":{"submorphs":[{"__isSmartRef__":true,"id":6028},{"__isSmartRef__":true,"id":6012}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6039},"derivationIds":[null],"id":"D93E6B3D-320D-4644-86AA-F14C3CEB9842","renderContextTable":{"__isSmartRef__":true,"id":6044},"eventHandler":{"__isSmartRef__":true,"id":6045},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":6046},"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":6048},"_Position":{"__isSmartRef__":true,"id":6063},"priorExtent":{"__isSmartRef__":true,"id":6064},"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Morph"},"6028":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6029},"derivationIds":[null],"id":"F6A09D8A-EF6A-4A42-A1E8-BAB5A136C391","renderContextTable":{"__isSmartRef__":true,"id":6033},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6034}],"eventHandler":{"__isSmartRef__":true,"id":6036},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":false,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"draggingEnabled":false,"_HandStyle":"default","_Align":"right","owner":{"__isSmartRef__":true,"id":6027},"_Position":{"__isSmartRef__":true,"id":6037},"priorExtent":{"__isSmartRef__":true,"id":6038},"_MaxTextWidth":2,"_MinTextWidth":2,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"6029":{"_Position":{"__isSmartRef__":true,"id":6030},"renderContextTable":{"__isSmartRef__":true,"id":6031},"_Extent":{"__isSmartRef__":true,"id":6032},"_Padding":{"__isSmartRef__":true,"id":6017},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6018},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f6a09d8a-ef6a-4a42-a1e8-bab5a136c391","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6030":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6031":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6032":{"x":10,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6033":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6034":{"style":{"__isSmartRef__":true,"id":6035},"chunkOwner":{"__isSmartRef__":true,"id":6028},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6035":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6036":{"morph":{"__isSmartRef__":true,"id":6028},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6037":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6038":{"x":10,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6039":{"_Position":{"__isSmartRef__":true,"id":6040},"renderContextTable":{"__isSmartRef__":true,"id":6041},"_Extent":{"__isSmartRef__":true,"id":6042},"_Padding":{"__isSmartRef__":true,"id":6043},"_NodeClass":["morph"],"_NodeId":"morph-d93e6b3d-320d-4644-86aa-f14c3ceb9842","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6040":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6041":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6042":{"x":352,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6043":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6044":{"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","setStyleSheet":"setStyleSheetHTML"},"6045":{"morph":{"__isSmartRef__":true,"id":6027},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6046":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":6047}},"6047":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":5,"container":{"__isSmartRef__":true,"id":6027},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"6048":{"item":{"__isSmartRef__":true,"id":6049},"parent":{"__isSmartRef__":true,"id":4056},"depth":1,"submorphs":[{"__isSmartRef__":true,"id":6027}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6050},"derivationIds":[null],"id":"74DB0465-904F-425B-95D2-570ACA67DDD5","renderContextTable":{"__isSmartRef__":true,"id":6056},"eventHandler":{"__isSmartRef__":true,"id":6057},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":false,"layout":{"__isSmartRef__":true,"id":6058},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6061},"draggingEnabled":false,"dragAndDrop":true,"childNodes":null,"icon":{"__isSmartRef__":true,"id":6028},"label":{"__isSmartRef__":true,"id":6012},"node":{"__isSmartRef__":true,"id":6027},"_Position":{"__isSmartRef__":true,"id":6062},"owner":null,"__SourceModuleName__":"Global.users.cschuster.Widgets","__LivelyClassName__":"users.cschuster.Widgets.Tree"},"6049":{"data":true,"name":"halosEnabled","description":"true"},"6050":{"_Position":{"__isSmartRef__":true,"id":6051},"renderContextTable":{"__isSmartRef__":true,"id":6052},"_Extent":{"__isSmartRef__":true,"id":6053},"_Padding":{"__isSmartRef__":true,"id":6054},"_NodeClass":["morph","tree"],"_NodeId":"morph-74db0465-904f-425b-95d2-570aca67ddd5","_Fill":{"__isSmartRef__":true,"id":6055},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6018},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6051":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6052":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6053":{"x":352,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6054":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6055":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6056":{"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","setStyleSheet":"setStyleSheetHTML"},"6057":{"morph":{"__isSmartRef__":true,"id":6048},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6058":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":6059}},"6059":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":{"__isSmartRef__":true,"id":6060},"spacing":0,"container":{"__isSmartRef__":true,"id":6048},"isDefered":false,"__SourceModuleName__":"Global.users.cschuster.Widgets","__LivelyClassName__":"users.cschuster.Widgets.TreeLayout"},"6060":{"top":0,"right":0,"bottom":0,"left":0},"6061":{"x":352,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6062":{"x":0,"y":140,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6063":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6064":{"x":352,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6065":{"x":15,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6066":{"x":108,"y":15,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6067":{"reset":{"__isSmartRef__":true,"id":6068}},"6068":{"varMapping":{"__isSmartRef__":true,"id":6069},"source":"function reset() {\n this.item = null;\n this.submorphs.invoke(\"remove\");\n this.childNodes = null;\n this.setExtent(pt(1,1));\n this.applyLayout();\n}","funcProperties":{"__isSmartRef__":true,"id":6070},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6069":{"this":{"__isSmartRef__":true,"id":4056}},"6070":{"timestamp":{"__isSmartRef__":true,"id":6071},"user":"cschuster","tags":[]},"6071":{"isSerializedDate":true,"string":"Tue May 29 2012 15:35:26 GMT-0700 (Pacific Daylight Time)"},"6072":{"position":{"__isSmartRef__":true,"id":6073},"_Extent":{"__isSmartRef__":true,"id":6074},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6075},"_Fill":{"__isSmartRef__":true,"id":6076},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6077},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6078},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6073":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6074":{"x":296.8712591602084,"y":273.2445189874876,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6075":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6076":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6077":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6078":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6079":{"x":8.145,"y":41.217436058773686,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6080":{"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":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":6081},{"__isSmartRef__":true,"id":6083},{"__isSmartRef__":true,"id":6085},{"__isSmartRef__":true,"id":6087},{"__isSmartRef__":true,"id":6089},{"__isSmartRef__":true,"id":6091}],"revisionOnLoad":163371,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6081":{"date":{"__isSmartRef__":true,"id":6082},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"6082":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"6083":{"date":{"__isSmartRef__":true,"id":6084},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"6084":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"6085":{"date":{"__isSmartRef__":true,"id":6086},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"6086":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"6087":{"date":{"__isSmartRef__":true,"id":6088},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"6088":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"6089":{"date":{"__isSmartRef__":true,"id":6090},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"6090":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"6091":{"date":{"__isSmartRef__":true,"id":6092},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"6092":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"6093":{"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","setStyleSheet":"setStyleSheetHTML"},"6094":{"morph":{"__isSmartRef__":true,"id":4055},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6095":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6096}},"6096":{"test01IsMorph":{"__isSmartRef__":true,"id":6097}},"6097":{"varMapping":{"__isSmartRef__":true,"id":6098},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":6099},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6098":{"this":{"__isSmartRef__":true,"id":6095}},"6099":{},"6100":{"resizeWidth":true,"resizeHeight":true},"6101":{"x":296.8712591602084,"y":273.2445189874876,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6102":{"submorphs":[{"__isSmartRef__":true,"id":6103},{"__isSmartRef__":true,"id":6124}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6137},"derivationIds":[null,"1DDF17DF-89F1-41AF-8FED-513C5DA4861F","34E9C329-CF65-4830-925D-B24B87EE3DF6","11A0A064-4A2C-4690-9636-6789C5696F63","35948438-B473-40F3-8AFF-7CEAAEAD2F48","9C44EA9A-7CD0-40B1-B44A-BD97126020A9","ED63BB10-E75E-41F7-B171-17FB2E70028A","2A26EF6F-B65C-4040-A343-0B563A6D23FD","1BC60F94-B9FA-4039-97F3-537564196FD9","1A3FCF3A-2B05-489C-A6A2-1BA668DD41C6","C5D0589C-A5E3-4EA4-8786-F69A01B8E54F","9018B830-2426-40E1-99E3-F8DD145D2907","8916D213-ED73-48BE-8C12-90AA950ECD3A","0EEEC303-0DA5-4A8A-9B2F-12D43E2AFEC2","756D8367-C492-435D-A58C-7777D259CAC9","0C785828-7A75-40B9-BA32-41E2E7BCF232","1CB7A529-70B5-4DB1-9A21-2DA7902316FC"],"id":"6E8F11C7-6449-45BB-982A-885E838C8B5C","renderContextTable":{"__isSmartRef__":true,"id":6142},"eventHandler":{"__isSmartRef__":true,"id":6143},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":4035},"_Position":{"__isSmartRef__":true,"id":6144},"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":6145},"layout":{"__isSmartRef__":true,"id":6146},"isInLayoutCycle":false,"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":2,"__SourceModuleName__":"Global.lively.morphic.Core","_Rotation":0,"_Scale":0.9880657804942087,"__LivelyClassName__":"lively.morphic.Morph"},"6103":{"submorphs":[],"scripts":[],"id":"7B9EB097-C7E1-498D-9158-CBD1DDC09707","renderContextTable":{"__isSmartRef__":true,"id":6104},"shape":{"__isSmartRef__":true,"id":6105},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","eventHandler":{"__isSmartRef__":true,"id":6112},"_Position":{"__isSmartRef__":true,"id":6113},"itemList":[{"__isSmartRef__":true,"id":6114},{"__isSmartRef__":true,"id":6115},{"__isSmartRef__":true,"id":6116},{"__isSmartRef__":true,"id":6117}],"selectOnMove":false,"showsHalos":false,"priorExtent":{"__isSmartRef__":true,"id":6118},"attributeConnections":[{"__isSmartRef__":true,"id":6119}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"name":"ObjectInspectorFilterList","partsBinMetaInfo":{"__isSmartRef__":true,"id":6121},"__SourceModuleName__":"Global.lively.morphic.Core","prevScroll":[0,0],"selectedLineNo":0,"valueScale":1,"distanceToDragEvent":{"__isSmartRef__":true,"id":6122},"changeTriggered":false,"derivationIds":[11781,"5102790A-CF88-40E4-A4D5-2F4DC18EE7F4","99147EDF-9E62-4AEC-ADD3-8AE47D5B9CA5","5C61633B-2FCB-439D-BAF5-65CB4D143B97","B4426A19-F07D-430E-B4A0-A62E57595CC6","73A966DD-D592-4638-96F9-60608A6829A4","8685C59F-E3BA-4E8B-8BF3-F0B2DA4C489A","FFE81A11-EA11-4EC7-BDD2-4CD8CD233795","B99EF2EF-3A62-4E7B-BE60-1BE2827CCE65","A11E3246-8FFF-424D-88EE-BD89875802AD","AC6169D4-D438-4C2E-A28C-BD36B8083EBA","C767CCD0-8B53-4669-AE15-191BC54D43A8","16D2E351-C720-4868-AF19-37373DF22E18","E3043356-AEC3-4047-8F77-CE2FCFBD9A33","6731C1BC-FBBD-456C-9A73-725075E36BE2","BE9906CB-B16B-45B1-86E3-B9255D31570A","390F5946-D572-43AA-A8FE-690DE6A1E2D4","EF4BBFB3-414A-42A1-8521-04CAADCBCD93","4A9BE8E6-AB6E-493F-9C84-3111FB900D84"],"owner":{"__isSmartRef__":true,"id":6102},"selection":"standard","layout":{"__isSmartRef__":true,"id":6123},"#startLetters":"","isBeingDragged":false,"_Rotation":0,"_Scale":0.998001,"__LivelyClassName__":"lively.morphic.DropDownList"},"6104":{"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","setStyleSheet":"setStyleSheetHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"6105":{"_Position":{"__isSmartRef__":true,"id":6106},"renderContextTable":{"__isSmartRef__":true,"id":6107},"_Extent":{"__isSmartRef__":true,"id":6108},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6109},"_Fill":{"__isSmartRef__":true,"id":6110},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":{"__isSmartRef__":true,"id":6111},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6106":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6107":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6108":{"x":204.8712591602084,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6109":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6110":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6111":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6112":{"morph":{"__isSmartRef__":true,"id":6103},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6113":{"x":92,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6114":{"isListItem":true,"string":"show standard properties","value":"standard"},"6115":{"isListItem":true,"string":"show all properties","value":"properties"},"6116":{"isListItem":true,"string":"show functions","value":"functions"},"6117":{"isListItem":true,"string":"show morphs","value":"submorphs"},"6118":{"x":204.8712591602084,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6119":{"sourceObj":{"__isSmartRef__":true,"id":6103},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4035},"targetMethodName":"setFilter","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6120},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6120":{"source":{"__isSmartRef__":true,"id":6103},"target":{"__isSmartRef__":true,"id":4035}},"6121":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","comment":"\"Native\" drop down list","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6122":{"x":89,"y":-13.923870090022092,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6123":{"resizeWidth":true},"6124":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6125},"derivationIds":[null,"E88A53FB-D21B-44BB-BDFD-869442C56311","0F787D3F-D240-44AF-ACF9-68B168A37AF6","A057ACC6-677C-4F53-B1D5-9938B56D0FEB","9732F158-76D9-4A36-8A15-548AF9D33FDE","27B1C939-33F2-47D5-832F-A75A78CB87AB","14D838C8-A334-48E3-81C0-D163F3856BC8","8ED36FD4-3BC1-4666-9D10-9D5B011CCC09","03AB1784-1272-475D-907F-BCED9FB98003","9B479E1E-E883-48A8-A81E-C9401988816C","95B8D1CF-CA5A-467B-8E75-190C0F92968F","61D66172-31A5-4E3A-A8DA-7DB2A7E60829","2D0FA765-B758-4A5A-A27C-EC16E95D2F0A","AD1A023D-D343-4F30-8EE9-5CA1E5C6DFCA","FDBEE6AB-A3AC-4E07-B69A-202BF0E33B71","7A8530D3-BFD4-4C90-9F6E-FB5C59BB4E86","B9F96B7E-3E06-4CFB-8E58-DA25B52A5E53"],"id":"85C7276D-396E-40F8-8CA9-89CED33ACFBC","renderContextTable":{"__isSmartRef__":true,"id":6131},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6132}],"eventHandler":{"__isSmartRef__":true,"id":6134},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":6102},"priorExtent":{"__isSmartRef__":true,"id":6135},"_MaxTextWidth":84,"_MinTextWidth":84,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":6136},"showsHalos":false,"#startLetters":"can","isBeingDragged":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6125":{"_Position":{"__isSmartRef__":true,"id":6126},"renderContextTable":{"__isSmartRef__":true,"id":6127},"_Extent":{"__isSmartRef__":true,"id":6128},"_Padding":{"__isSmartRef__":true,"id":6129},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6130},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-e88a53fb-d21b-44bb-bdfd-869442c56311","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6126":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6127":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6128":{"x":92,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6129":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6130":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6131":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6132":{"style":{"__isSmartRef__":true,"id":6133},"chunkOwner":{"__isSmartRef__":true,"id":6124},"storedString":"Filter:","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6133":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6134":{"morph":{"__isSmartRef__":true,"id":6124},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6135":{"x":92,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6136":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6137":{"_Position":{"__isSmartRef__":true,"id":6138},"renderContextTable":{"__isSmartRef__":true,"id":6139},"_Extent":{"__isSmartRef__":true,"id":6140},"_Padding":{"__isSmartRef__":true,"id":6141},"_NodeClass":["morph"],"_NodeId":"morph-1ddf17df-89f1-41af-8fed-513c5da4861f","_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6138":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6139":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6140":{"x":296.8712591602084,"y":28.14243605877368,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6141":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6142":{"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","setStyleSheet":"setStyleSheetHTML"},"6143":{"morph":{"__isSmartRef__":true,"id":6102},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6144":{"x":8.145,"y":8.145,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6145":{"x":296.8712591602084,"y":28.14243605877368,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6146":{"resizeWidth":true,"layouter":{"__isSmartRef__":true,"id":6147},"adjustForNewBounds":true,"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":6148}},"6147":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":6102},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"6148":{"x":358.1612591602084,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6149":{"target":{"__isSmartRef__":true,"id":4035},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":3278,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"6150":{"position":{"__isSmartRef__":true,"id":6151},"_Extent":{"__isSmartRef__":true,"id":6152},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6153},"_Fill":{"__isSmartRef__":true,"id":6154},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6155},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6156},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6151":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6152":{"x":313.1612591602084,"y":397.3809293801537,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6153":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6154":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6155":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6156":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6157":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6158":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tool for inspecting an object. Very similar to the ObjectExplorer but a lot faster and with the ability to edit primitives.","migrationLevel":4,"partName":"ObjectInspector","changes":[{"__isSmartRef__":true,"id":6159},{"__isSmartRef__":true,"id":6161},{"__isSmartRef__":true,"id":6163},{"__isSmartRef__":true,"id":6165},{"__isSmartRef__":true,"id":6167},{"__isSmartRef__":true,"id":6169},{"__isSmartRef__":true,"id":6171}],"revisionOnLoad":163371,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6159":{"date":{"__isSmartRef__":true,"id":6160},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"6160":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"6161":{"date":{"__isSmartRef__":true,"id":6162},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"6162":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"6163":{"date":{"__isSmartRef__":true,"id":6164},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"6164":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"6165":{"date":{"__isSmartRef__":true,"id":6166},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"6166":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"6167":{"date":{"__isSmartRef__":true,"id":6168},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"6168":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"6169":{"date":{"__isSmartRef__":true,"id":6170},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"6170":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"6171":{"date":{"__isSmartRef__":true,"id":6172},"author":"cschuster","message":"initial commit. still a lot of work to do.","id":"258D3B7C-8C70-4B34-962F-E2F39A8596D5"},"6172":{"isSerializedDate":true,"string":"Tue May 29 2012 14:52:57 GMT-0700 (Pacific Daylight Time)"},"6173":{"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","setStyleSheet":"setStyleSheetHTML"},"6174":{"morph":{"__isSmartRef__":true,"id":4035},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6175":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6176}},"6176":{"test01IsMorph":{"__isSmartRef__":true,"id":6177}},"6177":{"varMapping":{"__isSmartRef__":true,"id":6178},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":6179},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6178":{"this":{"__isSmartRef__":true,"id":6175}},"6179":{},"6180":{"layouter":{"__isSmartRef__":true,"id":6181},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":6182},"resizeWidth":true,"resizeHeight":true},"6181":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":8.145000000000001,"spacing":4.930000000000001,"container":{"__isSmartRef__":true,"id":4035},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"6182":{"x":378.1612591602084,"y":441.3809293801537,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6183":{"x":312.1612591602084,"y":397.3809293801537,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6184":{"inspect":{"__isSmartRef__":true,"id":6185},"reset":{"__isSmartRef__":true,"id":6189},"select":{"__isSmartRef__":true,"id":6193},"createItem":{"__isSmartRef__":true,"id":6197},"describe":{"__isSmartRef__":true,"id":6201},"update":{"__isSmartRef__":true,"id":6205},"expand":{"__isSmartRef__":true,"id":6209},"setFilter":{"__isSmartRef__":true,"id":6213},"isPrimitive":{"__isSmartRef__":true,"id":6217},"createPrototypeItem":{"__isSmartRef__":true,"id":6221},"typename":{"__isSmartRef__":true,"id":6225},"getFilter":{"__isSmartRef__":true,"id":6229}},"6185":{"varMapping":{"__isSmartRef__":true,"id":6186},"source":"function inspect(obj) {\n if (this.owner.isWindow) {\n this.owner.setTitle(this.describe(obj));\n }\n this.get(\"ObjectInspectorText\").doitContext = obj;\n if (!this.filter) this.get(\"ObjectInspectorFilterList\").selectAt(0);\n this.tree = this.get(\"ObjectInspectorTree\");\n this.tree.setItem(this.createItem({\"\": obj}, \"\", true));\n this.startStepping(500, 'update');\n}","funcProperties":{"__isSmartRef__":true,"id":6187},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6186":{"this":{"__isSmartRef__":true,"id":4035}},"6187":{"timestamp":{"__isSmartRef__":true,"id":6188},"user":"cschuster","tags":[]},"6188":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6189":{"varMapping":{"__isSmartRef__":true,"id":6190},"source":"function reset() {\n if (this.owner.isWindow) {\n this.owner.setTitle(\"ObjectInspector\");\n }\n this.get(\"ObjectInspectorText\").textString = \"this\";\n this.get(\"ObjectInspectorText\").doitContext = null;\n this.stopStepping();\n this.get(\"ObjectInspectorTree\").reset();\n this.get(\"ObjectInspectorFilterList\").setList([\n {isListItem: true,\n string: \"show standard properties\",\n value: \"standard\"},\n {isListItem:true, \n string:\"show all properties\", \n value: \"properties\"},\n {isListItem:true, \n string:\"show functions\", \n value: \"functions\"},\n {isListItem:true, \n string:\"show morphs\", \n value: \"submorphs\"}]);\n this.get(\"ObjectInspectorFilterList\").selectAt(0);\n this.applyLayout();\n}","funcProperties":{"__isSmartRef__":true,"id":6191},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6190":{"this":{"__isSmartRef__":true,"id":4035}},"6191":{"timestamp":{"__isSmartRef__":true,"id":6192},"user":"cschuster","tags":[]},"6192":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6193":{"varMapping":{"__isSmartRef__":true,"id":6194},"source":"function select(item, tree) {\n if (item.data !== null && item.data !== undefined) {\n this.get(\"ObjectInspectorText\").doitContext = item.data;\n }\n if (Object.isString(item.data) ||\n Object.isNumber(item.data) ||\n Object.isBoolean(item.data)) {\n Object.addScript(item, function onEdit(str) {\n var val = str;\n if (val === \"null\") val = null;\n if (val === \"true\") val = true;\n if (val === \"false\") val = false;\n if (Object.isString(val) && val.match(/^\\d+$/)) val = parseInt(val);\n this.parent[this.name] = val;\n });\n tree.editDescription();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6195},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6194":{"this":{"__isSmartRef__":true,"id":4035}},"6195":{"timestamp":{"__isSmartRef__":true,"id":6196},"user":"cschuster","tags":[]},"6196":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6197":{"varMapping":{"__isSmartRef__":true,"id":6198},"source":"function createItem(obj, property, isRoot) {\n var value = obj[property];\n var item = {data: value, inspector: this, parent: obj};\n if (!isRoot) item.name = property;\n item.description = this.describe(value);\n Object.addScript(item, function onSelect(tree) { this.inspector.select(this, tree); });\n if (!this.isPrimitive(value)) {\n item.children = [];\n Object.addScript(item, function onExpand() { this.inspector.expand(this); });\n Object.addScript(item, function onUpdateChildren() { this.inspector.expand(this); });\n }\n Object.addScript(item, function onUpdate() {\n this.description = this.inspector.describe(this.data);\n });\n return item;\n}","funcProperties":{"__isSmartRef__":true,"id":6199},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6198":{"this":{"__isSmartRef__":true,"id":4035}},"6199":{"timestamp":{"__isSmartRef__":true,"id":6200},"user":"cschuster","tags":[]},"6200":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6201":{"varMapping":{"__isSmartRef__":true,"id":6202},"source":"function describe(obj) {\n var str;\n if (obj && obj.name) {\n str = Object.isFunction(obj.name) ? obj.name() : obj.name;\n } else {\n str = Objects.shortPrintStringOf(obj);\n }\n if (str.length > 32) str = str.substring(0, 36) + '...';\n return str;\n}","funcProperties":{"__isSmartRef__":true,"id":6203},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6202":{"this":{"__isSmartRef__":true,"id":4035}},"6203":{"timestamp":{"__isSmartRef__":true,"id":6204},"user":"cschuster","tags":[]},"6204":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6205":{"varMapping":{"__isSmartRef__":true,"id":6206},"source":"function update() {\n if (this.tree.item) this.tree.update();\n}","funcProperties":{"__isSmartRef__":true,"id":6207},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6206":{"this":{"__isSmartRef__":true,"id":4035}},"6207":{"timestamp":{"__isSmartRef__":true,"id":6208},"user":"cschuster","tags":[]},"6208":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6209":{"varMapping":{"__isSmartRef__":true,"id":6210},"source":"function expand(item) {\n var props = Properties.allProperties(item.data, this.getFilter());\n if (!Object.isArray(item.data)) props = props.sort();\n var newChildren = [];\n var lookup = {};\n item.children.each(function(i) { lookup[i.name] = i; });\n props.each(function(prop) {\n var existing = lookup[prop];\n if (existing) {\n existing.data = item.data[prop];\n newChildren.push(existing);\n } else {\n newChildren.push(this.createItem(item.data, prop));\n }\n }.bind(this));\n var proto = !Object.isFunction(item.data) &&\n !this.isPrimitive(item.data) &&\n Object.getPrototypeOf(item.data);\n if (proto) {\n var existing = item.children.detect(function(i) { return i.data === proto; });\n if (existing) {\n newChildren.push(existing);\n } else {\n newChildren.push(this.createPrototypeItem(proto));\n }\n }\n item.children = newChildren;\n}","funcProperties":{"__isSmartRef__":true,"id":6211},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6210":{"this":{"__isSmartRef__":true,"id":4035}},"6211":{"timestamp":{"__isSmartRef__":true,"id":6212},"user":"cschuster","tags":[]},"6212":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:20:47 GMT-0700 (Pacific Daylight Time)"},"6213":{"varMapping":{"__isSmartRef__":true,"id":6214},"source":"function setFilter(str) {\n var startsAlphaNum = /^[a-zA-Z0-9]/;\n var fn = {\n standard: function(obj, prop) {\n return obj.hasOwnProperty(prop) &&\n startsAlphaNum.test(prop) &&\n !Object.isFunction(obj[prop]);\n },\n properties: function(obj, prop) {\n return obj.hasOwnProperty(prop) &&\n !Object.isFunction(obj[prop]);\n },\n functions: function(obj, prop) {\n return obj.hasOwnProperty(prop) &&\n Object.isFunction(obj[prop]);\n },\n submorphs: function(obj, prop) {\n return obj.hasOwnProperty(prop) &&\n (prop == 'submorphs' || obj[prop] instanceof lively.morphic.Morph);\n },\n };\n this.filter = fn[str];\n var that = this;\n this.tree.layoutAfter(function() { that.update(); });\n}","funcProperties":{"__isSmartRef__":true,"id":6215},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6214":{"this":{"__isSmartRef__":true,"id":4035}},"6215":{"timestamp":{"__isSmartRef__":true,"id":6216},"user":"cschuster","tags":[]},"6216":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6217":{"varMapping":{"__isSmartRef__":true,"id":6218},"source":"function isPrimitive(value) {\n return value === null ||\n value === undefined ||\n Object.isString(value) ||\n Object.isNumber(value) ||\n Object.isBoolean(value);\n}","funcProperties":{"__isSmartRef__":true,"id":6219},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6218":{"this":{"__isSmartRef__":true,"id":4035}},"6219":{"timestamp":{"__isSmartRef__":true,"id":6220},"user":"cschuster","tags":[]},"6220":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6221":{"varMapping":{"__isSmartRef__":true,"id":6222},"source":"function createPrototypeItem(proto) {\n var that = this;\n var item = {data: proto, inspector: this};\n item.name = \"\";\n item.description = \"inherited from \" + this.typename(proto);\n item.children = [];\n Object.addScript(item, function onExpand() { this.inspector.expand(this); });\n Object.addScript(item, function onUpdateChildren() { this.inspector.expand(this); });\n Object.addScript(item, function onUpdate() {\n this.description = \"inherited from \" + this.inspector.typename(this.data);\n });\n return item;\n}","funcProperties":{"__isSmartRef__":true,"id":6223},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6222":{"this":{"__isSmartRef__":true,"id":4035}},"6223":{"timestamp":{"__isSmartRef__":true,"id":6224},"user":"cschuster","tags":[]},"6224":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6225":{"varMapping":{"__isSmartRef__":true,"id":6226},"source":"function typename(proto) {\n return proto.constructor.type || proto.constructor.name || proto.toString();\n}","funcProperties":{"__isSmartRef__":true,"id":6227},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6226":{"this":{"__isSmartRef__":true,"id":4035}},"6227":{"timestamp":{"__isSmartRef__":true,"id":6228},"user":"cschuster","tags":[]},"6228":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:23 GMT-0700 (Pacific Daylight Time)"},"6229":{"varMapping":{"__isSmartRef__":true,"id":6230},"source":"function getFilter() {\n if (!this.filter) {\n this.setFilter(this.get(\"ObjectInspectorFilterList\").getSelectedItem());\n }\n return this.filter;\n}","funcProperties":{"__isSmartRef__":true,"id":6231},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6230":{"this":{"__isSmartRef__":true,"id":4035}},"6231":{"timestamp":{"__isSmartRef__":true,"id":6232},"user":"cschuster","tags":[]},"6232":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:20:17 GMT-0700 (Pacific Daylight Time)"},"6233":{"submorphs":[{"__isSmartRef__":true,"id":6234},{"__isSmartRef__":true,"id":6248},{"__isSmartRef__":true,"id":6294},{"__isSmartRef__":true,"id":6327}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6361},"derivationIds":[null,"28075D0B-7CAC-405C-BAF8-B282E172D749","DCFA25BA-84BC-4F48-9C96-4F3590529ACC","426E9C5D-2ECD-422C-9EBD-76664EA9A6CA","E8886075-8F6A-4768-A8EE-192E0C1E14F4","78D6F67C-2FAC-4BA8-B36E-39084936ECF5","DEA7AAFD-83FF-4AB3-BE0F-F7C86F637F27","AA85630A-E6E9-45E3-806A-24D738A31A95","0322591E-355C-49FD-9ADE-B4D5EC34196F","F101BA76-DF2C-4C17-8178-432A4133F0C6","C2AD11A7-537B-4227-A2D9-0EE7268C722A","55D4C5FD-F249-4F01-8EB7-C213F449B52A","25225008-D7D7-476F-9472-7DD2756DCFC8","5BB982C9-8175-4891-AD9B-473D78E385E8","541D01B4-33FC-4982-89C4-B57802BFF80B","736C8E77-FBB1-4A89-A00F-48275ABD411E","42A37021-5384-498C-B70B-A52DEC3332B7","2B6FFA82-B6F8-451F-A26A-76BC9B332BB9","CFB34C74-A60C-42F4-84C5-687F05AB0BE2","AC187724-96ED-4AB9-9A75-D34A76F79191","59953F7C-EE34-4703-BAC3-CCF49AECCE22","72C92052-3BDE-46CD-8ECD-10DF58B373D1","6E660F22-01C2-4446-BC5A-5C3D41DD3647","3471BA0F-48F2-44E5-85C3-318D7A376C54","86162C8D-B4D5-4D04-82A7-CF97CC420B7D","3E826192-846C-4F26-998B-A58F52DDB55C","638CD5D7-AF2C-4DDE-A873-42C977A7D51D","612870E6-BF3E-4222-90A3-E5D76CBECF0C","9E5C6864-8A39-412A-B2BF-A5329EB52198"],"id":"4D5E0411-5ABB-415D-96C8-927B471D7C99","renderContextTable":{"__isSmartRef__":true,"id":6366},"eventHandler":{"__isSmartRef__":true,"id":6367},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6368},"_Position":{"__isSmartRef__":true,"id":6369},"windowMorph":{"__isSmartRef__":true,"id":4034},"label":{"__isSmartRef__":true,"id":6234},"closeButton":{"__isSmartRef__":true,"id":6248},"menuButton":{"__isSmartRef__":true,"id":6294},"collapseButton":{"__isSmartRef__":true,"id":6327},"priorExtent":{"__isSmartRef__":true,"id":6370},"owner":{"__isSmartRef__":true,"id":4034},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__LivelyClassName__":"lively.morphic.TitleBar"},"6234":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6235},"derivationIds":[null,"31FA2D09-1F8A-4083-B066-2CC3D2BBACAE","6B7E96C6-049B-4641-BA54-B673CB73A064","3ED69202-3D5C-43CE-8E13-275F1E671D69","83300CB9-2C1A-498A-947D-BF8C0200CFBC","23D6B938-6414-4628-893F-0E11E7EFE9E2","B26F6FA7-7CD7-4051-A3FB-425420E48040","4F6EABA4-34AF-44B3-A78D-EAD4069BA7AD","0552E7F6-D294-411C-82BF-03D20514FCCD","62B4C1FF-7635-4DA2-BDAF-F423575DCBB5","3BD0E139-1419-47ED-9D55-3C89764E5966","7FB00B8E-7F2A-438F-8701-DE07C88ACFE5","AD72BA9F-61E4-4879-97C3-766FE62029C2","5AAD0E8F-AB3D-4160-BC11-17B27531B6F1","D45A2CDD-BC51-4687-B7D1-387F5C034F01","38AB4A6D-BB4A-4615-9521-F1CB5D69749D","10C1E77C-45FC-4AEC-9471-7B0C63C7F52B","B86C911B-B11B-420F-B227-6734675F4256","85B7637B-C9F9-4EE5-AA02-3C31330F291D","A03E0000-4E98-4351-B5E3-36D24F9C8068","A4812909-5D72-4FA6-914D-77E50A5C359B","9E11AB84-9936-48CE-8AF6-F3006E78F475","9CB4BF8A-0607-4DBA-A74B-00D51A685BD1","408F877F-39CB-49FF-A6F4-A6E5752EF861","C960D2D8-32C0-458E-A27B-613860EA59C4","5FA2FEEB-8A90-4E6C-8D4C-107AC92EE303","96C189A5-8DD5-4D78-99F8-A04ECBE29983","D29DE1A9-7188-46BE-8B7B-51AF6123E019","E06D1C7F-99E7-4CBF-A736-ED1B949B0A9A"],"id":"0E3CE6F8-A14B-49E0-B622-A4290FAFF9F4","renderContextTable":{"__isSmartRef__":true,"id":6240},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6241}],"eventHandler":{"__isSmartRef__":true,"id":6243},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":6244},"_TextColor":{"__isSmartRef__":true,"id":6245},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":6233},"_Position":{"__isSmartRef__":true,"id":6246},"priorExtent":{"__isSmartRef__":true,"id":6247},"_MaxTextWidth":255.4010020035039,"_MinTextWidth":255.4010020035039,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"6235":{"_Position":{"__isSmartRef__":true,"id":6236},"renderContextTable":{"__isSmartRef__":true,"id":6237},"_Extent":{"__isSmartRef__":true,"id":6238},"_Padding":{"__isSmartRef__":true,"id":6239},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5968},"_Fill":null,"_NodeClass":["text"],"_NodeId":"morph-31fa2d09-1f8a-4083-b066-2cc3d2bbacae","_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6236":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6238":{"x":255.4010020035039,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6239":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6240":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6241":{"style":{"__isSmartRef__":true,"id":6242},"chunkOwner":{"__isSmartRef__":true,"id":6234},"storedString":"Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6242":{"fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6243":{"morph":{"__isSmartRef__":true,"id":6234},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6244":{"resizeWidth":true},"6245":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6246":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6247":{"x":255.4010020035039,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6248":{"submorphs":[{"__isSmartRef__":true,"id":6249}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6260},"derivationIds":[null,"E2A278DD-8EA6-480D-979B-E6878E6B6268","F103879C-B17C-40A0-8D72-3263EEFD96AF","B009C9CD-F814-4B40-82EA-171A8C1C36E6","EC1982FA-978A-4920-ABF4-19B5811E501C","49F70830-B134-47E0-A25E-74A497D3D0AD","A1DED3ED-53E0-47C5-B346-DF191D3B06E3","8758902D-C552-43D9-8982-140DE141E3CD","B1211A51-2E88-4E4A-8C4C-2B2575FE203D","1C8C9F98-AD41-4A39-9B65-2D93E917158F","EF8A4922-3C99-4106-AF9D-A85AE949DB77","8BE2E2D1-818F-45E5-A566-2DB2B8B76970","77EDCCDC-3370-4859-BF93-0D98DCB7B2F2","E7E8CDDB-2C4B-4090-A2D4-97D2824EC2C0","E2FF4515-82CA-4B59-A8F8-3A01D398B597","899BE5E0-2F50-4CCF-882E-631B643D2335","0DD95F9E-F53A-46C1-A00B-D9255BE12C59","00CABCDE-56B8-4B7C-ABF1-D99669277CFE","B76A5F43-D5A5-4CBD-9813-DCEAEC6D08E6","D5BD7D4F-73D6-450E-ABA7-8C9D0EA1F6C3","CA4958D8-00A0-4E9A-AF56-DF559925EEE2","38C21AEE-34A9-4E7A-899F-91AD55B3DCD6","3F3FE954-4F82-47CD-8A26-218AD029FC71","B3F648B4-A517-4CC0-AD95-4E0F41E34ACF","5F732208-5260-424B-ACFE-E407C164DDD1","5D403DE6-63F8-44FD-84C0-C38B3D7FED08","A1F0569A-9B0B-4592-AB49-FE64CB6C90A3","CA81B0EF-5031-486D-85F5-A97C27D87FA6","0375890D-38CE-4AB6-A733-2478F4267B33"],"id":"CF318AE4-6F24-429F-A311-76AB8724B9B1","renderContextTable":{"__isSmartRef__":true,"id":6276},"eventHandler":{"__isSmartRef__":true,"id":6277},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":6278},"priorExtent":{"__isSmartRef__":true,"id":6279},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6266},"lighterFill":{"__isSmartRef__":true,"id":6280},"label":{"__isSmartRef__":true,"id":6249},"owner":{"__isSmartRef__":true,"id":6233},"layout":{"__isSmartRef__":true,"id":6289},"attributeConnections":[{"__isSmartRef__":true,"id":6290},{"__isSmartRef__":true,"id":6292}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"6249":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6250},"derivationIds":[null,"7F130EC0-D1F7-4EB0-847E-244A05C446A9","A717E2DD-8C6F-4063-A214-B0D41424973B","D700B0D2-E18B-491B-AF10-BF1FBFE0E90F","14203ED5-F062-435F-A9A0-95F67CF91490","5171429F-3A29-4BD0-8AFB-7634947DB093","7B8BB189-91DD-47E0-B959-9DA96DE05EF6","AC81BC02-1A2A-4020-A0C3-0086C982537C","4BF272E0-177D-40BA-B240-6FD1F273780E","0A6B9DF9-4A42-4197-BF9D-57EECACD7AC2","9DABDDAC-896B-444E-AE9F-6CE14FBD20F8","52E6D9EC-52C9-4B7D-80EB-0EEDE03FD0F3","05552FBA-B34E-40C6-B516-CCD2D675DE86","732CC18F-95BE-4BA6-AF91-A0A2DB7B0164","AFD8543A-C2DB-4484-9486-483B61657862","B5A805B1-B397-4014-B1F6-C006D8AC67E0","6D447F24-9164-41DE-923E-79DA128D5309","4724B3E3-C7AA-4016-9EF5-FEFA6CE50474","3A1EF21B-DCB0-4DFF-B896-6F3B106FC654","CDF6ED95-6B24-45E3-89EE-7165DA876679","F222CA83-CE0C-49AB-8547-4B43400C7465","D9F1A3EB-680D-4A70-9860-B0D2129CDAB9","EAB0CDAA-B4E7-4631-9EB7-62099D985C47","A6BA70E5-FD2C-4237-AE99-C9894C0C28CC","5476F059-9E77-489E-9791-B1D01ECF2873","B88B0F67-F9BA-4E72-AE8F-464AD241F9EF","733D6D8A-2F1A-4A4C-82AC-017B238FB710","9F7FC89E-8712-423E-9F4E-EEA28AB99473","7004D84C-19E2-4278-82D2-BECDBF24E422"],"id":"0FE14880-9904-42B7-84C6-A035AC16FAE3","renderContextTable":{"__isSmartRef__":true,"id":6255},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6256}],"eventHandler":{"__isSmartRef__":true,"id":6258},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6248},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6259},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"6250":{"_Position":{"__isSmartRef__":true,"id":6251},"renderContextTable":{"__isSmartRef__":true,"id":6252},"_Extent":{"__isSmartRef__":true,"id":6253},"_Padding":{"__isSmartRef__":true,"id":6254},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5968},"_Fill":null,"_NodeClass":["text"],"_NodeId":"morph-7f130ec0-d1f7-4eb0-847e-244a05c446a9","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6251":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6252":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6253":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6254":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6255":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6256":{"style":{"__isSmartRef__":true,"id":6257},"chunkOwner":{"__isSmartRef__":true,"id":6249},"storedString":"X","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6257":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6258":{"morph":{"__isSmartRef__":true,"id":6249},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6259":{"x":15,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6260":{"_Position":{"__isSmartRef__":true,"id":6261},"renderContextTable":{"__isSmartRef__":true,"id":6262},"_Extent":{"__isSmartRef__":true,"id":6263},"_Padding":{"__isSmartRef__":true,"id":6264},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6265},"_Fill":{"__isSmartRef__":true,"id":6266},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["windowcontrol"],"_NodeId":"morph-e2a278dd-8ea6-480d-979b-e6878e6b6268","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6261":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6262":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6263":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6264":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6265":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6266":{"stops":[{"__isSmartRef__":true,"id":6267},{"__isSmartRef__":true,"id":6269},{"__isSmartRef__":true,"id":6271},{"__isSmartRef__":true,"id":6273}],"vector":{"__isSmartRef__":true,"id":6275},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6267":{"offset":0,"color":{"__isSmartRef__":true,"id":6268}},"6268":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6269":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6270}},"6270":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6271":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6272}},"6272":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6273":{"offset":1,"color":{"__isSmartRef__":true,"id":6274}},"6274":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6275":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6276":{"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","setStyleSheet":"setStyleSheetHTML"},"6277":{"morph":{"__isSmartRef__":true,"id":6248},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6278":{"x":294.4010020035039,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6279":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6280":{"stops":[{"__isSmartRef__":true,"id":6281},{"__isSmartRef__":true,"id":6283},{"__isSmartRef__":true,"id":6285},{"__isSmartRef__":true,"id":6287}],"vector":{"__isSmartRef__":true,"id":6275},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6281":{"offset":0,"color":{"__isSmartRef__":true,"id":6282}},"6282":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6283":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6284}},"6284":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6285":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6286}},"6286":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6287":{"offset":1,"color":{"__isSmartRef__":true,"id":6288}},"6288":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6289":{"moveHorizontal":true},"6290":{"sourceObj":{"__isSmartRef__":true,"id":6248},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6291},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6291":{"source":{"__isSmartRef__":true,"id":6248},"target":{"__isSmartRef__":true,"id":4034}},"6292":{"sourceObj":{"__isSmartRef__":true,"id":6248},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6293},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6293":{"source":{"__isSmartRef__":true,"id":6248},"target":{"__isSmartRef__":true,"id":4034}},"6294":{"submorphs":[{"__isSmartRef__":true,"id":6295}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6305},"derivationIds":[null,"3433C768-2CF0-4D29-8355-53EAAE20E4E6","701276E2-C731-4D38-9DC3-E5C815821F59","4FD4EAD7-7A75-4067-9615-231E8ABC3646","4D670AEE-6404-4007-8987-379642DEDC4B","BDFAF689-60D9-4496-887E-5868721C7C0A","8ED2A457-135D-462A-8FD8-51727DE62E2E","2AA9CBE7-A2D1-4797-8EB0-C29AC1627219","7EE5BA03-9434-4EF4-95CE-2DCDE5F571FD","D6DE19CA-C930-4D8B-9117-19E31DA398FF","33146C15-12BA-4F34-9BCB-53CE20153651","A9C2BAAC-350D-468F-AEF5-64820277E705","47E5483D-8030-4AC2-94F7-DEB9700680CB","F582537A-099C-43A8-84BE-32CCFF80B1FB","07962555-B9D5-42D8-B3FB-545827AE2EE1","3261A9DC-01C2-42DA-A230-254799CF6FC2","1720B188-25AF-4894-9AF8-709975DA9532","F5598BE6-5571-47E5-BC8A-8B10A47D26FB","A3822AF5-F8DF-472E-804A-241B840DE7AB","354E463D-EB87-4143-AB25-9888AA9ECD0F","622F0338-5D7B-464A-A902-C01BF2865C6E","5F82FA73-E45B-4EA5-92D7-637DEF6A5CB8","E69F9E50-3BA9-42B1-8EA3-9BCA1D44B870","A3F4C033-B2CE-41FA-8692-4BA628C92349","47F5CB14-3474-4310-A04E-80734409F6BE","82A3F556-E81D-4C13-8AB3-A1CCC00637A7","1D1FF0E1-C809-48D1-BBDA-F7517FB2D914","37C7C99D-13B3-40D9-A4AD-8E5A04FBBE01","692BD4D6-403F-42CE-8404-C98EBF2E9126"],"id":"2D67D42C-241D-4B19-B799-8EFD8E7AF7DC","renderContextTable":{"__isSmartRef__":true,"id":6310},"eventHandler":{"__isSmartRef__":true,"id":6311},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":6312},"priorExtent":{"__isSmartRef__":true,"id":6313},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6266},"lighterFill":{"__isSmartRef__":true,"id":6314},"label":{"__isSmartRef__":true,"id":6295},"owner":{"__isSmartRef__":true,"id":6233},"attributeConnections":[{"__isSmartRef__":true,"id":6323},{"__isSmartRef__":true,"id":6325}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"6295":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6296},"derivationIds":[null,"C89C99D2-BB1B-4233-8D8A-C562F37A76C3","8E842F89-AB1C-498A-897A-085C5F0161E4","3861E31F-C32B-4B52-ABCA-DDB8F6CF796B","BF2C41B8-6FAE-4A79-B2AB-651185F2886D","8FAC9928-2A1D-46B9-8378-4CC3235E42A1","A050D228-C6ED-4263-924F-ADC5F54674B1","360DC24F-BF61-495C-8EA9-BE26824C06C1","D65B1346-D97F-44B6-A4E0-B93DD5D3D03C","6F343672-F6ED-45FA-AD41-D7DF892C7FA3","BA416109-27FE-4F69-8B7E-D138F84C89C7","4200D2EF-4C54-45A6-B4DE-2F766B74E1CB","6C7A7836-E552-4946-ADD8-1D1AB28F6CB7","E81CDD9E-34C1-4F56-B550-3DC5D08D41F1","6E6A1CFB-AFF6-4207-8D45-789F6A31A284","7F41417D-510C-4584-9022-8E68D170CAD4","CB46A6D2-0CF4-4F23-A631-1982B30194B3","0B8AF3C2-8675-4EC5-88D2-7D15D0A40567","1B323E72-0757-4C40-AB4F-B4984952BD3F","E85C0C5A-2836-4CA6-99EC-F067F1F78A05","56F49663-5737-4DB8-B9FF-ED03213E6DDF","1B588133-79A3-4EC0-8295-51FDD8164FBD","AFCEFB55-4D5B-4EA8-A8B0-7C00981F7301","B275B8AB-3ADE-4DCA-A427-01903BC09FF0","6AADC0E1-F847-4C5A-833A-F8A37C0FA98B","E0FCEB00-B28E-4E4F-9AF7-6ECEDFE58EFC","05BA18B0-3ED7-45A8-AC0F-D65775F81C05","8CBCF161-8A4A-4984-86A0-FE8DDF2F813E","41EAE110-1583-45D9-A0BD-3213C71773C6"],"id":"38A2A8D9-5F59-44B8-A617-CFD3049A1442","renderContextTable":{"__isSmartRef__":true,"id":6300},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6301}],"eventHandler":{"__isSmartRef__":true,"id":6303},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6294},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6304},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"6296":{"_Position":{"__isSmartRef__":true,"id":6297},"renderContextTable":{"__isSmartRef__":true,"id":6298},"_Extent":{"__isSmartRef__":true,"id":6299},"_Padding":{"__isSmartRef__":true,"id":6254},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5968},"_Fill":null,"_NodeClass":["text"],"_NodeId":"morph-c89c99d2-bb1b-4233-8d8a-c562f37a76c3","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6297":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6298":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6299":{"x":16,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6300":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6301":{"style":{"__isSmartRef__":true,"id":6302},"chunkOwner":{"__isSmartRef__":true,"id":6295},"storedString":"M","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6302":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6303":{"morph":{"__isSmartRef__":true,"id":6295},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6304":{"x":16,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6305":{"_Position":{"__isSmartRef__":true,"id":6306},"renderContextTable":{"__isSmartRef__":true,"id":6307},"_Extent":{"__isSmartRef__":true,"id":6308},"_Padding":{"__isSmartRef__":true,"id":6309},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6265},"_Fill":{"__isSmartRef__":true,"id":6266},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["windowcontrol"],"_NodeId":"morph-3433c768-2cf0-4d29-8355-53eaae20e4e6","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6306":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6307":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6308":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6309":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6310":{"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","setStyleSheet":"setStyleSheetHTML"},"6311":{"morph":{"__isSmartRef__":true,"id":6294},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6312":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6313":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6314":{"stops":[{"__isSmartRef__":true,"id":6315},{"__isSmartRef__":true,"id":6317},{"__isSmartRef__":true,"id":6319},{"__isSmartRef__":true,"id":6321}],"vector":{"__isSmartRef__":true,"id":6275},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6315":{"offset":0,"color":{"__isSmartRef__":true,"id":6316}},"6316":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6317":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6318}},"6318":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6319":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6320}},"6320":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6321":{"offset":1,"color":{"__isSmartRef__":true,"id":6322}},"6322":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6323":{"sourceObj":{"__isSmartRef__":true,"id":6294},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6324},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6324":{"source":{"__isSmartRef__":true,"id":6294},"target":{"__isSmartRef__":true,"id":4034}},"6325":{"sourceObj":{"__isSmartRef__":true,"id":6294},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6326},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6326":{"source":{"__isSmartRef__":true,"id":6294},"target":{"__isSmartRef__":true,"id":4034}},"6327":{"submorphs":[{"__isSmartRef__":true,"id":6328}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6338},"derivationIds":[null,"72058018-6A30-418D-98FD-834FC5E4B88C","9321BE9F-D6F2-4437-8CE4-56C03A500090","0F3ED90E-A9A1-47F8-B26A-9477AC205B20","8977E0E4-26BC-49D0-856E-58964D65E7EC","F684CB3C-78BB-495B-8483-56B3C20952F5","7668E7E5-67D6-45A9-BBE5-D0A08138BF37","728B2672-4338-4D31-8764-876631D6D5F9","66653072-5481-4DBF-B840-CB3152A6A503","913659B7-9C06-4821-9DFD-95F94218F2E2","B522F35C-38A7-4818-94C4-ED778DF92851","A3EE3817-4C00-4852-9F1E-269C9972CDAD","CBAD66B3-1B97-49A5-88BE-15B01C9B48DD","2DD50DE4-F49A-4724-83C2-8E09076CB8B7","C5BC39A4-D762-4248-8002-AE9BCEDE5710","F72DE8BF-32F2-4E39-9E5A-FF9039148786","0F5A0DF6-AD68-4A19-84A1-B557A6BF6FBD","292BA96B-818D-4A26-8B8E-C2032C3F25C6","6E6A0B0F-A21F-4259-8FFC-60903F3861C6","9DF77024-7AC4-480B-B53D-B8F25091D4A6","32D8BABB-F4BE-432A-BA6D-C1C53694E5F1","33D021E4-8E4E-421B-99A9-9B770D8D7EB4","169404FF-686A-4EA9-916C-CDAE271596E1","4D85D573-A363-433F-8B92-B5F046A062D6","FC1AD70F-E93D-4F29-97DC-5DC056E1C058","2BF27D85-79D5-49D8-ABEB-3491F1570131","51B98CF8-4592-4C21-B57E-5C53DB8617DA","F04AC437-B829-4836-8D9C-FC11C83E828A","A68B0CFB-81FF-470A-9AD2-E9DA270B5AAB"],"id":"084F82BA-901D-4BB6-AC49-FA287E985014","renderContextTable":{"__isSmartRef__":true,"id":6343},"eventHandler":{"__isSmartRef__":true,"id":6344},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":6345},"priorExtent":{"__isSmartRef__":true,"id":6346},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6266},"lighterFill":{"__isSmartRef__":true,"id":6347},"label":{"__isSmartRef__":true,"id":6328},"owner":{"__isSmartRef__":true,"id":6233},"layout":{"__isSmartRef__":true,"id":6356},"attributeConnections":[{"__isSmartRef__":true,"id":6357},{"__isSmartRef__":true,"id":6359}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.WindowControl"},"6328":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6329},"derivationIds":[null,"524FB482-42FB-4281-9139-3CE8727DFB9A","BC484300-5E42-4DC3-809C-B1B86B5BA3EA","1B9B29E7-289C-4A70-AFE3-7A554ABCEC9B","CE044C64-A6ED-4218-9F45-2A1103EC2817","48A66442-9F5F-4F8B-9591-F7F31F9CAA26","D9002827-C041-491A-AFF4-89693B7C1CC8","83B87867-AA1A-4409-B254-E1667266705A","A36F4372-93C2-47ED-A2F8-3ED19DACADE7","6FF859BD-E2C5-4D75-8ECB-961813EAE76E","022E209D-E750-42D3-90E2-22610ACC8A13","8F022158-FEEB-4E24-9C25-FE48CCD7BC05","05BF6FE8-29D3-4DE2-BC0E-A5CDDE9EECEA","4DBEF4B5-B438-42E7-8717-CB1ECEC6AD19","5C750EE0-64CA-4657-952C-19B8E0F1014F","1F94D990-7D34-4017-8166-C77979DB881D","1CAE6408-8F3C-4C8E-8296-E0079414EE29","C741C393-8996-4D8D-8093-DB1A671AC88D","DB63CF30-BEF7-4769-8F1A-43E4E8F028EE","0741B604-7E5B-4F1D-9BDB-B9FBECDBF3D2","7078B8B1-C8F4-4DBE-9365-72201B181987","5D3B9C7F-2DB4-4174-92B6-0483F22825F3","4E0F4BF7-1CE4-4DF1-8858-A6C93E18E6E6","43CFCCB5-3757-4A29-97DD-C4D6679A48E7","1E31E229-5CAD-4D15-9443-2A7810FE74DC","1D3FA769-516B-4DD3-8BB4-002A2AD1DACE","B8E566EA-DE2C-4BF9-9766-A9748FBAE8A9","C932D985-3B6A-4FD7-B089-0B736B91B487","B93C8329-13B0-4362-B0EF-9CB2DDDD79D0"],"id":"3F1AC914-DC0D-4411-9328-BFC3876E0BFD","renderContextTable":{"__isSmartRef__":true,"id":6333},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6334}],"eventHandler":{"__isSmartRef__":true,"id":6336},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6327},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6337},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"6329":{"_Position":{"__isSmartRef__":true,"id":6330},"renderContextTable":{"__isSmartRef__":true,"id":6331},"_Extent":{"__isSmartRef__":true,"id":6332},"_Padding":{"__isSmartRef__":true,"id":6254},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5968},"_Fill":null,"_NodeClass":["text"],"_NodeId":"morph-524fb482-42fb-4281-9139-3ce8727dfb9a","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6330":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6331":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6332":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6333":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6334":{"style":{"__isSmartRef__":true,"id":6335},"chunkOwner":{"__isSmartRef__":true,"id":6328},"storedString":"–","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"6335":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6336":{"morph":{"__isSmartRef__":true,"id":6328},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6337":{"x":14,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6338":{"_Position":{"__isSmartRef__":true,"id":6339},"renderContextTable":{"__isSmartRef__":true,"id":6340},"_Extent":{"__isSmartRef__":true,"id":6341},"_Padding":{"__isSmartRef__":true,"id":6342},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6265},"_Fill":{"__isSmartRef__":true,"id":6266},"_StrokeOpacity":0,"_BorderRadius":5,"_NodeClass":["windowcontrol"],"_NodeId":"morph-72058018-6a30-418d-98fd-834fc5e4b88c","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6339":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6340":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6341":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6342":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6343":{"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","setStyleSheet":"setStyleSheetHTML"},"6344":{"morph":{"__isSmartRef__":true,"id":6327},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6345":{"x":275.4010020035039,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6346":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6347":{"stops":[{"__isSmartRef__":true,"id":6348},{"__isSmartRef__":true,"id":6350},{"__isSmartRef__":true,"id":6352},{"__isSmartRef__":true,"id":6354}],"vector":{"__isSmartRef__":true,"id":6275},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"6348":{"offset":0,"color":{"__isSmartRef__":true,"id":6349}},"6349":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6350":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6351}},"6351":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6352":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6353}},"6353":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6354":{"offset":1,"color":{"__isSmartRef__":true,"id":6355}},"6355":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6356":{"moveHorizontal":true},"6357":{"sourceObj":{"__isSmartRef__":true,"id":6327},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6358},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6358":{"source":{"__isSmartRef__":true,"id":6327},"target":{"__isSmartRef__":true,"id":4034}},"6359":{"sourceObj":{"__isSmartRef__":true,"id":6327},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4034},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6360},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"6360":{"source":{"__isSmartRef__":true,"id":6327},"target":{"__isSmartRef__":true,"id":4034}},"6361":{"_Position":{"__isSmartRef__":true,"id":6362},"renderContextTable":{"__isSmartRef__":true,"id":6363},"_Extent":{"__isSmartRef__":true,"id":6364},"_Padding":{"__isSmartRef__":true,"id":6365},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6245},"_Fill":{"__isSmartRef__":true,"id":447},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_NodeClass":["titlebar"],"_NodeId":"morph-28075d0b-7cac-405c-baf8-b282e172d749","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6362":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6363":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6364":{"x":314.4010020035039,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6365":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6366":{"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","setStyleSheet":"setStyleSheetHTML"},"6367":{"morph":{"__isSmartRef__":true,"id":6233},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6368":{"resizeWidth":true,"adjustForNewBounds":true},"6369":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6370":{"x":314.4010020035039,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6371":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6372},"derivationIds":[null,"E34B7A68-766E-4DB7-A7E3-E4EE8A7079AC","7A7C4259-E86A-4D41-9B21-CE6D4EADF5A7","34C6ADC2-7F79-44A2-BEDF-A05F972B36BC","36694142-B04E-484B-957B-9BBF9784B20E","3CFE3EDB-8A42-4E75-A348-120654F234F2","3464720D-ABB2-4C88-BEEA-62B58DD08CD5","B5EA6ABC-057D-4A70-AB94-B3EDCA5E395E","05F4CC34-0F8A-43CA-94B6-9A543A70E55C","A2BF090C-5A85-4E54-92CA-6ABA47629E7B","DDD9B33B-824A-4C58-8107-67C5FADDFB72","09051614-6CE4-4984-B3CF-F3E78B5898B1","284F15EF-EA68-4F32-86F3-EA5DD3A23D1C","BE99321C-F9F7-45C2-9BED-3AC496C10878","344F1643-CC8E-4B9C-A57A-75074EDFDD12","E24B6723-2DA3-42B9-AE0B-1E28DA2C0CF8","035E96EC-B4F1-4D94-A31F-21750A89C148","658D2557-B37E-4C58-8618-9AF1E45EFA55","413248B4-5FDD-4647-9E20-F195F11DF903","20EF83E4-287D-4306-9EA0-65B7286C0E48","77F94626-E559-4BB8-B6EA-1EC2E50823C3","85515935-002D-4FF0-8C2B-E88837E5B98D","1B4B5619-CD65-49B8-939D-06D7DD9E0C4C","79748D72-9031-4011-9BD4-B7FE72461789","68C2CE7C-DB25-4911-B12A-8B0F69C8D46D","90DDEE95-E7B6-4FF5-A7B7-ED97BA99A75C","30A9C6A1-50FD-465E-8884-1FB4E887AA22","133E5671-4F3E-44AE-BA1C-8A23DFEFE806","8133C4D1-E8E5-4C70-BD30-B8BD467A97F0"],"id":"264BDBA3-82B1-4AF8-8EE3-CBA37A995391","renderContextTable":{"__isSmartRef__":true,"id":6381},"eventHandler":{"__isSmartRef__":true,"id":6382},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":4034},"_Position":{"__isSmartRef__":true,"id":6383},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"dragStartPoint":null,"originalTargetExtent":null,"_Rotation":0,"_Scale":1.0000000000000009,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6384},"__LivelyClassName__":"lively.morphic.Path"},"6372":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":6373},{"__isSmartRef__":true,"id":6374},{"__isSmartRef__":true,"id":6375}],"renderContextTable":{"__isSmartRef__":true,"id":6376},"_Position":{"__isSmartRef__":true,"id":6377},"_Extent":{"__isSmartRef__":true,"id":6378},"_Padding":{"__isSmartRef__":true,"id":6379},"_BorderWidth":0,"_BorderColor":null,"_NodeClass":["path"],"_NodeId":"morph-e34b7a68-766e-4db7-a7e3-e4ee8a7079ac","_Fill":{"__isSmartRef__":true,"id":6380},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"6373":{"isAbsolute":true,"x":14,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"6374":{"isAbsolute":true,"x":14,"y":14,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6375":{"isAbsolute":true,"x":0,"y":14,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"6376":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"6377":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6378":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6379":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6380":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6381":{"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","setStyleSheet":"setStyleSheetHTML"},"6382":{"morph":{"__isSmartRef__":true,"id":6371},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6383":{"x":300.4010020035039,"y":405.40100200350423,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6384":{"onDragStart":{"__isSmartRef__":true,"id":6385},"onDrag":{"__isSmartRef__":true,"id":6392},"onDragEnd":{"__isSmartRef__":true,"id":6399}},"6385":{"varMapping":{"__isSmartRef__":true,"id":6386},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":6391},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6386":{"this":{"__isSmartRef__":true,"id":6371},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6387}},"6387":{"$super":{"__isSmartRef__":true,"id":6388}},"6388":{"varMapping":{"__isSmartRef__":true,"id":6389},"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":6390},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6389":{"obj":{"__isSmartRef__":true,"id":6371},"name":"onDragStart"},"6390":{},"6391":{},"6392":{"varMapping":{"__isSmartRef__":true,"id":6393},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":6398},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6393":{"this":{"__isSmartRef__":true,"id":6371},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6394}},"6394":{"$super":{"__isSmartRef__":true,"id":6395}},"6395":{"varMapping":{"__isSmartRef__":true,"id":6396},"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":6397},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6396":{"obj":{"__isSmartRef__":true,"id":6371},"name":"onDrag"},"6397":{},"6398":{},"6399":{"varMapping":{"__isSmartRef__":true,"id":6400},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":6405},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6400":{"this":{"__isSmartRef__":true,"id":6371},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6401}},"6401":{"$super":{"__isSmartRef__":true,"id":6402}},"6402":{"varMapping":{"__isSmartRef__":true,"id":6403},"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":6404},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6403":{"obj":{"__isSmartRef__":true,"id":6371},"name":"onDragEnd"},"6404":{},"6405":{},"6406":{"renderContextTable":{"__isSmartRef__":true,"id":6407},"_Padding":{"__isSmartRef__":true,"id":6408},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_NodeClass":["window"],"_NodeId":"morph-cd7bcb08-eb4a-48cd-952b-53a1eaeb23d0","_Extent":{"__isSmartRef__":true,"id":6409},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6407":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6408":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6409":{"x":314.4010020035039,"y":419.40100200350423,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6410":{"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","setStyleSheet":"setStyleSheetHTML"},"6411":{"morph":{"__isSmartRef__":true,"id":4034},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6412":{"adjustForNewBounds":true},"6413":{"x":920.4346627595639,"y":290.19686418999083,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6414":{"x":314.4010020035039,"y":419.40100200350423,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6415":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tool for inspecting an object. Very similar to the ObjectExplorer but a lot faster and with the ability to edit primitives, filter properties and display inheritance.","migrationLevel":4,"partName":"ObjectInspector","changes":[{"__isSmartRef__":true,"id":6416},{"__isSmartRef__":true,"id":6418},{"__isSmartRef__":true,"id":6420},{"__isSmartRef__":true,"id":6422},{"__isSmartRef__":true,"id":6424},{"__isSmartRef__":true,"id":6426},{"__isSmartRef__":true,"id":6428},{"__isSmartRef__":true,"id":6430},{"__isSmartRef__":true,"id":6432},{"__isSmartRef__":true,"id":6434},{"__isSmartRef__":true,"id":6436},{"__isSmartRef__":true,"id":6438},{"__isSmartRef__":true,"id":6440},{"__isSmartRef__":true,"id":6442},{"__isSmartRef__":true,"id":6444},{"__isSmartRef__":true,"id":6446},{"__isSmartRef__":true,"id":6448},{"__isSmartRef__":true,"id":6450},{"__isSmartRef__":true,"id":6452},{"__isSmartRef__":true,"id":6454},{"__isSmartRef__":true,"id":6456},{"__isSmartRef__":true,"id":6458},{"__isSmartRef__":true,"id":6460},{"__isSmartRef__":true,"id":6462},{"__isSmartRef__":true,"id":6464},{"__isSmartRef__":true,"id":6466},{"__isSmartRef__":true,"id":6468},{"__isSmartRef__":true,"id":6470},{"__isSmartRef__":true,"id":6472},{"__isSmartRef__":true,"id":6474}],"revisionOnLoad":171209,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6416":{"date":{"__isSmartRef__":true,"id":6417},"author":"cschuster","message":"fixed a bug with addScript","id":"A00EC8E9-2F93-46E8-A1C8-22588B39BC11"},"6417":{"isSerializedDate":true,"string":"Thu Jun 14 2012 11:36:16 GMT-0700 (Pacific Daylight Time)"},"6418":{"date":{"__isSmartRef__":true,"id":6419},"author":"cschuster","message":"copying should now work","id":"334BC443-5022-4C12-8DE0-532B479A57DC"},"6419":{"isSerializedDate":true,"string":"Thu Jun 14 2012 11:14:16 GMT-0700 (Pacific Daylight Time)"},"6420":{"date":{"__isSmartRef__":true,"id":6421},"author":"cschuster","message":"changed submorphs to morphs.","id":"F6E05A4D-23B9-4CCA-88DE-C14C35965B13"},"6421":{"isSerializedDate":true,"string":"Wed Jun 06 2012 09:56:30 GMT-0700 (Pacific Daylight Time)"},"6422":{"date":{"__isSmartRef__":true,"id":6423},"author":"cschuster","message":"inheritance now works as well","id":"B6153C82-028D-48C6-A949-B9C16246B7E1"},"6423":{"isSerializedDate":true,"string":"Tue Jun 05 2012 18:06:06 GMT-0700 (Pacific Daylight Time)"},"6424":{"date":{"__isSmartRef__":true,"id":6425},"author":"cschuster","message":"started work on displaying inherited properties.","id":"E2D295AA-8DC9-41F0-8699-3B4294FFA5A2"},"6425":{"isSerializedDate":true,"string":"Tue Jun 05 2012 17:46:47 GMT-0700 (Pacific Daylight Time)"},"6426":{"date":{"__isSmartRef__":true,"id":6427},"author":"cschuster","message":"fixed handling of null and undefined values","id":"25FAB4E6-9A70-4E32-8213-1098C6A9C363"},"6427":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:57:14 GMT-0700 (Pacific Daylight Time)"},"6428":{"date":{"__isSmartRef__":true,"id":6429},"author":"cschuster","message":"fixed problem with boolean values","id":"ECA8BC3D-29C8-4779-B61C-27DC9E13B7E2"},"6429":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:25:44 GMT-0700 (Pacific Daylight Time)"},"6430":{"date":{"__isSmartRef__":true,"id":6431},"author":"cschuster","message":"fixed bug with primitive values.","id":"6B05214C-6EE6-4F5C-BA36-DFC15578CB12"},"6431":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:14:48 GMT-0700 (Pacific Daylight Time)"},"6432":{"date":{"__isSmartRef__":true,"id":6433},"author":"cschuster","message":"better updating for collapsed items","id":"A37C0C9B-1F7F-49D9-BC86-CA97E05C812D"},"6433":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:12:20 GMT-0700 (Pacific Daylight Time)"},"6434":{"date":{"__isSmartRef__":true,"id":6435},"author":"cschuster","message":"removed filter for inherited properties","id":"CABABBD4-BABE-4D47-8EBF-CED45960532B"},"6435":{"isSerializedDate":true,"string":"Tue Jun 05 2012 15:10:42 GMT-0700 (Pacific Daylight Time)"},"6436":{"date":{"__isSmartRef__":true,"id":6437},"author":"cschuster","message":"editing of strings, numbers and boolean values","id":"CE0C9588-EB85-4390-B51B-BC51AA154F11"},"6437":{"isSerializedDate":true,"string":"Mon Jun 04 2012 17:33:18 GMT-0700 (Pacific Daylight Time)"},"6438":{"date":{"__isSmartRef__":true,"id":6439},"author":"cschuster","message":"improved text editing","id":"C9950198-82AF-47B8-9BDF-04C7457FE598"},"6439":{"isSerializedDate":true,"string":"Mon Jun 04 2012 16:18:18 GMT-0700 (Pacific Daylight Time)"},"6440":{"date":{"__isSmartRef__":true,"id":6441},"author":"cschuster","message":"now supports editing of string properties","id":"4DEA5157-6A26-46F4-AE4E-59112855E522"},"6441":{"isSerializedDate":true,"string":"Mon Jun 04 2012 15:44:13 GMT-0700 (Pacific Daylight Time)"},"6442":{"date":{"__isSmartRef__":true,"id":6443},"author":"cschuster","message":"updating should work now. still needs some testing","id":"381E10DB-4391-42E3-A790-D5EAEFF2758B"},"6443":{"isSerializedDate":true,"string":"Fri Jun 01 2012 18:12:07 GMT-0700 (Pacific Daylight Time)"},"6444":{"date":{"__isSmartRef__":true,"id":6445},"author":"cschuster","message":"initial commit. still a lot of work to do.","id":"258D3B7C-8C70-4B34-962F-E2F39A8596D5"},"6445":{"isSerializedDate":true,"string":"Tue May 29 2012 14:52:57 GMT-0700 (Pacific Daylight Time)"},"6446":{"date":{"__isSmartRef__":true,"id":6447},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"6447":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:36 GMT-0700 (Pacific Daylight Time)"},"6448":{"date":{"__isSmartRef__":true,"id":6449},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"6449":{"isSerializedDate":true,"string":"Thu May 03 2012 06:51:30 GMT-0700 (Pacific Daylight Time)"},"6450":{"date":{"__isSmartRef__":true,"id":6451},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"6451":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:53:45 GMT-0700 (Pacific Daylight Time)"},"6452":{"date":{"__isSmartRef__":true,"id":6453},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"6453":{"isSerializedDate":true,"string":"Fri Feb 24 2012 17:59:09 GMT-0800 (Pacific Standard Time)"},"6454":{"date":{"__isSmartRef__":true,"id":6455},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"6455":{"isSerializedDate":true,"string":"Wed Mar 14 2012 02:42:26 GMT-0700 (Pacific Daylight Time)"},"6456":{"date":{"__isSmartRef__":true,"id":6457},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"6457":{"isSerializedDate":true,"string":"Mon Apr 09 2012 04:42:07 GMT-0700 (Pacific Daylight Time)"},"6458":{"date":{"__isSmartRef__":true,"id":6459},"author":"cschuster","message":"faster updating","id":"BDDADEB8-FC7D-4240-965D-5C2A8106884F"},"6459":{"isSerializedDate":true,"string":"Mon Jun 04 2012 11:44:27 GMT-0700 (Pacific Daylight Time)"},"6460":{"date":{"__isSmartRef__":true,"id":6461},"author":"cschuster","message":"now uses hidden root node","id":"63608436-F5CC-4F6C-8C9E-C4039CAAE8AE"},"6461":{"isSerializedDate":true,"string":"Mon Jun 04 2012 13:34:53 GMT-0700 (Pacific Daylight Time)"},"6462":{"date":{"__isSmartRef__":true,"id":6463},"author":"cschuster","message":"now supports filtering","id":"CF4D534E-10BF-4727-8FB1-25AB7DEC6E48"},"6463":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:45:47 GMT-0700 (Pacific Daylight Time)"},"6464":{"date":{"__isSmartRef__":true,"id":6465},"author":"cschuster","message":"fixed the problems with the unspecified filter.","id":"745E611A-B941-4FFD-9759-E982062C03B8"},"6465":{"isSerializedDate":true,"string":"Tue Jun 05 2012 14:51:21 GMT-0700 (Pacific Daylight Time)"},"6466":{"date":{"__isSmartRef__":true,"id":6467},"author":"cschuster","message":"fixed bug with prototype of primitives.","id":"A3F3EEC4-36E8-4EC8-B2DD-8B899A275990"},"6467":{"isSerializedDate":true,"string":"Tue Jun 05 2012 18:16:23 GMT-0700 (Pacific Daylight Time)"},"6468":{"date":{"__isSmartRef__":true,"id":6469},"author":"jenslincke","message":"added \"show submorphs\" to filter options","id":"93060C3D-5BE0-46C0-BF46-58B7C287E037"},"6469":{"isSerializedDate":true,"string":"Wed Jun 06 2012 01:58:01 GMT-0700 (Pacific Daylight Time)"},"6470":{"date":{"__isSmartRef__":true,"id":6471},"author":"cschuster","message":"fixed description string for namespaces and clipping mode.","id":"9CB238CB-7069-43DE-81BD-C09B61A2BDB4"},"6471":{"isSerializedDate":true,"string":"Wed Jun 06 2012 15:19:24 GMT-0700 (Pacific Daylight Time)"},"6472":{"date":{"__isSmartRef__":true,"id":6473},"author":"cschuster","message":"hopefully fixed the addScript bug","id":"D040A117-4200-449C-A492-272C4498EDBD"},"6473":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:12:43 GMT-0700 (Pacific Daylight Time)"},"6474":{"date":{"__isSmartRef__":true,"id":6475},"author":"cschuster","message":"fixed serialization of filter","id":"776E7AFA-1299-4714-94C4-F514AC2A255C"},"6475":{"isSerializedDate":true,"string":"Thu Jun 14 2012 15:21:17 GMT-0700 (Pacific Daylight Time)"},"6476":{"x":999,"y":305,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6477":{"explore":{"__isSmartRef__":true,"id":6478}},"6478":{"varMapping":{"__isSmartRef__":true,"id":6479},"source":"function explore(obj) {\n this.get('ObjectInspector').inspect(obj);\n}","funcProperties":{"__isSmartRef__":true,"id":6480},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6479":{"this":{"__isSmartRef__":true,"id":4034}},"6480":{"timestamp":{"__isSmartRef__":true,"id":6481},"user":"cschuster","tags":[]},"6481":{"isSerializedDate":true,"string":"Fri Jun 01 2012 12:32:31 GMT-0700 (Pacific Daylight Time)"},"6482":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":6483},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":6489},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1.002003004005006,"renderContextTable":{"__isSmartRef__":true,"id":6490},"eventHandler":{"__isSmartRef__":true,"id":6491},"_Rotation":0,"lastScrollTime":1340049483907,"internalClickedOnMorph":{"__isSmartRef__":true,"id":6492},"_ClipMode":"visible","scrollFocusMorph":{"__isSmartRef__":true,"id":6506},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"6483":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6484},"_Extent":{"__isSmartRef__":true,"id":6485},"_Fill":{"__isSmartRef__":true,"id":6486},"renderContextTable":{"__isSmartRef__":true,"id":6487},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6488},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6484":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6485":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6486":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6487":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6488":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6489":{"x":993,"y":483,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6490":{"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","setStyleSheet":"setStyleSheetHTML"},"6491":{"morph":{"__isSmartRef__":true,"id":6482},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6492":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6493},"derivationIds":[null],"id":"662EC1B8-EE82-4A6C-8F55-62D738DD0E53","renderContextTable":{"__isSmartRef__":true,"id":6498},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6499}],"eventHandler":{"__isSmartRef__":true,"id":6501},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":6502},"isInputLine":true,"draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":6503},{"__isSmartRef__":true,"id":6621}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"JournalStack.xhtml","owner":{"__isSmartRef__":true,"id":6506},"priorExtent":{"__isSmartRef__":true,"id":6623},"_MaxTextWidth":282,"_MinTextWidth":282,"_MaxTextHeight":null,"_MinTextHeight":null,"previousSelection":[4,4],"priorSelectionRange":[5,0],"charsReplaced":"empty","lastFindLoc":10,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6493":{"_Position":{"__isSmartRef__":true,"id":6494},"renderContextTable":{"__isSmartRef__":true,"id":6495},"_Extent":{"__isSmartRef__":true,"id":6496},"_Padding":{"__isSmartRef__":true,"id":3763},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":6497},"_NodeClass":["morph","text"],"_NodeId":"morph-662ec1b8-ee82-4a6c-8f55-62d738dd0e53","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6494":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6495":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6496":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6497":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6498":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6499":{"style":{"__isSmartRef__":true,"id":6500},"chunkOwner":{"__isSmartRef__":true,"id":6492},"storedString":"JournalStack.xhtml","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6500":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6501":{"morph":{"__isSmartRef__":true,"id":6492},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6502":{"x":4,"y":27,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6503":{"sourceObj":{"__isSmartRef__":true,"id":6492},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"result","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6504":{"result":"JournalStack.xhtml","message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":6505}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"empty.xhtml","panel":{"__isSmartRef__":true,"id":6506},"label":{"__isSmartRef__":true,"id":6507},"cancelButton":{"__isSmartRef__":true,"id":6518},"okButton":{"__isSmartRef__":true,"id":6561},"inputText":{"__isSmartRef__":true,"id":6492},"view":{"__isSmartRef__":true,"id":6506},"__LivelyClassName__":"lively.morphic.PromptDialog","__SourceModuleName__":"Global.lively.morphic.Widgets"},"6505":{"sourceObj":{"__isSmartRef__":true,"id":6504},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"triggerCallback","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6506":{"submorphs":[{"__isSmartRef__":true,"id":6507},{"__isSmartRef__":true,"id":6518},{"__isSmartRef__":true,"id":6561},{"__isSmartRef__":true,"id":6492}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6594},"derivationIds":[null],"id":"51703F15-42DB-4131-8E58-36C7E56178E9","renderContextTable":{"__isSmartRef__":true,"id":6601},"eventHandler":{"__isSmartRef__":true,"id":6602},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6603},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":6604},"draggingEnabled":false,"grabbingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":6605},{"__isSmartRef__":true,"id":6607},{"__isSmartRef__":true,"id":6612}],"ownerApp":{"__isSmartRef__":true,"id":6504},"owner":null,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6613},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"6507":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6508},"derivationIds":[null],"id":"E2E1688E-32EE-43A9-8CC3-BAEC9456FAC5","renderContextTable":{"__isSmartRef__":true,"id":6513},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":6514}],"eventHandler":{"__isSmartRef__":true,"id":6516},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6506},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"draggingEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":6517},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6508":{"_Position":{"__isSmartRef__":true,"id":6509},"renderContextTable":{"__isSmartRef__":true,"id":6510},"_Extent":{"__isSmartRef__":true,"id":6511},"_Padding":{"__isSmartRef__":true,"id":6512},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":{"__isSmartRef__":true,"id":449},"_NodeClass":["morph","text"],"_NodeId":"morph-e2e1688e-32ee-43a9-8cc3-baec9456fac5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6509":{"x":4,"y":4,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6511":{"x":225,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6512":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6513":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6514":{"style":{"__isSmartRef__":true,"id":6515},"chunkOwner":{"__isSmartRef__":true,"id":6507},"storedString":"Please enter a relative or absolute path","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6515":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6516":{"morph":{"__isSmartRef__":true,"id":6507},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6517":{"x":225,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6518":{"submorphs":[{"__isSmartRef__":true,"id":6519}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6530},"derivationIds":[null],"id":"5C150B5F-2708-49E7-88C9-28C82B82360B","renderContextTable":{"__isSmartRef__":true,"id":6544},"eventHandler":{"__isSmartRef__":true,"id":6545},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6546},"priorExtent":{"__isSmartRef__":true,"id":6547},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6535},"lighterFill":{"__isSmartRef__":true,"id":6548},"label":{"__isSmartRef__":true,"id":6519},"layout":{"__isSmartRef__":true,"id":6557},"owner":{"__isSmartRef__":true,"id":6506},"attributeConnections":[{"__isSmartRef__":true,"id":6558},{"__isSmartRef__":true,"id":6559}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"6519":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6520},"derivationIds":[null],"id":"2253F71A-9501-4CA4-8ADE-8AC0168C6CB6","renderContextTable":{"__isSmartRef__":true,"id":6525},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6526}],"eventHandler":{"__isSmartRef__":true,"id":6528},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6518},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6529},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6520":{"_Position":{"__isSmartRef__":true,"id":6521},"renderContextTable":{"__isSmartRef__":true,"id":6522},"_Extent":{"__isSmartRef__":true,"id":6523},"_Padding":{"__isSmartRef__":true,"id":6524},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2253f71a-9501-4ca4-8ade-8ac0168c6cb6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6521":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6522":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6523":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6524":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6525":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6526":{"style":{"__isSmartRef__":true,"id":6527},"chunkOwner":{"__isSmartRef__":true,"id":6519},"storedString":"Cancel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6527":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6528":{"morph":{"__isSmartRef__":true,"id":6519},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6529":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6530":{"_Position":{"__isSmartRef__":true,"id":6531},"renderContextTable":{"__isSmartRef__":true,"id":6532},"_Extent":{"__isSmartRef__":true,"id":6533},"_Padding":{"__isSmartRef__":true,"id":6534},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":6535},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-5c150b5f-2708-49e7-88c9-28c82b82360b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6531":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6532":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6533":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6534":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6535":{"stops":[{"__isSmartRef__":true,"id":6536},{"__isSmartRef__":true,"id":6538},{"__isSmartRef__":true,"id":6540},{"__isSmartRef__":true,"id":6542}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6536":{"offset":0,"color":{"__isSmartRef__":true,"id":6537}},"6537":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6538":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6539}},"6539":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6540":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6541}},"6541":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6542":{"offset":1,"color":{"__isSmartRef__":true,"id":6543}},"6543":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6544":{"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","setStyleSheet":"setStyleSheetHTML"},"6545":{"morph":{"__isSmartRef__":true,"id":6518},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6546":{"x":236,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6547":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6548":{"stops":[{"__isSmartRef__":true,"id":6549},{"__isSmartRef__":true,"id":6551},{"__isSmartRef__":true,"id":6553},{"__isSmartRef__":true,"id":6555}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6549":{"offset":0,"color":{"__isSmartRef__":true,"id":6550}},"6550":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6551":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6552}},"6552":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6553":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6554}},"6554":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6555":{"offset":1,"color":{"__isSmartRef__":true,"id":6556}},"6556":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6557":{"moveVertical":true,"moveHorizontal":true},"6558":{"sourceObj":{"__isSmartRef__":true,"id":6518},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6559":{"sourceObj":{"__isSmartRef__":true,"id":6518},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6560},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6560":{"source":{"__isSmartRef__":true,"id":6518},"target":{"__isSmartRef__":true,"id":6504}},"6561":{"submorphs":[{"__isSmartRef__":true,"id":6562}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6573},"derivationIds":[null],"id":"5A859573-8AD8-4924-8C15-5348A1F8B6CA","renderContextTable":{"__isSmartRef__":true,"id":6578},"eventHandler":{"__isSmartRef__":true,"id":6579},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6580},"priorExtent":{"__isSmartRef__":true,"id":6581},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":6535},"lighterFill":{"__isSmartRef__":true,"id":6582},"label":{"__isSmartRef__":true,"id":6562},"layout":{"__isSmartRef__":true,"id":6591},"owner":{"__isSmartRef__":true,"id":6506},"attributeConnections":[{"__isSmartRef__":true,"id":6592},{"__isSmartRef__":true,"id":6593}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"6562":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6563},"derivationIds":[null],"id":"9FE1F546-9B61-462B-90C8-C909D7D69385","renderContextTable":{"__isSmartRef__":true,"id":6568},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6569}],"eventHandler":{"__isSmartRef__":true,"id":6571},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6561},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":2021},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":6572},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6563":{"_Position":{"__isSmartRef__":true,"id":6564},"renderContextTable":{"__isSmartRef__":true,"id":6565},"_Extent":{"__isSmartRef__":true,"id":6566},"_Padding":{"__isSmartRef__":true,"id":6567},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-9fe1f546-9b61-462b-90c8-c909d7d69385","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6564":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6565":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6566":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6567":{"x":0,"y":6,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6568":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6569":{"style":{"__isSmartRef__":true,"id":6570},"chunkOwner":{"__isSmartRef__":true,"id":6562},"storedString":"OK","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6570":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6571":{"morph":{"__isSmartRef__":true,"id":6562},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6572":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6573":{"_Position":{"__isSmartRef__":true,"id":6574},"renderContextTable":{"__isSmartRef__":true,"id":6575},"_Extent":{"__isSmartRef__":true,"id":6576},"_Padding":{"__isSmartRef__":true,"id":6577},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2229},"_Fill":{"__isSmartRef__":true,"id":6535},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-5a859573-8ad8-4924-8c15-5348a1f8b6ca","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6574":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6575":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6576":{"x":60,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6577":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6578":{"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","setStyleSheet":"setStyleSheetHTML"},"6579":{"morph":{"__isSmartRef__":true,"id":6561},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6580":{"x":172,"y":56,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6581":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6582":{"stops":[{"__isSmartRef__":true,"id":6583},{"__isSmartRef__":true,"id":6585},{"__isSmartRef__":true,"id":6587},{"__isSmartRef__":true,"id":6589}],"vector":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6583":{"offset":0,"color":{"__isSmartRef__":true,"id":6584}},"6584":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6585":{"offset":0.4,"color":{"__isSmartRef__":true,"id":6586}},"6586":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6587":{"offset":0.6,"color":{"__isSmartRef__":true,"id":6588}},"6588":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6589":{"offset":1,"color":{"__isSmartRef__":true,"id":6590}},"6590":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6591":{"moveVertical":true,"moveHorizontal":true},"6592":{"sourceObj":{"__isSmartRef__":true,"id":6561},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"removeTopLevel","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6593":{"sourceObj":{"__isSmartRef__":true,"id":6561},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6492},"targetMethodName":"doSave","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6594":{"_Position":{"__isSmartRef__":true,"id":6595},"renderContextTable":{"__isSmartRef__":true,"id":6596},"_Extent":{"__isSmartRef__":true,"id":6597},"_Padding":{"__isSmartRef__":true,"id":6598},"_NodeClass":["morph","box"],"_NodeId":"morph-51703f15-42db-4131-8e58-36c7e56178e9","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6599},"_Fill":{"__isSmartRef__":true,"id":6600},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6595":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6596":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6597":{"x":300,"y":90,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6598":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6599":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6600":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6601":{"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","setStyleSheet":"setStyleSheetHTML"},"6602":{"morph":{"__isSmartRef__":true,"id":6506},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6603":{"x":801.5,"y":456,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6604":{"adjustForNewBounds":true},"6605":{"sourceObj":{"__isSmartRef__":true,"id":6506},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"result","converter":null,"converterString":"function () { return null}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6606},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6606":{"source":{"__isSmartRef__":true,"id":6506},"target":{"__isSmartRef__":true,"id":6504}},"6607":{"sourceObj":{"__isSmartRef__":true,"id":6506},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":6492},"targetMethodName":"doSave","converterString":"function (arg) { return arg }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6608},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6609},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6608":{"source":{"__isSmartRef__":true,"id":6506},"target":{"__isSmartRef__":true,"id":6492}},"6609":{"converter":{"__isSmartRef__":true,"id":6610}},"6610":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":6608},"source":"function (arg) { return arg }","funcProperties":{"__isSmartRef__":true,"id":6611},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6611":{},"6612":{"sourceObj":{"__isSmartRef__":true,"id":6506},"sourceAttrName":"remove","targetMethodName":"remove","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6613":{"$$onEnterPressed":{"__isSmartRef__":true,"id":6614}},"6614":{"varMapping":{"__isSmartRef__":true,"id":6615},"source":"function onEnterPressed(evt) {\n evt.stop();\n }","funcProperties":{"__isSmartRef__":true,"id":6620},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6615":{"this":{"__isSmartRef__":true,"id":6506},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6616}},"6616":{"$super":{"__isSmartRef__":true,"id":6617}},"6617":{"varMapping":{"__isSmartRef__":true,"id":6618},"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":6619},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6618":{"obj":{"__isSmartRef__":true,"id":6506},"name":"onEnterPressed"},"6619":{},"6620":{},"6621":{"sourceObj":{"__isSmartRef__":true,"id":6492},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":6504},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6622},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"6622":{"source":{"__isSmartRef__":true,"id":6492},"target":{"__isSmartRef__":true,"id":6504}},"6623":{"x":292,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6624":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6625},"_Extent":{"__isSmartRef__":true,"id":6626},"_Fill":{"__isSmartRef__":true,"id":6627},"renderContextTable":{"__isSmartRef__":true,"id":6628},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6629},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6625":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6626":{"x":2800,"y":2900,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6627":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6628":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6629":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6630":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6631":{"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","setStyleSheet":"setStyleSheetHTML","setScroll":"setScrollHTML"},"6632":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6633":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","varMapping":{"__isSmartRef__":true,"id":6634},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6635},"__LivelyClassName__":"AttributeConnection"},"6634":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"6635":{"updater":{"__isSmartRef__":true,"id":6636}},"6636":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":6634},"source":"function ($upd, v) { \n if (v && v.toString() !== URL.source.toString()) {\n $upd(v) \n }\n }","funcProperties":{"__isSmartRef__":true,"id":6637},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6637":{},"6638":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/template/start.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"6639":{"submorphs":[{"__isSmartRef__":true,"id":6640}],"scripts":[],"id":"C6913024-BF08-4697-AE88-49754A01748F","shape":{"__isSmartRef__":true,"id":6669},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6676},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6677},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":6774},"eventHandler":{"__isSmartRef__":true,"id":6775},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":6776},"layout":{"__isSmartRef__":true,"id":6777},"distanceToDragEvent":{"__isSmartRef__":true,"id":6778},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6779},"__LivelyClassName__":"lively.morphic.Box"},"6640":{"submorphs":[{"__isSmartRef__":true,"id":6641}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6657},"id":"AB03DE75-595C-408C-A7A8-9F2201F98F25","renderContextTable":{"__isSmartRef__":true,"id":6662},"eventHandler":{"__isSmartRef__":true,"id":6663},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":6664},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":6665},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":6666},"partsBinMetaInfo":{"__isSmartRef__":true,"id":6667},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":6639},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":6668},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"6641":{"submorphs":[],"scripts":[],"id":"DC2479B0-96BD-46C1-917A-6C9AF43B0552","shape":{"__isSmartRef__":true,"id":6642},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":6648},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":6645},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":6649},"textChunks":[{"__isSmartRef__":true,"id":6650}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":6652},"renderContextTable":{"__isSmartRef__":true,"id":6653},"eventHandler":{"__isSmartRef__":true,"id":6654},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":6655},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":6640},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":6656},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"6642":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":6643},"_Extent":{"__isSmartRef__":true,"id":6644},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":6645},"renderContextTable":{"__isSmartRef__":true,"id":6646},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6647},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6643":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6644":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6645":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6646":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6647":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6648":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6649":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6650":{"style":{"__isSmartRef__":true,"id":6651},"chunkOwner":{"__isSmartRef__":true,"id":6641},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"6651":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"6652":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6653":{"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","setStyleSheet":"setStyleSheetHTML","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"},"6654":{"morph":{"__isSmartRef__":true,"id":6641},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6655":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6656":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6657":{"_Position":{"__isSmartRef__":true,"id":6658},"renderContextTable":{"__isSmartRef__":true,"id":6659},"_Extent":{"__isSmartRef__":true,"id":6660},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6661},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"6658":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6659":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"6660":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6661":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6662":{"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","setStyleSheet":"setStyleSheetHTML"},"6663":{"morph":{"__isSmartRef__":true,"id":6640},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6664":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6665":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6666":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6667":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6668":{"centeredHorizontal":true,"centeredVertical":true},"6669":{"position":{"__isSmartRef__":true,"id":6670},"_Extent":{"__isSmartRef__":true,"id":6671},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":6672},"_Fill":{"__isSmartRef__":true,"id":6673},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":6674},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":6675},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"6670":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6671":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6672":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6673":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6674":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setComputedBorderWidth":"setComputedBorderWidthHTML"},"6675":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"6676":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6677":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":6678},{"__isSmartRef__":true,"id":6680},{"__isSmartRef__":true,"id":6682},{"__isSmartRef__":true,"id":6684},{"__isSmartRef__":true,"id":6686},{"__isSmartRef__":true,"id":6688},{"__isSmartRef__":true,"id":6690},{"__isSmartRef__":true,"id":6692},{"__isSmartRef__":true,"id":6694},{"__isSmartRef__":true,"id":6696},{"__isSmartRef__":true,"id":6698},{"__isSmartRef__":true,"id":6700},{"__isSmartRef__":true,"id":6702},{"__isSmartRef__":true,"id":6704},{"__isSmartRef__":true,"id":6706},{"__isSmartRef__":true,"id":6708},{"__isSmartRef__":true,"id":6710},{"__isSmartRef__":true,"id":6712},{"__isSmartRef__":true,"id":6714},{"__isSmartRef__":true,"id":6716},{"__isSmartRef__":true,"id":6718},{"__isSmartRef__":true,"id":6720},{"__isSmartRef__":true,"id":6722},{"__isSmartRef__":true,"id":6724},{"__isSmartRef__":true,"id":6726},{"__isSmartRef__":true,"id":6728},{"__isSmartRef__":true,"id":6730},{"__isSmartRef__":true,"id":6732},{"__isSmartRef__":true,"id":6734},{"__isSmartRef__":true,"id":6736},{"__isSmartRef__":true,"id":6738},{"__isSmartRef__":true,"id":6740},{"__isSmartRef__":true,"id":6742},{"__isSmartRef__":true,"id":6744},{"__isSmartRef__":true,"id":6746},{"__isSmartRef__":true,"id":6748},{"__isSmartRef__":true,"id":6750},{"__isSmartRef__":true,"id":6752},{"__isSmartRef__":true,"id":6754},{"__isSmartRef__":true,"id":6756},{"__isSmartRef__":true,"id":6758},{"__isSmartRef__":true,"id":6760},{"__isSmartRef__":true,"id":6762},{"__isSmartRef__":true,"id":6764},{"__isSmartRef__":true,"id":6766},{"__isSmartRef__":true,"id":6768},{"__isSmartRef__":true,"id":6770},{"__isSmartRef__":true,"id":6772}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6678":{"date":{"__isSmartRef__":true,"id":6679},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"6679":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:02:04 GMT-0800 (Pacific Standard Time)"},"6680":{"date":{"__isSmartRef__":true,"id":6681},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"6681":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:43:10 GMT-0800 (Pacific Standard Time)"},"6682":{"date":{"__isSmartRef__":true,"id":6683},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"6683":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:36:14 GMT-0800 (Pacific Standard Time)"},"6684":{"date":{"__isSmartRef__":true,"id":6685},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"6685":{"isSerializedDate":true,"string":"Wed Feb 22 2012 03:23:04 GMT-0800 (Pacific Standard Time)"},"6686":{"date":{"__isSmartRef__":true,"id":6687},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"6687":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:45 GMT-0800 (Pacific Standard Time)"},"6688":{"date":{"__isSmartRef__":true,"id":6689},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"6689":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:59:10 GMT-0800 (Pacific Standard Time)"},"6690":{"date":{"__isSmartRef__":true,"id":6691},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"6691":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:56:54 GMT-0800 (Pacific Standard Time)"},"6692":{"date":{"__isSmartRef__":true,"id":6693},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"6693":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:51:05 GMT-0800 (Pacific Standard Time)"},"6694":{"date":{"__isSmartRef__":true,"id":6695},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"6695":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:47:19 GMT-0800 (Pacific Standard Time)"},"6696":{"date":{"__isSmartRef__":true,"id":6697},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"6697":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:46:25 GMT-0800 (Pacific Standard Time)"},"6698":{"date":{"__isSmartRef__":true,"id":6699},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"6699":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:45:05 GMT-0800 (Pacific Standard Time)"},"6700":{"date":{"__isSmartRef__":true,"id":6701},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"6701":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:37:15 GMT-0800 (Pacific Standard Time)"},"6702":{"date":{"__isSmartRef__":true,"id":6703},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"6703":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:35:29 GMT-0800 (Pacific Standard Time)"},"6704":{"date":{"__isSmartRef__":true,"id":6705},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"6705":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:31:52 GMT-0800 (Pacific Standard Time)"},"6706":{"date":{"__isSmartRef__":true,"id":6707},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"6707":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:14:10 GMT-0800 (Pacific Standard Time)"},"6708":{"date":{"__isSmartRef__":true,"id":6709},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"6709":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:02:56 GMT-0800 (Pacific Standard Time)"},"6710":{"date":{"__isSmartRef__":true,"id":6711},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"6711":{"isSerializedDate":true,"string":"Wed Feb 22 2012 02:01:50 GMT-0800 (Pacific Standard Time)"},"6712":{"date":{"__isSmartRef__":true,"id":6713},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"6713":{"isSerializedDate":true,"string":"Wed Feb 22 2012 01:55:44 GMT-0800 (Pacific Standard Time)"},"6714":{"date":{"__isSmartRef__":true,"id":6715},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"6715":{"isSerializedDate":true,"string":"Fri Feb 10 2012 00:45:55 GMT-0800 (Pacific Standard Time)"},"6716":{"date":{"__isSmartRef__":true,"id":6717},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"6717":{"isSerializedDate":true,"string":"Wed Feb 08 2012 02:41:50 GMT-0800 (Pacific Standard Time)"},"6718":{"date":{"__isSmartRef__":true,"id":6719},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"6719":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:13:49 GMT-0800 (Pacific Standard Time)"},"6720":{"date":{"__isSmartRef__":true,"id":6721},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"6721":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:22:07 GMT-0800 (Pacific Standard Time)"},"6722":{"date":{"__isSmartRef__":true,"id":6723},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"6723":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:55:14 GMT-0800 (Pacific Standard Time)"},"6724":{"date":{"__isSmartRef__":true,"id":6725},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"6725":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:54:35 GMT-0800 (Pacific Standard Time)"},"6726":{"date":{"__isSmartRef__":true,"id":6727},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"6727":{"isSerializedDate":true,"string":"Thu Feb 02 2012 04:26:01 GMT-0800 (Pacific Standard Time)"},"6728":{"date":{"__isSmartRef__":true,"id":6729},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"6729":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:04:01 GMT-0800 (Pacific Standard Time)"},"6730":{"date":{"__isSmartRef__":true,"id":6731},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"6731":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:28:30 GMT-0800 (Pacific Standard Time)"},"6732":{"date":{"__isSmartRef__":true,"id":6733},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"6733":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:32:58 GMT-0800 (Pacific Standard Time)"},"6734":{"date":{"__isSmartRef__":true,"id":6735},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"6735":{"isSerializedDate":true,"string":"Thu Feb 02 2012 05:41:00 GMT-0800 (Pacific Standard Time)"},"6736":{"date":{"__isSmartRef__":true,"id":6737},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"6737":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:24:30 GMT-0800 (Pacific Standard Time)"},"6738":{"date":{"__isSmartRef__":true,"id":6739},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"6739":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:26:23 GMT-0800 (Pacific Standard Time)"},"6740":{"date":{"__isSmartRef__":true,"id":6741},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"6741":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:48:04 GMT-0800 (Pacific Standard Time)"},"6742":{"date":{"__isSmartRef__":true,"id":6743},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"6743":{"isSerializedDate":true,"string":"Thu Feb 02 2012 06:53:49 GMT-0800 (Pacific Standard Time)"},"6744":{"date":{"__isSmartRef__":true,"id":6745},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"6745":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:49:48 GMT-0800 (Pacific Standard Time)"},"6746":{"date":{"__isSmartRef__":true,"id":6747},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"6747":{"isSerializedDate":true,"string":"Thu Feb 02 2012 07:58:43 GMT-0800 (Pacific Standard Time)"},"6748":{"date":{"__isSmartRef__":true,"id":6749},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"6749":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:04:28 GMT-0800 (Pacific Standard Time)"},"6750":{"date":{"__isSmartRef__":true,"id":6751},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"6751":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:10:27 GMT-0800 (Pacific Standard Time)"},"6752":{"date":{"__isSmartRef__":true,"id":6753},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"6753":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:31:50 GMT-0800 (Pacific Standard Time)"},"6754":{"date":{"__isSmartRef__":true,"id":6755},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"6755":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:38:26 GMT-0800 (Pacific Standard Time)"},"6756":{"date":{"__isSmartRef__":true,"id":6757},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"6757":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:44:11 GMT-0800 (Pacific Standard Time)"},"6758":{"date":{"__isSmartRef__":true,"id":6759},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"6759":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:48:14 GMT-0800 (Pacific Standard Time)"},"6760":{"date":{"__isSmartRef__":true,"id":6761},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"6761":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:49:47 GMT-0800 (Pacific Standard Time)"},"6762":{"date":{"__isSmartRef__":true,"id":6763},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"6763":{"isSerializedDate":true,"string":"Tue Feb 07 2012 02:59:48 GMT-0800 (Pacific Standard Time)"},"6764":{"date":{"__isSmartRef__":true,"id":6765},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"6765":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:02:33 GMT-0800 (Pacific Standard Time)"},"6766":{"date":{"__isSmartRef__":true,"id":6767},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"6767":{"isSerializedDate":true,"string":"Tue Feb 07 2012 03:03:42 GMT-0800 (Pacific Standard Time)"},"6768":{"date":{"__isSmartRef__":true,"id":6769},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"6769":{"isSerializedDate":true,"string":"Thu Feb 09 2012 11:20:11 GMT-0800 (Pacific Standard Time)"},"6770":{"date":{"__isSmartRef__":true,"id":6771},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"6771":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:37:34 GMT-0700 (Pacific Daylight Time)"},"6772":{"date":{"__isSmartRef__":true,"id":6773},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"6773":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:29 GMT-0700 (Pacific Daylight Time)"},"6774":{"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","setStyleSheet":"setStyleSheetHTML"},"6775":{"morph":{"__isSmartRef__":true,"id":6639},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"6776":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6777":{"adjustForNewBounds":true},"6778":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6779":{"loadPart":{"__isSmartRef__":true,"id":6780},"loadFinished":{"__isSmartRef__":true,"id":6784},"loadPartByName":{"__isSmartRef__":true,"id":6788}},"6780":{"varMapping":{"__isSmartRef__":true,"id":6781},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":6782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6781":{"this":{"__isSmartRef__":true,"id":6639}},"6782":{"timestamp":{"__isSmartRef__":true,"id":6783},"user":"sstamm","tags":[]},"6783":{"isSerializedDate":true,"string":"Fri Mar 16 2012 07:42:18 GMT-0700 (Pacific Daylight Time)"},"6784":{"varMapping":{"__isSmartRef__":true,"id":6785},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":6786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6785":{"this":{"__isSmartRef__":true,"id":6639}},"6786":{"timestamp":{"__isSmartRef__":true,"id":6787},"user":"sstamm","tags":[]},"6787":{"isSerializedDate":true,"string":"Wed Feb 22 2012 05:01:53 GMT-0800 (Pacific Standard Time)"},"6788":{"varMapping":{"__isSmartRef__":true,"id":6789},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":6790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"6789":{"this":{"__isSmartRef__":true,"id":6639}},"6790":{"timestamp":{"__isSmartRef__":true,"id":6791},"user":"sstamm","tags":[]},"6791":{"isSerializedDate":true,"string":"Thu Feb 02 2012 08:03:18 GMT-0800 (Pacific Standard Time)"},"isSimplifiedRegistry":true}}]]>