(http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:13314:29)\n at Image.hide (eval at (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:13314:29))\n at Box.loadSelectedModules (eval at (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:13314:29))\n at Button.onFire (eval at (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:13314:29))\n at http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:14934:19\n at AttributeConnection.update (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:14945:5)\n at Namespace.signal (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:15250:45)\n at Button.setValue (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:31553:51)\n at Button.onMouseUp (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:31581:18)\n at Button.onMouseUpEntry (http://www.lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?f089b0a7af4453e12ffcbcea7e24e5a3:30295:21)","__layered_draggingEnabled__":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":4508},"eventHandler":{"__isSmartRef__":true,"id":4509},"eventStartPos":null,"attributeConnections":[{"__isSmartRef__":true,"id":4510}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"worldMenuOpened":true,"prevScroll":[0,0],"draggingEnabled":true,"clickedOnMorphTime":1328826517475,"savedWorldAsURL":{"__isSmartRef__":true,"id":4515},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":2},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":8},"_MaxTextWidth":260,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":9},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"_TextColor":{"__isSmartRef__":true,"id":11},"renderContextTable":{"__isSmartRef__":true,"id":12},"textChunks":[{"__isSmartRef__":true,"id":13}],"eventHandler":{"__isSmartRef__":true,"id":15},"priorExtent":{"__isSmartRef__":true,"id":16},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":260,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[7,16],"priorSelectionRange":[15,15],"charsReplaced":"Inspector","lastFindLoc":16,"distanceToDragEvent":{"__isSmartRef__":true,"id":17},"prevScroll":[0,0],"isBeingDragged":false,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Text"},"2":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3},"_Extent":{"__isSmartRef__":true,"id":4},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5},"renderContextTable":{"__isSmartRef__":true,"id":6},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4":{"x":260,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"5":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"6":{"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"},"7":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"8":{"x":12,"y":8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"9":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"10":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"12":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"13":{"style":{"__isSmartRef__":true,"id":14},"chunkOwner":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Lively Explorer","__LivelyClassName__":"lively.morphic.TextChunk"},"14":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"15":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"16":{"x":260,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"17":{"x":178,"y":-22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"18":{"submorphs":[{"__isSmartRef__":true,"id":19}],"scripts":[],"shape":{"__isSmartRef__":true,"id":642},"id":2739,"renderContextTable":{"__isSmartRef__":true,"id":647},"eventHandler":{"__isSmartRef__":true,"id":648},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":649},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":651},"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":652},"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":653},"__LivelyClassName__":"lively.morphic.Morph"},"19":{"submorphs":[{"__isSmartRef__":true,"id":20},{"__isSmartRef__":true,"id":42}],"scripts":[],"shape":{"__isSmartRef__":true,"id":60},"id":2736,"renderContextTable":{"__isSmartRef__":true,"id":65},"eventHandler":{"__isSmartRef__":true,"id":66},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":67},"grabbingEnabled":false,"data":null,"level":0,"treeView":{"__isSmartRef__":true,"id":68},"isAContainer":true,"label":"Properties","children":[],"parent":null,"expander":{"__isSmartRef__":true,"id":20},"text":{"__isSmartRef__":true,"id":42},"owner":{"__isSmartRef__":true,"id":18},"_Position":{"__isSmartRef__":true,"id":619},"priorExtent":{"__isSmartRef__":true,"id":620},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1.0100552207170073,"__SourceModuleName__":"Global.lively.morphic.Core","isCopyMorphRef":true,"morphRefId":4,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":621},"__LivelyClassName__":"lively.morphic.Morph"},"20":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":21},"id":2737,"renderContextTable":{"__isSmartRef__":true,"id":28},"eventHandler":{"__isSmartRef__":true,"id":29},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":30},"grabbingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":19},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":31},"__LivelyClassName__":"lively.morphic.Box"},"21":{"_Position":{"__isSmartRef__":true,"id":22},"renderContextTable":{"__isSmartRef__":true,"id":23},"_Extent":{"__isSmartRef__":true,"id":24},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":25},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":26},"_Fill":{"__isSmartRef__":true,"id":27},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"22":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"23":{"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"},"24":{"x":8,"y":8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"25":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"26":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"27":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"28":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"29":{"morph":{"__isSmartRef__":true,"id":20},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"30":{"x":8,"y":5,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"31":{"onMouseUp":{"__isSmartRef__":true,"id":32},"toggle":{"__isSmartRef__":true,"id":39}},"32":{"varMapping":{"__isSmartRef__":true,"id":33},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":38},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"33":{"this":{"__isSmartRef__":true,"id":20},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":34}},"34":{"$super":{"__isSmartRef__":true,"id":35}},"35":{"varMapping":{"__isSmartRef__":true,"id":36},"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":37},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"36":{"obj":{"__isSmartRef__":true,"id":20},"name":"onMouseUp"},"37":{},"38":{},"39":{"varMapping":{"__isSmartRef__":true,"id":40},"source":"function toggle() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && treeNode.isAContainer) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } else {\n if (treeNode.treeView.testMutabilityOf(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n \n Properties.own(treeNode.data).sort().each(function(prop) {\n if (prop.substring(0,2) === \"$$\") return; // hidden values, see connect()\n var childNode = treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n wrapper.addMorph(nodeWrapper);\n });\n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor(this);\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":41},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"40":{"this":{"__isSmartRef__":true,"id":20}},"41":{},"42":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":43},"id":2738,"renderContextTable":{"__isSmartRef__":true,"id":50},"textChunks":[{"__isSmartRef__":true,"id":51},{"__isSmartRef__":true,"id":53}],"eventHandler":{"__isSmartRef__":true,"id":56},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":57},"priorExtent":{"__isSmartRef__":true,"id":58},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":59},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":19},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"43":{"_Position":{"__isSmartRef__":true,"id":44},"renderContextTable":{"__isSmartRef__":true,"id":45},"_Extent":{"__isSmartRef__":true,"id":46},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":47},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":48},"_Fill":{"__isSmartRef__":true,"id":49},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"44":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"45":{"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"},"46":{"x":932,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"47":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"48":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"49":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"50":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"51":{"style":{"__isSmartRef__":true,"id":52},"chunkOwner":{"__isSmartRef__":true,"id":42},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk"},"52":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"53":{"style":{"__isSmartRef__":true,"id":54},"chunkOwner":{"__isSmartRef__":true,"id":42},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk"},"54":{"color":{"__isSmartRef__":true,"id":55},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"55":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"56":{"morph":{"__isSmartRef__":true,"id":42},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"57":{"x":18,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"58":{"x":924,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"59":{"resizeWidth":true},"60":{"_Position":{"__isSmartRef__":true,"id":61},"renderContextTable":{"__isSmartRef__":true,"id":62},"_Extent":{"__isSmartRef__":true,"id":63},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":64},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"61":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"62":{"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"},"63":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"64":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"65":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"66":{"morph":{"__isSmartRef__":true,"id":19},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"67":{"resizeWidth":true},"68":{"submorphs":[{"__isSmartRef__":true,"id":69}],"scripts":[],"id":2081,"shape":{"__isSmartRef__":true,"id":218},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":225},"showsHalos":false,"name":"TreeView1","partsBinMetaInfo":{"__isSmartRef__":true,"id":226},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":227},"eventHandler":{"__isSmartRef__":true,"id":228},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":229},"layout":{"__isSmartRef__":true,"id":230},"isInLayoutCycle":false,"scriptAnnotations":{"__isSmartRef__":true,"id":232},"isCopyMorphRef":true,"morphRefId":2,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":305},"distanceToDragEvent":{"__isSmartRef__":true,"id":554},"colors":{"__isSmartRef__":true,"id":555},"fonts":{"__isSmartRef__":true,"id":558},"sizes":{"__isSmartRef__":true,"id":559},"rootNode":{"__isSmartRef__":true,"id":71},"_Rotation":0,"_Scale":1.002003004005006,"explorer":{"__isSmartRef__":true,"id":305},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":564},"__LivelyClassName__":"lively.morphic.Box"},"69":{"submorphs":[{"__isSmartRef__":true,"id":70}],"scripts":[],"shape":{"__isSmartRef__":true,"id":200},"id":4317,"renderContextTable":{"__isSmartRef__":true,"id":205},"eventHandler":{"__isSmartRef__":true,"id":206},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":207},"_ClipMode":"scroll","layout":{"__isSmartRef__":true,"id":208},"grabbingEnabled":false,"name":"TreeViewScrollPane","owner":{"__isSmartRef__":true,"id":68},"priorExtent":{"__isSmartRef__":true,"id":209},"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.morphic.Clip"},"70":{"submorphs":[{"__isSmartRef__":true,"id":71}],"scripts":[],"shape":{"__isSmartRef__":true,"id":182},"id":4316,"renderContextTable":{"__isSmartRef__":true,"id":187},"eventHandler":{"__isSmartRef__":true,"id":188},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":189},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":191},"owner":{"__isSmartRef__":true,"id":69},"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.morphic.Morph"},"71":{"submorphs":[{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":94}],"scripts":[],"shape":{"__isSmartRef__":true,"id":109},"id":4313,"renderContextTable":{"__isSmartRef__":true,"id":114},"eventHandler":{"__isSmartRef__":true,"id":115},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":116},"grabbingEnabled":false,"data":{"__isSmartRef__":true,"id":117},"level":0,"treeView":{"__isSmartRef__":true,"id":68},"isAContainer":true,"label":"Properties","children":[],"parent":null,"expander":{"__isSmartRef__":true,"id":72},"text":{"__isSmartRef__":true,"id":94},"owner":{"__isSmartRef__":true,"id":70},"_Position":{"__isSmartRef__":true,"id":159},"priorExtent":{"__isSmartRef__":true,"id":160},"_Rotation":0,"_Scale":1.0100552207170073,"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":161},"__LivelyClassName__":"lively.morphic.Morph"},"72":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":73},"id":4314,"renderContextTable":{"__isSmartRef__":true,"id":80},"eventHandler":{"__isSmartRef__":true,"id":81},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":82},"grabbingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":71},"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.Box"},"73":{"_Position":{"__isSmartRef__":true,"id":74},"renderContextTable":{"__isSmartRef__":true,"id":75},"_Extent":{"__isSmartRef__":true,"id":76},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":77},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":78},"_Fill":{"__isSmartRef__":true,"id":79},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"74":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"75":{"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"},"76":{"x":8,"y":8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"77":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"78":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"79":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"80":{"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"},"81":{"morph":{"__isSmartRef__":true,"id":72},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"82":{"x":8,"y":5,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"83":{"onMouseUp":{"__isSmartRef__":true,"id":84},"toggle":{"__isSmartRef__":true,"id":91}},"84":{"varMapping":{"__isSmartRef__":true,"id":85},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":90},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"85":{"this":{"__isSmartRef__":true,"id":72},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":86}},"86":{"$super":{"__isSmartRef__":true,"id":87}},"87":{"varMapping":{"__isSmartRef__":true,"id":88},"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":89},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"88":{"obj":{"__isSmartRef__":true,"id":72},"name":"onMouseUp"},"89":{},"90":{},"91":{"varMapping":{"__isSmartRef__":true,"id":92},"source":"function toggle() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && treeNode.isAContainer) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } else {\n if (treeNode.treeView.testMutabilityOf(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n \n Properties.own(treeNode.data).sort().each(function(prop) {\n if (prop.substring(0,2) === \"$$\") return; // hidden values, see connect()\n var childNode = treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n wrapper.addMorph(nodeWrapper);\n });\n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor(this);\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":93},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"92":{"this":{"__isSmartRef__":true,"id":72}},"93":{},"94":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":95},"id":4315,"renderContextTable":{"__isSmartRef__":true,"id":102},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":103}],"eventHandler":{"__isSmartRef__":true,"id":105},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":106},"priorExtent":{"__isSmartRef__":true,"id":107},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":108},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":71},"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"95":{"_Position":{"__isSmartRef__":true,"id":96},"renderContextTable":{"__isSmartRef__":true,"id":97},"_Extent":{"__isSmartRef__":true,"id":98},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":99},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":100},"_Fill":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"96":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"97":{"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"},"98":{"x":168,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"99":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"100":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"101":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"102":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"103":{"style":{"__isSmartRef__":true,"id":104},"chunkOwner":{"__isSmartRef__":true,"id":94},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"104":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"105":{"morph":{"__isSmartRef__":true,"id":94},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"106":{"x":18,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"107":{"x":160,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"108":{"resizeWidth":true},"109":{"_Position":{"__isSmartRef__":true,"id":110},"renderContextTable":{"__isSmartRef__":true,"id":111},"_Extent":{"__isSmartRef__":true,"id":112},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":113},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"110":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"111":{"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"},"112":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"113":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"114":{"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"},"115":{"morph":{"__isSmartRef__":true,"id":71},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"116":{"resizeWidth":true},"117":{"_Position":{"__isSmartRef__":true,"id":118},"__SourceModuleName__":"Global.lively.morphic.Core","attributeConnections":[{"__isSmartRef__":true,"id":119},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":144}],"distanceToDragEvent":{"__isSmartRef__":true,"id":145},"doNotCopyProperties":["$$_Rotation","$$_Scale"],"doNotSerialize":["$$_Rotation","$$_Scale"],"droppingEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":146},"halosEnabled":true,"id":3166,"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":147},"name":"DirtyEllipse","partsBinMetaInfo":{"__isSmartRef__":true,"id":148},"renderContextTable":{"__isSmartRef__":true,"id":149},"scripts":[],"shape":{"__isSmartRef__":true,"id":150},"showsHalos":false,"submorphs":[],"owner":null,"priorExtent":{"__isSmartRef__":true,"id":158},"isCopyMorphRef":true,"morphRefId":1,"_Rotation":0.7853981633974483,"_Scale":0.9999999999999998,"__LivelyClassName__":"lively.morphic.Morph"},"118":{"x":891.4187375413746,"y":859.6910028241336,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"119":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"scale","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setScale","dependendConnections":[{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":142}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryConnection"},"120":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":121},"id":7554,"renderContextTable":{"__isSmartRef__":true,"id":129},"eventHandler":{"__isSmartRef__":true,"id":130},"droppingEnabled":true,"halosEnabled":true,"isGrabShadow":true,"connections":[{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":119}],"_Position":{"__isSmartRef__":true,"id":133},"_Rotation":0.7853981633974483,"_Scale":0.9999999999999998,"owner":null,"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":134},"__LivelyClassName__":"lively.morphic.Morph"},"121":{"position":{"__isSmartRef__":true,"id":122},"_Extent":{"__isSmartRef__":true,"id":123},"_Fill":{"__isSmartRef__":true,"id":124},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":125},"_Position":{"__isSmartRef__":true,"id":126},"_BorderWidth":3.85,"_BorderRadius":0,"_Opacity":0.5,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":127},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":128},"__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"122":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"123":{"x":145,"y":116,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"124":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"125":{"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"},"126":{"x":-50,"y":-50,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"127":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"128":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"129":{"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"},"130":{"morph":{"__isSmartRef__":true,"id":120},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"131":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"rotation","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setRotation","dependendConnections":[{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":132}],"__SourceModuleName__":"Global.lively.bindings.GeometryBindings","__LivelyClassName__":"lively.morphic.GeometryConnection"},"132":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setRotation","dependedBy":{"__isSmartRef__":true,"id":131},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"133":{"x":-14.58126245862536,"y":-22.308997175866352,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"134":{"remove":{"__isSmartRef__":true,"id":135}},"135":{"varMapping":{"__isSmartRef__":true,"id":136},"source":"function remove() {\n $super();\n this.connections.invoke('disconnect');\n this.submorphs.invoke('remove')\n }","funcProperties":{"__isSmartRef__":true,"id":141},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"136":{"this":{"__isSmartRef__":true,"id":120},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":137}},"137":{"$super":{"__isSmartRef__":true,"id":138}},"138":{"varMapping":{"__isSmartRef__":true,"id":139},"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":140},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"139":{"obj":{"__isSmartRef__":true,"id":120},"name":"remove"},"140":{},"141":{},"142":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setScale","dependedBy":{"__isSmartRef__":true,"id":119},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"143":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"_Rotation","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setRotation","dependedBy":{"__isSmartRef__":true,"id":131},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"144":{"sourceObj":{"__isSmartRef__":true,"id":117},"sourceAttrName":"_Scale","targetObj":{"__isSmartRef__":true,"id":120},"targetMethodName":"setScale","dependedBy":{"__isSmartRef__":true,"id":119},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"145":{"x":59.58126245862536,"y":-77.69100282413365,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"146":{"morph":{"__isSmartRef__":true,"id":117},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"147":{},"148":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","comment":"an Ellipse","partName":"DirtyEllipse","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"149":{"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"},"150":{"position":{"__isSmartRef__":true,"id":151},"_Extent":{"__isSmartRef__":true,"id":152},"_Fill":{"__isSmartRef__":true,"id":153},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":154},"_Position":{"__isSmartRef__":true,"id":155},"_BorderWidth":3.85,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":156},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":157},"__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"151":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"152":{"x":140,"y":44,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"153":{"r":0,"g":0.591,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"154":{"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"},"155":{"x":-50,"y":-50,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"156":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"157":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"158":{"x":134,"y":40,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"159":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"160":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"161":{"updateExpanderColor":{"__isSmartRef__":true,"id":162},"onMouseDown":{"__isSmartRef__":true,"id":165},"onMouseUp":{"__isSmartRef__":true,"id":172},"isRoot":{"__isSmartRef__":true,"id":179}},"162":{"varMapping":{"__isSmartRef__":true,"id":163},"source":"function updateExpanderColor(expander) {\n var colors = this.treeView.colors;\n var fillColor;\n if (expander.isExpanded || !this.isAContainer) {\n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"163":{"this":{"__isSmartRef__":true,"id":71}},"164":{},"165":{"varMapping":{"__isSmartRef__":true,"id":166},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":171},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"166":{"this":{"__isSmartRef__":true,"id":71},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":167}},"167":{"$super":{"__isSmartRef__":true,"id":168}},"168":{"varMapping":{"__isSmartRef__":true,"id":169},"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":170},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"169":{"obj":{"__isSmartRef__":true,"id":71},"name":"onMouseDown"},"170":{},"171":{},"172":{"varMapping":{"__isSmartRef__":true,"id":173},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.expander.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":178},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"173":{"this":{"__isSmartRef__":true,"id":71},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":174}},"174":{"$super":{"__isSmartRef__":true,"id":175}},"175":{"varMapping":{"__isSmartRef__":true,"id":176},"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":177},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"176":{"obj":{"__isSmartRef__":true,"id":71},"name":"onMouseUp"},"177":{},"178":{},"179":{"varMapping":{"__isSmartRef__":true,"id":180},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":181},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"180":{"this":{"__isSmartRef__":true,"id":71}},"181":{},"182":{"_Position":{"__isSmartRef__":true,"id":183},"renderContextTable":{"__isSmartRef__":true,"id":184},"_Extent":{"__isSmartRef__":true,"id":185},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":186},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"183":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"184":{"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"},"185":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"186":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"187":{"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"},"188":{"morph":{"__isSmartRef__":true,"id":70},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"189":{"layouter":{"__isSmartRef__":true,"id":190},"resizeWidth":true},"190":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":70},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.JournalLayout"},"191":{"x":100,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"192":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":193}},"193":{"varMapping":{"__isSmartRef__":true,"id":194},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":199},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"194":{"this":{"__isSmartRef__":true,"id":70},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":195}},"195":{"$super":{"__isSmartRef__":true,"id":196}},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"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":198},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"197":{"obj":{"__isSmartRef__":true,"id":70},"name":"getLayoutableSubmorphs"},"198":{},"199":{},"200":{"_Position":{"__isSmartRef__":true,"id":201},"renderContextTable":{"__isSmartRef__":true,"id":202},"_Extent":{"__isSmartRef__":true,"id":203},"_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":204},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"201":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"202":{"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"},"203":{"x":210.96194292390481,"y":323.99799699599487,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"204":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"205":{"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"},"206":{"morph":{"__isSmartRef__":true,"id":69},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"207":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"208":{"resizeWidth":true,"resizeHeight":true},"209":{"x":230.96194292390481,"y":343.99799699599487,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"210":{"setClipModeHTML":{"__isSmartRef__":true,"id":211}},"211":{"varMapping":{"__isSmartRef__":true,"id":212},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":217},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"212":{"this":{"__isSmartRef__":true,"id":69},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":213}},"213":{"$super":{"__isSmartRef__":true,"id":214}},"214":{"varMapping":{"__isSmartRef__":true,"id":215},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":216},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"215":{"obj":{"__isSmartRef__":true,"id":69},"name":"setClipModeHTML"},"216":{},"217":{},"218":{"position":{"__isSmartRef__":true,"id":219},"_Extent":{"__isSmartRef__":true,"id":220},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":221},"_Fill":{"__isSmartRef__":true,"id":222},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":223},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"219":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"220":{"x":230.96194292390481,"y":343.99799699599487,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"221":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"222":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"223":{"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"},"224":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"225":{"x":10,"y":10,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"226":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"227":{"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"},"228":{"morph":{"__isSmartRef__":true,"id":68},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"229":{"x":231.96394592790983,"y":343.99799699599487,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"230":{"layouter":{"__isSmartRef__":true,"id":231},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"231":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":68},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"232":{"setData":{"__isSmartRef__":true,"id":233},"renderTree":{"__isSmartRef__":true,"id":235},"createTreeNode":{"__isSmartRef__":true,"id":237},"superWrapperForClosure":{"__isSmartRef__":true,"id":239},"expandNode":{"__isSmartRef__":true,"id":241},"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":243},"createTreeWrapper":{"__isSmartRef__":true,"id":245},"onrestore":{"__isSmartRef__":true,"id":247},"reset":{"__isSmartRef__":true,"id":249},"createTreeNodeMorph":{"__isSmartRef__":true,"id":251},"createExpanderMorph":{"__isSmartRef__":true,"id":253},"createTextMorph":{"__isSmartRef__":true,"id":255},"createExpanderButton":{"__isSmartRef__":true,"id":257},"createPropertyText":{"__isSmartRef__":true,"id":259},"defaults":{"__isSmartRef__":true,"id":261},"createScrollClip":{"__isSmartRef__":true,"id":263},"resetDefaults":{"__isSmartRef__":true,"id":265},"testMutabilityFor":{"__isSmartRef__":true,"id":267},"typeOf":{"__isSmartRef__":true,"id":269},"testMutabilityOf":{"__isSmartRef__":true,"id":271},"classNameOf":{"__isSmartRef__":true,"id":273},"displayNameOf":{"__isSmartRef__":true,"id":275},"getDisplayNameOf":{"__isSmartRef__":true,"id":277},"getClassNameOf":{"__isSmartRef__":true,"id":279},"getTypeOf":{"__isSmartRef__":true,"id":281},"updateExpanderColor":{"__isSmartRef__":true,"id":283},"addTreeNodeScriptsTo":{"__isSmartRef__":true,"id":285},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":287},"addScriptsToExpander":{"__isSmartRef__":true,"id":289},"getDisplayStringOf":{"__isSmartRef__":true,"id":291},"containsValues":{"__isSmartRef__":true,"id":293},"getTypeStringOf":{"__isSmartRef__":true,"id":295},"getDisplayStringFor":{"__isSmartRef__":true,"id":297},"getTypeStringFor":{"__isSmartRef__":true,"id":299},"cleanPreviousTarget":{"__isSmartRef__":true,"id":301},"initiateShutdown":{"__isSmartRef__":true,"id":303}},"233":{"time":{"__isSmartRef__":true,"id":234},"user":"lauritz"},"234":{"isSerializedDate":true,"string":"Fri Sep 16 2011 11:29:46 GMT-0700 (PDT)"},"235":{"time":{"__isSmartRef__":true,"id":236},"user":"lauritz"},"236":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:47:56 GMT-0700 (PDT)"},"237":{"time":{"__isSmartRef__":true,"id":238},"user":"lauritz"},"238":{"isSerializedDate":true,"string":"Wed Sep 21 2011 15:11:15 GMT-0700 (PDT)"},"239":{"time":{"__isSmartRef__":true,"id":240},"user":"markoroeder"},"240":{"isSerializedDate":true,"string":"Wed Aug 17 2011 09:51:09 GMT-0700 (PDT)"},"241":{"time":{"__isSmartRef__":true,"id":242},"user":"markoroeder"},"242":{"isSerializedDate":true,"string":"Wed Aug 17 2011 10:01:10 GMT-0700 (PDT)"},"243":{"time":{"__isSmartRef__":true,"id":244},"user":"markoroeder"},"244":{"isSerializedDate":true,"string":"Wed Aug 17 2011 17:29:30 GMT-0700 (PDT)"},"245":{"time":{"__isSmartRef__":true,"id":246},"user":"lauritz"},"246":{"isSerializedDate":true,"string":"Tue Sep 20 2011 08:05:52 GMT-0700 (PDT)"},"247":{"time":{"__isSmartRef__":true,"id":248},"user":"markoroeder"},"248":{"isSerializedDate":true,"string":"Tue Aug 23 2011 13:08:18 GMT-0700 (PDT)"},"249":{"time":{"__isSmartRef__":true,"id":250},"user":"lauritz"},"250":{"isSerializedDate":true,"string":"Thu Sep 22 2011 22:53:37 GMT-0700 (PDT)"},"251":{"time":{"__isSmartRef__":true,"id":252},"user":"lauritz"},"252":{"isSerializedDate":true,"string":"Tue Sep 20 2011 10:41:23 GMT-0700 (PDT)"},"253":{"time":{"__isSmartRef__":true,"id":254},"user":"lauritz"},"254":{"isSerializedDate":true,"string":"Mon Sep 19 2011 10:12:12 GMT-0700 (PDT)"},"255":{"time":{"__isSmartRef__":true,"id":256},"user":"lauritz"},"256":{"isSerializedDate":true,"string":"Mon Sep 19 2011 10:29:34 GMT-0700 (PDT)"},"257":{"time":{"__isSmartRef__":true,"id":258},"user":"lauritz"},"258":{"isSerializedDate":true,"string":"Tue Sep 20 2011 15:14:04 GMT-0700 (PDT)"},"259":{"time":{"__isSmartRef__":true,"id":260},"user":"lauritz"},"260":{"isSerializedDate":true,"string":"Thu Sep 22 2011 16:37:45 GMT-0700 (PDT)"},"261":{"time":{"__isSmartRef__":true,"id":262},"user":"lauritz"},"262":{"isSerializedDate":true,"string":"Tue Sep 20 2011 07:45:27 GMT-0700 (PDT)"},"263":{"time":{"__isSmartRef__":true,"id":264},"user":"lauritz"},"264":{"isSerializedDate":true,"string":"Mon Sep 19 2011 10:54:00 GMT-0700 (PDT)"},"265":{"time":{"__isSmartRef__":true,"id":266},"user":"lauritz"},"266":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:38:04 GMT-0700 (PDT)"},"267":{"time":{"__isSmartRef__":true,"id":268},"user":"lauritz"},"268":{"isSerializedDate":true,"string":"Tue Sep 20 2011 08:50:43 GMT-0700 (PDT)"},"269":{"time":{"__isSmartRef__":true,"id":270},"user":"lauritz"},"270":{"isSerializedDate":true,"string":"Tue Sep 20 2011 08:52:20 GMT-0700 (PDT)"},"271":{"time":{"__isSmartRef__":true,"id":272},"user":"lauritz"},"272":{"isSerializedDate":true,"string":"Tue Sep 20 2011 14:41:43 GMT-0700 (PDT)"},"273":{"time":{"__isSmartRef__":true,"id":274},"user":"lauritz"},"274":{"isSerializedDate":true,"string":"Tue Sep 20 2011 09:43:22 GMT-0700 (PDT)"},"275":{"time":{"__isSmartRef__":true,"id":276},"user":"lauritz"},"276":{"isSerializedDate":true,"string":"Tue Sep 20 2011 10:18:15 GMT-0700 (PDT)"},"277":{"time":{"__isSmartRef__":true,"id":278},"user":"lauritz"},"278":{"isSerializedDate":true,"string":"Tue Sep 20 2011 10:20:46 GMT-0700 (PDT)"},"279":{"time":{"__isSmartRef__":true,"id":280},"user":"lauritz"},"280":{"isSerializedDate":true,"string":"Tue Sep 20 2011 10:18:50 GMT-0700 (PDT)"},"281":{"time":{"__isSmartRef__":true,"id":282},"user":"lauritz"},"282":{"isSerializedDate":true,"string":"Tue Sep 20 2011 10:18:37 GMT-0700 (PDT)"},"283":{"time":{"__isSmartRef__":true,"id":284},"user":"lauritz"},"284":{"isSerializedDate":true,"string":"Tue Sep 20 2011 11:09:41 GMT-0700 (PDT)"},"285":{"time":{"__isSmartRef__":true,"id":286},"user":"lauritz"},"286":{"isSerializedDate":true,"string":"Tue Sep 20 2011 11:11:38 GMT-0700 (PDT)"},"287":{"time":{"__isSmartRef__":true,"id":288},"user":"lauritz"},"288":{"isSerializedDate":true,"string":"Thu Sep 22 2011 09:21:46 GMT-0700 (PDT)"},"289":{"time":{"__isSmartRef__":true,"id":290},"user":"lauritz"},"290":{"isSerializedDate":true,"string":"Wed Sep 21 2011 14:52:25 GMT-0700 (PDT)"},"291":{"time":{"__isSmartRef__":true,"id":292},"user":"lauritz"},"292":{"isSerializedDate":true,"string":"Tue Sep 20 2011 14:36:23 GMT-0700 (PDT)"},"293":{"time":{"__isSmartRef__":true,"id":294},"user":"lauritz"},"294":{"isSerializedDate":true,"string":"Wed Sep 21 2011 14:46:41 GMT-0700 (PDT)"},"295":{"time":{"__isSmartRef__":true,"id":296},"user":"lauritz"},"296":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:31:18 GMT-0700 (PDT)"},"297":{"time":{"__isSmartRef__":true,"id":298},"user":"lauritz"},"298":{"isSerializedDate":true,"string":"Wed Sep 21 2011 14:47:05 GMT-0700 (PDT)"},"299":{"time":{"__isSmartRef__":true,"id":300},"user":"lauritz"},"300":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:32:50 GMT-0700 (PDT)"},"301":{"time":{"__isSmartRef__":true,"id":302},"user":"lauritz"},"302":{"isSerializedDate":true,"string":"Fri Sep 23 2011 15:27:11 GMT-0700 (PDT)"},"303":{"time":{"__isSmartRef__":true,"id":304},"user":"lauritz"},"304":{"isSerializedDate":true,"string":"Fri Sep 23 2011 09:45:48 GMT-0700 (PDT)"},"305":{"submorphs":[{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":306}],"scripts":[],"id":2080,"shape":{"__isSmartRef__":true,"id":329},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":336},"showsHalos":false,"name":"ExplorerPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":338},"eventHandler":{"__isSmartRef__":true,"id":339},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":340},"priorExtent":{"__isSmartRef__":true,"id":527},"distanceToDragEvent":{"__isSmartRef__":true,"id":528},"layout":{"__isSmartRef__":true,"id":529},"workspace":{"__isSmartRef__":true,"id":306},"scriptAnnotations":{"__isSmartRef__":true,"id":531},"treeView":{"__isSmartRef__":true,"id":68},"focusedNode":{"__isSmartRef__":true,"id":71},"isInLayoutCycle":false,"_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":544},"__LivelyClassName__":"lively.morphic.Box"},"306":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":307},"id":2082,"renderContextTable":{"__isSmartRef__":true,"id":314},"textChunks":[{"__isSmartRef__":true,"id":315}],"eventHandler":{"__isSmartRef__":true,"id":317},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":318},"priorExtent":{"__isSmartRef__":true,"id":319},"_MaxTextWidth":220.96194292390481,"_MinTextWidth":220.96194292390481,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":320},"doitContext":{"__isSmartRef__":true,"id":117},"previousSelection":[6,0],"priorSelectionRange":[0,0],"charsReplaced":"this Explorer","lastFindLoc":53,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":305},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":321},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":322},"_Rotation":0,"_Scale":0.9980010000000006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":325},"__LivelyClassName__":"lively.morphic.Text"},"307":{"_Position":{"__isSmartRef__":true,"id":308},"renderContextTable":{"__isSmartRef__":true,"id":309},"_Extent":{"__isSmartRef__":true,"id":310},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":311},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":312},"_Fill":{"__isSmartRef__":true,"id":313},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"308":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"309":{"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"},"310":{"x":230.96194292390481,"y":81.00200300400502,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"311":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"312":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"313":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"315":{"style":{"__isSmartRef__":true,"id":316},"chunkOwner":{"__isSmartRef__":true,"id":306},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"316":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"317":{"morph":{"__isSmartRef__":true,"id":306},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"318":{"x":10,"y":368.99799699599487,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"319":{"x":230.96194292390481,"y":81.00200300400502,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"320":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"321":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"322":{"reset":{"__isSmartRef__":true,"id":323}},"323":{"time":{"__isSmartRef__":true,"id":324},"user":"lauritz"},"324":{"isSerializedDate":true,"string":"Tue Sep 20 2011 16:26:58 GMT-0700 (PDT)"},"325":{"reset":{"__isSmartRef__":true,"id":326}},"326":{"varMapping":{"__isSmartRef__":true,"id":327},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":328},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"327":{"this":{"__isSmartRef__":true,"id":306}},"328":{},"329":{"position":{"__isSmartRef__":true,"id":330},"_Extent":{"__isSmartRef__":true,"id":331},"_BorderWidth":2.6340000000000003,"_BorderColor":{"__isSmartRef__":true,"id":332},"_Fill":{"__isSmartRef__":true,"id":333},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":334},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":335},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"330":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"331":{"x":250.96194292390481,"y":459.9999999999999,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"332":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"333":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"334":{"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"},"335":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"336":{"x":0.9999999999999787,"y":22.00000000000125,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"337":{"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":"Explorer","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"338":{"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"},"339":{"morph":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"340":{"submorphs":[{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":305}],"scripts":[],"shape":{"__isSmartRef__":true,"id":489},"id":2079,"renderContextTable":{"__isSmartRef__":true,"id":494},"eventHandler":{"__isSmartRef__":true,"id":495},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":496},"LK2":true,"_Position":{"__isSmartRef__":true,"id":497},"priorExtent":{"__isSmartRef__":true,"id":498},"targetMorph":{"__isSmartRef__":true,"id":305},"titleBar":{"__isSmartRef__":true,"id":341},"contentOffset":{"__isSmartRef__":true,"id":499},"collapsedTransform":{"__isSmartRef__":true,"id":500},"collapsedExtent":{"__isSmartRef__":true,"id":501},"expandedTransform":{"__isSmartRef__":true,"id":502},"expandedExtent":{"__isSmartRef__":true,"id":503},"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":504},"name":"Explorer1","prevDragPos":{"__isSmartRef__":true,"id":505},"isBeingDragged":false,"highlighted":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","explorer":{"__isSmartRef__":true,"id":305},"scriptAnnotations":{"__isSmartRef__":true,"id":506},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":2,"owner":null,"_Rotation":0,"_Scale":1.0060210561262526,"distanceToDragEvent":{"__isSmartRef__":true,"id":517},"expandedPosition":{"__isSmartRef__":true,"id":518},"state":"shutdown","collapsedPosition":{"__isSmartRef__":true,"id":519},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":520},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"341":{"submorphs":[{"__isSmartRef__":true,"id":342},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":403},{"__isSmartRef__":true,"id":437}],"scripts":[],"shape":{"__isSmartRef__":true,"id":472},"id":2083,"renderContextTable":{"__isSmartRef__":true,"id":484},"eventHandler":{"__isSmartRef__":true,"id":485},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":486},"_Position":{"__isSmartRef__":true,"id":487},"windowMorph":{"__isSmartRef__":true,"id":340},"label":{"__isSmartRef__":true,"id":342},"closeButton":{"__isSmartRef__":true,"id":356},"menuButton":{"__isSmartRef__":true,"id":403},"collapseButton":{"__isSmartRef__":true,"id":437},"priorExtent":{"__isSmartRef__":true,"id":488},"owner":{"__isSmartRef__":true,"id":340},"__SourceModuleName__":"Global.lively.morphic.Widgets","isCopyMorphRef":true,"morphRefId":4,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.TitleBar"},"342":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":343},"id":2084,"renderContextTable":{"__isSmartRef__":true,"id":349},"eventHandler":{"__isSmartRef__":true,"id":350},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"textChunks":[{"__isSmartRef__":true,"id":351}],"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":353},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":341},"priorExtent":{"__isSmartRef__":true,"id":354},"_MaxTextWidth":193.49672894514134,"_MinTextWidth":193.49672894514134,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":355},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"343":{"_Position":{"__isSmartRef__":true,"id":344},"renderContextTable":{"__isSmartRef__":true,"id":345},"_Extent":{"__isSmartRef__":true,"id":346},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":347},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":348},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"344":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"345":{"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"},"346":{"x":193.49672894514134,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"347":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"348":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"350":{"morph":{"__isSmartRef__":true,"id":342},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"351":{"style":{"__isSmartRef__":true,"id":352},"chunkOwner":{"__isSmartRef__":true,"id":342},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"352":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"353":{"resizeWidth":true},"354":{"x":193.49672894514134,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"355":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"356":{"submorphs":[{"__isSmartRef__":true,"id":357}],"scripts":[],"shape":{"__isSmartRef__":true,"id":369},"id":2085,"renderContextTable":{"__isSmartRef__":true,"id":385},"eventHandler":{"__isSmartRef__":true,"id":386},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":387},"priorExtent":{"__isSmartRef__":true,"id":388},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":375},"lighterFill":{"__isSmartRef__":true,"id":389},"label":{"__isSmartRef__":true,"id":357},"owner":{"__isSmartRef__":true,"id":341},"layout":{"__isSmartRef__":true,"id":398},"attributeConnections":[{"__isSmartRef__":true,"id":399},{"__isSmartRef__":true,"id":401}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"isCopyMorphRef":true,"morphRefId":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"357":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":358},"id":2086,"renderContextTable":{"__isSmartRef__":true,"id":363},"eventHandler":{"__isSmartRef__":true,"id":364},"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":365},"priorExtent":{"__isSmartRef__":true,"id":366},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":367}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":356},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":3,"__LivelyClassName__":"lively.morphic.Text"},"358":{"_Position":{"__isSmartRef__":true,"id":359},"renderContextTable":{"__isSmartRef__":true,"id":360},"_Extent":{"__isSmartRef__":true,"id":361},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":362},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":348},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"359":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"360":{"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"},"361":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"362":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"363":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"364":{"morph":{"__isSmartRef__":true,"id":357},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"365":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"366":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"367":{"style":{"__isSmartRef__":true,"id":368},"chunkOwner":{"__isSmartRef__":true,"id":357},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"368":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"369":{"_Position":{"__isSmartRef__":true,"id":370},"renderContextTable":{"__isSmartRef__":true,"id":371},"_Extent":{"__isSmartRef__":true,"id":372},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":373},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":374},"_Fill":{"__isSmartRef__":true,"id":375},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"370":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"371":{"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"},"372":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"373":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"374":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"375":{"stops":[{"__isSmartRef__":true,"id":376},{"__isSmartRef__":true,"id":378},{"__isSmartRef__":true,"id":380},{"__isSmartRef__":true,"id":382}],"vector":{"__isSmartRef__":true,"id":384},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"376":{"offset":0,"color":{"__isSmartRef__":true,"id":377}},"377":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"378":{"offset":0.4,"color":{"__isSmartRef__":true,"id":379}},"379":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"380":{"offset":0.6,"color":{"__isSmartRef__":true,"id":381}},"381":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"382":{"offset":1,"color":{"__isSmartRef__":true,"id":383}},"383":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"384":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"385":{"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"},"386":{"morph":{"__isSmartRef__":true,"id":356},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"387":{"x":232.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"388":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"389":{"stops":[{"__isSmartRef__":true,"id":390},{"__isSmartRef__":true,"id":392},{"__isSmartRef__":true,"id":394},{"__isSmartRef__":true,"id":396}],"vector":{"__isSmartRef__":true,"id":384},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"390":{"offset":0,"color":{"__isSmartRef__":true,"id":391}},"391":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"392":{"offset":0.4,"color":{"__isSmartRef__":true,"id":393}},"393":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"394":{"offset":0.6,"color":{"__isSmartRef__":true,"id":395}},"395":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"396":{"offset":1,"color":{"__isSmartRef__":true,"id":397}},"397":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"398":{"moveHorizontal":true},"399":{"sourceObj":{"__isSmartRef__":true,"id":356},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":400},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"400":{"source":{"__isSmartRef__":true,"id":356},"target":{"__isSmartRef__":true,"id":340}},"401":{"sourceObj":{"__isSmartRef__":true,"id":356},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":402},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"402":{"source":{"__isSmartRef__":true,"id":356},"target":{"__isSmartRef__":true,"id":340}},"403":{"submorphs":[{"__isSmartRef__":true,"id":404}],"scripts":[],"shape":{"__isSmartRef__":true,"id":415},"id":2087,"renderContextTable":{"__isSmartRef__":true,"id":420},"eventHandler":{"__isSmartRef__":true,"id":421},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":422},"priorExtent":{"__isSmartRef__":true,"id":423},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":375},"lighterFill":{"__isSmartRef__":true,"id":424},"label":{"__isSmartRef__":true,"id":404},"owner":{"__isSmartRef__":true,"id":341},"attributeConnections":[{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":435}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"__LivelyClassName__":"lively.morphic.WindowControl"},"404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":405},"id":2088,"renderContextTable":{"__isSmartRef__":true,"id":409},"eventHandler":{"__isSmartRef__":true,"id":410},"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":411},"priorExtent":{"__isSmartRef__":true,"id":412},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":413}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":403},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"405":{"_Position":{"__isSmartRef__":true,"id":406},"renderContextTable":{"__isSmartRef__":true,"id":407},"_Extent":{"__isSmartRef__":true,"id":408},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":362},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":348},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"406":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"407":{"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"},"408":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"409":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"410":{"morph":{"__isSmartRef__":true,"id":404},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"411":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"412":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"413":{"style":{"__isSmartRef__":true,"id":414},"chunkOwner":{"__isSmartRef__":true,"id":404},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"414":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"415":{"_Position":{"__isSmartRef__":true,"id":416},"renderContextTable":{"__isSmartRef__":true,"id":417},"_Extent":{"__isSmartRef__":true,"id":418},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":419},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":374},"_Fill":{"__isSmartRef__":true,"id":375},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"416":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"417":{"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"},"418":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"419":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"420":{"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"},"421":{"morph":{"__isSmartRef__":true,"id":403},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"422":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"423":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"424":{"stops":[{"__isSmartRef__":true,"id":425},{"__isSmartRef__":true,"id":427},{"__isSmartRef__":true,"id":429},{"__isSmartRef__":true,"id":431}],"vector":{"__isSmartRef__":true,"id":384},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"425":{"offset":0,"color":{"__isSmartRef__":true,"id":426}},"426":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"427":{"offset":0.4,"color":{"__isSmartRef__":true,"id":428}},"428":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"429":{"offset":0.6,"color":{"__isSmartRef__":true,"id":430}},"430":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"431":{"offset":1,"color":{"__isSmartRef__":true,"id":432}},"432":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"433":{"sourceObj":{"__isSmartRef__":true,"id":403},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":434},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"434":{"source":{"__isSmartRef__":true,"id":403},"target":{"__isSmartRef__":true,"id":340}},"435":{"sourceObj":{"__isSmartRef__":true,"id":403},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":436},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"436":{"source":{"__isSmartRef__":true,"id":403},"target":{"__isSmartRef__":true,"id":340}},"437":{"submorphs":[{"__isSmartRef__":true,"id":438}],"scripts":[],"shape":{"__isSmartRef__":true,"id":449},"id":2089,"renderContextTable":{"__isSmartRef__":true,"id":454},"eventHandler":{"__isSmartRef__":true,"id":455},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":456},"priorExtent":{"__isSmartRef__":true,"id":457},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":375},"lighterFill":{"__isSmartRef__":true,"id":458},"label":{"__isSmartRef__":true,"id":438},"owner":{"__isSmartRef__":true,"id":341},"layout":{"__isSmartRef__":true,"id":467},"attributeConnections":[{"__isSmartRef__":true,"id":468},{"__isSmartRef__":true,"id":470}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"__LivelyClassName__":"lively.morphic.WindowControl"},"438":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":439},"id":2090,"renderContextTable":{"__isSmartRef__":true,"id":443},"eventHandler":{"__isSmartRef__":true,"id":444},"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":445},"priorExtent":{"__isSmartRef__":true,"id":446},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":447}],"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":437},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text"},"439":{"_Position":{"__isSmartRef__":true,"id":440},"renderContextTable":{"__isSmartRef__":true,"id":441},"_Extent":{"__isSmartRef__":true,"id":442},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":362},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":348},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"440":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"441":{"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"},"442":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"443":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"444":{"morph":{"__isSmartRef__":true,"id":438},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"445":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"446":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"447":{"style":{"__isSmartRef__":true,"id":448},"chunkOwner":{"__isSmartRef__":true,"id":438},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"448":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"449":{"_Position":{"__isSmartRef__":true,"id":450},"renderContextTable":{"__isSmartRef__":true,"id":451},"_Extent":{"__isSmartRef__":true,"id":452},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":453},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":374},"_Fill":{"__isSmartRef__":true,"id":375},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"450":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"451":{"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"},"452":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"453":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"454":{"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"},"455":{"morph":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"456":{"x":213.49672894514134,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"457":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"458":{"stops":[{"__isSmartRef__":true,"id":459},{"__isSmartRef__":true,"id":461},{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":465}],"vector":{"__isSmartRef__":true,"id":384},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"459":{"offset":0,"color":{"__isSmartRef__":true,"id":460}},"460":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"461":{"offset":0.4,"color":{"__isSmartRef__":true,"id":462}},"462":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"463":{"offset":0.6,"color":{"__isSmartRef__":true,"id":464}},"464":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"465":{"offset":1,"color":{"__isSmartRef__":true,"id":466}},"466":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"467":{"moveHorizontal":true},"468":{"sourceObj":{"__isSmartRef__":true,"id":437},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":469},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"469":{"source":{"__isSmartRef__":true,"id":437},"target":{"__isSmartRef__":true,"id":340}},"470":{"sourceObj":{"__isSmartRef__":true,"id":437},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":340},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":471},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"471":{"source":{"__isSmartRef__":true,"id":437},"target":{"__isSmartRef__":true,"id":340}},"472":{"_Position":{"__isSmartRef__":true,"id":473},"renderContextTable":{"__isSmartRef__":true,"id":474},"_Extent":{"__isSmartRef__":true,"id":475},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":476},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":477},"_Fill":{"__isSmartRef__":true,"id":478},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"473":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"474":{"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"},"475":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"476":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"477":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"478":{"stops":[{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":481}],"vector":{"__isSmartRef__":true,"id":483},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"479":{"offset":0,"color":{"__isSmartRef__":true,"id":480}},"480":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"481":{"offset":1,"color":{"__isSmartRef__":true,"id":482}},"482":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"483":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"484":{"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"},"485":{"morph":{"__isSmartRef__":true,"id":341},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"486":{"resizeWidth":true,"adjustForNewBounds":true},"487":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"488":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"489":{"renderContextTable":{"__isSmartRef__":true,"id":490},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":491},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":492},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","_Position":{"__isSmartRef__":true,"id":493},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"490":{"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"},"491":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"492":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"494":{"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"},"495":{"morph":{"__isSmartRef__":true,"id":340},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"496":{"adjustForNewBounds":true},"497":{"x":1005.769512491305,"y":69.38736962222208,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"498":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"499":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"500":{"a":1.0060210561262526,"b":0,"c":0,"d":1.0060210561262526,"e":1239.769512491305,"f":55.38736962222208,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"501":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"502":{"a":1.0060210561262526,"b":0,"c":0,"d":1.0060210561262526,"e":1362.769512491305,"f":59.38736962222208,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.Similitude"},"503":{"x":252.49672894514134,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"504":{"partsSpaceName":"PartsBin/Tools/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A Smalltalk-like Explorer. Displays object properties in a tree and provides a small workspace. The workspace's context is set to the last clicked tree node.","migrationLevel":4,"partName":"Explorer","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"505":{"x":1152,"y":81,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"506":{"explore":{"__isSmartRef__":true,"id":507},"reset":{"__isSmartRef__":true,"id":509},"remove":{"__isSmartRef__":true,"id":511},"initiateShutdown":{"__isSmartRef__":true,"id":513},"onShutdown":{"__isSmartRef__":true,"id":515}},"507":{"time":{"__isSmartRef__":true,"id":508},"user":"lauritz"},"508":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:25:04 GMT-0700 (PDT)"},"509":{"time":{"__isSmartRef__":true,"id":510},"user":"lauritz"},"510":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:25:04 GMT-0700 (PDT)"},"511":{"time":{"__isSmartRef__":true,"id":512},"user":"lauritz"},"512":{"isSerializedDate":true,"string":"Thu Sep 22 2011 09:56:45 GMT-0700 (PDT)"},"513":{"time":{"__isSmartRef__":true,"id":514},"user":"lauritz"},"514":{"isSerializedDate":true,"string":"Fri Sep 23 2011 09:39:46 GMT-0700 (PDT)"},"515":{"time":{"__isSmartRef__":true,"id":516},"user":"lauritz"},"516":{"isSerializedDate":true,"string":"Fri Sep 23 2011 09:57:16 GMT-0700 (PDT)"},"517":{"x":179.23048750869503,"y":-0.3873696222220815,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"518":{"x":1362.769512491305,"y":59.38736962222208,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"519":{"x":1239.769512491305,"y":55.38736962222208,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"520":{"explore":{"__isSmartRef__":true,"id":521},"reset":{"__isSmartRef__":true,"id":524}},"521":{"varMapping":{"__isSmartRef__":true,"id":522},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":523},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"522":{"this":{"__isSmartRef__":true,"id":340}},"523":{},"524":{"varMapping":{"__isSmartRef__":true,"id":525},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":526},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"525":{"this":{"__isSmartRef__":true,"id":340}},"526":{},"527":{"x":251.96394592790983,"y":459.9999999999999,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"528":{"x":176.3545317088861,"y":19.080120160200238,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"529":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":530}},"530":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"531":{"reset":{"__isSmartRef__":true,"id":532},"moveFocusTo":{"__isSmartRef__":true,"id":534},"explore":{"__isSmartRef__":true,"id":536},"cleanPreviousTarget":{"__isSmartRef__":true,"id":538},"initiateShutdown":{"__isSmartRef__":true,"id":540},"onShutdown":{"__isSmartRef__":true,"id":542}},"532":{"time":{"__isSmartRef__":true,"id":533},"user":"lauritz"},"533":{"isSerializedDate":true,"string":"Mon Sep 26 2011 09:55:44 GMT-0700 (PDT)"},"534":{"time":{"__isSmartRef__":true,"id":535},"user":"lauritz"},"535":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:41:09 GMT-0700 (PDT)"},"536":{"time":{"__isSmartRef__":true,"id":537},"user":"lauritz"},"537":{"isSerializedDate":true,"string":"Wed Sep 21 2011 10:48:20 GMT-0700 (PDT)"},"538":{"time":{"__isSmartRef__":true,"id":539},"user":"lauritz"},"539":{"isSerializedDate":true,"string":"Thu Sep 22 2011 22:33:48 GMT-0700 (PDT)"},"540":{"time":{"__isSmartRef__":true,"id":541},"user":"lauritz"},"541":{"isSerializedDate":true,"string":"Fri Sep 23 2011 09:45:58 GMT-0700 (PDT)"},"542":{"time":{"__isSmartRef__":true,"id":543},"user":"lauritz"},"543":{"isSerializedDate":true,"string":"Fri Sep 23 2011 09:57:58 GMT-0700 (PDT)"},"544":{"reset":{"__isSmartRef__":true,"id":545},"moveFocusTo":{"__isSmartRef__":true,"id":548},"explore":{"__isSmartRef__":true,"id":551}},"545":{"varMapping":{"__isSmartRef__":true,"id":546},"source":"function reset() {\nthis.workspace.reset();\n this.treeView.reset();\nthis.focusedNode = null; \n}","funcProperties":{"__isSmartRef__":true,"id":547},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"546":{"this":{"__isSmartRef__":true,"id":305}},"547":{},"548":{"varMapping":{"__isSmartRef__":true,"id":549},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n \n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n}","funcProperties":{"__isSmartRef__":true,"id":550},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"549":{"this":{"__isSmartRef__":true,"id":305}},"550":{},"551":{"varMapping":{"__isSmartRef__":true,"id":552},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n this.moveFocusTo(this.treeView.rootNode);\n}","funcProperties":{"__isSmartRef__":true,"id":553},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"552":{"this":{"__isSmartRef__":true,"id":305}},"553":{},"554":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"555":{"border":{"__isSmartRef__":true,"id":78},"contractedExpander":{"__isSmartRef__":true,"id":556},"expandedExpander":{"__isSmartRef__":true,"id":222},"focusedText":{"__isSmartRef__":true,"id":101},"emphasizedText":{"__isSmartRef__":true,"id":557}},"556":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"557":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"558":{"size":10},"559":{"wrapperExtent":{"__isSmartRef__":true,"id":560},"expanderExtent":{"__isSmartRef__":true,"id":561},"expanderOffset":{"__isSmartRef__":true,"id":562},"textOffset":{"__isSmartRef__":true,"id":563},"levelIndent":10,"maxTextWidth":500},"560":{"x":0,"y":0,"width":100,"height":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"561":{"x":8,"y":8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"562":{"x":8,"y":5,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"563":{"x":18,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"564":{"renderTree":{"__isSmartRef__":true,"id":565},"createTreeNode":{"__isSmartRef__":true,"id":568},"createTreeWrapper":{"__isSmartRef__":true,"id":571},"reset":{"__isSmartRef__":true,"id":574},"createTreeNodeMorph":{"__isSmartRef__":true,"id":577},"createExpanderButton":{"__isSmartRef__":true,"id":580},"createPropertyText":{"__isSmartRef__":true,"id":583},"createScrollClip":{"__isSmartRef__":true,"id":586},"resetDefaults":{"__isSmartRef__":true,"id":589},"testMutabilityOf":{"__isSmartRef__":true,"id":592},"getClassNameOf":{"__isSmartRef__":true,"id":595},"getTypeOf":{"__isSmartRef__":true,"id":598},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":601},"addScriptsToExpander":{"__isSmartRef__":true,"id":604},"containsValues":{"__isSmartRef__":true,"id":607},"getDisplayStringFor":{"__isSmartRef__":true,"id":610},"getTypeStringFor":{"__isSmartRef__":true,"id":613},"cleanPreviousTarget":{"__isSmartRef__":true,"id":616}},"565":{"varMapping":{"__isSmartRef__":true,"id":566},"source":"function renderTree(data) {\n\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n\n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n}","funcProperties":{"__isSmartRef__":true,"id":567},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"566":{"this":{"__isSmartRef__":true,"id":68}},"567":{},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.isAContainer = this.containsValues(data);\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n var text = this.createPropertyText(treeNode);\n\n treeNode.addMorph(expander);\n treeNode.expander = expander;\n treeNode.addMorph(text);\n treeNode.text = text;\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":570},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"569":{"this":{"__isSmartRef__":true,"id":68}},"570":{},"571":{"varMapping":{"__isSmartRef__":true,"id":572},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":573},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"572":{"this":{"__isSmartRef__":true,"id":68}},"573":{},"574":{"varMapping":{"__isSmartRef__":true,"id":575},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.cleanPreviousTarget();\n this.rootNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":576},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"575":{"this":{"__isSmartRef__":true,"id":68}},"576":{},"577":{"varMapping":{"__isSmartRef__":true,"id":578},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":579},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"578":{"this":{"__isSmartRef__":true,"id":68}},"579":{},"580":{"varMapping":{"__isSmartRef__":true,"id":581},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor(expander);\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":582},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"581":{"this":{"__isSmartRef__":true,"id":68}},"582":{},"583":{"varMapping":{"__isSmartRef__":true,"id":584},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n var label = this.getDisplayStringFor(treeNode);\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), label);\n \n // ugly hacks following, i am so sorry :-)\n if (!treeNode.isRoot()) { \n var c = connect(treeNode.parent.data, treeNode.label, textMorph, \"setTextString\", {\n converter : function (value) {\n var treeView = this.treeNode.treeView;\n this.treeNode.data = value;\n \n if (treeView.testMutabilityOf(value)) {\n // mutable data has changed, therefore redraw the children\n\n // move later, make it DRY\n this.getTargetObj().setExtent(pt(treeView.getDisplayStringFor(this.treeNode).length * treeView.fonts.size * (2/3), treeView.fonts.size * 2));\n this.treeNode.childrenWrapper && this.treeNode.childrenWrapper.setVisible(false);\n \n this.treeNode.childrenWrapper = undefined;\n \n if (this.treeNode.expander.isExpanded) {\n this.treeNode.expander.isExpanded = false;\n this.treeNode.expander.toggle();\n }\n } \n\n // resetting the textString only affects values, not objects, but the connection's target's setTextString requires something.\n return treeView.getDisplayStringFor(this.treeNode);\n }\n });\n c.treeNode = treeNode; // used in converter function\n }\n\n // layout\n textMorph.emphasize({color: this.colors.emphasizedText, italics: 'italic'}, treeNode.label.length, textMorph.textString.length)\n textMorph.setFontSize(this.fonts.size);\n textMorph.setFillOpacity(0);\n textMorph.setBorderWidth(0);\n textMorph.setMaxTextWidth(this.fonts.maxTextWidth);\n textMorph.setExtent(pt(textMorph.getTextString().length * this.fonts.size * (2/3), this.fonts.size * 2));\n textMorph.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n textMorph.beLabel();\n textMorph.fit();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":585},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"584":{"this":{"__isSmartRef__":true,"id":68}},"585":{},"586":{"varMapping":{"__isSmartRef__":true,"id":587},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":588},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"587":{"this":{"__isSmartRef__":true,"id":68}},"588":{},"589":{"varMapping":{"__isSmartRef__":true,"id":590},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":591},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"590":{"this":{"__isSmartRef__":true,"id":68}},"591":{},"592":{"varMapping":{"__isSmartRef__":true,"id":593},"source":"function testMutabilityOf(value) {\n var type = this.getTypeOf(value);\n return (type === \"array\" || type === \"object\");\n}","funcProperties":{"__isSmartRef__":true,"id":594},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"593":{"this":{"__isSmartRef__":true,"id":68}},"594":{},"595":{"varMapping":{"__isSmartRef__":true,"id":596},"source":"function getClassNameOf(object) {\n var fullClassName = Class.getConstructor(object).displayName;\n if (!fullClassName) \n return this.getTypeOf(object);\n return fullClassName.split(\".\").pop();\n}","funcProperties":{"__isSmartRef__":true,"id":597},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"596":{"this":{"__isSmartRef__":true,"id":68}},"597":{},"598":{"varMapping":{"__isSmartRef__":true,"id":599},"source":"function getTypeOf(value) {\n // Caution: Only works correctly for arrays if created in same context, e.g. frame, because of instanceof\n var type = typeof value;\n if (type === \"object\") {\n if (value) {\n if (value instanceof Array) {\n return \"array\";\n } \n } else {\n return null;\n }\n } \n return type;\n}","funcProperties":{"__isSmartRef__":true,"id":600},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"599":{"this":{"__isSmartRef__":true,"id":68}},"600":{},"601":{"varMapping":{"__isSmartRef__":true,"id":602},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor(expander) {\n var colors = this.treeView.colors;\n var fillColor;\n if (expander.isExpanded || !this.isAContainer) {\n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.expander.toggle();\n return false;\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n })\n\n}","funcProperties":{"__isSmartRef__":true,"id":603},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"602":{"this":{"__isSmartRef__":true,"id":68}},"603":{},"604":{"varMapping":{"__isSmartRef__":true,"id":605},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.toggle();\n return false;\n });\n\n expander.addScript(function toggle() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && treeNode.isAContainer) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } else {\n if (treeNode.treeView.testMutabilityOf(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n \n Properties.own(treeNode.data).sort().each(function(prop) {\n if (prop.substring(0,2) === \"$$\") return; // hidden values, see connect()\n var childNode = treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n wrapper.addMorph(nodeWrapper);\n });\n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor(this);\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":606},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"605":{"this":{"__isSmartRef__":true,"id":68}},"606":{},"607":{"varMapping":{"__isSmartRef__":true,"id":608},"source":"function containsValues(value) {\n return (this.testMutabilityOf(value) && Properties.own(value).length > 0);\n}","funcProperties":{"__isSmartRef__":true,"id":609},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"608":{"this":{"__isSmartRef__":true,"id":68}},"609":{},"610":{"varMapping":{"__isSmartRef__":true,"id":611},"source":"function getDisplayStringFor(treeNode) {\n return treeNode.label + \": \" + (this.testMutabilityOf(treeNode.data) ? this.getTypeStringFor(treeNode.data) : treeNode.data)\n}","funcProperties":{"__isSmartRef__":true,"id":612},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"611":{"this":{"__isSmartRef__":true,"id":68}},"612":{},"613":{"varMapping":{"__isSmartRef__":true,"id":614},"source":"function getTypeStringFor(object) {\n var name; \n if (object.getName) name = object.getName();\n if (!name) {\n name = this.getClassNameOf(object);\n var displayTypeAndEmptiness = function (type, firstBracket, secondBracket) {\n if (name === type) {\n name = \"\";\n name += firstBracket; \n if (Properties.own(object).length > 0) name += \"...\";\n name += secondBracket;\n }\n }\n displayTypeAndEmptiness(\"object\", \"{\", \"}\");\n displayTypeAndEmptiness(\"array\", \"[\", \"]\");\n }\n return name;\n}","funcProperties":{"__isSmartRef__":true,"id":615},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"614":{"this":{"__isSmartRef__":true,"id":68}},"615":{},"616":{"varMapping":{"__isSmartRef__":true,"id":617},"source":"function cleanPreviousTarget() {\n if (this.rootNode && this.rootNode.data) {\n module('lively.ide.Explorer').load();\n (new ExplorerConnectionsRemover()).clean(this.rootNode.data, true, this.explorer);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":618},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"617":{"this":{"__isSmartRef__":true,"id":68}},"618":{},"619":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"620":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"621":{"updateExpanderColor":{"__isSmartRef__":true,"id":622},"onMouseDown":{"__isSmartRef__":true,"id":625},"onMouseUp":{"__isSmartRef__":true,"id":632},"isRoot":{"__isSmartRef__":true,"id":639}},"622":{"varMapping":{"__isSmartRef__":true,"id":623},"source":"function updateExpanderColor(expander) {\n var colors = this.treeView.colors;\n var fillColor;\n if (expander.isExpanded || !this.isAContainer) {\n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":624},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"623":{"this":{"__isSmartRef__":true,"id":19}},"624":{},"625":{"varMapping":{"__isSmartRef__":true,"id":626},"source":"function onMouseDown() {\n this.get(\"ExplorerPane\").moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":631},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"626":{"this":{"__isSmartRef__":true,"id":19},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":627}},"627":{"$super":{"__isSmartRef__":true,"id":628}},"628":{"varMapping":{"__isSmartRef__":true,"id":629},"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":630},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"629":{"obj":{"__isSmartRef__":true,"id":19},"name":"onMouseDown"},"630":{},"631":{},"632":{"varMapping":{"__isSmartRef__":true,"id":633},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.expander.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":638},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"633":{"this":{"__isSmartRef__":true,"id":19},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":634}},"634":{"$super":{"__isSmartRef__":true,"id":635}},"635":{"varMapping":{"__isSmartRef__":true,"id":636},"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":637},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"636":{"obj":{"__isSmartRef__":true,"id":19},"name":"onMouseUp"},"637":{},"638":{},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":641},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"640":{"this":{"__isSmartRef__":true,"id":19}},"641":{},"642":{"_Position":{"__isSmartRef__":true,"id":643},"renderContextTable":{"__isSmartRef__":true,"id":644},"_Extent":{"__isSmartRef__":true,"id":645},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":646},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"643":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"644":{"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"},"645":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"646":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"647":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"648":{"morph":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"649":{"layouter":{"__isSmartRef__":true,"id":650},"resizeWidth":true},"650":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.JournalLayout"},"651":{"x":100,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"652":{"x":1211.4016018020022,"y":-424.8693037381727,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"653":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":654}},"654":{"varMapping":{"__isSmartRef__":true,"id":655},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":660},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"655":{"this":{"__isSmartRef__":true,"id":18},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":656}},"656":{"$super":{"__isSmartRef__":true,"id":657}},"657":{"varMapping":{"__isSmartRef__":true,"id":658},"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":659},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"658":{"obj":{"__isSmartRef__":true,"id":18},"name":"getLayoutableSubmorphs"},"659":{},"660":{},"661":{"submorphs":[{"__isSmartRef__":true,"id":662}],"scripts":[],"shape":{"__isSmartRef__":true,"id":732},"id":3396,"renderContextTable":{"__isSmartRef__":true,"id":737},"eventHandler":{"__isSmartRef__":true,"id":738},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":739},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":741},"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":742},"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":743},"__LivelyClassName__":"lively.morphic.Morph"},"662":{"submorphs":[{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":685}],"scripts":[],"shape":{"__isSmartRef__":true,"id":701},"id":3393,"renderContextTable":{"__isSmartRef__":true,"id":706},"eventHandler":{"__isSmartRef__":true,"id":707},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":708},"grabbingEnabled":false,"data":null,"level":0,"treeView":{"__isSmartRef__":true,"id":68},"isAContainer":true,"label":"Properties","children":[],"parent":null,"expander":{"__isSmartRef__":true,"id":663},"text":{"__isSmartRef__":true,"id":685},"owner":{"__isSmartRef__":true,"id":661},"_Position":{"__isSmartRef__":true,"id":709},"priorExtent":{"__isSmartRef__":true,"id":710},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1.0100552207170073,"__SourceModuleName__":"Global.lively.morphic.Core","isCopyMorphRef":true,"morphRefId":30,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.Morph"},"663":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":664},"id":3394,"renderContextTable":{"__isSmartRef__":true,"id":671},"eventHandler":{"__isSmartRef__":true,"id":672},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":673},"grabbingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":662},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":674},"__LivelyClassName__":"lively.morphic.Box"},"664":{"_Position":{"__isSmartRef__":true,"id":665},"renderContextTable":{"__isSmartRef__":true,"id":666},"_Extent":{"__isSmartRef__":true,"id":667},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":668},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":669},"_Fill":{"__isSmartRef__":true,"id":670},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"665":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"666":{"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"},"667":{"x":8,"y":8,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"668":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"669":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"670":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"671":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"672":{"morph":{"__isSmartRef__":true,"id":663},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"673":{"x":8,"y":5,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"674":{"onMouseUp":{"__isSmartRef__":true,"id":675},"toggle":{"__isSmartRef__":true,"id":682}},"675":{"varMapping":{"__isSmartRef__":true,"id":676},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":681},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"676":{"this":{"__isSmartRef__":true,"id":663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":677}},"677":{"$super":{"__isSmartRef__":true,"id":678}},"678":{"varMapping":{"__isSmartRef__":true,"id":679},"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":680},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"679":{"obj":{"__isSmartRef__":true,"id":663},"name":"onMouseUp"},"680":{},"681":{},"682":{"varMapping":{"__isSmartRef__":true,"id":683},"source":"function toggle() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && treeNode.isAContainer) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } else {\n if (treeNode.treeView.testMutabilityOf(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n \n Properties.own(treeNode.data).sort().each(function(prop) {\n if (prop.substring(0,2) === \"$$\") return; // hidden values, see connect()\n var childNode = treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n wrapper.addMorph(nodeWrapper);\n });\n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor(this);\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":684},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"683":{"this":{"__isSmartRef__":true,"id":663}},"684":{},"685":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":686},"id":3395,"renderContextTable":{"__isSmartRef__":true,"id":691},"textChunks":[{"__isSmartRef__":true,"id":692},{"__isSmartRef__":true,"id":694}],"eventHandler":{"__isSmartRef__":true,"id":697},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":698},"priorExtent":{"__isSmartRef__":true,"id":699},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":700},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":662},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"686":{"_Position":{"__isSmartRef__":true,"id":687},"renderContextTable":{"__isSmartRef__":true,"id":688},"_Extent":{"__isSmartRef__":true,"id":689},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":47},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":48},"_Fill":{"__isSmartRef__":true,"id":690},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"687":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"688":{"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"},"689":{"x":932,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"690":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"691":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"692":{"style":{"__isSmartRef__":true,"id":693},"chunkOwner":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk"},"693":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"694":{"style":{"__isSmartRef__":true,"id":695},"chunkOwner":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk"},"695":{"color":{"__isSmartRef__":true,"id":696},"italics":"italic","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"696":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"697":{"morph":{"__isSmartRef__":true,"id":685},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"698":{"x":18,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"699":{"x":924,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"700":{"resizeWidth":true},"701":{"_Position":{"__isSmartRef__":true,"id":702},"renderContextTable":{"__isSmartRef__":true,"id":703},"_Extent":{"__isSmartRef__":true,"id":704},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":705},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"702":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"703":{"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"},"704":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"705":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"706":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"707":{"morph":{"__isSmartRef__":true,"id":662},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"708":{"resizeWidth":true},"709":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"710":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"711":{"updateExpanderColor":{"__isSmartRef__":true,"id":712},"onMouseDown":{"__isSmartRef__":true,"id":715},"onMouseUp":{"__isSmartRef__":true,"id":722},"isRoot":{"__isSmartRef__":true,"id":729}},"712":{"varMapping":{"__isSmartRef__":true,"id":713},"source":"function updateExpanderColor(expander) {\n var colors = this.treeView.colors;\n var fillColor;\n if (expander.isExpanded || !this.isAContainer) {\n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":714},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"713":{"this":{"__isSmartRef__":true,"id":662}},"714":{},"715":{"varMapping":{"__isSmartRef__":true,"id":716},"source":"function onMouseDown() {\n this.get(\"ExplorerPane\").moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":721},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"716":{"this":{"__isSmartRef__":true,"id":662},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":717}},"717":{"$super":{"__isSmartRef__":true,"id":718}},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"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":720},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"719":{"obj":{"__isSmartRef__":true,"id":662},"name":"onMouseDown"},"720":{},"721":{},"722":{"varMapping":{"__isSmartRef__":true,"id":723},"source":"function onMouseUp(evt) {\n if ($super(evt)) return true;\n this.expander.toggle();\n return false;\n }","funcProperties":{"__isSmartRef__":true,"id":728},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"723":{"this":{"__isSmartRef__":true,"id":662},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":724}},"724":{"$super":{"__isSmartRef__":true,"id":725}},"725":{"varMapping":{"__isSmartRef__":true,"id":726},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch(e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":727},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"726":{"obj":{"__isSmartRef__":true,"id":662},"name":"onMouseUp"},"727":{},"728":{},"729":{"varMapping":{"__isSmartRef__":true,"id":730},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":731},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"730":{"this":{"__isSmartRef__":true,"id":662}},"731":{},"732":{"_Position":{"__isSmartRef__":true,"id":733},"renderContextTable":{"__isSmartRef__":true,"id":734},"_Extent":{"__isSmartRef__":true,"id":735},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":736},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"733":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"734":{"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"},"735":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"736":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"737":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"738":{"morph":{"__isSmartRef__":true,"id":661},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"739":{"layouter":{"__isSmartRef__":true,"id":740},"resizeWidth":true},"740":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":661},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.JournalLayout"},"741":{"x":100,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"742":{"x":74.12819225632039,"y":-416.85327970613264,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"743":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":744}},"744":{"varMapping":{"__isSmartRef__":true,"id":745},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":750},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"745":{"this":{"__isSmartRef__":true,"id":661},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":746}},"746":{"$super":{"__isSmartRef__":true,"id":747}},"747":{"varMapping":{"__isSmartRef__":true,"id":748},"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":749},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"748":{"obj":{"__isSmartRef__":true,"id":661},"name":"getLayoutableSubmorphs"},"749":{},"750":{},"751":{"submorphs":[],"scripts":[],"id":2079,"shape":{"__isSmartRef__":true,"id":752},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":759},"_MaxTextWidth":534.152,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":755},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":760},"textChunks":[{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":763}],"charsReplaced":"","lastFindLoc":2,"priorSelectionRange":[243,243],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":765},"renderContextTable":{"__isSmartRef__":true,"id":766},"eventHandler":{"__isSmartRef__":true,"id":767},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":768},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":0},"_MinTextWidth":534.152,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"previousSelection":[25,0],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":769},"distanceToDragEvent":{"__isSmartRef__":true,"id":770},"__LivelyClassName__":"lively.morphic.Text"},"752":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":753},"_Extent":{"__isSmartRef__":true,"id":754},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":755},"renderContextTable":{"__isSmartRef__":true,"id":756},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":757},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Fill":{"__isSmartRef__":true,"id":758},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"753":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"754":{"x":538,"y":160.02400000000011,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"755":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"756":{"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"},"757":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"758":{"r":1,"g":0.843,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"759":{"x":10,"y":60,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"760":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"761":{"style":{"__isSmartRef__":true,"id":762},"morph":{"__isSmartRef__":true,"id":751},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":751},"storedString":"Refactor towards classes, start with classes for\n","__LivelyClassName__":"lively.morphic.TextChunk"},"762":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis"},"763":{"style":{"__isSmartRef__":true,"id":764},"chunkOwner":{"__isSmartRef__":true,"id":751},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":" - the configuration colors, extent, text (static)\n - tree elements (very morph that gets build with methods)\n - the tree\n - maybe the explorer itself (faster load 'cause no request)","__LivelyClassName__":"lively.morphic.TextChunk"},"764":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"765":{"x":538,"y":156.1760000000001,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"766":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"767":{"morph":{"__isSmartRef__":true,"id":751},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"768":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"769":{},"770":{"x":356,"y":-17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"771":{"submorphs":[{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":1340}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1474},"derivationIds":[null],"id":"A638CB52-DF3B-464D-A629-B266C4683287","renderContextTable":{"__isSmartRef__":true,"id":1478},"eventHandler":{"__isSmartRef__":true,"id":1479},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1480},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1481},"priorExtent":{"__isSmartRef__":true,"id":1482},"targetMorph":{"__isSmartRef__":true,"id":772},"titleBar":{"__isSmartRef__":true,"id":1340},"contentOffset":{"__isSmartRef__":true,"id":1339},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":1483},"isBeingDragged":false,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"772":{"submorphs":[{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1158},{"__isSmartRef__":true,"id":1193},{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1228},{"__isSmartRef__":true,"id":791},{"__isSmartRef__":true,"id":837},{"__isSmartRef__":true,"id":872},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":1012}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1330},"derivationIds":[null],"id":"1B5EDE56-DAF3-4EE8-A89F-701DDA4A6057","renderContextTable":{"__isSmartRef__":true,"id":1336},"eventHandler":{"__isSmartRef__":true,"id":1337},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1338},"_Position":{"__isSmartRef__":true,"id":1339},"locationPane":{"__isSmartRef__":true,"id":773},"codeBaseDirBtn":{"__isSmartRef__":true,"id":1252},"localDirBtn":{"__isSmartRef__":true,"id":1286},"Pane1":{"__isSmartRef__":true,"id":1053},"Pane2":{"__isSmartRef__":true,"id":1123},"Pane3":{"__isSmartRef__":true,"id":1158},"Pane4":{"__isSmartRef__":true,"id":1193},"midResizer":{"__isSmartRef__":true,"id":1320},"sourcePane":{"__isSmartRef__":true,"id":1228},"ownerWidget":{"__isSmartRef__":true,"id":789},"owner":{"__isSmartRef__":true,"id":771},"ownerApp":{"__isSmartRef__":true,"id":789},"targetURL":{"__isSmartRef__":true,"id":1250},"prevScroll":[0,0],"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"773":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":774},"derivationIds":[null],"id":"AF7462AB-788D-477B-B991-FA37B35AE802","renderContextTable":{"__isSmartRef__":true,"id":781},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":782}],"eventHandler":{"__isSmartRef__":true,"id":784},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":785},"priorExtent":{"__isSmartRef__":true,"id":786},"_MaxTextWidth":646,"_MinTextWidth":646,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":772},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":787},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":788}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"774":{"_Position":{"__isSmartRef__":true,"id":775},"renderContextTable":{"__isSmartRef__":true,"id":776},"_Extent":{"__isSmartRef__":true,"id":777},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":778},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"775":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"776":{"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"},"777":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"778":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"779":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"780":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"781":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"782":{"style":{"__isSmartRef__":true,"id":783},"chunkOwner":{"__isSmartRef__":true,"id":773},"storedString":"http://www.lively-kernel.org/repository/webwerkstatt/core/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"783":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"784":{"morph":{"__isSmartRef__":true,"id":773},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"785":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"786":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"787":{"resizeWidth":true},"788":{"sourceObj":{"__isSmartRef__":true,"id":773},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setTargetURL","converter":null,"converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1251},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"789":{"buttonCommands":[{"__isSmartRef__":true,"id":790},{"__isSmartRef__":true,"id":836},{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":906},{"__isSmartRef__":true,"id":941},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":1011}],"RootFilters":[{"__isSmartRef__":true,"id":1046}],"Pane1Filters":[{"__isSmartRef__":true,"id":1047},{"__isSmartRef__":true,"id":1048}],"Pane2Filters":[{"__isSmartRef__":true,"id":1049}],"Pane3Filters":[{"__isSmartRef__":true,"id":1050}],"Pane4Filters":[{"__isSmartRef__":true,"id":1051}],"evaluate":true,"panel":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1052},{"__isSmartRef__":true,"id":1122},{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1227},{"__isSmartRef__":true,"id":1245}],"SourceString":"-----","sourceString":"-----","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"targetURL":{"__isSmartRef__":true,"id":1250},"_rootNode":{"__isSmartRef__":true,"id":1064},"Pane1Selection":null,"pane1Selection":null,"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":["-----"],"Pane1Content":[{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1087},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1089},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1091},{"__isSmartRef__":true,"id":1092},{"__isSmartRef__":true,"id":1093},{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1095}],"view":{"__isSmartRef__":true,"id":771},"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"790":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":791},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"791":{"submorphs":[{"__isSmartRef__":true,"id":792}],"scripts":[],"shape":{"__isSmartRef__":true,"id":804},"derivationIds":[null],"id":"A1A2BB68-36A0-4CB3-83A2-C1DCE4B0850B","renderContextTable":{"__isSmartRef__":true,"id":820},"eventHandler":{"__isSmartRef__":true,"id":821},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":822},"priorExtent":{"__isSmartRef__":true,"id":823},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":824},"label":{"__isSmartRef__":true,"id":792},"command":{"__isSmartRef__":true,"id":790},"attributeConnections":[{"__isSmartRef__":true,"id":833},{"__isSmartRef__":true,"id":834}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"792":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":793},"derivationIds":[null],"id":"622716AA-56F4-4A31-8FD6-C4F818B57BA9","renderContextTable":{"__isSmartRef__":true,"id":798},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":799}],"eventHandler":{"__isSmartRef__":true,"id":801},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":802},"priorExtent":{"__isSmartRef__":true,"id":803},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":791},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"793":{"_Position":{"__isSmartRef__":true,"id":794},"renderContextTable":{"__isSmartRef__":true,"id":795},"_Extent":{"__isSmartRef__":true,"id":796},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":797},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"794":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"795":{"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"},"796":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"797":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"798":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"799":{"style":{"__isSmartRef__":true,"id":800},"chunkOwner":{"__isSmartRef__":true,"id":792},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"800":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"801":{"morph":{"__isSmartRef__":true,"id":792},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"802":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"803":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"804":{"_Position":{"__isSmartRef__":true,"id":805},"renderContextTable":{"__isSmartRef__":true,"id":806},"_Extent":{"__isSmartRef__":true,"id":807},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":808},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"805":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"806":{"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"},"807":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"808":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"809":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"810":{"stops":[{"__isSmartRef__":true,"id":811},{"__isSmartRef__":true,"id":813},{"__isSmartRef__":true,"id":815},{"__isSmartRef__":true,"id":817}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"811":{"offset":0,"color":{"__isSmartRef__":true,"id":812}},"812":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"813":{"offset":0.4,"color":{"__isSmartRef__":true,"id":814}},"814":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"815":{"offset":0.6,"color":{"__isSmartRef__":true,"id":816}},"816":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"817":{"offset":1,"color":{"__isSmartRef__":true,"id":818}},"818":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"819":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"821":{"morph":{"__isSmartRef__":true,"id":791},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"822":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"823":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"824":{"stops":[{"__isSmartRef__":true,"id":825},{"__isSmartRef__":true,"id":827},{"__isSmartRef__":true,"id":829},{"__isSmartRef__":true,"id":831}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"825":{"offset":0,"color":{"__isSmartRef__":true,"id":826}},"826":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"827":{"offset":0.4,"color":{"__isSmartRef__":true,"id":828}},"828":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"829":{"offset":0.6,"color":{"__isSmartRef__":true,"id":830}},"830":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"831":{"offset":1,"color":{"__isSmartRef__":true,"id":832}},"832":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"833":{"sourceObj":{"__isSmartRef__":true,"id":791},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":790},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"834":{"sourceObj":{"__isSmartRef__":true,"id":791},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":791},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":835},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"835":{"source":{"__isSmartRef__":true,"id":791},"target":{"__isSmartRef__":true,"id":791}},"836":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"837":{"submorphs":[{"__isSmartRef__":true,"id":838}],"scripts":[],"shape":{"__isSmartRef__":true,"id":850},"derivationIds":[null],"id":"A5F6E614-D3F4-4CD6-B52B-69AF823E7F31","renderContextTable":{"__isSmartRef__":true,"id":855},"eventHandler":{"__isSmartRef__":true,"id":856},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":857},"priorExtent":{"__isSmartRef__":true,"id":858},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":859},"label":{"__isSmartRef__":true,"id":838},"command":{"__isSmartRef__":true,"id":836},"attributeConnections":[{"__isSmartRef__":true,"id":868},{"__isSmartRef__":true,"id":869}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"838":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":839},"derivationIds":[null],"id":"ADB99CA4-9523-4085-A70E-D1516D959573","renderContextTable":{"__isSmartRef__":true,"id":844},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":845}],"eventHandler":{"__isSmartRef__":true,"id":847},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":848},"priorExtent":{"__isSmartRef__":true,"id":849},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":837},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"839":{"_Position":{"__isSmartRef__":true,"id":840},"renderContextTable":{"__isSmartRef__":true,"id":841},"_Extent":{"__isSmartRef__":true,"id":842},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":843},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"840":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"841":{"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"},"842":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"843":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"844":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"845":{"style":{"__isSmartRef__":true,"id":846},"chunkOwner":{"__isSmartRef__":true,"id":838},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"846":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"847":{"morph":{"__isSmartRef__":true,"id":838},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"848":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"849":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"850":{"_Position":{"__isSmartRef__":true,"id":851},"renderContextTable":{"__isSmartRef__":true,"id":852},"_Extent":{"__isSmartRef__":true,"id":853},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":854},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"851":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"852":{"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"},"853":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"854":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"855":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"856":{"morph":{"__isSmartRef__":true,"id":837},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"857":{"x":117.14285714285714,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"858":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"859":{"stops":[{"__isSmartRef__":true,"id":860},{"__isSmartRef__":true,"id":862},{"__isSmartRef__":true,"id":864},{"__isSmartRef__":true,"id":866}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"860":{"offset":0,"color":{"__isSmartRef__":true,"id":861}},"861":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"862":{"offset":0.4,"color":{"__isSmartRef__":true,"id":863}},"863":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"864":{"offset":0.6,"color":{"__isSmartRef__":true,"id":865}},"865":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"866":{"offset":1,"color":{"__isSmartRef__":true,"id":867}},"867":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"868":{"sourceObj":{"__isSmartRef__":true,"id":837},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":836},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"869":{"sourceObj":{"__isSmartRef__":true,"id":837},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":837},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":870},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"870":{"source":{"__isSmartRef__":true,"id":837},"target":{"__isSmartRef__":true,"id":837}},"871":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":872},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"872":{"submorphs":[{"__isSmartRef__":true,"id":873}],"scripts":[],"shape":{"__isSmartRef__":true,"id":885},"derivationIds":[null],"id":"14BDACDC-D7D3-4DCD-9864-F2BD425E9ABC","renderContextTable":{"__isSmartRef__":true,"id":890},"eventHandler":{"__isSmartRef__":true,"id":891},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":892},"priorExtent":{"__isSmartRef__":true,"id":893},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":894},"label":{"__isSmartRef__":true,"id":873},"command":{"__isSmartRef__":true,"id":871},"attributeConnections":[{"__isSmartRef__":true,"id":903},{"__isSmartRef__":true,"id":904}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"873":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":874},"derivationIds":[null],"id":"8998096D-54B6-4D1A-8268-502BD26BD6BC","renderContextTable":{"__isSmartRef__":true,"id":879},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":880}],"eventHandler":{"__isSmartRef__":true,"id":882},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":883},"priorExtent":{"__isSmartRef__":true,"id":884},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":872},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"874":{"_Position":{"__isSmartRef__":true,"id":875},"renderContextTable":{"__isSmartRef__":true,"id":876},"_Extent":{"__isSmartRef__":true,"id":877},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":878},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"875":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"876":{"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"},"877":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"878":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"879":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"880":{"style":{"__isSmartRef__":true,"id":881},"chunkOwner":{"__isSmartRef__":true,"id":873},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"881":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"882":{"morph":{"__isSmartRef__":true,"id":873},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"883":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"884":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"885":{"_Position":{"__isSmartRef__":true,"id":886},"renderContextTable":{"__isSmartRef__":true,"id":887},"_Extent":{"__isSmartRef__":true,"id":888},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":889},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"886":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"887":{"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"},"888":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"889":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"890":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"891":{"morph":{"__isSmartRef__":true,"id":872},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"892":{"x":234.28571428571428,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"893":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"894":{"stops":[{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":897},{"__isSmartRef__":true,"id":899},{"__isSmartRef__":true,"id":901}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"895":{"offset":0,"color":{"__isSmartRef__":true,"id":896}},"896":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"897":{"offset":0.4,"color":{"__isSmartRef__":true,"id":898}},"898":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"899":{"offset":0.6,"color":{"__isSmartRef__":true,"id":900}},"900":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"901":{"offset":1,"color":{"__isSmartRef__":true,"id":902}},"902":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"903":{"sourceObj":{"__isSmartRef__":true,"id":872},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":871},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"904":{"sourceObj":{"__isSmartRef__":true,"id":872},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":872},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":905},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"905":{"source":{"__isSmartRef__":true,"id":872},"target":{"__isSmartRef__":true,"id":872}},"906":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":907},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"907":{"submorphs":[{"__isSmartRef__":true,"id":908}],"scripts":[],"shape":{"__isSmartRef__":true,"id":920},"derivationIds":[null],"id":"4DCE9F61-81E0-4FD9-BB4C-069865EC599B","renderContextTable":{"__isSmartRef__":true,"id":925},"eventHandler":{"__isSmartRef__":true,"id":926},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":927},"priorExtent":{"__isSmartRef__":true,"id":928},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":929},"label":{"__isSmartRef__":true,"id":908},"command":{"__isSmartRef__":true,"id":906},"attributeConnections":[{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":939}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"908":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":909},"derivationIds":[null],"id":"D8EB5AE3-3AF8-47C9-A4CD-068A2E02147F","renderContextTable":{"__isSmartRef__":true,"id":914},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":915}],"eventHandler":{"__isSmartRef__":true,"id":917},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":918},"priorExtent":{"__isSmartRef__":true,"id":919},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"909":{"_Position":{"__isSmartRef__":true,"id":910},"renderContextTable":{"__isSmartRef__":true,"id":911},"_Extent":{"__isSmartRef__":true,"id":912},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":913},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"910":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"911":{"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"},"912":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"913":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"914":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"915":{"style":{"__isSmartRef__":true,"id":916},"chunkOwner":{"__isSmartRef__":true,"id":908},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"916":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"917":{"morph":{"__isSmartRef__":true,"id":908},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"918":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"919":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"920":{"_Position":{"__isSmartRef__":true,"id":921},"renderContextTable":{"__isSmartRef__":true,"id":922},"_Extent":{"__isSmartRef__":true,"id":923},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":924},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"921":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"922":{"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"},"923":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"924":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"925":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"926":{"morph":{"__isSmartRef__":true,"id":907},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"927":{"x":351.42857142857144,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"928":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"929":{"stops":[{"__isSmartRef__":true,"id":930},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":936}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"930":{"offset":0,"color":{"__isSmartRef__":true,"id":931}},"931":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"932":{"offset":0.4,"color":{"__isSmartRef__":true,"id":933}},"933":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"934":{"offset":0.6,"color":{"__isSmartRef__":true,"id":935}},"935":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"936":{"offset":1,"color":{"__isSmartRef__":true,"id":937}},"937":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"938":{"sourceObj":{"__isSmartRef__":true,"id":907},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":906},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"939":{"sourceObj":{"__isSmartRef__":true,"id":907},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":907},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":940},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"940":{"source":{"__isSmartRef__":true,"id":907},"target":{"__isSmartRef__":true,"id":907}},"941":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":942},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"942":{"submorphs":[{"__isSmartRef__":true,"id":943}],"scripts":[],"shape":{"__isSmartRef__":true,"id":955},"derivationIds":[null],"id":"B4602E2C-E1A0-4D2B-A10F-7547ED808DA8","renderContextTable":{"__isSmartRef__":true,"id":960},"eventHandler":{"__isSmartRef__":true,"id":961},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":962},"priorExtent":{"__isSmartRef__":true,"id":963},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":964},"label":{"__isSmartRef__":true,"id":943},"command":{"__isSmartRef__":true,"id":941},"attributeConnections":[{"__isSmartRef__":true,"id":973},{"__isSmartRef__":true,"id":974}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"943":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":944},"derivationIds":[null],"id":"25310789-308E-47B0-8966-608D9469045F","renderContextTable":{"__isSmartRef__":true,"id":949},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":950}],"eventHandler":{"__isSmartRef__":true,"id":952},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":953},"priorExtent":{"__isSmartRef__":true,"id":954},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":942},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"944":{"_Position":{"__isSmartRef__":true,"id":945},"renderContextTable":{"__isSmartRef__":true,"id":946},"_Extent":{"__isSmartRef__":true,"id":947},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":948},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"945":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"946":{"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"},"947":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"948":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"949":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"950":{"style":{"__isSmartRef__":true,"id":951},"chunkOwner":{"__isSmartRef__":true,"id":943},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"951":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"952":{"morph":{"__isSmartRef__":true,"id":943},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"953":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"954":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"955":{"_Position":{"__isSmartRef__":true,"id":956},"renderContextTable":{"__isSmartRef__":true,"id":957},"_Extent":{"__isSmartRef__":true,"id":958},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":959},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"956":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"957":{"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"},"958":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"959":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"960":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"961":{"morph":{"__isSmartRef__":true,"id":942},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"962":{"x":468.57142857142856,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"963":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"964":{"stops":[{"__isSmartRef__":true,"id":965},{"__isSmartRef__":true,"id":967},{"__isSmartRef__":true,"id":969},{"__isSmartRef__":true,"id":971}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"965":{"offset":0,"color":{"__isSmartRef__":true,"id":966}},"966":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"967":{"offset":0.4,"color":{"__isSmartRef__":true,"id":968}},"968":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"969":{"offset":0.6,"color":{"__isSmartRef__":true,"id":970}},"970":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"971":{"offset":1,"color":{"__isSmartRef__":true,"id":972}},"972":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"973":{"sourceObj":{"__isSmartRef__":true,"id":942},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":941},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"974":{"sourceObj":{"__isSmartRef__":true,"id":942},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":942},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":975},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"975":{"source":{"__isSmartRef__":true,"id":942},"target":{"__isSmartRef__":true,"id":942}},"976":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":977},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"977":{"submorphs":[{"__isSmartRef__":true,"id":978}],"scripts":[],"shape":{"__isSmartRef__":true,"id":990},"derivationIds":[null],"id":"E33097ED-8441-49F9-BE64-EC2EF5556841","renderContextTable":{"__isSmartRef__":true,"id":995},"eventHandler":{"__isSmartRef__":true,"id":996},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":997},"priorExtent":{"__isSmartRef__":true,"id":998},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":999},"label":{"__isSmartRef__":true,"id":978},"command":{"__isSmartRef__":true,"id":976},"attributeConnections":[{"__isSmartRef__":true,"id":1008},{"__isSmartRef__":true,"id":1009}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"978":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":979},"derivationIds":[null],"id":"5DB9743D-9D3C-41E8-9B39-4DE43CEFFAB9","renderContextTable":{"__isSmartRef__":true,"id":984},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":985}],"eventHandler":{"__isSmartRef__":true,"id":987},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":988},"priorExtent":{"__isSmartRef__":true,"id":989},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":977},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"979":{"_Position":{"__isSmartRef__":true,"id":980},"renderContextTable":{"__isSmartRef__":true,"id":981},"_Extent":{"__isSmartRef__":true,"id":982},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":983},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"980":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"981":{"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"},"982":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"983":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"984":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"985":{"style":{"__isSmartRef__":true,"id":986},"chunkOwner":{"__isSmartRef__":true,"id":978},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"986":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"987":{"morph":{"__isSmartRef__":true,"id":978},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"988":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"989":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"990":{"_Position":{"__isSmartRef__":true,"id":991},"renderContextTable":{"__isSmartRef__":true,"id":992},"_Extent":{"__isSmartRef__":true,"id":993},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":994},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"991":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"992":{"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"},"993":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"994":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"995":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"996":{"morph":{"__isSmartRef__":true,"id":977},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"997":{"x":585.7142857142857,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"998":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"999":{"stops":[{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1006}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1000":{"offset":0,"color":{"__isSmartRef__":true,"id":1001}},"1001":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1002":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1003}},"1003":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1004":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1005}},"1005":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1006":{"offset":1,"color":{"__isSmartRef__":true,"id":1007}},"1007":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1008":{"sourceObj":{"__isSmartRef__":true,"id":977},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":976},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1009":{"sourceObj":{"__isSmartRef__":true,"id":977},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":977},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1010},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1010":{"source":{"__isSmartRef__":true,"id":977},"target":{"__isSmartRef__":true,"id":977}},"1011":{"browser":{"__isSmartRef__":true,"id":789},"button":{"__isSmartRef__":true,"id":1012},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1012":{"submorphs":[{"__isSmartRef__":true,"id":1013}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1025},"derivationIds":[null],"id":"DDF5AC1D-7E20-4F43-8924-797BE200C0B9","renderContextTable":{"__isSmartRef__":true,"id":1030},"eventHandler":{"__isSmartRef__":true,"id":1031},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1032},"priorExtent":{"__isSmartRef__":true,"id":1033},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1034},"label":{"__isSmartRef__":true,"id":1013},"command":{"__isSmartRef__":true,"id":1011},"attributeConnections":[{"__isSmartRef__":true,"id":1043},{"__isSmartRef__":true,"id":1044}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1013":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1014},"derivationIds":[null],"id":"9A018577-25D7-4F0B-B034-CA40008B5E08","renderContextTable":{"__isSmartRef__":true,"id":1019},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1020}],"eventHandler":{"__isSmartRef__":true,"id":1022},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1023},"priorExtent":{"__isSmartRef__":true,"id":1024},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1012},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1014":{"_Position":{"__isSmartRef__":true,"id":1015},"renderContextTable":{"__isSmartRef__":true,"id":1016},"_Extent":{"__isSmartRef__":true,"id":1017},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1018},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1015":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1016":{"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"},"1017":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1018":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1019":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1020":{"style":{"__isSmartRef__":true,"id":1021},"chunkOwner":{"__isSmartRef__":true,"id":1013},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1021":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1022":{"morph":{"__isSmartRef__":true,"id":1013},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1023":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1024":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1025":{"_Position":{"__isSmartRef__":true,"id":1026},"renderContextTable":{"__isSmartRef__":true,"id":1027},"_Extent":{"__isSmartRef__":true,"id":1028},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1029},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1026":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1027":{"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"},"1028":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1029":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1030":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1031":{"morph":{"__isSmartRef__":true,"id":1012},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1032":{"x":702.8571428571429,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1033":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1034":{"stops":[{"__isSmartRef__":true,"id":1035},{"__isSmartRef__":true,"id":1037},{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1041}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1035":{"offset":0,"color":{"__isSmartRef__":true,"id":1036}},"1036":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1037":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1038}},"1038":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1039":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1040}},"1040":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1041":{"offset":1,"color":{"__isSmartRef__":true,"id":1042}},"1042":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1043":{"sourceObj":{"__isSmartRef__":true,"id":1012},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1011},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1044":{"sourceObj":{"__isSmartRef__":true,"id":1012},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1012},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1045},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1045":{"source":{"__isSmartRef__":true,"id":1012},"target":{"__isSmartRef__":true,"id":1012}},"1046":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1047":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1048":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1049":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1050":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1051":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1052":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":1053},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1121},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1053":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1054},"derivationIds":[null],"id":"DC398F41-2B93-415F-9273-F8A0415B874C","renderContextTable":{"__isSmartRef__":true,"id":1060},"itemList":[{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1087},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1089},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1091},{"__isSmartRef__":true,"id":1092},{"__isSmartRef__":true,"id":1093},{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1095}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":1096},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1097},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1098},{"__isSmartRef__":true,"id":1100},{"__isSmartRef__":true,"id":1102},{"__isSmartRef__":true,"id":1104}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1106},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"1054":{"_Position":{"__isSmartRef__":true,"id":1055},"renderContextTable":{"__isSmartRef__":true,"id":1056},"_Extent":{"__isSmartRef__":true,"id":1057},"_Padding":{"__isSmartRef__":true,"id":1058},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":1059},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1055":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1056":{"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"},"1057":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1058":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1059":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"1061":{"isListItem":true,"string":"PartsBin/","value":{"__isSmartRef__":true,"id":1062}},"1062":{"target":{"__isSmartRef__":true,"id":1063},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"PartsBin/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1063":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1064":{"target":{"__isSmartRef__":true,"id":1065},"browser":{"__isSmartRef__":true,"id":789},"parent":null,"allFiles":[],"subNamespacePaths":[{"__isSmartRef__":true,"id":1066},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1063},{"__isSmartRef__":true,"id":1068},{"__isSmartRef__":true,"id":1069},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1071},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1073}],"parentNamespacePath":{"__isSmartRef__":true,"id":1074},"_childNodes":[{"__isSmartRef__":true,"id":1062},{"__isSmartRef__":true,"id":1075},{"__isSmartRef__":true,"id":1076},{"__isSmartRef__":true,"id":1077},{"__isSmartRef__":true,"id":1078},{"__isSmartRef__":true,"id":1079},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1081},{"__isSmartRef__":true,"id":1082},{"__isSmartRef__":true,"id":1083},{"__isSmartRef__":true,"id":1084}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1065":{"__LivelyClassName__":"AnotherSourceDatabase","__SourceModuleName__":"Global.lively.ide.SourceDatabase"},"1066":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/media/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1067":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/cop/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1068":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/Tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1069":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/apps/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1070":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1071":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/ometa/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1072":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lib/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1073":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/server/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1074":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1075":{"target":{"__isSmartRef__":true,"id":1068},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"Tests/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1076":{"target":{"__isSmartRef__":true,"id":1069},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"apps/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1077":{"target":{"__isSmartRef__":true,"id":1067},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"cop/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1078":{"target":{"__isSmartRef__":true,"id":1072},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"lib/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1079":{"target":{"__isSmartRef__":true,"id":1070},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"lively/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1080":{"target":{"__isSmartRef__":true,"id":1066},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"media/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1081":{"target":{"__isSmartRef__":true,"id":1071},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"ometa/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1082":{"target":{"__isSmartRef__":true,"id":1073},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"server/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1083":{"target":{"__isSmartRef__":true,"id":1074},"browser":{"__isSmartRef__":true,"id":789},"parent":{"__isSmartRef__":true,"id":1064},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1084":{"target":{"__isSmartRef__":true,"id":1085},"browser":{"__isSmartRef__":true,"id":789},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"1085":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"1086":{"isListItem":true,"string":"Tests/","value":{"__isSmartRef__":true,"id":1075}},"1087":{"isListItem":true,"string":"apps/","value":{"__isSmartRef__":true,"id":1076}},"1088":{"isListItem":true,"string":"cop/","value":{"__isSmartRef__":true,"id":1077}},"1089":{"isListItem":true,"string":"lib/","value":{"__isSmartRef__":true,"id":1078}},"1090":{"isListItem":true,"string":"lively/","value":{"__isSmartRef__":true,"id":1079}},"1091":{"isListItem":true,"string":"media/","value":{"__isSmartRef__":true,"id":1080}},"1092":{"isListItem":true,"string":"ometa/","value":{"__isSmartRef__":true,"id":1081}},"1093":{"isListItem":true,"string":"server/","value":{"__isSmartRef__":true,"id":1082}},"1094":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":1083}},"1095":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":1084}},"1096":{"morph":{"__isSmartRef__":true,"id":1053},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1097":{"x":0,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1098":{"sourceObj":{"__isSmartRef__":true,"id":1053},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":1099},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1099":{"source":{"__isSmartRef__":true,"id":1053},"target":{"__isSmartRef__":true,"id":789}},"1100":{"sourceObj":{"__isSmartRef__":true,"id":1053},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1101},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1101":{"source":{"__isSmartRef__":true,"id":1053},"target":{"__isSmartRef__":true,"id":789}},"1102":{"sourceObj":{"__isSmartRef__":true,"id":1053},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1103},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1103":{"source":{"__isSmartRef__":true,"id":1053},"target":{"__isSmartRef__":true,"id":789}},"1104":{"sourceObj":{"__isSmartRef__":true,"id":1053},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1105},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1105":{"source":{"__isSmartRef__":true,"id":1053},"target":{"__isSmartRef__":true,"id":789}},"1106":{"onDownPressed":{"__isSmartRef__":true,"id":1107},"onUpPressed":{"__isSmartRef__":true,"id":1114}},"1107":{"varMapping":{"__isSmartRef__":true,"id":1108},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1108":{"this":{"__isSmartRef__":true,"id":1053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1109}},"1109":{"$super":{"__isSmartRef__":true,"id":1110}},"1110":{"varMapping":{"__isSmartRef__":true,"id":1111},"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":1112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1111":{"obj":{"__isSmartRef__":true,"id":1053},"name":"onDownPressed"},"1112":{},"1113":{},"1114":{"varMapping":{"__isSmartRef__":true,"id":1115},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1115":{"this":{"__isSmartRef__":true,"id":1053},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1116}},"1116":{"$super":{"__isSmartRef__":true,"id":1117}},"1117":{"varMapping":{"__isSmartRef__":true,"id":1118},"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":1119},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1118":{"obj":{"__isSmartRef__":true,"id":1053},"name":"onUpPressed"},"1119":{},"1120":{},"1121":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":1053}},"1122":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":1123},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1156},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1123":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1124},"derivationIds":[null],"id":"B9797C7D-788F-428A-953A-15A9A445A0F7","renderContextTable":{"__isSmartRef__":true,"id":1130},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":1131},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1132},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1133},{"__isSmartRef__":true,"id":1135},{"__isSmartRef__":true,"id":1137},{"__isSmartRef__":true,"id":1139}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1141},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"1124":{"_Position":{"__isSmartRef__":true,"id":1125},"renderContextTable":{"__isSmartRef__":true,"id":1126},"_Extent":{"__isSmartRef__":true,"id":1127},"_Padding":{"__isSmartRef__":true,"id":1128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":1129},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1125":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1126":{"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"},"1127":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1128":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1129":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1130":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"1131":{"morph":{"__isSmartRef__":true,"id":1123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1132":{"x":205,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1133":{"sourceObj":{"__isSmartRef__":true,"id":1123},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":1134},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1134":{"source":{"__isSmartRef__":true,"id":1123},"target":{"__isSmartRef__":true,"id":789}},"1135":{"sourceObj":{"__isSmartRef__":true,"id":1123},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1136},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1136":{"source":{"__isSmartRef__":true,"id":1123},"target":{"__isSmartRef__":true,"id":789}},"1137":{"sourceObj":{"__isSmartRef__":true,"id":1123},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1138},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1138":{"source":{"__isSmartRef__":true,"id":1123},"target":{"__isSmartRef__":true,"id":789}},"1139":{"sourceObj":{"__isSmartRef__":true,"id":1123},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1140},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1140":{"source":{"__isSmartRef__":true,"id":1123},"target":{"__isSmartRef__":true,"id":789}},"1141":{"onDownPressed":{"__isSmartRef__":true,"id":1142},"onUpPressed":{"__isSmartRef__":true,"id":1149}},"1142":{"varMapping":{"__isSmartRef__":true,"id":1143},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1143":{"this":{"__isSmartRef__":true,"id":1123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1144}},"1144":{"$super":{"__isSmartRef__":true,"id":1145}},"1145":{"varMapping":{"__isSmartRef__":true,"id":1146},"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":1147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1146":{"obj":{"__isSmartRef__":true,"id":1123},"name":"onDownPressed"},"1147":{},"1148":{},"1149":{"varMapping":{"__isSmartRef__":true,"id":1150},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1150":{"this":{"__isSmartRef__":true,"id":1123},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1151}},"1151":{"$super":{"__isSmartRef__":true,"id":1152}},"1152":{"varMapping":{"__isSmartRef__":true,"id":1153},"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":1154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1153":{"obj":{"__isSmartRef__":true,"id":1123},"name":"onUpPressed"},"1154":{},"1155":{},"1156":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":1123}},"1157":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":1158},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1191},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1158":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1159},"derivationIds":[null],"id":"0BC616F6-2B25-4BC0-B1A8-F2552C2ADC5C","renderContextTable":{"__isSmartRef__":true,"id":1165},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":1166},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1167},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"prevScroll":[0,0],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1176},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"1159":{"_Position":{"__isSmartRef__":true,"id":1160},"renderContextTable":{"__isSmartRef__":true,"id":1161},"_Extent":{"__isSmartRef__":true,"id":1162},"_Padding":{"__isSmartRef__":true,"id":1163},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":1164},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1160":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1161":{"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"},"1162":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1163":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1164":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1165":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"1166":{"morph":{"__isSmartRef__":true,"id":1158},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1167":{"x":410,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1168":{"sourceObj":{"__isSmartRef__":true,"id":1158},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":1169},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1169":{"source":{"__isSmartRef__":true,"id":1158},"target":{"__isSmartRef__":true,"id":789}},"1170":{"sourceObj":{"__isSmartRef__":true,"id":1158},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1171},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1171":{"source":{"__isSmartRef__":true,"id":1158},"target":{"__isSmartRef__":true,"id":789}},"1172":{"sourceObj":{"__isSmartRef__":true,"id":1158},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1173},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1173":{"source":{"__isSmartRef__":true,"id":1158},"target":{"__isSmartRef__":true,"id":789}},"1174":{"sourceObj":{"__isSmartRef__":true,"id":1158},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1175},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1175":{"source":{"__isSmartRef__":true,"id":1158},"target":{"__isSmartRef__":true,"id":789}},"1176":{"onDownPressed":{"__isSmartRef__":true,"id":1177},"onUpPressed":{"__isSmartRef__":true,"id":1184}},"1177":{"varMapping":{"__isSmartRef__":true,"id":1178},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1178":{"this":{"__isSmartRef__":true,"id":1158},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1179}},"1179":{"$super":{"__isSmartRef__":true,"id":1180}},"1180":{"varMapping":{"__isSmartRef__":true,"id":1181},"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":1182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1181":{"obj":{"__isSmartRef__":true,"id":1158},"name":"onDownPressed"},"1182":{},"1183":{},"1184":{"varMapping":{"__isSmartRef__":true,"id":1185},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1185":{"this":{"__isSmartRef__":true,"id":1158},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1186}},"1186":{"$super":{"__isSmartRef__":true,"id":1187}},"1187":{"varMapping":{"__isSmartRef__":true,"id":1188},"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":1189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1188":{"obj":{"__isSmartRef__":true,"id":1158},"name":"onUpPressed"},"1189":{},"1190":{},"1191":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":1158}},"1192":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":1193},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1226},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1193":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1194},"derivationIds":[null],"id":"37E8BA1F-CC44-4098-901B-F4655BF6F800","renderContextTable":{"__isSmartRef__":true,"id":1200},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":1201},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1202},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1211},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"1194":{"_Position":{"__isSmartRef__":true,"id":1195},"renderContextTable":{"__isSmartRef__":true,"id":1196},"_Extent":{"__isSmartRef__":true,"id":1197},"_Padding":{"__isSmartRef__":true,"id":1198},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":1199},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1195":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1196":{"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"},"1197":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1198":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1199":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"1201":{"morph":{"__isSmartRef__":true,"id":1193},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1202":{"x":615,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1203":{"sourceObj":{"__isSmartRef__":true,"id":1193},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":1204},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1204":{"source":{"__isSmartRef__":true,"id":1193},"target":{"__isSmartRef__":true,"id":789}},"1205":{"sourceObj":{"__isSmartRef__":true,"id":1193},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1206},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1206":{"source":{"__isSmartRef__":true,"id":1193},"target":{"__isSmartRef__":true,"id":789}},"1207":{"sourceObj":{"__isSmartRef__":true,"id":1193},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1208},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1208":{"source":{"__isSmartRef__":true,"id":1193},"target":{"__isSmartRef__":true,"id":789}},"1209":{"sourceObj":{"__isSmartRef__":true,"id":1193},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1210},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1210":{"source":{"__isSmartRef__":true,"id":1193},"target":{"__isSmartRef__":true,"id":789}},"1211":{"onDownPressed":{"__isSmartRef__":true,"id":1212},"onUpPressed":{"__isSmartRef__":true,"id":1219}},"1212":{"varMapping":{"__isSmartRef__":true,"id":1213},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1213":{"this":{"__isSmartRef__":true,"id":1193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1214}},"1214":{"$super":{"__isSmartRef__":true,"id":1215}},"1215":{"varMapping":{"__isSmartRef__":true,"id":1216},"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":1217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1216":{"obj":{"__isSmartRef__":true,"id":1193},"name":"onDownPressed"},"1217":{},"1218":{},"1219":{"varMapping":{"__isSmartRef__":true,"id":1220},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":1225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1220":{"this":{"__isSmartRef__":true,"id":1193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1221}},"1221":{"$super":{"__isSmartRef__":true,"id":1222}},"1222":{"varMapping":{"__isSmartRef__":true,"id":1223},"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":1224},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1223":{"obj":{"__isSmartRef__":true,"id":1193},"name":"onUpPressed"},"1224":{},"1225":{},"1226":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":1193}},"1227":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":1228},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1244},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1228":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1229},"derivationIds":[null],"id":"F9A8217C-8DEF-4A7C-ADE7-6F10FB8D198B","renderContextTable":{"__isSmartRef__":true,"id":1234},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1235}],"eventHandler":{"__isSmartRef__":true,"id":1237},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1238},"priorExtent":{"__isSmartRef__":true,"id":1239},"_MaxTextWidth":808,"_MinTextWidth":808,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":772},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":1240},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1242}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"-----","lastSyntaxHighlightTime":1328826047081,"styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1229":{"_Position":{"__isSmartRef__":true,"id":1230},"renderContextTable":{"__isSmartRef__":true,"id":1231},"_Extent":{"__isSmartRef__":true,"id":1232},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":1233},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1230":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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","setClipMode":"setClipModeHTML"},"1232":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1233":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1234":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1235":{"style":{"__isSmartRef__":true,"id":1236},"chunkOwner":{"__isSmartRef__":true,"id":1228},"storedString":"-----","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1236":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1237":{"morph":{"__isSmartRef__":true,"id":1228},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1238":{"x":0,"y":247.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1239":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1240":{"resizeWidth":true,"resizeHeight":true},"1241":{"sourceObj":{"__isSmartRef__":true,"id":1228},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1228},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1242":{"sourceObj":{"__isSmartRef__":true,"id":1228},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1243},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1243":{"source":{"__isSmartRef__":true,"id":1228},"target":{"__isSmartRef__":true,"id":789}},"1244":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":1228}},"1245":{"sourceObj":{"__isSmartRef__":true,"id":789},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":773},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":1246},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1247},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1246":{"source":{"__isSmartRef__":true,"id":789},"target":{"__isSmartRef__":true,"id":773}},"1247":{"updater":{"__isSmartRef__":true,"id":1248}},"1248":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":1246},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":1249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"1249":{},"1250":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1251":{"source":{"__isSmartRef__":true,"id":773},"target":{"__isSmartRef__":true,"id":789}},"1252":{"submorphs":[{"__isSmartRef__":true,"id":1253}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1265},"derivationIds":[null],"id":"E73D7122-AD27-41BD-B7A9-97D7C567F348","renderContextTable":{"__isSmartRef__":true,"id":1270},"eventHandler":{"__isSmartRef__":true,"id":1271},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1272},"priorExtent":{"__isSmartRef__":true,"id":1273},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1274},"label":{"__isSmartRef__":true,"id":1253},"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1283}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":1285},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1253":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1254},"derivationIds":[null],"id":"5F5CBAC6-0F04-4AD1-8737-D5CF0ED53F3F","renderContextTable":{"__isSmartRef__":true,"id":1259},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1260}],"eventHandler":{"__isSmartRef__":true,"id":1262},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1263},"priorExtent":{"__isSmartRef__":true,"id":1264},"_MaxTextWidth":98.39999999999999,"_MinTextWidth":98.39999999999999,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1252},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1254":{"_Position":{"__isSmartRef__":true,"id":1255},"renderContextTable":{"__isSmartRef__":true,"id":1256},"_Extent":{"__isSmartRef__":true,"id":1257},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1258},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1255":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1256":{"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"},"1257":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1258":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1259":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1260":{"style":{"__isSmartRef__":true,"id":1261},"chunkOwner":{"__isSmartRef__":true,"id":1253},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1261":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1262":{"morph":{"__isSmartRef__":true,"id":1253},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1263":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1264":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1265":{"_Position":{"__isSmartRef__":true,"id":1266},"renderContextTable":{"__isSmartRef__":true,"id":1267},"_Extent":{"__isSmartRef__":true,"id":1268},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1269},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1266":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1267":{"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"},"1268":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1269":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1270":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1271":{"morph":{"__isSmartRef__":true,"id":1252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1272":{"x":656,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1273":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1274":{"stops":[{"__isSmartRef__":true,"id":1275},{"__isSmartRef__":true,"id":1277},{"__isSmartRef__":true,"id":1279},{"__isSmartRef__":true,"id":1281}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1275":{"offset":0,"color":{"__isSmartRef__":true,"id":1276}},"1276":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1277":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1278}},"1278":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1279":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1280}},"1280":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1281":{"offset":1,"color":{"__isSmartRef__":true,"id":1282}},"1282":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1283":{"sourceObj":{"__isSmartRef__":true,"id":1252},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1284},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1284":{"source":{"__isSmartRef__":true,"id":1252},"target":{"__isSmartRef__":true,"id":789}},"1285":{"moveHorizontal":true},"1286":{"submorphs":[{"__isSmartRef__":true,"id":1287}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1299},"derivationIds":[null],"id":"F0D0F577-E328-4C9B-B0D1-C0CBFD5A4036","renderContextTable":{"__isSmartRef__":true,"id":1304},"eventHandler":{"__isSmartRef__":true,"id":1305},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1306},"priorExtent":{"__isSmartRef__":true,"id":1307},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1308},"label":{"__isSmartRef__":true,"id":1287},"owner":{"__isSmartRef__":true,"id":772},"attributeConnections":[{"__isSmartRef__":true,"id":1317}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":1319},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1287":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1288},"derivationIds":[null],"id":"99BFFCE2-2AF1-4015-80E6-B9E7C8FAC33F","renderContextTable":{"__isSmartRef__":true,"id":1293},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1294}],"eventHandler":{"__isSmartRef__":true,"id":1296},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1297},"priorExtent":{"__isSmartRef__":true,"id":1298},"_MaxTextWidth":65.6,"_MinTextWidth":65.6,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1286},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1288":{"_Position":{"__isSmartRef__":true,"id":1289},"renderContextTable":{"__isSmartRef__":true,"id":1290},"_Extent":{"__isSmartRef__":true,"id":1291},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1292},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1289":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1290":{"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"},"1291":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1292":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1293":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1294":{"style":{"__isSmartRef__":true,"id":1295},"chunkOwner":{"__isSmartRef__":true,"id":1287},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1295":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1296":{"morph":{"__isSmartRef__":true,"id":1287},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1297":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1298":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1299":{"_Position":{"__isSmartRef__":true,"id":1300},"renderContextTable":{"__isSmartRef__":true,"id":1301},"_Extent":{"__isSmartRef__":true,"id":1302},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1303},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1300":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1301":{"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"},"1302":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1303":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1304":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1305":{"morph":{"__isSmartRef__":true,"id":1286},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1306":{"x":754.4,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1307":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1308":{"stops":[{"__isSmartRef__":true,"id":1309},{"__isSmartRef__":true,"id":1311},{"__isSmartRef__":true,"id":1313},{"__isSmartRef__":true,"id":1315}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1309":{"offset":0,"color":{"__isSmartRef__":true,"id":1310}},"1310":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1311":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1312}},"1312":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1313":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1314}},"1314":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1315":{"offset":1,"color":{"__isSmartRef__":true,"id":1316}},"1316":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1317":{"sourceObj":{"__isSmartRef__":true,"id":1286},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":789},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1318},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1318":{"source":{"__isSmartRef__":true,"id":1286},"target":{"__isSmartRef__":true,"id":789}},"1319":{"moveHorizontal":true},"1320":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1321},"derivationIds":[null],"id":"CF3C8B0A-A738-4651-853F-C35D0CC0FBA1","renderContextTable":{"__isSmartRef__":true,"id":1327},"eventHandler":{"__isSmartRef__":true,"id":1328},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":1329},"fixed":[{"__isSmartRef__":true,"id":791},{"__isSmartRef__":true,"id":837},{"__isSmartRef__":true,"id":872},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":977},{"__isSmartRef__":true,"id":1012}],"scalingBelow":[{"__isSmartRef__":true,"id":1228}],"scalingAbove":[{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1158},{"__isSmartRef__":true,"id":1193}],"minHeight":20,"pointerConnection":null,"owner":{"__isSmartRef__":true,"id":772},"styleClass":["Browser_resizer"],"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1321":{"_Position":{"__isSmartRef__":true,"id":1322},"renderContextTable":{"__isSmartRef__":true,"id":1323},"_Extent":{"__isSmartRef__":true,"id":1324},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1325},"_Fill":{"__isSmartRef__":true,"id":1326},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1322":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1323":{"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"},"1324":{"x":820,"y":5.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1325":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1326":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1328":{"morph":{"__isSmartRef__":true,"id":1320},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1329":{"x":0,"y":242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1330":{"_Position":{"__isSmartRef__":true,"id":1331},"renderContextTable":{"__isSmartRef__":true,"id":1332},"_Extent":{"__isSmartRef__":true,"id":1333},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1334},"_Fill":{"__isSmartRef__":true,"id":1335},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1331":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1332":{"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"},"1333":{"x":820,"y":550,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1334":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1335":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1336":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1337":{"morph":{"__isSmartRef__":true,"id":772},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1338":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"1339":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1340":{"submorphs":[{"__isSmartRef__":true,"id":1341},{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1424}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1459},"derivationIds":[null],"id":"9279D5C2-A80D-4512-A79D-B4FA4C09C735","renderContextTable":{"__isSmartRef__":true,"id":1469},"eventHandler":{"__isSmartRef__":true,"id":1470},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1471},"_Position":{"__isSmartRef__":true,"id":1472},"windowMorph":{"__isSmartRef__":true,"id":771},"label":{"__isSmartRef__":true,"id":1341},"closeButton":{"__isSmartRef__":true,"id":1354},"menuButton":{"__isSmartRef__":true,"id":1390},"collapseButton":{"__isSmartRef__":true,"id":1424},"priorExtent":{"__isSmartRef__":true,"id":1473},"owner":{"__isSmartRef__":true,"id":771},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1341":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1342},"derivationIds":[null],"id":"E552C5AE-3507-4595-8E2C-FFE8E25794EF","renderContextTable":{"__isSmartRef__":true,"id":1347},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1348}],"eventHandler":{"__isSmartRef__":true,"id":1350},"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":1351},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1340},"priorExtent":{"__isSmartRef__":true,"id":1352},"_MaxTextWidth":761,"_MinTextWidth":761,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1353},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1342":{"_Position":{"__isSmartRef__":true,"id":1343},"renderContextTable":{"__isSmartRef__":true,"id":1344},"_Extent":{"__isSmartRef__":true,"id":1345},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1346},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1343":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1344":{"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"},"1345":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1346":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1348":{"style":{"__isSmartRef__":true,"id":1349},"chunkOwner":{"__isSmartRef__":true,"id":1341},"storedString":"Window","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1349":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1350":{"morph":{"__isSmartRef__":true,"id":1341},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1351":{"resizeWidth":true},"1352":{"x":0,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1353":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1354":{"submorphs":[{"__isSmartRef__":true,"id":1355}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1367},"derivationIds":[null],"id":"8C6717D3-D476-4D5E-80E5-47335D3898A5","renderContextTable":{"__isSmartRef__":true,"id":1372},"eventHandler":{"__isSmartRef__":true,"id":1373},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1374},"priorExtent":{"__isSmartRef__":true,"id":1375},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1376},"label":{"__isSmartRef__":true,"id":1355},"owner":{"__isSmartRef__":true,"id":1340},"layout":{"__isSmartRef__":true,"id":1385},"attributeConnections":[{"__isSmartRef__":true,"id":1386},{"__isSmartRef__":true,"id":1388}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1355":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1356},"derivationIds":[null],"id":"B3A73223-268E-481D-92D1-DDEEEE9336B2","renderContextTable":{"__isSmartRef__":true,"id":1361},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1362}],"eventHandler":{"__isSmartRef__":true,"id":1364},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1365},"priorExtent":{"__isSmartRef__":true,"id":1366},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1354},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1356":{"_Position":{"__isSmartRef__":true,"id":1357},"renderContextTable":{"__isSmartRef__":true,"id":1358},"_Extent":{"__isSmartRef__":true,"id":1359},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1357":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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"},"1359":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1360":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1361":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1362":{"style":{"__isSmartRef__":true,"id":1363},"chunkOwner":{"__isSmartRef__":true,"id":1355},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1363":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1364":{"morph":{"__isSmartRef__":true,"id":1355},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1365":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1366":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1367":{"_Position":{"__isSmartRef__":true,"id":1368},"renderContextTable":{"__isSmartRef__":true,"id":1369},"_Extent":{"__isSmartRef__":true,"id":1370},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1371},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1368":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1369":{"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"},"1370":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1371":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1372":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1373":{"morph":{"__isSmartRef__":true,"id":1354},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1374":{"x":800,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1375":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1376":{"stops":[{"__isSmartRef__":true,"id":1377},{"__isSmartRef__":true,"id":1379},{"__isSmartRef__":true,"id":1381},{"__isSmartRef__":true,"id":1383}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1377":{"offset":0,"color":{"__isSmartRef__":true,"id":1378}},"1378":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1379":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1380}},"1380":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1381":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1382}},"1382":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1383":{"offset":1,"color":{"__isSmartRef__":true,"id":1384}},"1384":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1385":{"moveHorizontal":true},"1386":{"sourceObj":{"__isSmartRef__":true,"id":1354},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1387},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1387":{"source":{"__isSmartRef__":true,"id":1354},"target":{"__isSmartRef__":true,"id":771}},"1388":{"sourceObj":{"__isSmartRef__":true,"id":1354},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1389},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1389":{"source":{"__isSmartRef__":true,"id":1354},"target":{"__isSmartRef__":true,"id":771}},"1390":{"submorphs":[{"__isSmartRef__":true,"id":1391}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1402},"derivationIds":[null],"id":"23DB7D57-3362-4383-B875-3E0292C57EFE","renderContextTable":{"__isSmartRef__":true,"id":1407},"eventHandler":{"__isSmartRef__":true,"id":1408},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1409},"priorExtent":{"__isSmartRef__":true,"id":1410},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1411},"label":{"__isSmartRef__":true,"id":1391},"owner":{"__isSmartRef__":true,"id":1340},"attributeConnections":[{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1391":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1392},"derivationIds":[null],"id":"904988CD-FA2F-47DE-B5A3-14C7CDA1B5C8","renderContextTable":{"__isSmartRef__":true,"id":1396},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1397}],"eventHandler":{"__isSmartRef__":true,"id":1399},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1400},"priorExtent":{"__isSmartRef__":true,"id":1401},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1390},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1392":{"_Position":{"__isSmartRef__":true,"id":1393},"renderContextTable":{"__isSmartRef__":true,"id":1394},"_Extent":{"__isSmartRef__":true,"id":1395},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1393":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1394":{"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"},"1395":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1396":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1397":{"style":{"__isSmartRef__":true,"id":1398},"chunkOwner":{"__isSmartRef__":true,"id":1391},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1398":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1399":{"morph":{"__isSmartRef__":true,"id":1391},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1400":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1401":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1402":{"_Position":{"__isSmartRef__":true,"id":1403},"renderContextTable":{"__isSmartRef__":true,"id":1404},"_Extent":{"__isSmartRef__":true,"id":1405},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1406},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1403":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1404":{"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"},"1405":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1406":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1407":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1408":{"morph":{"__isSmartRef__":true,"id":1390},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1409":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1410":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1411":{"stops":[{"__isSmartRef__":true,"id":1412},{"__isSmartRef__":true,"id":1414},{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1412":{"offset":0,"color":{"__isSmartRef__":true,"id":1413}},"1413":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1414":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1415}},"1415":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1416":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1417}},"1417":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1418":{"offset":1,"color":{"__isSmartRef__":true,"id":1419}},"1419":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1420":{"sourceObj":{"__isSmartRef__":true,"id":1390},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1421},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1421":{"source":{"__isSmartRef__":true,"id":1390},"target":{"__isSmartRef__":true,"id":771}},"1422":{"sourceObj":{"__isSmartRef__":true,"id":1390},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1423},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1423":{"source":{"__isSmartRef__":true,"id":1390},"target":{"__isSmartRef__":true,"id":771}},"1424":{"submorphs":[{"__isSmartRef__":true,"id":1425}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1436},"derivationIds":[null],"id":"7F2DFCB2-29D8-4EE5-B4A7-AA21393EC1F2","renderContextTable":{"__isSmartRef__":true,"id":1441},"eventHandler":{"__isSmartRef__":true,"id":1442},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1443},"priorExtent":{"__isSmartRef__":true,"id":1444},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1445},"label":{"__isSmartRef__":true,"id":1425},"owner":{"__isSmartRef__":true,"id":1340},"layout":{"__isSmartRef__":true,"id":1454},"attributeConnections":[{"__isSmartRef__":true,"id":1455},{"__isSmartRef__":true,"id":1457}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1425":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1426},"derivationIds":[null],"id":"ABAB9D48-E72F-4610-95C2-9B4A116BEDD0","renderContextTable":{"__isSmartRef__":true,"id":1430},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1431}],"eventHandler":{"__isSmartRef__":true,"id":1433},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1434},"priorExtent":{"__isSmartRef__":true,"id":1435},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1424},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1426":{"_Position":{"__isSmartRef__":true,"id":1427},"renderContextTable":{"__isSmartRef__":true,"id":1428},"_Extent":{"__isSmartRef__":true,"id":1429},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1427":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1428":{"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"},"1429":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1430":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1431":{"style":{"__isSmartRef__":true,"id":1432},"chunkOwner":{"__isSmartRef__":true,"id":1425},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1432":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1433":{"morph":{"__isSmartRef__":true,"id":1425},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1434":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1435":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1436":{"_Position":{"__isSmartRef__":true,"id":1437},"renderContextTable":{"__isSmartRef__":true,"id":1438},"_Extent":{"__isSmartRef__":true,"id":1439},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1440},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1437":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1438":{"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"},"1439":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1440":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1441":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1442":{"morph":{"__isSmartRef__":true,"id":1424},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1443":{"x":781,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1444":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1445":{"stops":[{"__isSmartRef__":true,"id":1446},{"__isSmartRef__":true,"id":1448},{"__isSmartRef__":true,"id":1450},{"__isSmartRef__":true,"id":1452}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1446":{"offset":0,"color":{"__isSmartRef__":true,"id":1447}},"1447":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1448":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1449}},"1449":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1450":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1451}},"1451":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1452":{"offset":1,"color":{"__isSmartRef__":true,"id":1453}},"1453":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1454":{"moveHorizontal":true},"1455":{"sourceObj":{"__isSmartRef__":true,"id":1424},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1456},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1456":{"source":{"__isSmartRef__":true,"id":1424},"target":{"__isSmartRef__":true,"id":771}},"1457":{"sourceObj":{"__isSmartRef__":true,"id":1424},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":771},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1458},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1458":{"source":{"__isSmartRef__":true,"id":1424},"target":{"__isSmartRef__":true,"id":771}},"1459":{"_Position":{"__isSmartRef__":true,"id":1460},"renderContextTable":{"__isSmartRef__":true,"id":1461},"_Extent":{"__isSmartRef__":true,"id":1462},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1463},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1464},"_Fill":{"__isSmartRef__":true,"id":1465},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1460":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1461":{"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"},"1462":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1463":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1464":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1465":{"stops":[{"__isSmartRef__":true,"id":1466},{"__isSmartRef__":true,"id":1467}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1466":{"offset":0,"color":{"__isSmartRef__":true,"id":780}},"1467":{"offset":1,"color":{"__isSmartRef__":true,"id":1468}},"1468":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1469":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1470":{"morph":{"__isSmartRef__":true,"id":1340},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1471":{"resizeWidth":true,"adjustForNewBounds":true},"1472":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1473":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1474":{"renderContextTable":{"__isSmartRef__":true,"id":1475},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1476},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1477},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1475":{"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"},"1476":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1477":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1478":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1479":{"morph":{"__isSmartRef__":true,"id":771},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1480":{"adjustForNewBounds":true},"1481":{"x":712.5,"y":590,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1482":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1483":{"x":1229,"y":618,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1484":{"submorphs":[{"__isSmartRef__":true,"id":1485}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1612},"derivationIds":[null],"id":"7DE94D43-4A9C-49A7-9FB1-0B4F3F32576F","renderContextTable":{"__isSmartRef__":true,"id":1617},"eventHandler":{"__isSmartRef__":true,"id":1618},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":1619},"LK2":true,"_Position":{"__isSmartRef__":true,"id":1620},"priorExtent":{"__isSmartRef__":true,"id":1621},"targetMorph":{"__isSmartRef__":true,"id":1622},"titleBar":{"__isSmartRef__":true,"id":1485},"contentOffset":{"__isSmartRef__":true,"id":2463},"collapsedTransform":{"__isSmartRef__":true,"id":2464},"collapsedExtent":{"__isSmartRef__":true,"id":2465},"expandedTransform":{"__isSmartRef__":true,"id":2466},"expandedExtent":{"__isSmartRef__":true,"id":2467},"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":2468},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"expandedPosition":{"__isSmartRef__":true,"id":2469},"state":"collapsed","collapsedPosition":{"__isSmartRef__":true,"id":1620},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1485":{"submorphs":[{"__isSmartRef__":true,"id":1486},{"__isSmartRef__":true,"id":1498},{"__isSmartRef__":true,"id":1533},{"__isSmartRef__":true,"id":1567}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1602},"derivationIds":[null],"id":"A0222818-981E-4746-97B3-3A4A25FB8345","renderContextTable":{"__isSmartRef__":true,"id":1607},"eventHandler":{"__isSmartRef__":true,"id":1608},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1609},"_Position":{"__isSmartRef__":true,"id":1610},"windowMorph":{"__isSmartRef__":true,"id":1484},"label":{"__isSmartRef__":true,"id":1486},"closeButton":{"__isSmartRef__":true,"id":1498},"menuButton":{"__isSmartRef__":true,"id":1533},"collapseButton":{"__isSmartRef__":true,"id":1567},"priorExtent":{"__isSmartRef__":true,"id":1611},"owner":{"__isSmartRef__":true,"id":1484},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1486":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1487},"derivationIds":[null],"id":"D842BD4F-A99C-49F1-825D-10D54D7DE00C","renderContextTable":{"__isSmartRef__":true,"id":1491},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1492}],"eventHandler":{"__isSmartRef__":true,"id":1494},"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":1495},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1485},"priorExtent":{"__isSmartRef__":true,"id":1496},"_MaxTextWidth":761,"_MinTextWidth":761,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1497},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1487":{"_Position":{"__isSmartRef__":true,"id":1488},"renderContextTable":{"__isSmartRef__":true,"id":1489},"_Extent":{"__isSmartRef__":true,"id":1490},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1346},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1488":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1489":{"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"},"1490":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1491":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1492":{"style":{"__isSmartRef__":true,"id":1493},"chunkOwner":{"__isSmartRef__":true,"id":1486},"storedString":"Morphic.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1493":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1494":{"morph":{"__isSmartRef__":true,"id":1486},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1495":{"resizeWidth":true},"1496":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1497":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1498":{"submorphs":[{"__isSmartRef__":true,"id":1499}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1510},"derivationIds":[null],"id":"7C2599C0-7296-4A03-9F01-7995832F1D68","renderContextTable":{"__isSmartRef__":true,"id":1515},"eventHandler":{"__isSmartRef__":true,"id":1516},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1517},"priorExtent":{"__isSmartRef__":true,"id":1518},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1519},"label":{"__isSmartRef__":true,"id":1499},"owner":{"__isSmartRef__":true,"id":1485},"layout":{"__isSmartRef__":true,"id":1528},"attributeConnections":[{"__isSmartRef__":true,"id":1529},{"__isSmartRef__":true,"id":1531}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1499":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1500},"derivationIds":[null],"id":"C0915925-54D6-4CAC-A4AC-943D041F69B0","renderContextTable":{"__isSmartRef__":true,"id":1504},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1505}],"eventHandler":{"__isSmartRef__":true,"id":1507},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1508},"priorExtent":{"__isSmartRef__":true,"id":1509},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1498},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1500":{"_Position":{"__isSmartRef__":true,"id":1501},"renderContextTable":{"__isSmartRef__":true,"id":1502},"_Extent":{"__isSmartRef__":true,"id":1503},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1501":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1502":{"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"},"1503":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1504":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1505":{"style":{"__isSmartRef__":true,"id":1506},"chunkOwner":{"__isSmartRef__":true,"id":1499},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1506":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1507":{"morph":{"__isSmartRef__":true,"id":1499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1508":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1509":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1510":{"_Position":{"__isSmartRef__":true,"id":1511},"renderContextTable":{"__isSmartRef__":true,"id":1512},"_Extent":{"__isSmartRef__":true,"id":1513},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1514},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1511":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1512":{"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"},"1513":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1514":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1515":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1516":{"morph":{"__isSmartRef__":true,"id":1498},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1517":{"x":800,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1518":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1519":{"stops":[{"__isSmartRef__":true,"id":1520},{"__isSmartRef__":true,"id":1522},{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1526}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1520":{"offset":0,"color":{"__isSmartRef__":true,"id":1521}},"1521":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1522":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1523}},"1523":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1524":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1525}},"1525":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1526":{"offset":1,"color":{"__isSmartRef__":true,"id":1527}},"1527":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1528":{"moveHorizontal":true},"1529":{"sourceObj":{"__isSmartRef__":true,"id":1498},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1530},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1530":{"source":{"__isSmartRef__":true,"id":1498},"target":{"__isSmartRef__":true,"id":1484}},"1531":{"sourceObj":{"__isSmartRef__":true,"id":1498},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1532},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1532":{"source":{"__isSmartRef__":true,"id":1498},"target":{"__isSmartRef__":true,"id":1484}},"1533":{"submorphs":[{"__isSmartRef__":true,"id":1534}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1545},"derivationIds":[null],"id":"55853B22-A3C3-4B2F-B354-65EBFB5A242C","renderContextTable":{"__isSmartRef__":true,"id":1550},"eventHandler":{"__isSmartRef__":true,"id":1551},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1552},"priorExtent":{"__isSmartRef__":true,"id":1553},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1554},"label":{"__isSmartRef__":true,"id":1534},"owner":{"__isSmartRef__":true,"id":1485},"attributeConnections":[{"__isSmartRef__":true,"id":1563},{"__isSmartRef__":true,"id":1565}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1534":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1535},"derivationIds":[null],"id":"A0BE8CD4-0393-4D95-907D-D51F451F568A","renderContextTable":{"__isSmartRef__":true,"id":1539},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1540}],"eventHandler":{"__isSmartRef__":true,"id":1542},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1543},"priorExtent":{"__isSmartRef__":true,"id":1544},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1533},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1535":{"_Position":{"__isSmartRef__":true,"id":1536},"renderContextTable":{"__isSmartRef__":true,"id":1537},"_Extent":{"__isSmartRef__":true,"id":1538},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1536":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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","setClipMode":"setClipModeHTML"},"1538":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1539":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1540":{"style":{"__isSmartRef__":true,"id":1541},"chunkOwner":{"__isSmartRef__":true,"id":1534},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1541":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1542":{"morph":{"__isSmartRef__":true,"id":1534},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1543":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1544":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1545":{"_Position":{"__isSmartRef__":true,"id":1546},"renderContextTable":{"__isSmartRef__":true,"id":1547},"_Extent":{"__isSmartRef__":true,"id":1548},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1549},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1546":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1547":{"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"},"1548":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1549":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1550":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1551":{"morph":{"__isSmartRef__":true,"id":1533},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1552":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1553":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1554":{"stops":[{"__isSmartRef__":true,"id":1555},{"__isSmartRef__":true,"id":1557},{"__isSmartRef__":true,"id":1559},{"__isSmartRef__":true,"id":1561}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1555":{"offset":0,"color":{"__isSmartRef__":true,"id":1556}},"1556":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1557":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1558}},"1558":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1559":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1560}},"1560":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1561":{"offset":1,"color":{"__isSmartRef__":true,"id":1562}},"1562":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1563":{"sourceObj":{"__isSmartRef__":true,"id":1533},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1564},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1564":{"source":{"__isSmartRef__":true,"id":1533},"target":{"__isSmartRef__":true,"id":1484}},"1565":{"sourceObj":{"__isSmartRef__":true,"id":1533},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1566},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1566":{"source":{"__isSmartRef__":true,"id":1533},"target":{"__isSmartRef__":true,"id":1484}},"1567":{"submorphs":[{"__isSmartRef__":true,"id":1568}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1579},"derivationIds":[null],"id":"90C6CA29-2553-48D8-B5E6-A9EA87A64C45","renderContextTable":{"__isSmartRef__":true,"id":1584},"eventHandler":{"__isSmartRef__":true,"id":1585},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1586},"priorExtent":{"__isSmartRef__":true,"id":1587},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1588},"label":{"__isSmartRef__":true,"id":1568},"owner":{"__isSmartRef__":true,"id":1485},"layout":{"__isSmartRef__":true,"id":1597},"attributeConnections":[{"__isSmartRef__":true,"id":1598},{"__isSmartRef__":true,"id":1600}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1568":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1569},"derivationIds":[null],"id":"794248FB-A580-4729-99E8-4F987A971DD6","renderContextTable":{"__isSmartRef__":true,"id":1573},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1574}],"eventHandler":{"__isSmartRef__":true,"id":1576},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1577},"priorExtent":{"__isSmartRef__":true,"id":1578},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1567},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1569":{"_Position":{"__isSmartRef__":true,"id":1570},"renderContextTable":{"__isSmartRef__":true,"id":1571},"_Extent":{"__isSmartRef__":true,"id":1572},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1570":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1571":{"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"},"1572":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1574":{"style":{"__isSmartRef__":true,"id":1575},"chunkOwner":{"__isSmartRef__":true,"id":1568},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1575":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1576":{"morph":{"__isSmartRef__":true,"id":1568},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1577":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1578":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1579":{"_Position":{"__isSmartRef__":true,"id":1580},"renderContextTable":{"__isSmartRef__":true,"id":1581},"_Extent":{"__isSmartRef__":true,"id":1582},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1583},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1580":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1581":{"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"},"1582":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1583":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1584":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1585":{"morph":{"__isSmartRef__":true,"id":1567},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1586":{"x":781,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1587":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1588":{"stops":[{"__isSmartRef__":true,"id":1589},{"__isSmartRef__":true,"id":1591},{"__isSmartRef__":true,"id":1593},{"__isSmartRef__":true,"id":1595}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1589":{"offset":0,"color":{"__isSmartRef__":true,"id":1590}},"1590":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1591":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1592}},"1592":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1593":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1594}},"1594":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1595":{"offset":1,"color":{"__isSmartRef__":true,"id":1596}},"1596":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1597":{"moveHorizontal":true},"1598":{"sourceObj":{"__isSmartRef__":true,"id":1567},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1599},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1599":{"source":{"__isSmartRef__":true,"id":1567},"target":{"__isSmartRef__":true,"id":1484}},"1600":{"sourceObj":{"__isSmartRef__":true,"id":1567},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1484},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1601},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1601":{"source":{"__isSmartRef__":true,"id":1567},"target":{"__isSmartRef__":true,"id":1484}},"1602":{"_Position":{"__isSmartRef__":true,"id":1603},"renderContextTable":{"__isSmartRef__":true,"id":1604},"_Extent":{"__isSmartRef__":true,"id":1605},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1606},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1464},"_Fill":{"__isSmartRef__":true,"id":1465},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 8px 8px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1603":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1604":{"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"},"1605":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1606":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1607":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1608":{"morph":{"__isSmartRef__":true,"id":1485},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1609":{"resizeWidth":true,"adjustForNewBounds":true},"1610":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1611":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1612":{"renderContextTable":{"__isSmartRef__":true,"id":1613},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1614},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":1615},"_Position":{"__isSmartRef__":true,"id":1616},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1613":{"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"},"1614":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1615":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1616":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1617":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1618":{"morph":{"__isSmartRef__":true,"id":1484},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1619":{"adjustForNewBounds":true},"1620":{"x":14.5,"y":13,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1621":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1622":{"submorphs":[{"__isSmartRef__":true,"id":1623},{"__isSmartRef__":true,"id":2377},{"__isSmartRef__":true,"id":2411},{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":2193},{"__isSmartRef__":true,"id":2278},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2445},{"__isSmartRef__":true,"id":2353},{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1673},{"__isSmartRef__":true,"id":1708},{"__isSmartRef__":true,"id":1743},{"__isSmartRef__":true,"id":1778},{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1848}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2454},"derivationIds":[null],"id":"C373AC72-60C0-4C42-8BA3-2E31217AB24C","renderContextTable":{"__isSmartRef__":true,"id":2460},"eventHandler":{"__isSmartRef__":true,"id":2461},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2462},"_Position":{"__isSmartRef__":true,"id":2463},"locationPane":{"__isSmartRef__":true,"id":1623},"codeBaseDirBtn":{"__isSmartRef__":true,"id":2377},"localDirBtn":{"__isSmartRef__":true,"id":2411},"Pane1":{"__isSmartRef__":true,"id":1889},"Pane2":{"__isSmartRef__":true,"id":2193},"Pane3":{"__isSmartRef__":true,"id":2278},"Pane4":{"__isSmartRef__":true,"id":2318},"midResizer":{"__isSmartRef__":true,"id":2445},"sourcePane":{"__isSmartRef__":true,"id":2353},"ownerWidget":{"__isSmartRef__":true,"id":1636},"owner":null,"ownerApp":{"__isSmartRef__":true,"id":1636},"targetURL":{"__isSmartRef__":true,"id":2375},"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1623":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1624},"derivationIds":[null],"id":"9AF96FEB-D58A-41AF-8BD8-2CC2CBC8DCCC","renderContextTable":{"__isSmartRef__":true,"id":1628},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1629}],"eventHandler":{"__isSmartRef__":true,"id":1631},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1632},"priorExtent":{"__isSmartRef__":true,"id":1633},"_MaxTextWidth":646,"_MinTextWidth":646,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1622},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":1634},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":1635}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1624":{"_Position":{"__isSmartRef__":true,"id":1625},"renderContextTable":{"__isSmartRef__":true,"id":1626},"_Extent":{"__isSmartRef__":true,"id":1627},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":778},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1625":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1626":{"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"},"1627":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1628":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1629":{"style":{"__isSmartRef__":true,"id":1630},"chunkOwner":{"__isSmartRef__":true,"id":1623},"storedString":"http://www.lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1630":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1631":{"morph":{"__isSmartRef__":true,"id":1623},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1632":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1633":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1634":{"resizeWidth":true},"1635":{"sourceObj":{"__isSmartRef__":true,"id":1623},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setTargetURL","converter":null,"converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2376},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1636":{"buttonCommands":[{"__isSmartRef__":true,"id":1637},{"__isSmartRef__":true,"id":1672},{"__isSmartRef__":true,"id":1707},{"__isSmartRef__":true,"id":1742},{"__isSmartRef__":true,"id":1777},{"__isSmartRef__":true,"id":1812},{"__isSmartRef__":true,"id":1847}],"RootFilters":[{"__isSmartRef__":true,"id":1882}],"Pane1Filters":[{"__isSmartRef__":true,"id":1883},{"__isSmartRef__":true,"id":1884}],"Pane2Filters":[{"__isSmartRef__":true,"id":1885}],"Pane3Filters":[{"__isSmartRef__":true,"id":1886}],"Pane4Filters":[{"__isSmartRef__":true,"id":1887}],"evaluate":true,"panel":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":2192},{"__isSmartRef__":true,"id":2277},{"__isSmartRef__":true,"id":2317},{"__isSmartRef__":true,"id":2352},{"__isSmartRef__":true,"id":2370}],"SourceString":"module('lively.morphic.tests.Morphic').requires('lively.TestFramework', 'lively.morphic.Complete', 'lively.morphic.Layout').toRun(function() {\n\nnamespace('lively.morphic.Tests'); // FIXME to be removed\n\nTestCase.subclass('lively.morphic.Tests.TestCase',\n'running', {\n tearDown: function($super) {\n $super();\n this.removeTestWorld();\n },\n},\n'helper', {\n removeTestWorld: function() {\n if (this.world) {\n this.world.remove();\n this.world = null;\n }\n if (this.oldAlert)\n Global.alert = this.oldAlert;\n if (this.existingWorld) {\n this.existingWorld.displayOnCanvas(document.getElementsByTagName('body')[0]);\n lively.morphic.World.currentWorld = this.existingWorld;\n this.existingWorld = null;\n }\n },\n openMorphsInRealWorld: function() {\n this.removeTestWorld();\n },\n createWorld: function() {\n if (this.world) return; // already created\n this.existingWorld = lively.morphic.World.current();\n this.world = lively.morphic.World.createOn(document.body, new Rectangle(0,0,300,300));\n this.oldAlert = Global.alert;\n Global.alert = function (msg) { this.existingWorld.alert(String(msg)) }.bind(this)\n },\n serializeAndDeserializeWorld: function() {\n if (!this.world) {\n alert('No test world created');\n return\n }\n var json = this.world.serializeToJSON();\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n },\n\n},\n'assertion', {\n assertNodeMatches: function(expected, node) {\n var self = this,\n fail = function fail(msg) { self.assert(false, msg) };\n if (!expected) fail('expected is null');\n if (!node) fail('node is null but should be ' + expected.tagName);\n if (expected.tagName != node.tagName) fail(expected.tagName + '!=' + node.tagName);\n if (expected.parentNode && (expected.parentNode !== node.parentNode))\n fail('parent is ' + node.parentNode + ' but should be ' + expected.parentNode);\n\n if (expected.textContent) {\n if (expected.textContent != node.textContent)\n fail('textContent ' + expected.textContent + ' != ' + node.textContent);\n }\n\n if (expected.attributes)\n Properties.forEachOwn(expected.attributes, function(key, expectedValue) {\n var actualValue = node.getAttribute(key);\n if (expectedValue instanceof RegExp) {\n if (!expectedValue.test(actualValue))\n fail('attribute ' + key + ' was ' + actualValue + ' and didn\\'t match ' + expectedValue);\n return\n }\n if (expectedValue != actualValue) {\n fail('attribute ' + key + ' not ' + expectedValue + ' but ' + actualValue);\n }\n });\n if (expected.style)\n Properties.forEachOwn(expected.style, function(key, expected) {\n if (!node.style[key]) {\n alert(\"Warning: \" + key + \" is falsy in \" + node + \".style\"); \n }\n var actualValue = node.style[key].replace(/ /g, '');\n if (Object.isFunction(expected)) {\n self.assert(expected.call(self, actualValue), 'value ' + actualValue + ' did no match')\n return\n }\n if (expected != actualValue)\n fail('style ' + key + ' not ' + expected + ' but ' + actualValue);\n });\n if (expected.childNodeLength)\n this.assertEquals(expected.childNodeLength, node.childNodes.length, 'childNode.length of ' + node)\n if (expected.childNodes)\n for (var i = 0; i < expected.childNodes.length; i++)\n this.assertNodeMatches(expected.childNodes[i], node.childNodes[i]);\n },\n});\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.WorldTests',\n'testing', {\n testAddWorldToDoc: function() {\n var canvasNode = document.body, bounds = new Rectangle(0, 0, 100, 100),\n world = new lively.morphic.World();\n try {\n world.setBounds(bounds);\n world.displayOnCanvas(canvasNode);\n\n var expected = {tagName: 'div', parentNode: canvasNode, childNodes: [{tagName: 'div'}]};\n this.assertNodeMatches(expected, world.renderContext().getMorphNode());\n } finally {\n world.remove();\n }\n },\n});\n\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.MorphTests',\n'running', {\n setUp: function($super) {\n $super();\n this.createWorld();\n },\n},\n'testing', {\n test01AddMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n this.assert(this.world.submorphs.include(m), 'not in submorphs');\n this.assertIdentity(this.world, m.owner, 'owner');\n\n var expected = {\n tagName: 'div', // world morph\n childNodes: [\n {tagName: 'div', childNodes: [ // world shape\n {tagName: 'div', childNodes: [{tagName: 'div'}]} // m and its shape\n ]}, \n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n test02aUseSVGRenderer: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext());\n\n var expected = {\n tagName: 'div', // world\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg', // submorph\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'rect'}]}]},\n ]}, // world's shape\n ]\n };\nconsole.log(Exporter.stringify(this.world.renderContext().getMorphNode()));\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n test03MorphWithSVGEllipse: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setShape(new lively.morphic.Shapes.Ellipse(new Rectangle(0,0, 30, 30)));\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg',\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'ellipse'}]}]}\n ]}, \n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test04MorphLocalize: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph2.setPosition(pt(10,10));\n this.assertEquals(pt(0,0), morph2.localize(pt(10,10)));\n },\n test04AddMorphBefore: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph(),\n morph3 = new lively.morphic.Morph();\n // Colors to identify the morphs are in correct order\n morph1.setFill(Color.green);\n morph2.setFill(Color.blue);\n morph3.setFill(Color.yellow);\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n this.world.addMorph(morph3, morph2);\n\n morph1.setExtent(pt(200, 200))\n morph2.setExtent(pt(100, 150))\n morph3.setExtent(pt(150, 100))\n\n // order back to front: morph1, morph3, morph2 \n /*var expected = {\n tagName: 'div', // morphNode\n childNodes: [{tagName: 'div', childNodes: [ // shape\n {tagName: 'div', childNodes: [ // submorphNode\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph1.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph3.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph2.getFill().toString()}}]},\n {tagName: 'div'} // hand\n ]}\n ]}]\n }\n\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());*/\n },\n\n testMorphBounds: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph1.setBounds(new Rectangle(100, 100, 40, 40));\n morph2.setBounds(new Rectangle(20, 10, 40, 40));\n this.assertEquals(new Rectangle(100, 100, 60, 50), morph1.getBounds());\n },\n test07MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n shape = new lively.morphic.Shapes.Rectangle(bounds);\n this.assertEquals(bounds, shape.getBounds(), 'shape bounds');\n var morph = new lively.morphic.Morph(shape);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n test08aCreateMorphWithLinearGradient: function() {\n var morph = new lively.morphic.Morph();\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\"));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(linear,0%0%,0%100%,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-linear-gradient(90deg,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n\n }]}\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test08bCreateMorphWithradialGradient: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3)));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(radial,50%30%,0,50%50%,25,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-radial-gradient(50%50%,circlefarthest-corner,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n }] \n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test09BorderColorAndWidth: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderColor(Color.green);\n morph.setBorderWidth(2.5);\n morph.setStrokeOpacity(0.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {\n // FIXME float conversion in style makes it hard to test directly\n 'border': function(result) { // \"2.5px solid rgba(0,204,0,0.5)\"\n return result.include('2.5px') && result.include('solid') && result.include('rgba(0,204')\n }\n }\n }] \n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test10BorderRadiusHTML: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderRadius(3.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: { 'border-top-left-radius': '3.5px3.5px'}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{tagName: 'div',\n style: {\"borderRadius\": \"3.5px3.5px3.5px3.5px\"}}]\n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test16MorphsContainingPoint: function() {\n var morph = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(20, 20, 30, 30), \n subsubmorph = lively.morphic.Morph.makeRectangle(25, 25, 5, 5),\n morph2 = lively.morphic.Morph.makeRectangle(48, 48, 100, 100);\n this.world.addMorph(morph)\n morph.addMorph(submorph)\n submorph.addMorph(subsubmorph)\n this.world.addMorph(morph2)\n\n var result, expected;\n\n result = morph.morphsContainingPoint(pt(-1,-1));\n this.assertEquals(0, result.length, 'for ' + pt(-1,-1));\n\n result = morph.morphsContainingPoint(pt(1,1));\n this.assertEquals(1, result.length, 'for ' + pt(1,1));\n this.assertEquals(morph, result[0], 'for ' + pt(1,1));\n\n result = morph.morphsContainingPoint(pt(40,40));\n this.assertEquals(2, result.length, 'for ' + pt(40,40));\n this.assertEquals(submorph, result[0]);\n this.assertEquals(morph, result[1]);\n\n result = morph.morphsContainingPoint(pt(45,45));\n this.assertEquals(3, result.length, 'for ' + pt(45,45));\n this.assertEquals(subsubmorph, result[0]);\n this.assertEquals(submorph, result[1]);\n this.assertEquals(morph, result[2]);\n\n result = this.world.morphsContainingPoint(pt(48,48));\n this.assertEquals(5, result.length, 'for ' + pt(48,48));\n this.assertEquals(morph2, result[0]);\n this.assertEquals(subsubmorph, result[1]);\n this.assertEquals(submorph, result[2]);\n this.assertEquals(morph, result[3]);\n this.assertEquals(this.world, result[4]);\n },\n test17MorphsContainingPointWithAddMorphFront: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n var result = this.world.morphsContainingPoint(pt(1,1));\nthis. openMorphsInRealWorld()\n// inspect(result)\n this.assertEquals(3, result.length);\n // this.assertEquals(this.world.firstHand(), result[0], 'for ' + pt(1,1));\n\n this.assertEquals(morph1, result[0], 'for ' + pt(1,1));\n this.assertEquals(morph2, result[1], 'for ' + pt(1,1));\n },\n test18OrderOfMorphsOnScrennAndInSubmorphArrayMatches: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n this.assertIdentity(this.world.submorphs[0], morph2, 'morph2 not @0')\n this.assertIdentity(this.world.submorphs[1], morph1, 'morph1 not @1')\n },\n test19MorphsContainingPointDosNotIncludeOffsetedOwner: function() {\n var owner = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(110, 10, 90, 90), \n other = lively.morphic.Morph.makeRectangle(100, 0, 100, 100);\n\n owner.name = 'owner'; submorph.name = 'submorph'; other.name = 'other';\n this.world.addMorph(owner)\n owner.addMorph(submorph)\n this.world.addMorphBack(other)\n\n var result = this.world.morphsContainingPoint(pt(150,50));\n this.assertEquals(3, result.length, 'for ' + pt(150,50));\n this.assertEquals(this.world, result[2], 'for 2');\n this.assertEquals(other, result[1], 'for 1');\n this.assertEquals(submorph, result[0], 'for 0');\n },\n\n test20setScalePointHTML: function() {\n var morph = lively.morphic.Morph.makeRectangle(0,0, 10, 10);\n morph.setScale(pt(2,3));\n this.assertEquals(pt(2,3), morph.getScale());\n this.assertEquals(pt(2,3), morph.getTransform().getScalePoint());\n var ctxt = morph.renderContext(),\n transformProp = ctxt.domInterface.html5TransformProperty;\n this.assert(/scale.+2.+3/, ctxt.morphNode.style[transformProp],\n 'css transform prop does not match');\n }\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.EventTests',\n'testing', {\n xtest05DropMorph: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n // this.world.addHandMorph();\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n morph1.setBounds(new Rectangle(0,0, 100, 100));\n morph2.setBounds(new Rectangle(0,0, 80, 80));\n morph1.applyStyle({fill: Color.red});\n morph2.applyStyle({fill: Color.green});\n\n // is already done by style settings\n // this.world.enableDropping();\n // morph1.enableDropping();\n // morph1.enableGrabbing();\n // morph2.enableDropping();\n // morph2.enableGrabbing();\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morph2.renderContext().getMorphNode(), button: 0});\n\n this.assert(this.world.firstHand().submorphs.include(morph2), 'morph not grabbed');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(20,20), target: this.world.renderContext().getMorphNode()});\n\n this.assert(morph1.submorphs.include(morph2), 'morph not dropped on morph2'); \n },\n test01DragMorph: function() {\n var dragStarted = false,\n dragMoved = false,\n dragEnded = false,\n morph = new lively.morphic.Morph(),\n morphNode = morph.renderContext().getMorphNode();\n this.world.addMorph(morph);\n morph.setBounds(new Rectangle(0,0, 100, 100));\n morph.applyStyle({fill: Color.red, enableDragging: true});\n\n morph.onDragStart = function() { dragStarted = true }\n morph.onDrag = function() { dragMoved = true }\n morph.onDragEnd = function() { dragEnded = true }\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morphNode, button: 0});\n this.assert(!dragStarted, 'drag already started after mousedown');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(25,25), target: morphNode, button: 0});\n this.assert(dragStarted, 'drag not started after mousedown and mousemove');\n this.assert(!dragMoved, 'drag already moved at dragStart');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragMoved, 'drag not moved after mousemove');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragEnded, 'dragEnd not called');\n },\n test02RelayMouseEventsToMorphBeneath: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n morph2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n\n morph2.relayMouseEventsToMorphBeneath();\n\n lively.morphic.EventSimulator.doMouseEvent(\n {type: 'mousedown', pos: pt(20,20), target: morph2, button: 0});\n this.assertIdentity(morph1, this.world.clickedOnMorph);\n },\n\n});\n \nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CopyMorphTests',\n'testing', {\n test01CopySimpleMorph: function() {\n var m = new lively.morphic.Morph()\n m.setBounds(new Rectangle(100, 100, 40, 40));\n var m2 = m.copy();\n this.assert(m !== m2, 'copied morph is identical to original morph')\n this.assertEquals(new Rectangle(100, 100, 40, 40), m2.getBounds());\n },\n test02ReferencedMorphThatIsNotASubmorphIsNotCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.addMorph(m2)\n m1.other = m3;\n this.world.addMorph(m3);\n var copy = m1.copy();\n this.assert(copy !== m1, 'copied morph is identical to original morph');\n this.assert(copy.submorphs[0] instanceof lively.morphic.Morph, 'submorph not copied');\n this.assert(copy.submorphs[0] !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.other === m3, 'referenced morph that is not a submorph is not identical')\n },\n test02bReferencedMorphThatIsNotASubmorphButIsNotInTheWorldIsCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n this.world.addMorph(m1);\n m2.addMorph(m3);\n m1.ref = m2;\n var copy = m1.copy();\n this.assert(copy.ref instanceof lively.morphic.Morph, 'ref not copied');\n this.assert(copy.ref !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.ref.submorphs[0] instanceof lively.morphic.Morph, 'm3 not copied');\n this.assert(copy.ref.submorphs[0] !== m3, 'm3 copied is identical to m3');\n },\n\n test03OwnerIsNotCopied: function() {\n var m = new lively.morphic.Morph();\n this.world.addMorph(m);\n var copy = m.copy();\n this.assert(!copy.owner, 'owner was copied');\n },\n test04CopyMorphTreeWithEventHandlers: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.enableGrabbing();\n m2.enableGrabbing();\n m3.enableGrabbing();\n m1.addMorph(m2)\n m2.addMorph(m3)\n this.world.addMorph(m1);\n var copy = m1.copy();\n this.world.addMorph(copy);\n this.assertEquals(2+1, this.world.submorphs.length); // +1 for hand\n this.assertEquals(1, copy.submorphs.length);\n this.assertEquals(1, copy.submorphs[0].submorphs.length);\n },\n test05CopySetsNewTargetForScripts: function() {\n var m1 = new lively.morphic.Morph();\n m1.startStepping(20, 'rotateBy', 0.1);\n var copy = m1.copy();\n\n this.assertIdentity(m1, m1.scripts[0].target, 'original target changed');\n this.assertIdentity(copy, copy.scripts[0].target, 'copy target changed');\n },\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphTests',\n'testing', {\n test01TextMorphHTML: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.setTextString('Foo');\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div', textContent: 'Foo'}] // text node\n }, \n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test02TextMorphSVG: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setTextString('Foo');\n var expected = {\n tagName: 'g',\n childNodes: [\n {tagName: 'rect'}, // shape\n {tagName: 'text', textContent: 'Foo'} // text node\n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test03TextStringIsConnectable: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n var resultObj = {result: null};\n connect(m, 'textString', resultObj, 'result');\n m.setTextString('Foo');\n this.assertEquals('Foo', resultObj.result);\n },\n test04GrowToFit: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 10, 20));\n this.world.addMorph(m);\n m.setTextString('a really long string longer than 10px')\n m.applyStyle({fixedWidth: false});\n this.assert(m.getExtent().x > 10, 'did not grow to fit text ' + m.bounds().width);\n },\n test04bFitReallyShrinksMorphinHTML: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 200));\n this.world.addMorph(m);\n m.setTextString('short')\n m.applyStyle({fixedWidth: false});\n m.fit();\n this.assert(m.getExtent().x < 100, 'did not shrink to fit text');\n },\n\n\n test05SetSelectionRange: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(0,1);\n this.assertEquals('1', m.selectionString());\n m.setSelectionRange(0,3);\n this.assertEquals('123', m.selectionString());\n m.setSelectionRange(-99,m.textString.length+10);\n this.assertEquals('123\\t567\\n9', m.selectionString());\n },\n test05bSetSelectionRangeRightToLeft: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(3, 0);\n this.assertEquals('123', m.selectionString());\n this.assertEqualState([3,0], m.getSelectionRange());\n },\n test05cCorrectNewlinesInSelection: function() {\n // added 2012-01-06. Firefox Selection>>toString replaces \\n with ' '\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assert(m.textString.indexOf(m.selectionString()) != -1);\n },\n\n\n test06ModifySelectedLinesInsertsAtCorrectPosition: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assertEquals('This\\nis\\na', m.selectionString())\n m.modifySelectedLines(function(ea) { return '+' + ea });\n this.assertEquals('+This\\n+is\\n+a\\ntest', m.textString);\n },\n test07aSplitText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n\n m.splitText();\n\n var newText = this.world.submorphs[this.world.submorphs.indexOf(m)+1]\n this.assert(newText.isText && newText !== m, 'no text created');\n this.assertEquals(m, newText.splittedFrom, 'spittedFrom field no correct');\n this.assertEquals('test', newText.textString, 'spittedFrom string');\n this.assertEquals('This is a ', m.textString, 'former text string not OK');\n this.assert(newText.bounds().top() > m.bounds().bottom(), 'not below old text');\n },\n test07bMergeText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n var splitted = m.splitText();\n splitted.emphasizeAll({fontWeight: 'bold'});\n splitted.mergeText();\n \n this.assert(!splitted.owner, 'splitted not removed');\n this.assertEquals('This is a test', m.textString, 'spittedFrom string');\n this.assertMatches({fontWeight: 'bold'}, m.getEmphasisAt(11))\n },\n test08CopyTextWithConnection: function() {\n // issue 285\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20), \"\");\n connect(m, 'textString', m, 'someOtherField')\n var copy = m.duplicate()\n this.assert(copy.textString == '', 'copy is broken') \n },\n\n\n\n\n\n\n\n\n\n\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphRichTextTests',\n'running', {\n setUp: function($super) {\n $super();\n this.text = new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // cop.withLayers([TextDevLayer], function() {\n // return new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // })\n // this.text.setWithLayers([TextDevLayer]);\n this.world.addMorph(this.text);\n },\n checkRunArray: function(expectedRunArray) {\n this.assertMatches(expectedRunArray.asArray(), this.text.textStyle.asArray());\n },\n checkChunks: function(expectedChunks, optTextChunkOwner) {\n var textChunkOwner = optTextChunkOwner || this.text;\n this.assertMatches(expectedChunks, textChunkOwner.getTextChunks());\n },\n\n checkDOM: function(expectedTextNodes) {\n // check what was actually rendered\n var expected = {\n tagName: 'div',\n childNodeLength: expectedTextNodes.length,\n childNodes: expectedTextNodes\n };\n this.assertNodeMatches(expected, this.text.renderContext().textNode);\n },\n\n\n},\n'testing', {\n test01MorphHasTextChunk: function() {\n// this. openMorphsInRealWorld()\n// inspect(this.text)\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('', chunks[0].textString);\n chunks[0].textString = 'foo';\n this.assertEquals('foo', this.text.textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test02MorphHasTextChunkWhenTextStringIsSet: function() {\n this.text.textString = 'foo'\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('foo', chunks[0].textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test03SplitAndJoinTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n var after = chunk.splitAfter(3);\n this.assertEquals('test', after.textString, 'after string');\n this.assertEquals('ein', chunk.textString, 'chunk string');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n\n chunk.joinWithNext();\n this.assertEquals('eintest', chunk.textString);\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}]);\n\n var before = chunk.splitBefore(3);\n this.assertEquals('ein', before.textString, 'before string');\n this.assertEquals(2, this.text.getTextChunks().length);\n },\n test03bCoalesceChunks: function() {\n this.text.setTextString('test');\n this.text.firstTextChunk().splitAfter(2);\n this.text.coalesceChunks()\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test03cSplitAtFrontAndBack: function() {\n this.text.setTextString('a');\n var after = this.text.firstTextChunk().splitAfter(1);\n this.assertEquals('', after.textString, 'splitAfter');\n var before = this.text.firstTextChunk().splitBefore(0);\n this.assertEquals('', before.textString, 'splitBefore');\n this.assertEquals(3, this.text.getTextChunks().length);\n },\n test03cSplittedChunkGetsStyle: function() {\n this.text.setTextString('abcdef');\n var chunk = this.text.firstTextChunk();\n chunk.style.setFontWeight('bold');\n var after = this.text.firstTextChunk().splitAfter(3);\n this.assertEquals('bold', after.style.getFontWeight());\n },\n\n\n\n test04SliceTextChunksSimple: function() {\n this.text.setTextString('eintest');\n var sliced = this.text.sliceTextChunks(0,3);\n this.assertEquals(1, sliced.length, 'sliced not oke');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n },\n\n test04SliceTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n chunk.splitAfter(3);\n var sliced = this.text.sliceTextChunks(2,6);\n this.assertEquals(4, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ei'},\n {tagName: 'span', textContent: 'n'},\n {tagName: 'span', textContent: 'tes'},\n {tagName: 'span', textContent: 't'}])\n },\n test04SliceTextChunksAgain: function() {\n this.text.setTextString('abc');\n var sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'first');\n sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'second');\n },\n\n test05StyleChunk: function() {\n this.text.setTextString('test');\n var chunk = this.text.firstTextChunk();\n chunk.styleText({fontWeight: 'bold'});\n this.checkDOM([{tagName: 'span', style: {fontWeight: 'bold'}}]);\n },\n test06MakeTextBold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n\n\n\n test07MakeTextBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 2);\n this.text.emphasize({fontWeight: 'normal'}, 0, 2);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test08ToggleBoldnessComplete: function() {\n this.text.setTextString('eintest');\n this.text.toggleBoldness(1, 6);\n this.checkDOM([\n {tagName: 'span', textContent: 'e'},\n {tagName: 'span', textContent: 'intes'},\n {tagName: 'span', textContent: 't'}])\n this.text.toggleBoldness(1, 6);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test09ChunksAreSerializable: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.text.name = 'testText';\n this.serializeAndDeserializeWorld();\n this.text = this.world.get('testText');\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n\n },\n test10ConvertSelectionRangeForEmphasis: function() {\n // the indexes used by text selection are currently different\n // to those used for emphasizing the text\n var testValues = [\n {sel: [0,0], emph: [0,0]},\n {sel: [0,7], emph: [0,7]},\n {sel: [1,1], emph: [1,1]},\n {sel: [2,0], emph: [0,2]},\n {sel: [8,0], emph: [0, 8]},\n {sel: [4,7], emph: [4,7]}];\n testValues.forEach(function(selAndEmph) {\n this.assertEqualState(\n selAndEmph.emph,\n this.text.convertSelectionRangeForEmphasis(selAndEmph.sel),\n 'sel conversion of ' + selAndEmph.sel);\n }, this)\n },\n test11ToggleBoldnessWithChunkWithMultipleTextNodes: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n this.text.insertAtCursor('foo');\n this.assertEquals('einfootest', this.text.textString, 'insert')\n this.checkDOM([\n {tagName: 'span', textContent: 'einfootest', childNodes: [\n {tagName: undefined, textContent: 'ein'},\n {tagName: undefined, textContent: 'foo'},\n {tagName: undefined, textContent: 'test'}\n ]},\n ])\n\n this.text.toggleBoldness(1, 9);\n this.checkDOM([\n {tagName: 'span', textContent: 'e', childNodes: [{textContent: 'e'}]},\n {tagName: 'span', textContent: 'infootes', childNodes: [{textContent: 'infootes'}]},\n {tagName: 'span', textContent: 't', childNodes: [{textContent: 't'}]},\n ])\n },\n test11FixChunksShouldKeepSlection: function() {\n this.text.setTextString('eintest');\n // add a text outside of chunks manually\n this.text.renderContext().textNode.appendChild(document.createTextNode('test'))\n this.text.setSelectionRange(2,5)\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest', childNodes: [\n {tagName: undefined, textContent: 'eintesttest'},\n ]},\n ])\n var range = this.text.getSelectionRange()\n this.assert(range, 'no selection range after fixChunks!')\n this.assertMatches([2, 5], range) // Inconsistency with selection ranges?\n },\n test12GetAndSetSelectionRangeHaveEqualValues: function() {\n this.text.setTextString('eintest');\n this.text.setSelectionRange(1, 6)\n this.assertEquals('intes', this.text.selectionString());\n this.assertMatches([1,6], this.text.getSelectionRange());\n },\n test13InsertedTextBetweenChunksIsAssimilated: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n\n var chunks = this.text.getTextChunks();\n this.assertEquals(2, chunks.length, 'test preparation: chunks not OK')\n\n var newNode = XHTMLNS.create('b')\n newNode.textContent = 'foo';\n\n this.text.renderContext().textNode.insertBefore(newNode, chunks[1].getChunkNode());\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abcfoo'},\n {tagName: 'span', textContent: 'def'},\n ])\n },\n test14GetEmphasisAt: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 1, 3);\n\n var emph, expected = ['normal', 'bold', 'bold', 'normal']\n expected.forEach(function(expectedFontWeight, i) {\n var emph = this.text.getEmphasisAt(i)\n this.assertEquals(expectedFontWeight, emph.getFontWeight(), i);\n },this)\n },\n\n test15GetChunkAndLocalIndex: function() {\n this.text.setTextString('abcdef');\n this.text.sliceTextChunks(1,3);\n this.checkDOM([\n {tagName: 'span', textContent: 'a'},\n {tagName: 'span', textContent: 'bc'},\n {tagName: 'span', textContent: 'def'},\n ]);\n\n var chunks = this.text.getTextChunks(), result;\n \n result = this.text.getChunkAndLocalIndex(0);\n this.assertEquals(chunks[0], result[0]); // test for chunk\n this.assertEquals(0, result[1]); // test for local index\n\n result = this.text.getChunkAndLocalIndex(1); // if chunks ends at idx we extend it\n this.assertEquals(chunks[0], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(2);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(1, true);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(0, result[1])\n },\n test16AddLink: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({uri: 'http://foo.com'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein', style: {uri: 'http://foo.com'}},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {textDecoration: 'underline'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test17AddLinkMakeBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n\n this.text.emphasize({uri: 'test'}, 3, 7)\n this.text.emphasize({fontWeight: 'bold'}, 0, 4)\n this.text.emphasize({fontWeight: 'normal'}, 0, 4)\n\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test', style: {textDecoration: 'underline'}}])\n },\n test18LinkifiedChunkShouldKeepLinkWhenTextStringChanges: function() {\n this.text.setTextString('foo');\n this.text.emphasize({uri: 'test'}, 0, 3);\n\n this.text.firstTextChunk().textString = 'bar'\n\n this.checkChunks([{textString: 'bar', style: {uri: 'test'}}])\n\n this.checkDOM([{\n tagName: 'span',\n textContent: 'bar',\n style: {textDecoration: 'underline'}\n }])\n },\n test19FixChunksShouldRemoveElements: function() {\n this.text.setTextString('eintest');\n\n // this happens when pasting rich text on windows, for now remove RT attributes\n var elem = XHTMLNS.create('a');\n elem.href = 'http://foo.com';\n elem.textContent = 'test';\n\n this.text.firstTextChunk().getChunkNode().appendChild(elem);\n\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest',\n // childNodes: [{tagName: undefined, textContent: 'eintesttest'}]\n },\n ])\n },\n test20HandleSplittedSpanNodes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('ac');\n\n var span = XHTMLNS.create('span');\n span.textContent = 'a';\n textNode.insertBefore(span, this.text.firstTextChunk().getChunkNode());\n\n var text = NodeFactory.createText('b');\n textNode.insertBefore(text, this.text.firstTextChunk().getChunkNode());\n\n this.text.firstTextChunk().textString = 'c';\n\n this.text.fixChunks();\n\n this.checkDOM([{tagName: 'span', textContent: 'abc'}]);\n },\n test21HandleSplittedSpanNodesAndTextAttributes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('abc');\n\n this.text.emphasize({fontWeight: 'bold'}, 1,3);\n var chunks = this.text.getTextChunks();\n\n var span = XHTMLNS.create('span');\n span.textContent = 'b';\n textNode.insertBefore(span, chunks.last().getChunkNode());\n // abbc\n\n var text = NodeFactory.createText('x');\n textNode.insertBefore(text, chunks.last().getChunkNode());\n // abxbc\n\n chunks.last().textString = 'c';\n // abxc\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abx'},\n {tagName: 'span', textContent: 'c', style: {fontWeight: 'bold'}}]);\n },\n test22ReclaimRemovedSpanNodesOnPaste: function() {\n // this happens when pasting normal text on Mac OS after a chunk\n // the span node of the chunk that is pasted into is removed and the chunkNode\n // has no parent anymore. The abandoned chunkNode should reclaim its old text + the isnerted\n\n // add new content\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\n\\nbar\\n\\nbaz');\n\n this.text.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.emphasize({fontWeight: 'bold'}, 10,13);\n var chunks = this.text.getTextChunks();\n\n // remove middle chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var text = NodeFactory.createText('\\n\\nbar zurp\\n\\n');\n textNode.insertBefore(text, chunks[2].getChunkNode());\n\n this.assertEquals('foo\\n\\nbar zurp\\n\\nbaz',textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: '\\n\\nbar zurp\\n\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'baz', style: {fontWeight: 'bold'}}]);\n\n },\n test23ReclaimRemovedChunkNodeAndReapplyTextAttributes: function() {\n // this happens when pasting normal text on Mac OS in attributed text (e.g. bold)\n // Chrome tries to complete render the span itself, e.g. using \n // the chunkNode is removed but the chunk still exists\n // this tests if the chunk can reclaim the text and set it's attributes again\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\nbar');\n\n this.text.emphasize({fontWeight: 'bold'}, 4,7);\n var chunks = this.text.getTextChunks();\n\n // remove last chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var b = XHTMLNS.create('b');\n b.textContent = 'morebar'\n textNode.appendChild(b);\n\n this.assertEquals('foo\\nmorebar', textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'morebar', style: {fontWeight: 'bold'}}]);\n }, \n\n test22EmphasizeRegex: function() {\n this.text.setTextString(\"a1b2c\");\n this.text.emphasizeRegex(/[0-9]/g, {color: Color.red});\n this.checkChunks([\n {textString: 'a', style: {color: null}},\n {textString: '1', style: {color: Color.red}},\n {textString: 'b', style: {color: null}},\n {textString: '2', style: {color: Color.red}},\n {textString: 'c', style: {color: null}},\n ])\n },\n richTextPasteData: 'ein test',\n\n test23aRichTextPaste: function() {\n var pastedText = this.richTextPasteData,\n rt = lively.morphic.HTMLParser.pastedHTMLToRichText(pastedText);\n this.assertEquals(2, rt.textChunks.length);\n this.assertEquals('ein ', rt.textChunks[0].textString);\n this.assertEquals('test', rt.textChunks[1].textString);\n this.assertEquals('normal', rt.textChunks[0].style.getFontWeight());\n this.assertEquals('bold', rt.textChunks[1].style.getFontWeight());\n \n },\n test24aInsertTextChunks: function() {\n this.text.setTextString('ein');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('test')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n test24bInsertTextChunks: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('foo')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'foo'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n\n test25SlicingTextChunksWithRangeWithLengthZero: function() {\n this.text.setTextString('ein');\n var newChunk = this.text.sliceTextChunks(3,3);\n this.assertEquals(2, this.text.textChunks.length)\n this.assertIdentity(newChunk[0], this.text.textChunks.last())\n },\n test26aUnEmphasize: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.unEmphasize(0,7);\n this.checkChunks(\n [{textString: 'eintest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'eintest', style: {fontWeight: ''}}])\n },\n test26bUnEmphasizePart: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.setSelectionRange(1,3);\n this.text.unEmphasizeSelection();\n var selRange = this.text.getSelectionRange();\n this.assertMatches([1,3], selRange)\n this.checkChunks(\n [{textString: 'e'},\n {textString: 'intest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'e', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'intest', style: {fontWeight: ''}}])\n },\n\n\n\n\n\n});\nlively.morphic.Tests.TextMorphRichTextTests.subclass('lively.morphic.Tests.RichTextTests',\n'testing', {\n test01CreateRichText: function() {\n var rt = new lively.morphic.RichText('test');\n this.text.setRichText(rt);\n this.assertEquals('test', this.text.textString)\n },\n test02GetRichText: function() {\n this.text.textString = 'test';\n var rt = this.text.getRichText();\n this.assertEquals('test', rt.textString)\n },\n test03EmphasizeRichText: function() {\n var rt = new lively.morphic.RichText('eintest');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.assertEquals(2, rt.textChunks.length, 'chunks not created in rich text')\n this.text.setRichText(rt);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test04InsertInText: function() {\n var rt = new lively.morphic.RichText('foo');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.setTextString('einxtest');\n this.text.setSelectionRange(3,4);\n rt.replaceSelectionInMorph(this.text)\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'foo'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test05GetRichText: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichText();\n this.checkChunks([{textString: 'test', style: {fontWeight: 'bold'}}], rt)\n },\n test05bGetRichTextFromTo: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichTextFromTo(2, 4);\n this.checkChunks([{textString: 'te', style: {fontWeight: 'bold'}}], this.text)\n this.checkChunks([{textString: 'st', style: {fontWeight: 'bold'}}], rt)\n },\n\n\n\n\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ButtonMorphTests',\n'testing', {\n test01MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n morph = new lively.morphic.Button(bounds);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ListMorphTests',\n'testing', {\n test01SetAndRetrieveStringItems: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.assertEqualState(['1', '2', '3'], list.itemList);\n list.updateList(['foo']);\n this.assertEqualState(['foo'], list.itemList);\n },\n test02SelectAt: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['first']);\n this.world.addMorph(morph);\n morph.selectAt(0);\n\n this.assertEquals('first', morph.selection);\n // var morphNode = morph.renderContext().getMorphNode();\n // this.doMouseEvent({type: 'mousedown', pos: pt(10,8), target: morphNode, button: 0});\n },\n test03SelectListItem: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(morph);\n morph.updateList([\n {isListItem: true, string: 'foo', value: 23},\n {isListItem: true, string: 'bar', value: 24}])\n morph.selectAt(1);\n this.assertEquals(24, morph.selection);\n },\n\n test04ListMorphBoundsOnCreationInHTML: function() {\n var owner = lively.morphic.Morph.makeRectangle(0,0,10,10),\n list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n\n owner.addMorph(list)\n this.world.addMorph(owner);\n\n // FIXME depends on HTML\n this.assert(list.renderContext().listNode.clientHeight > 0, 'list node height is wrong')\n },\n test05ListMorphKeepsSelectionHighlightOnUpdateList: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(list);\n\n list.updateList([1,2,3]);\n list.setSelection(2);\n list.updateList([1,2,3]);\n\n var expected = {\n tagName: 'option',\n // attributes: {selected: true} // for some reason this does not work..\n };\n this.assertNodeMatches(expected, list.renderContext().subNodes[1]);\n this.assert(list.renderContext().subNodes[1].selected, 'not selected');\n },\n test06SetSelectionWithListItems: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [{isListItem: true, string: 'foo', value: 23}];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(23);\n\n this.assertEquals(0, list.selectedLineNo);\n },\n testAddMorphDuplicatesListsBug: function() {\n var list = new lively.morphic.List(new Rectangle(0,0,100,100), [1,2,3]),\n rect = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(list);\n this.world.addMorph(rect);\n rect.addMorph(list);\n\n this.assert(!this.world.submorphs.include(list), 'list in world submorphs')\n this.assert(rect.submorphs.include(list), 'list not in rect submorphs')\n },\n testUpdateListOnSelectionHighlightsSelectionCorrectly: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [1, 2, 3];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(2);\n this.assertEquals(1, list.selectedLineNo);\n\n connect(list, 'selection', list, 'onSelect')\n list.addScript(function onSelect(sel) { this.updateList(this.getList()) });\n\n list.setSelection(3);\n this.assertEquals(2, list.selectedLineNo);\n // FIXME implementation & HTML specific\n var isSelected = list.renderContext().subNodes[2].selected;\n this.assert(isSelected !== '', 'highlight wrong')\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MultipleSelectionListTests',\n'testing', {\n test01GetSelections: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.setSelection('2');\n this.assertEqualState(['2'], list.getSelections());\n },\n test02TurnOnMultipleSelectionMode: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.enableMultipleSelections();\n list.setSelections(['1','3'])\n this.assertEqualState(['1', '3'], list.getSelections());\n },\n test03SetSelection: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n list.enableMultipleSelections();\n list.setSelection('1')\n list.setSelection('3')\n list.setSelection(null)\n this.assertEqualState(['1', '3'], list.getSelections());\n list.clearSelections();\n this.assertEqualState([], list.getSelections());\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.AppTests',\n'testing', {\n test01ConfirmDialog: function() {\n var answer = false,\n dialog = this.world.confirm('Foo?', function(bool) { answer = bool });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'no button does not work')\n dialog.okButton.simulateButtonClick();\n this.assert(answer, 'yes button does not work')\n },\n test02PromptDialog: function() {\n var answer = 'nothing',\n dialog = this.world.prompt('Foo?', function(input) { answer = input });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'cancel button does not work')\n dialog.inputText.setTextString('test input')\n dialog.okButton.simulateButtonClick();\n this.assertEquals('test input', answer, 'ok button does not work')\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CanvasRenderingTests',\n'testing', {\n test01UseCanvasRendererForSimpleMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.Canvas.RenderContext())\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test02MorphAndSubmorphWithCanvas: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph()\n this.world.addMorph(m1);\n m1.renderUsing(new lively.morphic.Canvas.RenderContext())\n m1.addMorph(m2);\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n});\n\nTestCase.subclass('lively.morphic.Tests.SimilitudeTests',\n'testing', {\n test01PointTransform: function() {\n var globalPoint = pt(20,10),\n globalTransform = new lively.morphic.Similitude(pt(0,0), 0, pt(1,1)),\n localTransform = new lively.morphic.Similitude(pt(5,10), 0, pt(1,1)),\n globalizedInvertedLocal = localTransform.preConcatenate(globalTransform).inverse(),\n matrix = globalTransform.preConcatenate(globalizedInvertedLocal);\n this.assertEquals(pt(15, 0), globalPoint.matrixTransform(matrix))\n },\n});\n\nAsyncTestCase.subclass('lively.morphic.Tests.ScriptTests',\n'testing', {\n test01StartAndStopTicking: function() {\n var n = 0, script = new lively.morphic.FunctionScript(function() { script.stop(); n++; });\n script.startTicking(10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test02SuspendAndContinue: function() {\n var n = 0,\n script = lively.morphic.Script.forFunction(function() { n++; });\n script.startTicking(10);\n this.delay(function() { this.assertEquals(1, n, 'Script not run once'); script.suspend() }, 15);\n this.delay(function() { this.assertEquals(1, n, 'Script not suspended'); script.resume() }, 25);\n this.delay(function() {\n script.stop();\n this.assertEquals(2, n, 'Script not continued');\n this.done();\n }, 40);\n },\n test03MorphStartStepping: function() {\n var m = new lively.morphic.Morph(),\n arg = {callCount: 0};\n m.someFunction = function(arg) { arg.callCount++ };\n\n m.startStepping(10, 'someFunction', arg);\n this.delay(function() {\n m.remove();\n this.assertEquals(1, arg.callCount, 'someFunction not run once');\n }, 15);\n this.delay(function() {\n this.assertEquals(1, arg.callCount, 'arg call count changed although morph was removed');\n this.done();\n }, 30);\n },\n test04ScriptEquals: function() {\n var cb = function() { return 23 },\n script1 = new lively.morphic.FunctionScript(cb);\n script2 = new lively.morphic.FunctionScript(cb);\n this.assert(script1.equals(script1), 'identity not working');\n this.assert(script1.equals(script2), 'FunctionScript equals');\n\n script1 = new lively.morphic.TargetScript(this, 'foo', 33);\n script2 = new lively.morphic.TargetScript(this, 'foo', 44);\n this.assert(script1.equals(script1), 'identity not working Target');\n this.assert(script1.equals(script2), 'TargetScript equals');\n\n this.done()\n },\n test05StartSteppingChecksIfScriptIsThere: function() {\n var m = new lively.morphic.Morph();\n m.someFunction = function(arg) { return 33 };\n\n m.startStepping(10, 'someFunction');\n m.startStepping(20, 'someFunction');\n\n this.assertEquals(1, m.scripts.length, 'script added twice');\n this.assertEquals(20, m.scripts[0].tickTime, 'tickTime not OK');\n \n this.done();\n },\n test06FunctionScriptOnce: function() {\n var n = 0, cb = function() { n++; };\n lively.morphic.FunctionScript.once(cb, 10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test07MorphicDelayWorksLikeNormalDelay: function() {\n Global.test07MorphicDelayWorksLikeNormalDelayTriggered = false;\n var f = function() { Global.test07MorphicDelayWorksLikeNormalDelayTriggered = true }\n f.morphicDelay(20);\n this.delay(function() {\n this.assert(!Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was triggered too early');\n }, 10);\n this.delay(function() {\n this.assert(Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was not triggered');\n this.done();\n }, 30);\n }\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.SerializationTests',\n'testing', {\n test01SerializeSimpleWorld: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n this.world.addMorph(m1);\n m1.setName('SomeMorph');\n var json = lively.persistence.Serializer.serialize(this.world)\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n this.assertEquals(2, this.world.submorphs.length) // m1 and hand;\n this.assert(this.world.get('SomeMorph'), 'does not find morph with name from m1');\n this.assert(m1 !== this.world.submorphs[1], 'morphs are identical!!!');\n },\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.HaloTests',\n'testing', {\n test01ShowHalosForMorph: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(50,50, 100, 100);\n this.world.addMorph(m1);\n m1.showHalos();\n this.assertIdentity(m1, this.world.currentHaloTarget, 'halo target');\n this.assert(m1.halos.length > 0, 'morph has no halos?');\n },\n test02HalosStayInVisibleBounds: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n m1.align(m1.bounds().topRight(), this.world.bounds().topRight());\n this.world.addMorph(m1);\n m1.showHalos(); \n m1.halos.forEach(function(ea) {\n if (ea.constructor == lively.morphic.OriginHalo) return;\n if (ea.constructor == lively.morphic.RenameHalo) return;\n if (ea.constructor == lively.morphic.BoundsHalo) return;\n this.assert(this.world.visibleBounds().containsRect(ea.bounds()), 'halo ' + ea + ' not in visibleBounds')\n }, this)\n },\n testChangeExtentOfRectSoThatItFitsInOuter: function() {\n var outer, r, result;\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(0,0, 10, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(20,30, 10, 20), result);\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(40,40, 10, 12);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(r, result);\n\n outer = new Rectangle(20,30, 80, 70);\n r = new Rectangle(90,90, 20, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(90,90, 10, 10), result);\n },\n\n\n\n\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ImageTests',\n'testing', {\n testImageMorphHTML: function() {\n var url = 'http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png',\n morph = new lively.morphic.Image(new Rectangle(0,0,100,100), url) \n this.world.addMorph(morph);\n var expected = {\n tagName: 'div',\n childNodes: [{\n tagName: 'div',\n childNodes: [{tagName: 'img', attributes: {src: url}}]\n }],\n };\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode()); \n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MenuTests',\n'testing', {\n testWrongSubMenuItems: function() {\n var menu = lively.morphic.Menu.openAt(pt(0,0), 'test', [['foo', ['bar']], ['foo2', ['bar2']]]),\n item = menu.submorphs[1]; // 0 is title, 1 is first item\n this.doMouseEvent({type: 'mouseover', pos: pt(5,5), target: item.renderContext().getMorphNode()});\n this.assertEquals('bar', menu.subMenu.items[0].string, 'sub menu is wrong')\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n menuBounds, result, expected;\n\n // nothing to do when rect opens in visible range\n menuBounds = new Rectangle(0,0, 30, 20);\n expected = menuBounds;\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 1);\n\n // move bounds left besides opening point (hand) so that no accidental clicks occur\n menuBounds = new Rectangle(290,0, 30, 20);\n expected = new Rectangle(260,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 2);\n\n // if bottom of menu would be lower than bottom of visble bounds, translate it\n menuBounds = new Rectangle(0,90, 30, 20);\n expected = menuBounds.translatedBy(pt(0,-10));\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 3);\n },\n testTransformSubMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n mainMenuItemBounds, subMenuBounds, result, expected;\n\n // move rect so that it is next to menu item\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 1);\n\n // when too far right, move the submenu to the left\n mainMenuItemBounds = new Rectangle(290,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(290-30,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 2);\n\n // when too far below move the submenu up\n mainMenuItemBounds = new Rectangle(0,90, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,90-10, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 3);\n\n // when owner bounds to small align at top\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 10, 200);\n expected = new Rectangle(10,0, 10, 200);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 4);\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 20, 20),\n menuBounds = new Rectangle(10,10, 30, 30),\n // move 1px to right so hand is out of bounds\n expected = new Rectangle(1,0, 30, 30);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 'transformed when onerBounds smaller');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ExternalShapesTests',\n'testing', {\n test01AddADivShape: function() {\n //var div = stringToXML('
a test
');\n var div = document.createElement('div');\n div.innerHTML = \"a test\";\n var morph = new Morph(new lively.morphic.Shapes.External(div));\n this.world.addMorph(morph);\n this.assert(morph.getExtent().x > 0, 'width of morph not bigger than 0');\n this.assert(morph.getExtent().y > 0, 'height of morph not bigger than 0');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.LayoutTests',\n'testing', {\n test01DropJournalLayoutOnMorph: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.JournalLayout());\n this.world.addMorph(container);\n\n var text = new lively.morphic.Text();\n text.setExtent(new lively.Point(300, text.getExtent().y));\n text.setTextString('hello world');\n text.openInWorld();\n\n text.growOrShrinkToFit();\n container.addMorph(text);\n\n this.assertEquals(container.getExtent().y, 2*container.getLayouter().getBorderSize() + text.getExtent().y, \"expected morph's extent to be 200\");\n },\n test02ApplyHBoxLayout: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.HorizontalLayout());\n this.world.addMorph(container);\n\n var child = new Morph();\n child.setExtent(new lively.Point(200, 200));\n child.layout = {};\n child.layout.resizeWidth = true;\n child.openInWorld();\n\n container.addMorph(child);\n\n this.assertEquals(child.getExtent().x, container.getExtent().x - 2*container.getLayouter().getBorderSize(), \"expected child to fit into container\");\n },\n test03GridLayoutDefaultSizes: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var grid = new lively.morphic.Layout.GridLayout();\n container.setLayouter(grid);\n this.world.addMorph(container);\n\n for (var x = 0; x < grid.numCols; x++) {\n assertEquals(grid.defaultColWidth, grid.getMinColWidth(x), 'col width should be same as default');\n }\n for (var y = 0; y < grid.numRows; y++) {\n assertEquals(grid.defaultRowHeight, grid.getMinRowHeight(y), 'row height should be same as default');\n }\n },\n test04TileLayoutMovesFirstMorphToTopLeft: function() {\n var container = new lively.morphic.Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var l = new lively.morphic.Layout.TileLayout();\n container.setLayouter(l);\n this.world.addMorph(container);\n\n var m = new lively.morphic.Morph();\n\n container.addMorph(m);\n\n this.assertEquals(m.getPosition(), pt(l.getSpacing(), l.getSpacing()), 'TileLayout did not set correct position of first submorph');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.SelectionTest',\n'testing', {\n testGrabByHand: function() {\n LastWorld = this.world;\n\n var hand = this.world.hands.first();\n hand.setPosition(pt(10,10))\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(100,20))\n this.world.addMorph(morph2);\n\n var oldPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.world.selectionMorph.selectMorphs([morph1, morph2]);\n this.world.selectionMorph.grabByHand(hand);\n\n var newPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.assertEquals(oldPos, newPos, 'selection pos changed')\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n testDropOn: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(40,40))\n this.world.addMorph(morph2)\n\n this.world.selectionMorph.addMorph(morph1);\n this.world.selectionMorph.dropOn(morph2);\n\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n\n testAddMorph: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n testAddMorphWithSelectionInHand: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.hands.first().addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n },\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.RenderingTest',\n'testing', {\n test01NodeIsInDOM: function() {\n var m1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n m2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n m1.addMorph(m2);\n var domInterface = m1.renderContext().domInterface;\n this.assert(!domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node in DOM?')\n this.assert(!domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node in DOM?')\n this.world.addMorph(m1)\n this.assert(domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node not in DOM?') \n this.assert(domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node not in DOM?')\n },\n test02RenderCrossBrowserLinearGradient: function() {\n var gradient = new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\");\n expectedWebkit = '-webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0, rgb(204,0,0)),color-stop(0.8, rgb(0,204,0)))',\n expectedFirefox = '-moz-linear-gradient(90deg, rgb(204,0,0) 0%, rgb(0,204,0) 80%)';\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n test02bRenderCrossBrowserRadialGradient: function() {\n var gradient = new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3));\n expectedWebkit = \"-webkit-gradient(radial,50%30%,0,50%50%,50,color-stop(0,rgba(204,0,0,1)),color-stop(0.8,rgba(0,204,0,1)))\",\n expectedFirefox = '-moz-radial-gradient(50% 50%, circle cover, rgb(204,0,0) 0%, rgb(0,204,0) 80%)'\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult.replace(/\\s/g, '') || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n\n\n});\n\n\n}) // end of module\n","sourceString":"module('lively.morphic.tests.Morphic').requires('lively.TestFramework', 'lively.morphic.Complete', 'lively.morphic.Layout').toRun(function() {\n\nnamespace('lively.morphic.Tests'); // FIXME to be removed\n\nTestCase.subclass('lively.morphic.Tests.TestCase',\n'running', {\n tearDown: function($super) {\n $super();\n this.removeTestWorld();\n },\n},\n'helper', {\n removeTestWorld: function() {\n if (this.world) {\n this.world.remove();\n this.world = null;\n }\n if (this.oldAlert)\n Global.alert = this.oldAlert;\n if (this.existingWorld) {\n this.existingWorld.displayOnCanvas(document.getElementsByTagName('body')[0]);\n lively.morphic.World.currentWorld = this.existingWorld;\n this.existingWorld = null;\n }\n },\n openMorphsInRealWorld: function() {\n this.removeTestWorld();\n },\n createWorld: function() {\n if (this.world) return; // already created\n this.existingWorld = lively.morphic.World.current();\n this.world = lively.morphic.World.createOn(document.body, new Rectangle(0,0,300,300));\n this.oldAlert = Global.alert;\n Global.alert = function (msg) { this.existingWorld.alert(String(msg)) }.bind(this)\n },\n serializeAndDeserializeWorld: function() {\n if (!this.world) {\n alert('No test world created');\n return\n }\n var json = this.world.serializeToJSON();\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n },\n\n},\n'assertion', {\n assertNodeMatches: function(expected, node) {\n var self = this,\n fail = function fail(msg) { self.assert(false, msg) };\n if (!expected) fail('expected is null');\n if (!node) fail('node is null but should be ' + expected.tagName);\n if (expected.tagName != node.tagName) fail(expected.tagName + '!=' + node.tagName);\n if (expected.parentNode && (expected.parentNode !== node.parentNode))\n fail('parent is ' + node.parentNode + ' but should be ' + expected.parentNode);\n\n if (expected.textContent) {\n if (expected.textContent != node.textContent)\n fail('textContent ' + expected.textContent + ' != ' + node.textContent);\n }\n\n if (expected.attributes)\n Properties.forEachOwn(expected.attributes, function(key, expectedValue) {\n var actualValue = node.getAttribute(key);\n if (expectedValue instanceof RegExp) {\n if (!expectedValue.test(actualValue))\n fail('attribute ' + key + ' was ' + actualValue + ' and didn\\'t match ' + expectedValue);\n return\n }\n if (expectedValue != actualValue) {\n fail('attribute ' + key + ' not ' + expectedValue + ' but ' + actualValue);\n }\n });\n if (expected.style)\n Properties.forEachOwn(expected.style, function(key, expected) {\n if (!node.style[key]) {\n alert(\"Warning: \" + key + \" is falsy in \" + node + \".style\"); \n }\n var actualValue = node.style[key].replace(/ /g, '');\n if (Object.isFunction(expected)) {\n self.assert(expected.call(self, actualValue), 'value ' + actualValue + ' did no match')\n return\n }\n if (expected != actualValue)\n fail('style ' + key + ' not ' + expected + ' but ' + actualValue);\n });\n if (expected.childNodeLength)\n this.assertEquals(expected.childNodeLength, node.childNodes.length, 'childNode.length of ' + node)\n if (expected.childNodes)\n for (var i = 0; i < expected.childNodes.length; i++)\n this.assertNodeMatches(expected.childNodes[i], node.childNodes[i]);\n },\n});\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.WorldTests',\n'testing', {\n testAddWorldToDoc: function() {\n var canvasNode = document.body, bounds = new Rectangle(0, 0, 100, 100),\n world = new lively.morphic.World();\n try {\n world.setBounds(bounds);\n world.displayOnCanvas(canvasNode);\n\n var expected = {tagName: 'div', parentNode: canvasNode, childNodes: [{tagName: 'div'}]};\n this.assertNodeMatches(expected, world.renderContext().getMorphNode());\n } finally {\n world.remove();\n }\n },\n});\n\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.MorphTests',\n'running', {\n setUp: function($super) {\n $super();\n this.createWorld();\n },\n},\n'testing', {\n test01AddMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n this.assert(this.world.submorphs.include(m), 'not in submorphs');\n this.assertIdentity(this.world, m.owner, 'owner');\n\n var expected = {\n tagName: 'div', // world morph\n childNodes: [\n {tagName: 'div', childNodes: [ // world shape\n {tagName: 'div', childNodes: [{tagName: 'div'}]} // m and its shape\n ]}, \n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n test02aUseSVGRenderer: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext());\n\n var expected = {\n tagName: 'div', // world\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg', // submorph\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'rect'}]}]},\n ]}, // world's shape\n ]\n };\nconsole.log(Exporter.stringify(this.world.renderContext().getMorphNode()));\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n test03MorphWithSVGEllipse: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setShape(new lively.morphic.Shapes.Ellipse(new Rectangle(0,0, 30, 30)));\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg',\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'ellipse'}]}]}\n ]}, \n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test04MorphLocalize: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph2.setPosition(pt(10,10));\n this.assertEquals(pt(0,0), morph2.localize(pt(10,10)));\n },\n test04AddMorphBefore: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph(),\n morph3 = new lively.morphic.Morph();\n // Colors to identify the morphs are in correct order\n morph1.setFill(Color.green);\n morph2.setFill(Color.blue);\n morph3.setFill(Color.yellow);\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n this.world.addMorph(morph3, morph2);\n\n morph1.setExtent(pt(200, 200))\n morph2.setExtent(pt(100, 150))\n morph3.setExtent(pt(150, 100))\n\n // order back to front: morph1, morph3, morph2 \n /*var expected = {\n tagName: 'div', // morphNode\n childNodes: [{tagName: 'div', childNodes: [ // shape\n {tagName: 'div', childNodes: [ // submorphNode\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph1.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph3.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph2.getFill().toString()}}]},\n {tagName: 'div'} // hand\n ]}\n ]}]\n }\n\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());*/\n },\n\n testMorphBounds: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph1.setBounds(new Rectangle(100, 100, 40, 40));\n morph2.setBounds(new Rectangle(20, 10, 40, 40));\n this.assertEquals(new Rectangle(100, 100, 60, 50), morph1.getBounds());\n },\n test07MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n shape = new lively.morphic.Shapes.Rectangle(bounds);\n this.assertEquals(bounds, shape.getBounds(), 'shape bounds');\n var morph = new lively.morphic.Morph(shape);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n test08aCreateMorphWithLinearGradient: function() {\n var morph = new lively.morphic.Morph();\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\"));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(linear,0%0%,0%100%,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-linear-gradient(90deg,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n\n }]}\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test08bCreateMorphWithradialGradient: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3)));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(radial,50%30%,0,50%50%,25,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-radial-gradient(50%50%,circlefarthest-corner,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n }] \n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test09BorderColorAndWidth: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderColor(Color.green);\n morph.setBorderWidth(2.5);\n morph.setStrokeOpacity(0.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {\n // FIXME float conversion in style makes it hard to test directly\n 'border': function(result) { // \"2.5px solid rgba(0,204,0,0.5)\"\n return result.include('2.5px') && result.include('solid') && result.include('rgba(0,204')\n }\n }\n }] \n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test10BorderRadiusHTML: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderRadius(3.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: { 'border-top-left-radius': '3.5px3.5px'}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{tagName: 'div',\n style: {\"borderRadius\": \"3.5px3.5px3.5px3.5px\"}}]\n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test16MorphsContainingPoint: function() {\n var morph = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(20, 20, 30, 30), \n subsubmorph = lively.morphic.Morph.makeRectangle(25, 25, 5, 5),\n morph2 = lively.morphic.Morph.makeRectangle(48, 48, 100, 100);\n this.world.addMorph(morph)\n morph.addMorph(submorph)\n submorph.addMorph(subsubmorph)\n this.world.addMorph(morph2)\n\n var result, expected;\n\n result = morph.morphsContainingPoint(pt(-1,-1));\n this.assertEquals(0, result.length, 'for ' + pt(-1,-1));\n\n result = morph.morphsContainingPoint(pt(1,1));\n this.assertEquals(1, result.length, 'for ' + pt(1,1));\n this.assertEquals(morph, result[0], 'for ' + pt(1,1));\n\n result = morph.morphsContainingPoint(pt(40,40));\n this.assertEquals(2, result.length, 'for ' + pt(40,40));\n this.assertEquals(submorph, result[0]);\n this.assertEquals(morph, result[1]);\n\n result = morph.morphsContainingPoint(pt(45,45));\n this.assertEquals(3, result.length, 'for ' + pt(45,45));\n this.assertEquals(subsubmorph, result[0]);\n this.assertEquals(submorph, result[1]);\n this.assertEquals(morph, result[2]);\n\n result = this.world.morphsContainingPoint(pt(48,48));\n this.assertEquals(5, result.length, 'for ' + pt(48,48));\n this.assertEquals(morph2, result[0]);\n this.assertEquals(subsubmorph, result[1]);\n this.assertEquals(submorph, result[2]);\n this.assertEquals(morph, result[3]);\n this.assertEquals(this.world, result[4]);\n },\n test17MorphsContainingPointWithAddMorphFront: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n var result = this.world.morphsContainingPoint(pt(1,1));\nthis. openMorphsInRealWorld()\n// inspect(result)\n this.assertEquals(3, result.length);\n // this.assertEquals(this.world.firstHand(), result[0], 'for ' + pt(1,1));\n\n this.assertEquals(morph1, result[0], 'for ' + pt(1,1));\n this.assertEquals(morph2, result[1], 'for ' + pt(1,1));\n },\n test18OrderOfMorphsOnScrennAndInSubmorphArrayMatches: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n this.assertIdentity(this.world.submorphs[0], morph2, 'morph2 not @0')\n this.assertIdentity(this.world.submorphs[1], morph1, 'morph1 not @1')\n },\n test19MorphsContainingPointDosNotIncludeOffsetedOwner: function() {\n var owner = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(110, 10, 90, 90), \n other = lively.morphic.Morph.makeRectangle(100, 0, 100, 100);\n\n owner.name = 'owner'; submorph.name = 'submorph'; other.name = 'other';\n this.world.addMorph(owner)\n owner.addMorph(submorph)\n this.world.addMorphBack(other)\n\n var result = this.world.morphsContainingPoint(pt(150,50));\n this.assertEquals(3, result.length, 'for ' + pt(150,50));\n this.assertEquals(this.world, result[2], 'for 2');\n this.assertEquals(other, result[1], 'for 1');\n this.assertEquals(submorph, result[0], 'for 0');\n },\n\n test20setScalePointHTML: function() {\n var morph = lively.morphic.Morph.makeRectangle(0,0, 10, 10);\n morph.setScale(pt(2,3));\n this.assertEquals(pt(2,3), morph.getScale());\n this.assertEquals(pt(2,3), morph.getTransform().getScalePoint());\n var ctxt = morph.renderContext(),\n transformProp = ctxt.domInterface.html5TransformProperty;\n this.assert(/scale.+2.+3/, ctxt.morphNode.style[transformProp],\n 'css transform prop does not match');\n }\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.EventTests',\n'testing', {\n xtest05DropMorph: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n // this.world.addHandMorph();\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n morph1.setBounds(new Rectangle(0,0, 100, 100));\n morph2.setBounds(new Rectangle(0,0, 80, 80));\n morph1.applyStyle({fill: Color.red});\n morph2.applyStyle({fill: Color.green});\n\n // is already done by style settings\n // this.world.enableDropping();\n // morph1.enableDropping();\n // morph1.enableGrabbing();\n // morph2.enableDropping();\n // morph2.enableGrabbing();\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morph2.renderContext().getMorphNode(), button: 0});\n\n this.assert(this.world.firstHand().submorphs.include(morph2), 'morph not grabbed');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(20,20), target: this.world.renderContext().getMorphNode()});\n\n this.assert(morph1.submorphs.include(morph2), 'morph not dropped on morph2'); \n },\n test01DragMorph: function() {\n var dragStarted = false,\n dragMoved = false,\n dragEnded = false,\n morph = new lively.morphic.Morph(),\n morphNode = morph.renderContext().getMorphNode();\n this.world.addMorph(morph);\n morph.setBounds(new Rectangle(0,0, 100, 100));\n morph.applyStyle({fill: Color.red, enableDragging: true});\n\n morph.onDragStart = function() { dragStarted = true }\n morph.onDrag = function() { dragMoved = true }\n morph.onDragEnd = function() { dragEnded = true }\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morphNode, button: 0});\n this.assert(!dragStarted, 'drag already started after mousedown');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(25,25), target: morphNode, button: 0});\n this.assert(dragStarted, 'drag not started after mousedown and mousemove');\n this.assert(!dragMoved, 'drag already moved at dragStart');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragMoved, 'drag not moved after mousemove');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragEnded, 'dragEnd not called');\n },\n test02RelayMouseEventsToMorphBeneath: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n morph2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n\n morph2.relayMouseEventsToMorphBeneath();\n\n lively.morphic.EventSimulator.doMouseEvent(\n {type: 'mousedown', pos: pt(20,20), target: morph2, button: 0});\n this.assertIdentity(morph1, this.world.clickedOnMorph);\n },\n\n});\n \nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CopyMorphTests',\n'testing', {\n test01CopySimpleMorph: function() {\n var m = new lively.morphic.Morph()\n m.setBounds(new Rectangle(100, 100, 40, 40));\n var m2 = m.copy();\n this.assert(m !== m2, 'copied morph is identical to original morph')\n this.assertEquals(new Rectangle(100, 100, 40, 40), m2.getBounds());\n },\n test02ReferencedMorphThatIsNotASubmorphIsNotCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.addMorph(m2)\n m1.other = m3;\n this.world.addMorph(m3);\n var copy = m1.copy();\n this.assert(copy !== m1, 'copied morph is identical to original morph');\n this.assert(copy.submorphs[0] instanceof lively.morphic.Morph, 'submorph not copied');\n this.assert(copy.submorphs[0] !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.other === m3, 'referenced morph that is not a submorph is not identical')\n },\n test02bReferencedMorphThatIsNotASubmorphButIsNotInTheWorldIsCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n this.world.addMorph(m1);\n m2.addMorph(m3);\n m1.ref = m2;\n var copy = m1.copy();\n this.assert(copy.ref instanceof lively.morphic.Morph, 'ref not copied');\n this.assert(copy.ref !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.ref.submorphs[0] instanceof lively.morphic.Morph, 'm3 not copied');\n this.assert(copy.ref.submorphs[0] !== m3, 'm3 copied is identical to m3');\n },\n\n test03OwnerIsNotCopied: function() {\n var m = new lively.morphic.Morph();\n this.world.addMorph(m);\n var copy = m.copy();\n this.assert(!copy.owner, 'owner was copied');\n },\n test04CopyMorphTreeWithEventHandlers: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.enableGrabbing();\n m2.enableGrabbing();\n m3.enableGrabbing();\n m1.addMorph(m2)\n m2.addMorph(m3)\n this.world.addMorph(m1);\n var copy = m1.copy();\n this.world.addMorph(copy);\n this.assertEquals(2+1, this.world.submorphs.length); // +1 for hand\n this.assertEquals(1, copy.submorphs.length);\n this.assertEquals(1, copy.submorphs[0].submorphs.length);\n },\n test05CopySetsNewTargetForScripts: function() {\n var m1 = new lively.morphic.Morph();\n m1.startStepping(20, 'rotateBy', 0.1);\n var copy = m1.copy();\n\n this.assertIdentity(m1, m1.scripts[0].target, 'original target changed');\n this.assertIdentity(copy, copy.scripts[0].target, 'copy target changed');\n },\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphTests',\n'testing', {\n test01TextMorphHTML: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.setTextString('Foo');\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div', textContent: 'Foo'}] // text node\n }, \n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test02TextMorphSVG: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setTextString('Foo');\n var expected = {\n tagName: 'g',\n childNodes: [\n {tagName: 'rect'}, // shape\n {tagName: 'text', textContent: 'Foo'} // text node\n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test03TextStringIsConnectable: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n var resultObj = {result: null};\n connect(m, 'textString', resultObj, 'result');\n m.setTextString('Foo');\n this.assertEquals('Foo', resultObj.result);\n },\n test04GrowToFit: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 10, 20));\n this.world.addMorph(m);\n m.setTextString('a really long string longer than 10px')\n m.applyStyle({fixedWidth: false});\n this.assert(m.getExtent().x > 10, 'did not grow to fit text ' + m.bounds().width);\n },\n test04bFitReallyShrinksMorphinHTML: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 200));\n this.world.addMorph(m);\n m.setTextString('short')\n m.applyStyle({fixedWidth: false});\n m.fit();\n this.assert(m.getExtent().x < 100, 'did not shrink to fit text');\n },\n\n\n test05SetSelectionRange: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(0,1);\n this.assertEquals('1', m.selectionString());\n m.setSelectionRange(0,3);\n this.assertEquals('123', m.selectionString());\n m.setSelectionRange(-99,m.textString.length+10);\n this.assertEquals('123\\t567\\n9', m.selectionString());\n },\n test05bSetSelectionRangeRightToLeft: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(3, 0);\n this.assertEquals('123', m.selectionString());\n this.assertEqualState([3,0], m.getSelectionRange());\n },\n test05cCorrectNewlinesInSelection: function() {\n // added 2012-01-06. Firefox Selection>>toString replaces \\n with ' '\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assert(m.textString.indexOf(m.selectionString()) != -1);\n },\n\n\n test06ModifySelectedLinesInsertsAtCorrectPosition: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assertEquals('This\\nis\\na', m.selectionString())\n m.modifySelectedLines(function(ea) { return '+' + ea });\n this.assertEquals('+This\\n+is\\n+a\\ntest', m.textString);\n },\n test07aSplitText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n\n m.splitText();\n\n var newText = this.world.submorphs[this.world.submorphs.indexOf(m)+1]\n this.assert(newText.isText && newText !== m, 'no text created');\n this.assertEquals(m, newText.splittedFrom, 'spittedFrom field no correct');\n this.assertEquals('test', newText.textString, 'spittedFrom string');\n this.assertEquals('This is a ', m.textString, 'former text string not OK');\n this.assert(newText.bounds().top() > m.bounds().bottom(), 'not below old text');\n },\n test07bMergeText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n var splitted = m.splitText();\n splitted.emphasizeAll({fontWeight: 'bold'});\n splitted.mergeText();\n \n this.assert(!splitted.owner, 'splitted not removed');\n this.assertEquals('This is a test', m.textString, 'spittedFrom string');\n this.assertMatches({fontWeight: 'bold'}, m.getEmphasisAt(11))\n },\n test08CopyTextWithConnection: function() {\n // issue 285\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20), \"\");\n connect(m, 'textString', m, 'someOtherField')\n var copy = m.duplicate()\n this.assert(copy.textString == '', 'copy is broken') \n },\n\n\n\n\n\n\n\n\n\n\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphRichTextTests',\n'running', {\n setUp: function($super) {\n $super();\n this.text = new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // cop.withLayers([TextDevLayer], function() {\n // return new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // })\n // this.text.setWithLayers([TextDevLayer]);\n this.world.addMorph(this.text);\n },\n checkRunArray: function(expectedRunArray) {\n this.assertMatches(expectedRunArray.asArray(), this.text.textStyle.asArray());\n },\n checkChunks: function(expectedChunks, optTextChunkOwner) {\n var textChunkOwner = optTextChunkOwner || this.text;\n this.assertMatches(expectedChunks, textChunkOwner.getTextChunks());\n },\n\n checkDOM: function(expectedTextNodes) {\n // check what was actually rendered\n var expected = {\n tagName: 'div',\n childNodeLength: expectedTextNodes.length,\n childNodes: expectedTextNodes\n };\n this.assertNodeMatches(expected, this.text.renderContext().textNode);\n },\n\n\n},\n'testing', {\n test01MorphHasTextChunk: function() {\n// this. openMorphsInRealWorld()\n// inspect(this.text)\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('', chunks[0].textString);\n chunks[0].textString = 'foo';\n this.assertEquals('foo', this.text.textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test02MorphHasTextChunkWhenTextStringIsSet: function() {\n this.text.textString = 'foo'\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('foo', chunks[0].textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test03SplitAndJoinTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n var after = chunk.splitAfter(3);\n this.assertEquals('test', after.textString, 'after string');\n this.assertEquals('ein', chunk.textString, 'chunk string');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n\n chunk.joinWithNext();\n this.assertEquals('eintest', chunk.textString);\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}]);\n\n var before = chunk.splitBefore(3);\n this.assertEquals('ein', before.textString, 'before string');\n this.assertEquals(2, this.text.getTextChunks().length);\n },\n test03bCoalesceChunks: function() {\n this.text.setTextString('test');\n this.text.firstTextChunk().splitAfter(2);\n this.text.coalesceChunks()\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test03cSplitAtFrontAndBack: function() {\n this.text.setTextString('a');\n var after = this.text.firstTextChunk().splitAfter(1);\n this.assertEquals('', after.textString, 'splitAfter');\n var before = this.text.firstTextChunk().splitBefore(0);\n this.assertEquals('', before.textString, 'splitBefore');\n this.assertEquals(3, this.text.getTextChunks().length);\n },\n test03cSplittedChunkGetsStyle: function() {\n this.text.setTextString('abcdef');\n var chunk = this.text.firstTextChunk();\n chunk.style.setFontWeight('bold');\n var after = this.text.firstTextChunk().splitAfter(3);\n this.assertEquals('bold', after.style.getFontWeight());\n },\n\n\n\n test04SliceTextChunksSimple: function() {\n this.text.setTextString('eintest');\n var sliced = this.text.sliceTextChunks(0,3);\n this.assertEquals(1, sliced.length, 'sliced not oke');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n },\n\n test04SliceTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n chunk.splitAfter(3);\n var sliced = this.text.sliceTextChunks(2,6);\n this.assertEquals(4, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ei'},\n {tagName: 'span', textContent: 'n'},\n {tagName: 'span', textContent: 'tes'},\n {tagName: 'span', textContent: 't'}])\n },\n test04SliceTextChunksAgain: function() {\n this.text.setTextString('abc');\n var sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'first');\n sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'second');\n },\n\n test05StyleChunk: function() {\n this.text.setTextString('test');\n var chunk = this.text.firstTextChunk();\n chunk.styleText({fontWeight: 'bold'});\n this.checkDOM([{tagName: 'span', style: {fontWeight: 'bold'}}]);\n },\n test06MakeTextBold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n\n\n\n test07MakeTextBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 2);\n this.text.emphasize({fontWeight: 'normal'}, 0, 2);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test08ToggleBoldnessComplete: function() {\n this.text.setTextString('eintest');\n this.text.toggleBoldness(1, 6);\n this.checkDOM([\n {tagName: 'span', textContent: 'e'},\n {tagName: 'span', textContent: 'intes'},\n {tagName: 'span', textContent: 't'}])\n this.text.toggleBoldness(1, 6);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test09ChunksAreSerializable: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.text.name = 'testText';\n this.serializeAndDeserializeWorld();\n this.text = this.world.get('testText');\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n\n },\n test10ConvertSelectionRangeForEmphasis: function() {\n // the indexes used by text selection are currently different\n // to those used for emphasizing the text\n var testValues = [\n {sel: [0,0], emph: [0,0]},\n {sel: [0,7], emph: [0,7]},\n {sel: [1,1], emph: [1,1]},\n {sel: [2,0], emph: [0,2]},\n {sel: [8,0], emph: [0, 8]},\n {sel: [4,7], emph: [4,7]}];\n testValues.forEach(function(selAndEmph) {\n this.assertEqualState(\n selAndEmph.emph,\n this.text.convertSelectionRangeForEmphasis(selAndEmph.sel),\n 'sel conversion of ' + selAndEmph.sel);\n }, this)\n },\n test11ToggleBoldnessWithChunkWithMultipleTextNodes: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n this.text.insertAtCursor('foo');\n this.assertEquals('einfootest', this.text.textString, 'insert')\n this.checkDOM([\n {tagName: 'span', textContent: 'einfootest', childNodes: [\n {tagName: undefined, textContent: 'ein'},\n {tagName: undefined, textContent: 'foo'},\n {tagName: undefined, textContent: 'test'}\n ]},\n ])\n\n this.text.toggleBoldness(1, 9);\n this.checkDOM([\n {tagName: 'span', textContent: 'e', childNodes: [{textContent: 'e'}]},\n {tagName: 'span', textContent: 'infootes', childNodes: [{textContent: 'infootes'}]},\n {tagName: 'span', textContent: 't', childNodes: [{textContent: 't'}]},\n ])\n },\n test11FixChunksShouldKeepSlection: function() {\n this.text.setTextString('eintest');\n // add a text outside of chunks manually\n this.text.renderContext().textNode.appendChild(document.createTextNode('test'))\n this.text.setSelectionRange(2,5)\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest', childNodes: [\n {tagName: undefined, textContent: 'eintesttest'},\n ]},\n ])\n var range = this.text.getSelectionRange()\n this.assert(range, 'no selection range after fixChunks!')\n this.assertMatches([2, 5], range) // Inconsistency with selection ranges?\n },\n test12GetAndSetSelectionRangeHaveEqualValues: function() {\n this.text.setTextString('eintest');\n this.text.setSelectionRange(1, 6)\n this.assertEquals('intes', this.text.selectionString());\n this.assertMatches([1,6], this.text.getSelectionRange());\n },\n test13InsertedTextBetweenChunksIsAssimilated: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n\n var chunks = this.text.getTextChunks();\n this.assertEquals(2, chunks.length, 'test preparation: chunks not OK')\n\n var newNode = XHTMLNS.create('b')\n newNode.textContent = 'foo';\n\n this.text.renderContext().textNode.insertBefore(newNode, chunks[1].getChunkNode());\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abcfoo'},\n {tagName: 'span', textContent: 'def'},\n ])\n },\n test14GetEmphasisAt: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 1, 3);\n\n var emph, expected = ['normal', 'bold', 'bold', 'normal']\n expected.forEach(function(expectedFontWeight, i) {\n var emph = this.text.getEmphasisAt(i)\n this.assertEquals(expectedFontWeight, emph.getFontWeight(), i);\n },this)\n },\n\n test15GetChunkAndLocalIndex: function() {\n this.text.setTextString('abcdef');\n this.text.sliceTextChunks(1,3);\n this.checkDOM([\n {tagName: 'span', textContent: 'a'},\n {tagName: 'span', textContent: 'bc'},\n {tagName: 'span', textContent: 'def'},\n ]);\n\n var chunks = this.text.getTextChunks(), result;\n \n result = this.text.getChunkAndLocalIndex(0);\n this.assertEquals(chunks[0], result[0]); // test for chunk\n this.assertEquals(0, result[1]); // test for local index\n\n result = this.text.getChunkAndLocalIndex(1); // if chunks ends at idx we extend it\n this.assertEquals(chunks[0], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(2);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(1, true);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(0, result[1])\n },\n test16AddLink: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({uri: 'http://foo.com'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein', style: {uri: 'http://foo.com'}},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {textDecoration: 'underline'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test17AddLinkMakeBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n\n this.text.emphasize({uri: 'test'}, 3, 7)\n this.text.emphasize({fontWeight: 'bold'}, 0, 4)\n this.text.emphasize({fontWeight: 'normal'}, 0, 4)\n\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test', style: {textDecoration: 'underline'}}])\n },\n test18LinkifiedChunkShouldKeepLinkWhenTextStringChanges: function() {\n this.text.setTextString('foo');\n this.text.emphasize({uri: 'test'}, 0, 3);\n\n this.text.firstTextChunk().textString = 'bar'\n\n this.checkChunks([{textString: 'bar', style: {uri: 'test'}}])\n\n this.checkDOM([{\n tagName: 'span',\n textContent: 'bar',\n style: {textDecoration: 'underline'}\n }])\n },\n test19FixChunksShouldRemoveElements: function() {\n this.text.setTextString('eintest');\n\n // this happens when pasting rich text on windows, for now remove RT attributes\n var elem = XHTMLNS.create('a');\n elem.href = 'http://foo.com';\n elem.textContent = 'test';\n\n this.text.firstTextChunk().getChunkNode().appendChild(elem);\n\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest',\n // childNodes: [{tagName: undefined, textContent: 'eintesttest'}]\n },\n ])\n },\n test20HandleSplittedSpanNodes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('ac');\n\n var span = XHTMLNS.create('span');\n span.textContent = 'a';\n textNode.insertBefore(span, this.text.firstTextChunk().getChunkNode());\n\n var text = NodeFactory.createText('b');\n textNode.insertBefore(text, this.text.firstTextChunk().getChunkNode());\n\n this.text.firstTextChunk().textString = 'c';\n\n this.text.fixChunks();\n\n this.checkDOM([{tagName: 'span', textContent: 'abc'}]);\n },\n test21HandleSplittedSpanNodesAndTextAttributes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('abc');\n\n this.text.emphasize({fontWeight: 'bold'}, 1,3);\n var chunks = this.text.getTextChunks();\n\n var span = XHTMLNS.create('span');\n span.textContent = 'b';\n textNode.insertBefore(span, chunks.last().getChunkNode());\n // abbc\n\n var text = NodeFactory.createText('x');\n textNode.insertBefore(text, chunks.last().getChunkNode());\n // abxbc\n\n chunks.last().textString = 'c';\n // abxc\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abx'},\n {tagName: 'span', textContent: 'c', style: {fontWeight: 'bold'}}]);\n },\n test22ReclaimRemovedSpanNodesOnPaste: function() {\n // this happens when pasting normal text on Mac OS after a chunk\n // the span node of the chunk that is pasted into is removed and the chunkNode\n // has no parent anymore. The abandoned chunkNode should reclaim its old text + the isnerted\n\n // add new content\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\n\\nbar\\n\\nbaz');\n\n this.text.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.emphasize({fontWeight: 'bold'}, 10,13);\n var chunks = this.text.getTextChunks();\n\n // remove middle chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var text = NodeFactory.createText('\\n\\nbar zurp\\n\\n');\n textNode.insertBefore(text, chunks[2].getChunkNode());\n\n this.assertEquals('foo\\n\\nbar zurp\\n\\nbaz',textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: '\\n\\nbar zurp\\n\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'baz', style: {fontWeight: 'bold'}}]);\n\n },\n test23ReclaimRemovedChunkNodeAndReapplyTextAttributes: function() {\n // this happens when pasting normal text on Mac OS in attributed text (e.g. bold)\n // Chrome tries to complete render the span itself, e.g. using \n // the chunkNode is removed but the chunk still exists\n // this tests if the chunk can reclaim the text and set it's attributes again\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\nbar');\n\n this.text.emphasize({fontWeight: 'bold'}, 4,7);\n var chunks = this.text.getTextChunks();\n\n // remove last chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var b = XHTMLNS.create('b');\n b.textContent = 'morebar'\n textNode.appendChild(b);\n\n this.assertEquals('foo\\nmorebar', textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'morebar', style: {fontWeight: 'bold'}}]);\n }, \n\n test22EmphasizeRegex: function() {\n this.text.setTextString(\"a1b2c\");\n this.text.emphasizeRegex(/[0-9]/g, {color: Color.red});\n this.checkChunks([\n {textString: 'a', style: {color: null}},\n {textString: '1', style: {color: Color.red}},\n {textString: 'b', style: {color: null}},\n {textString: '2', style: {color: Color.red}},\n {textString: 'c', style: {color: null}},\n ])\n },\n richTextPasteData: 'ein test',\n\n test23aRichTextPaste: function() {\n var pastedText = this.richTextPasteData,\n rt = lively.morphic.HTMLParser.pastedHTMLToRichText(pastedText);\n this.assertEquals(2, rt.textChunks.length);\n this.assertEquals('ein ', rt.textChunks[0].textString);\n this.assertEquals('test', rt.textChunks[1].textString);\n this.assertEquals('normal', rt.textChunks[0].style.getFontWeight());\n this.assertEquals('bold', rt.textChunks[1].style.getFontWeight());\n \n },\n test24aInsertTextChunks: function() {\n this.text.setTextString('ein');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('test')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n test24bInsertTextChunks: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('foo')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'foo'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n\n test25SlicingTextChunksWithRangeWithLengthZero: function() {\n this.text.setTextString('ein');\n var newChunk = this.text.sliceTextChunks(3,3);\n this.assertEquals(2, this.text.textChunks.length)\n this.assertIdentity(newChunk[0], this.text.textChunks.last())\n },\n test26aUnEmphasize: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.unEmphasize(0,7);\n this.checkChunks(\n [{textString: 'eintest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'eintest', style: {fontWeight: ''}}])\n },\n test26bUnEmphasizePart: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.setSelectionRange(1,3);\n this.text.unEmphasizeSelection();\n var selRange = this.text.getSelectionRange();\n this.assertMatches([1,3], selRange)\n this.checkChunks(\n [{textString: 'e'},\n {textString: 'intest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'e', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'intest', style: {fontWeight: ''}}])\n },\n\n\n\n\n\n});\nlively.morphic.Tests.TextMorphRichTextTests.subclass('lively.morphic.Tests.RichTextTests',\n'testing', {\n test01CreateRichText: function() {\n var rt = new lively.morphic.RichText('test');\n this.text.setRichText(rt);\n this.assertEquals('test', this.text.textString)\n },\n test02GetRichText: function() {\n this.text.textString = 'test';\n var rt = this.text.getRichText();\n this.assertEquals('test', rt.textString)\n },\n test03EmphasizeRichText: function() {\n var rt = new lively.morphic.RichText('eintest');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.assertEquals(2, rt.textChunks.length, 'chunks not created in rich text')\n this.text.setRichText(rt);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test04InsertInText: function() {\n var rt = new lively.morphic.RichText('foo');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.setTextString('einxtest');\n this.text.setSelectionRange(3,4);\n rt.replaceSelectionInMorph(this.text)\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'foo'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test05GetRichText: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichText();\n this.checkChunks([{textString: 'test', style: {fontWeight: 'bold'}}], rt)\n },\n test05bGetRichTextFromTo: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichTextFromTo(2, 4);\n this.checkChunks([{textString: 'te', style: {fontWeight: 'bold'}}], this.text)\n this.checkChunks([{textString: 'st', style: {fontWeight: 'bold'}}], rt)\n },\n\n\n\n\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ButtonMorphTests',\n'testing', {\n test01MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n morph = new lively.morphic.Button(bounds);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ListMorphTests',\n'testing', {\n test01SetAndRetrieveStringItems: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.assertEqualState(['1', '2', '3'], list.itemList);\n list.updateList(['foo']);\n this.assertEqualState(['foo'], list.itemList);\n },\n test02SelectAt: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['first']);\n this.world.addMorph(morph);\n morph.selectAt(0);\n\n this.assertEquals('first', morph.selection);\n // var morphNode = morph.renderContext().getMorphNode();\n // this.doMouseEvent({type: 'mousedown', pos: pt(10,8), target: morphNode, button: 0});\n },\n test03SelectListItem: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(morph);\n morph.updateList([\n {isListItem: true, string: 'foo', value: 23},\n {isListItem: true, string: 'bar', value: 24}])\n morph.selectAt(1);\n this.assertEquals(24, morph.selection);\n },\n\n test04ListMorphBoundsOnCreationInHTML: function() {\n var owner = lively.morphic.Morph.makeRectangle(0,0,10,10),\n list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n\n owner.addMorph(list)\n this.world.addMorph(owner);\n\n // FIXME depends on HTML\n this.assert(list.renderContext().listNode.clientHeight > 0, 'list node height is wrong')\n },\n test05ListMorphKeepsSelectionHighlightOnUpdateList: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(list);\n\n list.updateList([1,2,3]);\n list.setSelection(2);\n list.updateList([1,2,3]);\n\n var expected = {\n tagName: 'option',\n // attributes: {selected: true} // for some reason this does not work..\n };\n this.assertNodeMatches(expected, list.renderContext().subNodes[1]);\n this.assert(list.renderContext().subNodes[1].selected, 'not selected');\n },\n test06SetSelectionWithListItems: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [{isListItem: true, string: 'foo', value: 23}];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(23);\n\n this.assertEquals(0, list.selectedLineNo);\n },\n testAddMorphDuplicatesListsBug: function() {\n var list = new lively.morphic.List(new Rectangle(0,0,100,100), [1,2,3]),\n rect = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(list);\n this.world.addMorph(rect);\n rect.addMorph(list);\n\n this.assert(!this.world.submorphs.include(list), 'list in world submorphs')\n this.assert(rect.submorphs.include(list), 'list not in rect submorphs')\n },\n testUpdateListOnSelectionHighlightsSelectionCorrectly: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [1, 2, 3];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(2);\n this.assertEquals(1, list.selectedLineNo);\n\n connect(list, 'selection', list, 'onSelect')\n list.addScript(function onSelect(sel) { this.updateList(this.getList()) });\n\n list.setSelection(3);\n this.assertEquals(2, list.selectedLineNo);\n // FIXME implementation & HTML specific\n var isSelected = list.renderContext().subNodes[2].selected;\n this.assert(isSelected !== '', 'highlight wrong')\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MultipleSelectionListTests',\n'testing', {\n test01GetSelections: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.setSelection('2');\n this.assertEqualState(['2'], list.getSelections());\n },\n test02TurnOnMultipleSelectionMode: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.enableMultipleSelections();\n list.setSelections(['1','3'])\n this.assertEqualState(['1', '3'], list.getSelections());\n },\n test03SetSelection: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n list.enableMultipleSelections();\n list.setSelection('1')\n list.setSelection('3')\n list.setSelection(null)\n this.assertEqualState(['1', '3'], list.getSelections());\n list.clearSelections();\n this.assertEqualState([], list.getSelections());\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.AppTests',\n'testing', {\n test01ConfirmDialog: function() {\n var answer = false,\n dialog = this.world.confirm('Foo?', function(bool) { answer = bool });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'no button does not work')\n dialog.okButton.simulateButtonClick();\n this.assert(answer, 'yes button does not work')\n },\n test02PromptDialog: function() {\n var answer = 'nothing',\n dialog = this.world.prompt('Foo?', function(input) { answer = input });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'cancel button does not work')\n dialog.inputText.setTextString('test input')\n dialog.okButton.simulateButtonClick();\n this.assertEquals('test input', answer, 'ok button does not work')\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CanvasRenderingTests',\n'testing', {\n test01UseCanvasRendererForSimpleMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.Canvas.RenderContext())\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test02MorphAndSubmorphWithCanvas: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph()\n this.world.addMorph(m1);\n m1.renderUsing(new lively.morphic.Canvas.RenderContext())\n m1.addMorph(m2);\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n});\n\nTestCase.subclass('lively.morphic.Tests.SimilitudeTests',\n'testing', {\n test01PointTransform: function() {\n var globalPoint = pt(20,10),\n globalTransform = new lively.morphic.Similitude(pt(0,0), 0, pt(1,1)),\n localTransform = new lively.morphic.Similitude(pt(5,10), 0, pt(1,1)),\n globalizedInvertedLocal = localTransform.preConcatenate(globalTransform).inverse(),\n matrix = globalTransform.preConcatenate(globalizedInvertedLocal);\n this.assertEquals(pt(15, 0), globalPoint.matrixTransform(matrix))\n },\n});\n\nAsyncTestCase.subclass('lively.morphic.Tests.ScriptTests',\n'testing', {\n test01StartAndStopTicking: function() {\n var n = 0, script = new lively.morphic.FunctionScript(function() { script.stop(); n++; });\n script.startTicking(10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test02SuspendAndContinue: function() {\n var n = 0,\n script = lively.morphic.Script.forFunction(function() { n++; });\n script.startTicking(10);\n this.delay(function() { this.assertEquals(1, n, 'Script not run once'); script.suspend() }, 15);\n this.delay(function() { this.assertEquals(1, n, 'Script not suspended'); script.resume() }, 25);\n this.delay(function() {\n script.stop();\n this.assertEquals(2, n, 'Script not continued');\n this.done();\n }, 40);\n },\n test03MorphStartStepping: function() {\n var m = new lively.morphic.Morph(),\n arg = {callCount: 0};\n m.someFunction = function(arg) { arg.callCount++ };\n\n m.startStepping(10, 'someFunction', arg);\n this.delay(function() {\n m.remove();\n this.assertEquals(1, arg.callCount, 'someFunction not run once');\n }, 15);\n this.delay(function() {\n this.assertEquals(1, arg.callCount, 'arg call count changed although morph was removed');\n this.done();\n }, 30);\n },\n test04ScriptEquals: function() {\n var cb = function() { return 23 },\n script1 = new lively.morphic.FunctionScript(cb);\n script2 = new lively.morphic.FunctionScript(cb);\n this.assert(script1.equals(script1), 'identity not working');\n this.assert(script1.equals(script2), 'FunctionScript equals');\n\n script1 = new lively.morphic.TargetScript(this, 'foo', 33);\n script2 = new lively.morphic.TargetScript(this, 'foo', 44);\n this.assert(script1.equals(script1), 'identity not working Target');\n this.assert(script1.equals(script2), 'TargetScript equals');\n\n this.done()\n },\n test05StartSteppingChecksIfScriptIsThere: function() {\n var m = new lively.morphic.Morph();\n m.someFunction = function(arg) { return 33 };\n\n m.startStepping(10, 'someFunction');\n m.startStepping(20, 'someFunction');\n\n this.assertEquals(1, m.scripts.length, 'script added twice');\n this.assertEquals(20, m.scripts[0].tickTime, 'tickTime not OK');\n \n this.done();\n },\n test06FunctionScriptOnce: function() {\n var n = 0, cb = function() { n++; };\n lively.morphic.FunctionScript.once(cb, 10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test07MorphicDelayWorksLikeNormalDelay: function() {\n Global.test07MorphicDelayWorksLikeNormalDelayTriggered = false;\n var f = function() { Global.test07MorphicDelayWorksLikeNormalDelayTriggered = true }\n f.morphicDelay(20);\n this.delay(function() {\n this.assert(!Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was triggered too early');\n }, 10);\n this.delay(function() {\n this.assert(Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was not triggered');\n this.done();\n }, 30);\n }\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.SerializationTests',\n'testing', {\n test01SerializeSimpleWorld: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n this.world.addMorph(m1);\n m1.setName('SomeMorph');\n var json = lively.persistence.Serializer.serialize(this.world)\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n this.assertEquals(2, this.world.submorphs.length) // m1 and hand;\n this.assert(this.world.get('SomeMorph'), 'does not find morph with name from m1');\n this.assert(m1 !== this.world.submorphs[1], 'morphs are identical!!!');\n },\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.HaloTests',\n'testing', {\n test01ShowHalosForMorph: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(50,50, 100, 100);\n this.world.addMorph(m1);\n m1.showHalos();\n this.assertIdentity(m1, this.world.currentHaloTarget, 'halo target');\n this.assert(m1.halos.length > 0, 'morph has no halos?');\n },\n test02HalosStayInVisibleBounds: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n m1.align(m1.bounds().topRight(), this.world.bounds().topRight());\n this.world.addMorph(m1);\n m1.showHalos(); \n m1.halos.forEach(function(ea) {\n if (ea.constructor == lively.morphic.OriginHalo) return;\n if (ea.constructor == lively.morphic.RenameHalo) return;\n if (ea.constructor == lively.morphic.BoundsHalo) return;\n this.assert(this.world.visibleBounds().containsRect(ea.bounds()), 'halo ' + ea + ' not in visibleBounds')\n }, this)\n },\n testChangeExtentOfRectSoThatItFitsInOuter: function() {\n var outer, r, result;\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(0,0, 10, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(20,30, 10, 20), result);\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(40,40, 10, 12);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(r, result);\n\n outer = new Rectangle(20,30, 80, 70);\n r = new Rectangle(90,90, 20, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(90,90, 10, 10), result);\n },\n\n\n\n\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ImageTests',\n'testing', {\n testImageMorphHTML: function() {\n var url = 'http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png',\n morph = new lively.morphic.Image(new Rectangle(0,0,100,100), url) \n this.world.addMorph(morph);\n var expected = {\n tagName: 'div',\n childNodes: [{\n tagName: 'div',\n childNodes: [{tagName: 'img', attributes: {src: url}}]\n }],\n };\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode()); \n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MenuTests',\n'testing', {\n testWrongSubMenuItems: function() {\n var menu = lively.morphic.Menu.openAt(pt(0,0), 'test', [['foo', ['bar']], ['foo2', ['bar2']]]),\n item = menu.submorphs[1]; // 0 is title, 1 is first item\n this.doMouseEvent({type: 'mouseover', pos: pt(5,5), target: item.renderContext().getMorphNode()});\n this.assertEquals('bar', menu.subMenu.items[0].string, 'sub menu is wrong')\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n menuBounds, result, expected;\n\n // nothing to do when rect opens in visible range\n menuBounds = new Rectangle(0,0, 30, 20);\n expected = menuBounds;\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 1);\n\n // move bounds left besides opening point (hand) so that no accidental clicks occur\n menuBounds = new Rectangle(290,0, 30, 20);\n expected = new Rectangle(260,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 2);\n\n // if bottom of menu would be lower than bottom of visble bounds, translate it\n menuBounds = new Rectangle(0,90, 30, 20);\n expected = menuBounds.translatedBy(pt(0,-10));\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 3);\n },\n testTransformSubMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n mainMenuItemBounds, subMenuBounds, result, expected;\n\n // move rect so that it is next to menu item\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 1);\n\n // when too far right, move the submenu to the left\n mainMenuItemBounds = new Rectangle(290,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(290-30,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 2);\n\n // when too far below move the submenu up\n mainMenuItemBounds = new Rectangle(0,90, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,90-10, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 3);\n\n // when owner bounds to small align at top\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 10, 200);\n expected = new Rectangle(10,0, 10, 200);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 4);\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 20, 20),\n menuBounds = new Rectangle(10,10, 30, 30),\n // move 1px to right so hand is out of bounds\n expected = new Rectangle(1,0, 30, 30);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 'transformed when onerBounds smaller');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ExternalShapesTests',\n'testing', {\n test01AddADivShape: function() {\n //var div = stringToXML('
a test
');\n var div = document.createElement('div');\n div.innerHTML = \"a test\";\n var morph = new Morph(new lively.morphic.Shapes.External(div));\n this.world.addMorph(morph);\n this.assert(morph.getExtent().x > 0, 'width of morph not bigger than 0');\n this.assert(morph.getExtent().y > 0, 'height of morph not bigger than 0');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.LayoutTests',\n'testing', {\n test01DropJournalLayoutOnMorph: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.JournalLayout());\n this.world.addMorph(container);\n\n var text = new lively.morphic.Text();\n text.setExtent(new lively.Point(300, text.getExtent().y));\n text.setTextString('hello world');\n text.openInWorld();\n\n text.growOrShrinkToFit();\n container.addMorph(text);\n\n this.assertEquals(container.getExtent().y, 2*container.getLayouter().getBorderSize() + text.getExtent().y, \"expected morph's extent to be 200\");\n },\n test02ApplyHBoxLayout: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.HorizontalLayout());\n this.world.addMorph(container);\n\n var child = new Morph();\n child.setExtent(new lively.Point(200, 200));\n child.layout = {};\n child.layout.resizeWidth = true;\n child.openInWorld();\n\n container.addMorph(child);\n\n this.assertEquals(child.getExtent().x, container.getExtent().x - 2*container.getLayouter().getBorderSize(), \"expected child to fit into container\");\n },\n test03GridLayoutDefaultSizes: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var grid = new lively.morphic.Layout.GridLayout();\n container.setLayouter(grid);\n this.world.addMorph(container);\n\n for (var x = 0; x < grid.numCols; x++) {\n assertEquals(grid.defaultColWidth, grid.getMinColWidth(x), 'col width should be same as default');\n }\n for (var y = 0; y < grid.numRows; y++) {\n assertEquals(grid.defaultRowHeight, grid.getMinRowHeight(y), 'row height should be same as default');\n }\n },\n test04TileLayoutMovesFirstMorphToTopLeft: function() {\n var container = new lively.morphic.Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var l = new lively.morphic.Layout.TileLayout();\n container.setLayouter(l);\n this.world.addMorph(container);\n\n var m = new lively.morphic.Morph();\n\n container.addMorph(m);\n\n this.assertEquals(m.getPosition(), pt(l.getSpacing(), l.getSpacing()), 'TileLayout did not set correct position of first submorph');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.SelectionTest',\n'testing', {\n testGrabByHand: function() {\n LastWorld = this.world;\n\n var hand = this.world.hands.first();\n hand.setPosition(pt(10,10))\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(100,20))\n this.world.addMorph(morph2);\n\n var oldPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.world.selectionMorph.selectMorphs([morph1, morph2]);\n this.world.selectionMorph.grabByHand(hand);\n\n var newPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.assertEquals(oldPos, newPos, 'selection pos changed')\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n testDropOn: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(40,40))\n this.world.addMorph(morph2)\n\n this.world.selectionMorph.addMorph(morph1);\n this.world.selectionMorph.dropOn(morph2);\n\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n\n testAddMorph: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n testAddMorphWithSelectionInHand: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.hands.first().addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n },\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.RenderingTest',\n'testing', {\n test01NodeIsInDOM: function() {\n var m1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n m2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n m1.addMorph(m2);\n var domInterface = m1.renderContext().domInterface;\n this.assert(!domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node in DOM?')\n this.assert(!domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node in DOM?')\n this.world.addMorph(m1)\n this.assert(domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node not in DOM?') \n this.assert(domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node not in DOM?')\n },\n test02RenderCrossBrowserLinearGradient: function() {\n var gradient = new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\");\n expectedWebkit = '-webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0, rgb(204,0,0)),color-stop(0.8, rgb(0,204,0)))',\n expectedFirefox = '-moz-linear-gradient(90deg, rgb(204,0,0) 0%, rgb(0,204,0) 80%)';\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n test02bRenderCrossBrowserRadialGradient: function() {\n var gradient = new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3));\n expectedWebkit = \"-webkit-gradient(radial,50%30%,0,50%50%,50,color-stop(0,rgba(204,0,0,1)),color-stop(0.8,rgba(0,204,0,1)))\",\n expectedFirefox = '-moz-radial-gradient(50% 50%, circle cover, rgb(204,0,0) 0%, rgb(0,204,0) 80%)'\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult.replace(/\\s/g, '') || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n\n\n});\n\n\n}) // end of module\n","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"targetURL":{"__isSmartRef__":true,"id":2375},"_rootNode":{"__isSmartRef__":true,"id":1900},"Pane1Selection":{"__isSmartRef__":true,"id":1925},"pane1Selection":{"__isSmartRef__":true,"id":1925},"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":[{"__isSmartRef__":true,"id":2201},{"__isSmartRef__":true,"id":2203},{"__isSmartRef__":true,"id":2205},{"__isSmartRef__":true,"id":2207},{"__isSmartRef__":true,"id":2209},{"__isSmartRef__":true,"id":2211},{"__isSmartRef__":true,"id":2213},{"__isSmartRef__":true,"id":2215},{"__isSmartRef__":true,"id":2217},{"__isSmartRef__":true,"id":2219},{"__isSmartRef__":true,"id":2221},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2225},{"__isSmartRef__":true,"id":2227},{"__isSmartRef__":true,"id":2229},{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2237},{"__isSmartRef__":true,"id":2239},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245}],"Pane1Content":[{"__isSmartRef__":true,"id":1897},{"__isSmartRef__":true,"id":2153},{"__isSmartRef__":true,"id":2154},{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2158},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161}],"view":{"__isSmartRef__":true,"id":1484},"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.tests.Morphic","Pane4Menu":[["-------"],["add method"]],"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"1637":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1638},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1638":{"submorphs":[{"__isSmartRef__":true,"id":1639}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1651},"derivationIds":[null],"id":"8ACABACE-9B1C-437E-8E5E-D04911EC5B8A","renderContextTable":{"__isSmartRef__":true,"id":1656},"eventHandler":{"__isSmartRef__":true,"id":1657},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1658},"priorExtent":{"__isSmartRef__":true,"id":1659},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1660},"label":{"__isSmartRef__":true,"id":1639},"command":{"__isSmartRef__":true,"id":1637},"attributeConnections":[{"__isSmartRef__":true,"id":1669},{"__isSmartRef__":true,"id":1670}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1639":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1640},"derivationIds":[null],"id":"426DAA92-93C2-479E-B074-7F22F0BF3D2C","renderContextTable":{"__isSmartRef__":true,"id":1645},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1646}],"eventHandler":{"__isSmartRef__":true,"id":1648},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1649},"priorExtent":{"__isSmartRef__":true,"id":1650},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1638},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1640":{"_Position":{"__isSmartRef__":true,"id":1641},"renderContextTable":{"__isSmartRef__":true,"id":1642},"_Extent":{"__isSmartRef__":true,"id":1643},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1644},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1641":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1642":{"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"},"1643":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1644":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1645":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1646":{"style":{"__isSmartRef__":true,"id":1647},"chunkOwner":{"__isSmartRef__":true,"id":1639},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1647":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1648":{"morph":{"__isSmartRef__":true,"id":1639},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1649":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1650":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1651":{"_Position":{"__isSmartRef__":true,"id":1652},"renderContextTable":{"__isSmartRef__":true,"id":1653},"_Extent":{"__isSmartRef__":true,"id":1654},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1655},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1652":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1653":{"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"},"1654":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1655":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1656":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1657":{"morph":{"__isSmartRef__":true,"id":1638},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1658":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1659":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1660":{"stops":[{"__isSmartRef__":true,"id":1661},{"__isSmartRef__":true,"id":1663},{"__isSmartRef__":true,"id":1665},{"__isSmartRef__":true,"id":1667}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1661":{"offset":0,"color":{"__isSmartRef__":true,"id":1662}},"1662":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1663":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1664}},"1664":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1665":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1666}},"1666":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1667":{"offset":1,"color":{"__isSmartRef__":true,"id":1668}},"1668":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1669":{"sourceObj":{"__isSmartRef__":true,"id":1638},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1637},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1670":{"sourceObj":{"__isSmartRef__":true,"id":1638},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1638},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1671},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1671":{"source":{"__isSmartRef__":true,"id":1638},"target":{"__isSmartRef__":true,"id":1638}},"1672":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1673},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1673":{"submorphs":[{"__isSmartRef__":true,"id":1674}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1686},"derivationIds":[null],"id":"CDEAE28B-FFF0-4E6C-A738-C8E6F88ACB9F","renderContextTable":{"__isSmartRef__":true,"id":1691},"eventHandler":{"__isSmartRef__":true,"id":1692},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1693},"priorExtent":{"__isSmartRef__":true,"id":1694},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1695},"label":{"__isSmartRef__":true,"id":1674},"command":{"__isSmartRef__":true,"id":1672},"attributeConnections":[{"__isSmartRef__":true,"id":1704},{"__isSmartRef__":true,"id":1705}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1674":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1675},"derivationIds":[null],"id":"97EDBF24-93AA-465B-B441-AA23661E9F3C","renderContextTable":{"__isSmartRef__":true,"id":1680},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1681}],"eventHandler":{"__isSmartRef__":true,"id":1683},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1684},"priorExtent":{"__isSmartRef__":true,"id":1685},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1673},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1675":{"_Position":{"__isSmartRef__":true,"id":1676},"renderContextTable":{"__isSmartRef__":true,"id":1677},"_Extent":{"__isSmartRef__":true,"id":1678},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1679},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1676":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1677":{"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"},"1678":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1679":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1680":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1681":{"style":{"__isSmartRef__":true,"id":1682},"chunkOwner":{"__isSmartRef__":true,"id":1674},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1682":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1683":{"morph":{"__isSmartRef__":true,"id":1674},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1684":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1685":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1686":{"_Position":{"__isSmartRef__":true,"id":1687},"renderContextTable":{"__isSmartRef__":true,"id":1688},"_Extent":{"__isSmartRef__":true,"id":1689},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1690},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1687":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1688":{"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"},"1689":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1690":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1691":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1692":{"morph":{"__isSmartRef__":true,"id":1673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1693":{"x":117.14285714285714,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1694":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1695":{"stops":[{"__isSmartRef__":true,"id":1696},{"__isSmartRef__":true,"id":1698},{"__isSmartRef__":true,"id":1700},{"__isSmartRef__":true,"id":1702}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1696":{"offset":0,"color":{"__isSmartRef__":true,"id":1697}},"1697":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1698":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1699}},"1699":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1700":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1701}},"1701":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1702":{"offset":1,"color":{"__isSmartRef__":true,"id":1703}},"1703":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1704":{"sourceObj":{"__isSmartRef__":true,"id":1673},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1672},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1705":{"sourceObj":{"__isSmartRef__":true,"id":1673},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1673},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1706},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1706":{"source":{"__isSmartRef__":true,"id":1673},"target":{"__isSmartRef__":true,"id":1673}},"1707":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1708},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1708":{"submorphs":[{"__isSmartRef__":true,"id":1709}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1721},"derivationIds":[null],"id":"34C74145-F721-4E96-B014-298645CCEFBC","renderContextTable":{"__isSmartRef__":true,"id":1726},"eventHandler":{"__isSmartRef__":true,"id":1727},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1728},"priorExtent":{"__isSmartRef__":true,"id":1729},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1730},"label":{"__isSmartRef__":true,"id":1709},"command":{"__isSmartRef__":true,"id":1707},"attributeConnections":[{"__isSmartRef__":true,"id":1739},{"__isSmartRef__":true,"id":1740}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1709":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1710},"derivationIds":[null],"id":"33E59765-7508-4D03-9604-360446D0971C","renderContextTable":{"__isSmartRef__":true,"id":1715},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1716}],"eventHandler":{"__isSmartRef__":true,"id":1718},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1719},"priorExtent":{"__isSmartRef__":true,"id":1720},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1708},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1710":{"_Position":{"__isSmartRef__":true,"id":1711},"renderContextTable":{"__isSmartRef__":true,"id":1712},"_Extent":{"__isSmartRef__":true,"id":1713},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1714},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1711":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1712":{"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"},"1713":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1714":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1715":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1716":{"style":{"__isSmartRef__":true,"id":1717},"chunkOwner":{"__isSmartRef__":true,"id":1709},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1717":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1718":{"morph":{"__isSmartRef__":true,"id":1709},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1719":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1720":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1721":{"_Position":{"__isSmartRef__":true,"id":1722},"renderContextTable":{"__isSmartRef__":true,"id":1723},"_Extent":{"__isSmartRef__":true,"id":1724},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1725},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1722":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1723":{"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"},"1724":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1725":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1726":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1727":{"morph":{"__isSmartRef__":true,"id":1708},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1728":{"x":234.28571428571428,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1729":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1730":{"stops":[{"__isSmartRef__":true,"id":1731},{"__isSmartRef__":true,"id":1733},{"__isSmartRef__":true,"id":1735},{"__isSmartRef__":true,"id":1737}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1731":{"offset":0,"color":{"__isSmartRef__":true,"id":1732}},"1732":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1733":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1734}},"1734":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1735":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1736}},"1736":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1737":{"offset":1,"color":{"__isSmartRef__":true,"id":1738}},"1738":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1739":{"sourceObj":{"__isSmartRef__":true,"id":1708},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1707},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1740":{"sourceObj":{"__isSmartRef__":true,"id":1708},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1708},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1741},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1741":{"source":{"__isSmartRef__":true,"id":1708},"target":{"__isSmartRef__":true,"id":1708}},"1742":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1743},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1743":{"submorphs":[{"__isSmartRef__":true,"id":1744}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1756},"derivationIds":[null],"id":"1FCD983A-D19F-4C7B-9019-C81196159FFE","renderContextTable":{"__isSmartRef__":true,"id":1761},"eventHandler":{"__isSmartRef__":true,"id":1762},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1763},"priorExtent":{"__isSmartRef__":true,"id":1764},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1765},"label":{"__isSmartRef__":true,"id":1744},"command":{"__isSmartRef__":true,"id":1742},"attributeConnections":[{"__isSmartRef__":true,"id":1774},{"__isSmartRef__":true,"id":1775}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1744":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1745},"derivationIds":[null],"id":"E24E0979-8B02-49C7-96DF-28C4B5E4E559","renderContextTable":{"__isSmartRef__":true,"id":1750},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1751}],"eventHandler":{"__isSmartRef__":true,"id":1753},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1754},"priorExtent":{"__isSmartRef__":true,"id":1755},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1743},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1745":{"_Position":{"__isSmartRef__":true,"id":1746},"renderContextTable":{"__isSmartRef__":true,"id":1747},"_Extent":{"__isSmartRef__":true,"id":1748},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1749},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1746":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1747":{"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"},"1748":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1749":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1750":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1751":{"style":{"__isSmartRef__":true,"id":1752},"chunkOwner":{"__isSmartRef__":true,"id":1744},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1752":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1753":{"morph":{"__isSmartRef__":true,"id":1744},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1754":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1755":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1756":{"_Position":{"__isSmartRef__":true,"id":1757},"renderContextTable":{"__isSmartRef__":true,"id":1758},"_Extent":{"__isSmartRef__":true,"id":1759},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1760},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1757":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1758":{"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"},"1759":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1760":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1761":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1762":{"morph":{"__isSmartRef__":true,"id":1743},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1763":{"x":351.42857142857144,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1764":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1765":{"stops":[{"__isSmartRef__":true,"id":1766},{"__isSmartRef__":true,"id":1768},{"__isSmartRef__":true,"id":1770},{"__isSmartRef__":true,"id":1772}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1766":{"offset":0,"color":{"__isSmartRef__":true,"id":1767}},"1767":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1768":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1769}},"1769":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1770":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1771}},"1771":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1772":{"offset":1,"color":{"__isSmartRef__":true,"id":1773}},"1773":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1774":{"sourceObj":{"__isSmartRef__":true,"id":1743},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1742},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1775":{"sourceObj":{"__isSmartRef__":true,"id":1743},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1743},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1776},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1776":{"source":{"__isSmartRef__":true,"id":1743},"target":{"__isSmartRef__":true,"id":1743}},"1777":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1778},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1778":{"submorphs":[{"__isSmartRef__":true,"id":1779}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1791},"derivationIds":[null],"id":"63D81C1E-8C56-48BF-BD02-4C1E6B5A510B","renderContextTable":{"__isSmartRef__":true,"id":1796},"eventHandler":{"__isSmartRef__":true,"id":1797},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1798},"priorExtent":{"__isSmartRef__":true,"id":1799},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1800},"label":{"__isSmartRef__":true,"id":1779},"command":{"__isSmartRef__":true,"id":1777},"attributeConnections":[{"__isSmartRef__":true,"id":1809},{"__isSmartRef__":true,"id":1810}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1779":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1780},"derivationIds":[null],"id":"A7C98AFA-19A2-4F29-BD1A-B9DE51DF1662","renderContextTable":{"__isSmartRef__":true,"id":1785},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1786}],"eventHandler":{"__isSmartRef__":true,"id":1788},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1789},"priorExtent":{"__isSmartRef__":true,"id":1790},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1778},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1780":{"_Position":{"__isSmartRef__":true,"id":1781},"renderContextTable":{"__isSmartRef__":true,"id":1782},"_Extent":{"__isSmartRef__":true,"id":1783},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1784},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1781":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1782":{"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"},"1783":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1784":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1785":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1786":{"style":{"__isSmartRef__":true,"id":1787},"chunkOwner":{"__isSmartRef__":true,"id":1779},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1787":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1788":{"morph":{"__isSmartRef__":true,"id":1779},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1789":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1790":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1791":{"_Position":{"__isSmartRef__":true,"id":1792},"renderContextTable":{"__isSmartRef__":true,"id":1793},"_Extent":{"__isSmartRef__":true,"id":1794},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1795},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1792":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1793":{"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"},"1794":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1795":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1797":{"morph":{"__isSmartRef__":true,"id":1778},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1798":{"x":468.57142857142856,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1799":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1800":{"stops":[{"__isSmartRef__":true,"id":1801},{"__isSmartRef__":true,"id":1803},{"__isSmartRef__":true,"id":1805},{"__isSmartRef__":true,"id":1807}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1801":{"offset":0,"color":{"__isSmartRef__":true,"id":1802}},"1802":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1803":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1804}},"1804":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1805":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1806}},"1806":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1807":{"offset":1,"color":{"__isSmartRef__":true,"id":1808}},"1808":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1809":{"sourceObj":{"__isSmartRef__":true,"id":1778},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1777},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1810":{"sourceObj":{"__isSmartRef__":true,"id":1778},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1778},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1811},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1811":{"source":{"__isSmartRef__":true,"id":1778},"target":{"__isSmartRef__":true,"id":1778}},"1812":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1813},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1813":{"submorphs":[{"__isSmartRef__":true,"id":1814}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1826},"derivationIds":[null],"id":"BC6F66A6-B63E-469A-9453-E5BEDDFACB47","renderContextTable":{"__isSmartRef__":true,"id":1831},"eventHandler":{"__isSmartRef__":true,"id":1832},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1833},"priorExtent":{"__isSmartRef__":true,"id":1834},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1835},"label":{"__isSmartRef__":true,"id":1814},"command":{"__isSmartRef__":true,"id":1812},"attributeConnections":[{"__isSmartRef__":true,"id":1844},{"__isSmartRef__":true,"id":1845}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1814":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1815},"derivationIds":[null],"id":"CC59C9DB-71A0-45E3-911F-C47548828F08","renderContextTable":{"__isSmartRef__":true,"id":1820},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1821}],"eventHandler":{"__isSmartRef__":true,"id":1823},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1824},"priorExtent":{"__isSmartRef__":true,"id":1825},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1813},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1815":{"_Position":{"__isSmartRef__":true,"id":1816},"renderContextTable":{"__isSmartRef__":true,"id":1817},"_Extent":{"__isSmartRef__":true,"id":1818},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1819},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1816":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1817":{"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"},"1818":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1819":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1821":{"style":{"__isSmartRef__":true,"id":1822},"chunkOwner":{"__isSmartRef__":true,"id":1814},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1822":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1823":{"morph":{"__isSmartRef__":true,"id":1814},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1824":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1825":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1826":{"_Position":{"__isSmartRef__":true,"id":1827},"renderContextTable":{"__isSmartRef__":true,"id":1828},"_Extent":{"__isSmartRef__":true,"id":1829},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1830},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1827":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1828":{"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"},"1829":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1830":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1831":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1832":{"morph":{"__isSmartRef__":true,"id":1813},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1833":{"x":585.7142857142857,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1834":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1835":{"stops":[{"__isSmartRef__":true,"id":1836},{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1840},{"__isSmartRef__":true,"id":1842}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1836":{"offset":0,"color":{"__isSmartRef__":true,"id":1837}},"1837":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1838":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1839}},"1839":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1840":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1841}},"1841":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1842":{"offset":1,"color":{"__isSmartRef__":true,"id":1843}},"1843":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1844":{"sourceObj":{"__isSmartRef__":true,"id":1813},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1812},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1845":{"sourceObj":{"__isSmartRef__":true,"id":1813},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1813},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1846},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1846":{"source":{"__isSmartRef__":true,"id":1813},"target":{"__isSmartRef__":true,"id":1813}},"1847":{"browser":{"__isSmartRef__":true,"id":1636},"button":{"__isSmartRef__":true,"id":1848},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"1848":{"submorphs":[{"__isSmartRef__":true,"id":1849}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1861},"derivationIds":[null],"id":"E5C45B89-51E3-4DC7-AE31-E10FEA08B8E4","renderContextTable":{"__isSmartRef__":true,"id":1866},"eventHandler":{"__isSmartRef__":true,"id":1867},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1868},"priorExtent":{"__isSmartRef__":true,"id":1869},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":1870},"label":{"__isSmartRef__":true,"id":1849},"command":{"__isSmartRef__":true,"id":1847},"attributeConnections":[{"__isSmartRef__":true,"id":1879},{"__isSmartRef__":true,"id":1880}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"1849":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1850},"derivationIds":[null],"id":"898134C9-47C6-4219-98D4-F0F3E8A2E8E3","renderContextTable":{"__isSmartRef__":true,"id":1855},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1856}],"eventHandler":{"__isSmartRef__":true,"id":1858},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":1859},"priorExtent":{"__isSmartRef__":true,"id":1860},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1848},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1850":{"_Position":{"__isSmartRef__":true,"id":1851},"renderContextTable":{"__isSmartRef__":true,"id":1852},"_Extent":{"__isSmartRef__":true,"id":1853},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1854},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1851":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1852":{"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"},"1853":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1854":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1855":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"1856":{"style":{"__isSmartRef__":true,"id":1857},"chunkOwner":{"__isSmartRef__":true,"id":1849},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1857":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1858":{"morph":{"__isSmartRef__":true,"id":1849},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1860":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1861":{"_Position":{"__isSmartRef__":true,"id":1862},"renderContextTable":{"__isSmartRef__":true,"id":1863},"_Extent":{"__isSmartRef__":true,"id":1864},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1865},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1862":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1863":{"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"},"1864":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1865":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1866":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1867":{"morph":{"__isSmartRef__":true,"id":1848},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1868":{"x":702.8571428571429,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1869":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1870":{"stops":[{"__isSmartRef__":true,"id":1871},{"__isSmartRef__":true,"id":1873},{"__isSmartRef__":true,"id":1875},{"__isSmartRef__":true,"id":1877}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1871":{"offset":0,"color":{"__isSmartRef__":true,"id":1872}},"1872":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1873":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1874}},"1874":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1875":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1876}},"1876":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1877":{"offset":1,"color":{"__isSmartRef__":true,"id":1878}},"1878":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1879":{"sourceObj":{"__isSmartRef__":true,"id":1848},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1847},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1880":{"sourceObj":{"__isSmartRef__":true,"id":1848},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1848},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1881},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1881":{"source":{"__isSmartRef__":true,"id":1848},"target":{"__isSmartRef__":true,"id":1848}},"1882":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1883":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1884":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1885":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1886":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1887":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"1888":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":1889},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2191},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"1889":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1890},"derivationIds":[null],"id":"AC283ACD-C6E1-48A6-84D9-33B4E4FBE8CF","renderContextTable":{"__isSmartRef__":true,"id":1896},"itemList":[{"__isSmartRef__":true,"id":1897},{"__isSmartRef__":true,"id":2153},{"__isSmartRef__":true,"id":2154},{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2158},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2162},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2163},"selectedLineNo":5,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2164},{"__isSmartRef__":true,"id":2169},{"__isSmartRef__":true,"id":2171},{"__isSmartRef__":true,"id":2173}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":2175},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2176},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"1890":{"_Position":{"__isSmartRef__":true,"id":1891},"renderContextTable":{"__isSmartRef__":true,"id":1892},"_Extent":{"__isSmartRef__":true,"id":1893},"_Padding":{"__isSmartRef__":true,"id":1894},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":1895},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1891":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1892":{"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"},"1893":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"1894":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"1895":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"1896":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"1897":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":1898}},"1898":{"target":{"__isSmartRef__":true,"id":1899},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1899":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/tests/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"1900":{"target":{"__isSmartRef__":true,"id":1065},"browser":{"__isSmartRef__":true,"id":1636},"parent":null,"allFiles":["lively/morphic/tests/EventTests.js","lively/morphic/tests/InspectorTests.js","lively/morphic/tests/TabTests.js","lively/morphic/tests/Connectors.js","lively/morphic/tests/PathTests.js","lively/morphic/tests/Morphic.js","lively/morphic/tests/DataGridTests.js","lively/morphic/tests/Morphic2.js"],"subNamespacePaths":[],"parentNamespacePath":{"__isSmartRef__":true,"id":1899},"_childNodes":[{"__isSmartRef__":true,"id":1898},{"__isSmartRef__":true,"id":1901},{"__isSmartRef__":true,"id":1902},{"__isSmartRef__":true,"id":1903},{"__isSmartRef__":true,"id":1918},{"__isSmartRef__":true,"id":1925},{"__isSmartRef__":true,"id":2126},{"__isSmartRef__":true,"id":2127},{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2152}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1901":{"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/Connectors.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1902":{"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/DataGridTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1903":{"target":{"__isSmartRef__":true,"id":1904},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/EventTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1904":{"name":"lively.morphic.tests.EventTests","type":"moduleDef","startIndex":0,"stopIndex":3284,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[{"__isSmartRef__":true,"id":1905},{"__isSmartRef__":true,"id":1906},{"__isSmartRef__":true,"id":1917}],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1905":{"name":null,"type":"comment","startIndex":102,"stopIndex":102,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1906":{"name":"lively.morphic.Tests.LockingTests","type":"klassDef","startIndex":103,"stopIndex":3260,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[{"__isSmartRef__":true,"id":1907},{"__isSmartRef__":true,"id":1909},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1912},{"__isSmartRef__":true,"id":1913},{"__isSmartRef__":true,"id":1914},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1916}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TestCase","categories":[{"__isSmartRef__":true,"id":1908},{"__isSmartRef__":true,"id":1910}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1907":{"name":"dragFromTo","type":"propertyDef","startIndex":191,"stopIndex":907,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1908},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1908":{"name":"helper","type":"categoryDef","startIndex":179,"stopIndex":910,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[{"__isSmartRef__":true,"id":1907}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1909":{"name":"test01MorphsAreUnlockedByDefault","type":"propertyDef","startIndex":926,"stopIndex":1081,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1910":{"name":"testing","type":"categoryDef","startIndex":912,"stopIndex":3257,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[{"__isSmartRef__":true,"id":1909},{"__isSmartRef__":true,"id":1911},{"__isSmartRef__":true,"id":1912},{"__isSmartRef__":true,"id":1913},{"__isSmartRef__":true,"id":1914},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1916}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1911":{"name":"test02MorphsCanBeLocked","type":"propertyDef","startIndex":1083,"stopIndex":1247,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1912":{"name":"test03SubmorphsGetLockedWhenOwnersAreLocked","type":"propertyDef","startIndex":1249,"stopIndex":1509,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1913":{"name":"test04SubmorphsCanOverwriteLocking","type":"propertyDef","startIndex":1511,"stopIndex":1782,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1914":{"name":"test05OwnerForcesLockingForSubmorphs","type":"propertyDef","startIndex":1784,"stopIndex":2076,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1915":{"name":"test06LockOwnerIsDraggableButNotItsSubmorphs","type":"propertyDef","startIndex":2078,"stopIndex":2695,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1916":{"name":"test07WhenOwnerIsLockedAndSubmorphUnlockedTheSubmorphShouldBeDragged","type":"propertyDef","startIndex":2697,"stopIndex":3249,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1910},"className":"lively.morphic.Tests.LockingTests","_owner":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1917":{"name":null,"type":"comment","startIndex":3261,"stopIndex":3261,"fileName":"lively/morphic/tests/EventTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1918":{"target":{"__isSmartRef__":true,"id":1919},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/InspectorTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1919":{"name":"lively.morphic.tests.InspectorTests","type":"moduleDef","startIndex":0,"stopIndex":341,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1921},{"__isSmartRef__":true,"id":1924}],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1920":{"name":null,"type":"comment","startIndex":125,"stopIndex":125,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1921":{"name":"lively.morphic.Tests.TreeNodeTests","type":"klassDef","startIndex":126,"stopIndex":321,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[{"__isSmartRef__":true,"id":1922}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.tests.TestCase","categories":[{"__isSmartRef__":true,"id":1923}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1922":{"name":"test01createTreeNode","type":"propertyDef","startIndex":217,"stopIndex":316,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1923},"className":"lively.morphic.Tests.TreeNodeTests","_owner":{"__isSmartRef__":true,"id":1921},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1923":{"name":"testing","type":"categoryDef","startIndex":204,"stopIndex":318,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[{"__isSmartRef__":true,"id":1922}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1924":{"name":null,"type":"comment","startIndex":322,"stopIndex":322,"fileName":"lively/morphic/tests/InspectorTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1925":{"target":{"__isSmartRef__":true,"id":1926},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/Morphic.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"1926":{"name":"lively.morphic.tests.Morphic","type":"moduleDef","startIndex":0,"stopIndex":80173,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1927},{"__isSmartRef__":true,"id":1928},{"__isSmartRef__":true,"id":1929},{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1940},{"__isSmartRef__":true,"id":1943},{"__isSmartRef__":true,"id":1944},{"__isSmartRef__":true,"id":1964},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1970},{"__isSmartRef__":true,"id":1971},{"__isSmartRef__":true,"id":1979},{"__isSmartRef__":true,"id":1993},{"__isSmartRef__":true,"id":1994},{"__isSmartRef__":true,"id":2038},{"__isSmartRef__":true,"id":2046},{"__isSmartRef__":true,"id":2049},{"__isSmartRef__":true,"id":2059},{"__isSmartRef__":true,"id":2064},{"__isSmartRef__":true,"id":2068},{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2073},{"__isSmartRef__":true,"id":2076},{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2086},{"__isSmartRef__":true,"id":2089},{"__isSmartRef__":true,"id":2094},{"__isSmartRef__":true,"id":2095},{"__isSmartRef__":true,"id":2098},{"__isSmartRef__":true,"id":2104},{"__isSmartRef__":true,"id":2107},{"__isSmartRef__":true,"id":2113},{"__isSmartRef__":true,"id":2119},{"__isSmartRef__":true,"id":2120},{"__isSmartRef__":true,"id":2125}],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1927":{"name":null,"type":"comment","startIndex":143,"stopIndex":143,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1928":{"name":null,"type":"unknown","startIndex":144,"stopIndex":202,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1929":{"name":"lively.morphic.Tests.TestCase","type":"klassDef","startIndex":203,"stopIndex":3968,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1930},{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1936},{"__isSmartRef__":true,"id":1937}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"TestCase","categories":[{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1938}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1930":{"name":"tearDown","type":"propertyDef","startIndex":267,"stopIndex":355,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1931},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1931":{"name":"running","type":"categoryDef","startIndex":254,"stopIndex":358,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1930}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1932":{"name":"removeTestWorld","type":"propertyDef","startIndex":372,"stopIndex":821,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1933},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1933":{"name":"helper","type":"categoryDef","startIndex":360,"stopIndex":1590,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1936}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1934":{"name":"openMorphsInRealWorld","type":"propertyDef","startIndex":823,"stopIndex":900,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1933},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1935":{"name":"createWorld","type":"propertyDef","startIndex":902,"stopIndex":1273,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1933},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1936":{"name":"serializeAndDeserializeWorld","type":"propertyDef","startIndex":1275,"stopIndex":1586,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1933},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1937":{"name":"assertNodeMatches","type":"propertyDef","startIndex":1607,"stopIndex":3963,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1938},"className":"lively.morphic.Tests.TestCase","_owner":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1938":{"name":"assertion","type":"categoryDef","startIndex":1592,"stopIndex":3965,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1937}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1939":{"name":null,"type":"comment","startIndex":3969,"stopIndex":3969,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1940":{"name":"lively.morphic.Tests.WorldTests","type":"klassDef","startIndex":3970,"stopIndex":4573,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1941}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TestCase","categories":[{"__isSmartRef__":true,"id":1942}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1941":{"name":"testAddWorldToDoc","type":"propertyDef","startIndex":4057,"stopIndex":4568,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1942},"className":"lively.morphic.Tests.WorldTests","_owner":{"__isSmartRef__":true,"id":1940},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1942":{"name":"testing","type":"categoryDef","startIndex":4044,"stopIndex":4570,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1941}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1943":{"name":null,"type":"comment","startIndex":4574,"stopIndex":4575,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1944":{"name":"lively.morphic.Tests.MorphTests","type":"klassDef","startIndex":4576,"stopIndex":17099,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1950},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1952},{"__isSmartRef__":true,"id":1953},{"__isSmartRef__":true,"id":1954},{"__isSmartRef__":true,"id":1955},{"__isSmartRef__":true,"id":1956},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1958},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1960},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1962},{"__isSmartRef__":true,"id":1963}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TestCase","categories":[{"__isSmartRef__":true,"id":1946},{"__isSmartRef__":true,"id":1948}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1945":{"name":"setUp","type":"propertyDef","startIndex":4663,"stopIndex":4744,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1946},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1946":{"name":"running","type":"categoryDef","startIndex":4650,"stopIndex":4747,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1945}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1947":{"name":"test01AddMorph","type":"propertyDef","startIndex":4762,"stopIndex":5375,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1948":{"name":"testing","type":"categoryDef","startIndex":4749,"stopIndex":17096,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1950},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1952},{"__isSmartRef__":true,"id":1953},{"__isSmartRef__":true,"id":1954},{"__isSmartRef__":true,"id":1955},{"__isSmartRef__":true,"id":1956},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1958},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1960},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1962},{"__isSmartRef__":true,"id":1963}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1949":{"name":"test02aUseSVGRenderer","type":"propertyDef","startIndex":5377,"stopIndex":6111,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1950":{"name":"test03MorphWithSVGEllipse","type":"propertyDef","startIndex":6114,"stopIndex":6822,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1951":{"name":"test04MorphLocalize","type":"propertyDef","startIndex":6826,"stopIndex":7140,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1952":{"name":"test04AddMorphBefore","type":"propertyDef","startIndex":7142,"stopIndex":8562,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1953":{"name":"testMorphBounds","type":"propertyDef","startIndex":8565,"stopIndex":8968,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1954":{"name":"test07MorphBoundsOnCreation","type":"propertyDef","startIndex":8970,"stopIndex":9331,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1955":{"name":"test08aCreateMorphWithLinearGradient","type":"propertyDef","startIndex":9333,"stopIndex":10326,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1956":{"name":"test08bCreateMorphWithradialGradient","type":"propertyDef","startIndex":10328,"stopIndex":11374,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1957":{"name":"test09BorderColorAndWidth","type":"propertyDef","startIndex":11376,"stopIndex":12233,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1958":{"name":"test10BorderRadiusHTML","type":"propertyDef","startIndex":12235,"stopIndex":12971,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1959":{"name":"test16MorphsContainingPoint","type":"propertyDef","startIndex":12973,"stopIndex":14653,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1960":{"name":"test17MorphsContainingPointWithAddMorphFront","type":"propertyDef","startIndex":14655,"stopIndex":15319,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1961":{"name":"test18OrderOfMorphsOnScrennAndInSubmorphArrayMatches","type":"propertyDef","startIndex":15321,"stopIndex":15779,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1962":{"name":"test19MorphsContainingPointDosNotIncludeOffsetedOwner","type":"propertyDef","startIndex":15781,"stopIndex":16573,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1963":{"name":"test20setScalePointHTML","type":"propertyDef","startIndex":16576,"stopIndex":17095,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1948},"className":"lively.morphic.Tests.MorphTests","_owner":{"__isSmartRef__":true,"id":1944},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1964":{"name":null,"type":"comment","startIndex":17100,"stopIndex":17101,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1965":{"name":"lively.morphic.Tests.EventTests","type":"klassDef","startIndex":17102,"stopIndex":20132,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1966},{"__isSmartRef__":true,"id":1968},{"__isSmartRef__":true,"id":1969}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":1967}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1966":{"name":"xtest05DropMorph","type":"propertyDef","startIndex":17191,"stopIndex":18300,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1967},"className":"lively.morphic.Tests.EventTests","_owner":{"__isSmartRef__":true,"id":1965},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1967":{"name":"testing","type":"categoryDef","startIndex":17178,"stopIndex":20129,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1966},{"__isSmartRef__":true,"id":1968},{"__isSmartRef__":true,"id":1969}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1968":{"name":"test01DragMorph","type":"propertyDef","startIndex":18302,"stopIndex":19605,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1967},"className":"lively.morphic.Tests.EventTests","_owner":{"__isSmartRef__":true,"id":1965},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1969":{"name":"test02RelayMouseEventsToMorphBeneath","type":"propertyDef","startIndex":19607,"stopIndex":20126,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1967},"className":"lively.morphic.Tests.EventTests","_owner":{"__isSmartRef__":true,"id":1965},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1970":{"name":null,"type":"comment","startIndex":20133,"stopIndex":20137,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1971":{"name":"lively.morphic.Tests.CopyMorphTests","type":"klassDef","startIndex":20138,"stopIndex":23121,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1974},{"__isSmartRef__":true,"id":1975},{"__isSmartRef__":true,"id":1976},{"__isSmartRef__":true,"id":1977},{"__isSmartRef__":true,"id":1978}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":1973}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1972":{"name":"test01CopySimpleMorph","type":"propertyDef","startIndex":20231,"stopIndex":20553,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1973":{"name":"testing","type":"categoryDef","startIndex":20218,"stopIndex":23118,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1974},{"__isSmartRef__":true,"id":1975},{"__isSmartRef__":true,"id":1976},{"__isSmartRef__":true,"id":1977},{"__isSmartRef__":true,"id":1978}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1974":{"name":"test02ReferencedMorphThatIsNotASubmorphIsNotCopied","type":"propertyDef","startIndex":20555,"stopIndex":21249,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1975":{"name":"test02bReferencedMorphThatIsNotASubmorphButIsNotInTheWorldIsCopied","type":"propertyDef","startIndex":21251,"stopIndex":21933,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1976":{"name":"test03OwnerIsNotCopied","type":"propertyDef","startIndex":21936,"stopIndex":22141,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1977":{"name":"test04CopyMorphTreeWithEventHandlers","type":"propertyDef","startIndex":22143,"stopIndex":22766,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1978":{"name":"test05CopySetsNewTargetForScripts","type":"propertyDef","startIndex":22768,"stopIndex":23112,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1973},"className":"lively.morphic.Tests.CopyMorphTests","_owner":{"__isSmartRef__":true,"id":1971},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1979":{"name":"lively.morphic.Tests.TextMorphTests","type":"klassDef","startIndex":23122,"stopIndex":28489,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1980},{"__isSmartRef__":true,"id":1982},{"__isSmartRef__":true,"id":1983},{"__isSmartRef__":true,"id":1984},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1986},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":1988},{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1990},{"__isSmartRef__":true,"id":1991},{"__isSmartRef__":true,"id":1992}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":1981}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1980":{"name":"test01TextMorphHTML","type":"propertyDef","startIndex":23215,"stopIndex":23682,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1981":{"name":"testing","type":"categoryDef","startIndex":23202,"stopIndex":28486,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1980},{"__isSmartRef__":true,"id":1982},{"__isSmartRef__":true,"id":1983},{"__isSmartRef__":true,"id":1984},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1986},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":1988},{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1990},{"__isSmartRef__":true,"id":1991},{"__isSmartRef__":true,"id":1992}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1982":{"name":"test02TextMorphSVG","type":"propertyDef","startIndex":23684,"stopIndex":24174,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1983":{"name":"test03TextStringIsConnectable","type":"propertyDef","startIndex":24176,"stopIndex":24482,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1984":{"name":"test04GrowToFit","type":"propertyDef","startIndex":24484,"stopIndex":24823,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1985":{"name":"test04bFitReallyShrinksMorphinHTML","type":"propertyDef","startIndex":24825,"stopIndex":25153,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1986":{"name":"test05SetSelectionRange","type":"propertyDef","startIndex":25157,"stopIndex":25661,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1987":{"name":"test05bSetSelectionRangeRightToLeft","type":"propertyDef","startIndex":25663,"stopIndex":26034,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1988":{"name":"test05cCorrectNewlinesInSelection","type":"propertyDef","startIndex":26036,"stopIndex":26423,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1989":{"name":"test06ModifySelectedLinesInsertsAtCorrectPosition","type":"propertyDef","startIndex":26427,"stopIndex":26874,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1990":{"name":"test07aSplitText","type":"propertyDef","startIndex":26876,"stopIndex":27607,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1991":{"name":"test07bMergeText","type":"propertyDef","startIndex":27609,"stopIndex":28173,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1992":{"name":"test08CopyTextWithConnection","type":"propertyDef","startIndex":28175,"stopIndex":28474,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1981},"className":"lively.morphic.Tests.TextMorphTests","_owner":{"__isSmartRef__":true,"id":1979},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1993":{"name":null,"type":"comment","startIndex":28490,"stopIndex":28490,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1994":{"name":"lively.morphic.Tests.TextMorphRichTextTests","type":"klassDef","startIndex":28491,"stopIndex":50675,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1995},{"__isSmartRef__":true,"id":1997},{"__isSmartRef__":true,"id":1998},{"__isSmartRef__":true,"id":1999},{"__isSmartRef__":true,"id":2000},{"__isSmartRef__":true,"id":2002},{"__isSmartRef__":true,"id":2003},{"__isSmartRef__":true,"id":2004},{"__isSmartRef__":true,"id":2005},{"__isSmartRef__":true,"id":2006},{"__isSmartRef__":true,"id":2007},{"__isSmartRef__":true,"id":2008},{"__isSmartRef__":true,"id":2009},{"__isSmartRef__":true,"id":2010},{"__isSmartRef__":true,"id":2011},{"__isSmartRef__":true,"id":2012},{"__isSmartRef__":true,"id":2013},{"__isSmartRef__":true,"id":2014},{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2016},{"__isSmartRef__":true,"id":2017},{"__isSmartRef__":true,"id":2018},{"__isSmartRef__":true,"id":2019},{"__isSmartRef__":true,"id":2020},{"__isSmartRef__":true,"id":2021},{"__isSmartRef__":true,"id":2022},{"__isSmartRef__":true,"id":2023},{"__isSmartRef__":true,"id":2024},{"__isSmartRef__":true,"id":2025},{"__isSmartRef__":true,"id":2026},{"__isSmartRef__":true,"id":2027},{"__isSmartRef__":true,"id":2028},{"__isSmartRef__":true,"id":2029},{"__isSmartRef__":true,"id":2030},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2032},{"__isSmartRef__":true,"id":2033},{"__isSmartRef__":true,"id":2034},{"__isSmartRef__":true,"id":2035},{"__isSmartRef__":true,"id":2036},{"__isSmartRef__":true,"id":2037}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":1996},{"__isSmartRef__":true,"id":2001}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1995":{"name":"setUp","type":"propertyDef","startIndex":28592,"stopIndex":28958,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1996},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1996":{"name":"running","type":"categoryDef","startIndex":28579,"stopIndex":29647,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":1995},{"__isSmartRef__":true,"id":1997},{"__isSmartRef__":true,"id":1998},{"__isSmartRef__":true,"id":1999}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1997":{"name":"checkRunArray","type":"propertyDef","startIndex":28960,"stopIndex":29100,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1996},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1998":{"name":"checkChunks","type":"propertyDef","startIndex":29102,"stopIndex":29307,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1996},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"1999":{"name":"checkDOM","type":"propertyDef","startIndex":29310,"stopIndex":29642,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":1996},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2000":{"name":"test01MorphHasTextChunk","type":"propertyDef","startIndex":29662,"stopIndex":30067,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2001":{"name":"testing","type":"categoryDef","startIndex":29649,"stopIndex":50672,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2000},{"__isSmartRef__":true,"id":2002},{"__isSmartRef__":true,"id":2003},{"__isSmartRef__":true,"id":2004},{"__isSmartRef__":true,"id":2005},{"__isSmartRef__":true,"id":2006},{"__isSmartRef__":true,"id":2007},{"__isSmartRef__":true,"id":2008},{"__isSmartRef__":true,"id":2009},{"__isSmartRef__":true,"id":2010},{"__isSmartRef__":true,"id":2011},{"__isSmartRef__":true,"id":2012},{"__isSmartRef__":true,"id":2013},{"__isSmartRef__":true,"id":2014},{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2016},{"__isSmartRef__":true,"id":2017},{"__isSmartRef__":true,"id":2018},{"__isSmartRef__":true,"id":2019},{"__isSmartRef__":true,"id":2020},{"__isSmartRef__":true,"id":2021},{"__isSmartRef__":true,"id":2022},{"__isSmartRef__":true,"id":2023},{"__isSmartRef__":true,"id":2024},{"__isSmartRef__":true,"id":2025},{"__isSmartRef__":true,"id":2026},{"__isSmartRef__":true,"id":2027},{"__isSmartRef__":true,"id":2028},{"__isSmartRef__":true,"id":2029},{"__isSmartRef__":true,"id":2030},{"__isSmartRef__":true,"id":2031},{"__isSmartRef__":true,"id":2032},{"__isSmartRef__":true,"id":2033},{"__isSmartRef__":true,"id":2034},{"__isSmartRef__":true,"id":2035},{"__isSmartRef__":true,"id":2036},{"__isSmartRef__":true,"id":2037}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2002":{"name":"test02MorphHasTextChunkWhenTextStringIsSet","type":"propertyDef","startIndex":30069,"stopIndex":30384,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2003":{"name":"test03SplitAndJoinTextChunks","type":"propertyDef","startIndex":30386,"stopIndex":31297,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2004":{"name":"test03bCoalesceChunks","type":"propertyDef","startIndex":31299,"stopIndex":31623,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2005":{"name":"test03cSplitAtFrontAndBack","type":"propertyDef","startIndex":31625,"stopIndex":32031,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2006":{"name":"test03cSplittedChunkGetsStyle","type":"propertyDef","startIndex":32033,"stopIndex":32346,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2007":{"name":"test04SliceTextChunksSimple","type":"propertyDef","startIndex":32351,"stopIndex":32754,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2008":{"name":"test04SliceTextChunks","type":"propertyDef","startIndex":32757,"stopIndex":33264,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2009":{"name":"test04SliceTextChunksAgain","type":"propertyDef","startIndex":33266,"stopIndex":33567,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2010":{"name":"test05StyleChunk","type":"propertyDef","startIndex":33570,"stopIndex":33819,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2011":{"name":"test06MakeTextBold","type":"propertyDef","startIndex":33821,"stopIndex":34241,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2012":{"name":"test07MakeTextBoldThenUnbold","type":"propertyDef","startIndex":34246,"stopIndex":34525,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2013":{"name":"test08ToggleBoldnessComplete","type":"propertyDef","startIndex":34527,"stopIndex":34946,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2014":{"name":"test09ChunksAreSerializable","type":"propertyDef","startIndex":34948,"stopIndex":35413,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2015":{"name":"test10ConvertSelectionRangeForEmphasis","type":"propertyDef","startIndex":35415,"stopIndex":36127,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2016":{"name":"test11ToggleBoldnessWithChunkWithMultipleTextNodes","type":"propertyDef","startIndex":36129,"stopIndex":37036,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2017":{"name":"test11FixChunksShouldKeepSlection","type":"propertyDef","startIndex":37038,"stopIndex":37734,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2018":{"name":"test12GetAndSetSelectionRangeHaveEqualValues","type":"propertyDef","startIndex":37736,"stopIndex":38021,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2019":{"name":"test13InsertedTextBetweenChunksIsAssimilated","type":"propertyDef","startIndex":38023,"stopIndex":38881,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2020":{"name":"test14GetEmphasisAt","type":"propertyDef","startIndex":38883,"stopIndex":39510,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2021":{"name":"test15GetChunkAndLocalIndex","type":"propertyDef","startIndex":39513,"stopIndex":40554,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2022":{"name":"test16AddLink","type":"propertyDef","startIndex":40556,"stopIndex":41015,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2023":{"name":"test17AddLinkMakeBoldThenUnbold","type":"propertyDef","startIndex":41017,"stopIndex":41542,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2024":{"name":"test18LinkifiedChunkShouldKeepLinkWhenTextStringChanges","type":"propertyDef","startIndex":41544,"stopIndex":41987,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2025":{"name":"test19FixChunksShouldRemoveElements","type":"propertyDef","startIndex":41989,"stopIndex":42585,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2026":{"name":"test20HandleSplittedSpanNodes","type":"propertyDef","startIndex":42587,"stopIndex":43348,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2027":{"name":"test21HandleSplittedSpanNodesAndTextAttributes","type":"propertyDef","startIndex":43350,"stopIndex":44335,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2028":{"name":"test22ReclaimRemovedSpanNodesOnPaste","type":"propertyDef","startIndex":44337,"stopIndex":45612,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2029":{"name":"test23ReclaimRemovedChunkNodeAndReapplyTextAttributes","type":"propertyDef","startIndex":45614,"stopIndex":46743,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2030":{"name":"test22EmphasizeRegex","type":"propertyDef","startIndex":46747,"stopIndex":47210,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2031":{"name":"richTextPasteData","type":"propertyDef","startIndex":47212,"stopIndex":48064,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2032":{"name":"test23aRichTextPaste","type":"propertyDef","startIndex":48067,"stopIndex":48578,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2033":{"name":"test24aInsertTextChunks","type":"propertyDef","startIndex":48580,"stopIndex":48969,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2034":{"name":"test24bInsertTextChunks","type":"propertyDef","startIndex":48971,"stopIndex":49414,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2035":{"name":"test25SlicingTextChunksWithRangeWithLengthZero","type":"propertyDef","startIndex":49417,"stopIndex":49710,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2036":{"name":"test26aUnEmphasize","type":"propertyDef","startIndex":49712,"stopIndex":50059,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2037":{"name":"test26bUnEmphasizePart","type":"propertyDef","startIndex":50061,"stopIndex":50665,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2001},"className":"lively.morphic.Tests.TextMorphRichTextTests","_owner":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2038":{"name":"lively.morphic.Tests.RichTextTests","type":"klassDef","startIndex":50676,"stopIndex":52996,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2039},{"__isSmartRef__":true,"id":2041},{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2043},{"__isSmartRef__":true,"id":2044},{"__isSmartRef__":true,"id":2045}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TextMorphRichTextTests","categories":[{"__isSmartRef__":true,"id":2040}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2039":{"name":"test01CreateRichText","type":"propertyDef","startIndex":50780,"stopIndex":50969,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2040":{"name":"testing","type":"categoryDef","startIndex":50767,"stopIndex":52993,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2039},{"__isSmartRef__":true,"id":2041},{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2043},{"__isSmartRef__":true,"id":2044},{"__isSmartRef__":true,"id":2045}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2041":{"name":"test02GetRichText","type":"propertyDef","startIndex":50971,"stopIndex":51142,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2042":{"name":"test03EmphasizeRichText","type":"propertyDef","startIndex":51144,"stopIndex":51695,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2043":{"name":"test04InsertInText","type":"propertyDef","startIndex":51697,"stopIndex":52360,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2044":{"name":"test05GetRichText","type":"propertyDef","startIndex":52362,"stopIndex":52620,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2045":{"name":"test05bGetRichTextFromTo","type":"propertyDef","startIndex":52622,"stopIndex":52982,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2040},"className":"lively.morphic.Tests.RichTextTests","_owner":{"__isSmartRef__":true,"id":2038},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2046":{"name":"lively.morphic.Tests.ButtonMorphTests","type":"klassDef","startIndex":52997,"stopIndex":53325,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2047}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2048}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2047":{"name":"test01MorphBoundsOnCreation","type":"propertyDef","startIndex":53092,"stopIndex":53320,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2048},"className":"lively.morphic.Tests.ButtonMorphTests","_owner":{"__isSmartRef__":true,"id":2046},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2048":{"name":"testing","type":"categoryDef","startIndex":53079,"stopIndex":53322,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2047}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2049":{"name":"lively.morphic.Tests.ListMorphTests","type":"klassDef","startIndex":53326,"stopIndex":57078,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2050},{"__isSmartRef__":true,"id":2052},{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2054},{"__isSmartRef__":true,"id":2055},{"__isSmartRef__":true,"id":2056},{"__isSmartRef__":true,"id":2057},{"__isSmartRef__":true,"id":2058}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2051}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2050":{"name":"test01SetAndRetrieveStringItems","type":"propertyDef","startIndex":53419,"stopIndex":53718,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2051":{"name":"testing","type":"categoryDef","startIndex":53406,"stopIndex":57075,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2050},{"__isSmartRef__":true,"id":2052},{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2054},{"__isSmartRef__":true,"id":2055},{"__isSmartRef__":true,"id":2056},{"__isSmartRef__":true,"id":2057},{"__isSmartRef__":true,"id":2058}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2052":{"name":"test02SelectAt","type":"propertyDef","startIndex":53720,"stopIndex":54124,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2053":{"name":"test03SelectListItem","type":"propertyDef","startIndex":54126,"stopIndex":54502,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2054":{"name":"test04ListMorphBoundsOnCreationInHTML","type":"propertyDef","startIndex":54505,"stopIndex":54923,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2055":{"name":"test05ListMorphKeepsSelectionHighlightOnUpdateList","type":"propertyDef","startIndex":54925,"stopIndex":55517,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2056":{"name":"test06SetSelectionWithListItems","type":"propertyDef","startIndex":55519,"stopIndex":55869,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2057":{"name":"testAddMorphDuplicatesListsBug","type":"propertyDef","startIndex":55871,"stopIndex":56339,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2058":{"name":"testUpdateListOnSelectionHighlightsSelectionCorrectly","type":"propertyDef","startIndex":56341,"stopIndex":57068,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2051},"className":"lively.morphic.Tests.ListMorphTests","_owner":{"__isSmartRef__":true,"id":2049},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2059":{"name":"lively.morphic.Tests.MultipleSelectionListTests","type":"klassDef","startIndex":57079,"stopIndex":58211,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2060},{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2063}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2061}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2060":{"name":"test01GetSelections","type":"propertyDef","startIndex":57184,"stopIndex":57445,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2061},"className":"lively.morphic.Tests.MultipleSelectionListTests","_owner":{"__isSmartRef__":true,"id":2059},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2061":{"name":"testing","type":"categoryDef","startIndex":57171,"stopIndex":58208,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2060},{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2063}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2062":{"name":"test02TurnOnMultipleSelectionMode","type":"propertyDef","startIndex":57447,"stopIndex":57775,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2061},"className":"lively.morphic.Tests.MultipleSelectionListTests","_owner":{"__isSmartRef__":true,"id":2059},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2063":{"name":"test03SetSelection","type":"propertyDef","startIndex":57777,"stopIndex":58201,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2061},"className":"lively.morphic.Tests.MultipleSelectionListTests","_owner":{"__isSmartRef__":true,"id":2059},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2064":{"name":"lively.morphic.Tests.AppTests","type":"klassDef","startIndex":58212,"stopIndex":59114,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2065},{"__isSmartRef__":true,"id":2067}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2066}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2065":{"name":"test01ConfirmDialog","type":"propertyDef","startIndex":58299,"stopIndex":58663,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2066},"className":"lively.morphic.Tests.AppTests","_owner":{"__isSmartRef__":true,"id":2064},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2066":{"name":"testing","type":"categoryDef","startIndex":58286,"stopIndex":59111,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2065},{"__isSmartRef__":true,"id":2067}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2067":{"name":"test02PromptDialog","type":"propertyDef","startIndex":58665,"stopIndex":59109,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2066},"className":"lively.morphic.Tests.AppTests","_owner":{"__isSmartRef__":true,"id":2064},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2068":{"name":"lively.morphic.Tests.CanvasRenderingTests","type":"klassDef","startIndex":59115,"stopIndex":60387,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2071}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2070}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2069":{"name":"test01UseCanvasRendererForSimpleMorph","type":"propertyDef","startIndex":59214,"stopIndex":59757,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2070},"className":"lively.morphic.Tests.CanvasRenderingTests","_owner":{"__isSmartRef__":true,"id":2068},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2070":{"name":"testing","type":"categoryDef","startIndex":59201,"stopIndex":60384,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2071}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2071":{"name":"test02MorphAndSubmorphWithCanvas","type":"propertyDef","startIndex":59761,"stopIndex":60382,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2070},"className":"lively.morphic.Tests.CanvasRenderingTests","_owner":{"__isSmartRef__":true,"id":2068},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2072":{"name":null,"type":"comment","startIndex":60388,"stopIndex":60388,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2073":{"name":"lively.morphic.Tests.SimilitudeTests","type":"klassDef","startIndex":60389,"stopIndex":60958,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2074}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"TestCase","categories":[{"__isSmartRef__":true,"id":2075}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2074":{"name":"test01PointTransform","type":"propertyDef","startIndex":60460,"stopIndex":60953,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2075},"className":"lively.morphic.Tests.SimilitudeTests","_owner":{"__isSmartRef__":true,"id":2073},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2075":{"name":"testing","type":"categoryDef","startIndex":60447,"stopIndex":60955,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2074}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2076":{"name":null,"type":"comment","startIndex":60959,"stopIndex":60959,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2077":{"name":"lively.morphic.Tests.ScriptTests","type":"klassDef","startIndex":60960,"stopIndex":64442,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2078},{"__isSmartRef__":true,"id":2080},{"__isSmartRef__":true,"id":2081},{"__isSmartRef__":true,"id":2082},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2085}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"AsyncTestCase","categories":[{"__isSmartRef__":true,"id":2079}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2078":{"name":"test01StartAndStopTicking","type":"propertyDef","startIndex":61032,"stopIndex":61346,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2079":{"name":"testing","type":"categoryDef","startIndex":61019,"stopIndex":64439,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2078},{"__isSmartRef__":true,"id":2080},{"__isSmartRef__":true,"id":2081},{"__isSmartRef__":true,"id":2082},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2085}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2080":{"name":"test02SuspendAndContinue","type":"propertyDef","startIndex":61348,"stopIndex":61896,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2081":{"name":"test03MorphStartStepping","type":"propertyDef","startIndex":61898,"stopIndex":62460,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2082":{"name":"test04ScriptEquals","type":"propertyDef","startIndex":62462,"stopIndex":63114,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2083":{"name":"test05StartSteppingChecksIfScriptIsThere","type":"propertyDef","startIndex":63116,"stopIndex":63543,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2084":{"name":"test06FunctionScriptOnce","type":"propertyDef","startIndex":63545,"stopIndex":63823,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2085":{"name":"test07MorphicDelayWorksLikeNormalDelay","type":"propertyDef","startIndex":63825,"stopIndex":64438,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2079},"className":"lively.morphic.Tests.ScriptTests","_owner":{"__isSmartRef__":true,"id":2077},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2086":{"name":"lively.morphic.Tests.SerializationTests","type":"klassDef","startIndex":64443,"stopIndex":65181,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2087}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TestCase","categories":[{"__isSmartRef__":true,"id":2088}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2087":{"name":"test01SerializeSimpleWorld","type":"propertyDef","startIndex":64538,"stopIndex":65176,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2088},"className":"lively.morphic.Tests.SerializationTests","_owner":{"__isSmartRef__":true,"id":2086},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2088":{"name":"testing","type":"categoryDef","startIndex":64525,"stopIndex":65178,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2087}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2089":{"name":"lively.morphic.Tests.HaloTests","type":"klassDef","startIndex":65182,"stopIndex":66989,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2090},{"__isSmartRef__":true,"id":2092},{"__isSmartRef__":true,"id":2093}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.TestCase","categories":[{"__isSmartRef__":true,"id":2091}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2090":{"name":"test01ShowHalosForMorph","type":"propertyDef","startIndex":65268,"stopIndex":65613,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2091},"className":"lively.morphic.Tests.HaloTests","_owner":{"__isSmartRef__":true,"id":2089},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2091":{"name":"testing","type":"categoryDef","startIndex":65255,"stopIndex":66986,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2090},{"__isSmartRef__":true,"id":2092},{"__isSmartRef__":true,"id":2093}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2092":{"name":"test02HalosStayInVisibleBounds","type":"propertyDef","startIndex":65615,"stopIndex":66287,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2091},"className":"lively.morphic.Tests.HaloTests","_owner":{"__isSmartRef__":true,"id":2089},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2093":{"name":"testChangeExtentOfRectSoThatItFitsInOuter","type":"propertyDef","startIndex":66289,"stopIndex":66980,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2091},"className":"lively.morphic.Tests.HaloTests","_owner":{"__isSmartRef__":true,"id":2089},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2094":{"name":null,"type":"comment","startIndex":66990,"stopIndex":66991,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2095":{"name":"lively.morphic.Tests.ImageTests","type":"klassDef","startIndex":66992,"stopIndex":67630,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2096}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2097}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2096":{"name":"testImageMorphHTML","type":"propertyDef","startIndex":67081,"stopIndex":67625,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2097},"className":"lively.morphic.Tests.ImageTests","_owner":{"__isSmartRef__":true,"id":2095},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2097":{"name":"testing","type":"categoryDef","startIndex":67068,"stopIndex":67627,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2096}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2098":{"name":"lively.morphic.Tests.MenuTests","type":"klassDef","startIndex":67631,"stopIndex":71542,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2099},{"__isSmartRef__":true,"id":2101},{"__isSmartRef__":true,"id":2102},{"__isSmartRef__":true,"id":2103}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2100}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2099":{"name":"testWrongSubMenuItems","type":"propertyDef","startIndex":67719,"stopIndex":68128,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2100},"className":"lively.morphic.Tests.MenuTests","_owner":{"__isSmartRef__":true,"id":2098},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2100":{"name":"testing","type":"categoryDef","startIndex":67706,"stopIndex":71539,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2099},{"__isSmartRef__":true,"id":2101},{"__isSmartRef__":true,"id":2102},{"__isSmartRef__":true,"id":2103}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2101":{"name":"testTransformMenuBoundsForVisibility","type":"propertyDef","startIndex":68130,"stopIndex":69257,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2100},"className":"lively.morphic.Tests.MenuTests","_owner":{"__isSmartRef__":true,"id":2098},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2102":{"name":"testTransformSubMenuBoundsForVisibility","type":"propertyDef","startIndex":69259,"stopIndex":71070,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2100},"className":"lively.morphic.Tests.MenuTests","_owner":{"__isSmartRef__":true,"id":2098},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2103":{"name":"testTransformMenuBoundsForVisibility","type":"propertyDef","startIndex":71072,"stopIndex":71534,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2100},"className":"lively.morphic.Tests.MenuTests","_owner":{"__isSmartRef__":true,"id":2098},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2104":{"name":"lively.morphic.Tests.ExternalShapesTests","type":"klassDef","startIndex":71543,"stopIndex":72120,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2105}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2106}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2105":{"name":"test01AddADivShape","type":"propertyDef","startIndex":71641,"stopIndex":72115,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2106},"className":"lively.morphic.Tests.ExternalShapesTests","_owner":{"__isSmartRef__":true,"id":2104},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2106":{"name":"testing","type":"categoryDef","startIndex":71628,"stopIndex":72117,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2105}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2107":{"name":"lively.morphic.Tests.LayoutTests","type":"klassDef","startIndex":72121,"stopIndex":74825,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2108},{"__isSmartRef__":true,"id":2110},{"__isSmartRef__":true,"id":2111},{"__isSmartRef__":true,"id":2112}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2109}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2108":{"name":"test01DropJournalLayoutOnMorph","type":"propertyDef","startIndex":72211,"stopIndex":72918,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2109},"className":"lively.morphic.Tests.LayoutTests","_owner":{"__isSmartRef__":true,"id":2107},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2109":{"name":"testing","type":"categoryDef","startIndex":72198,"stopIndex":74822,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2108},{"__isSmartRef__":true,"id":2110},{"__isSmartRef__":true,"id":2111},{"__isSmartRef__":true,"id":2112}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2110":{"name":"test02ApplyHBoxLayout","type":"propertyDef","startIndex":72920,"stopIndex":73591,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2109},"className":"lively.morphic.Tests.LayoutTests","_owner":{"__isSmartRef__":true,"id":2107},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2111":{"name":"test03GridLayoutDefaultSizes","type":"propertyDef","startIndex":73593,"stopIndex":74256,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2109},"className":"lively.morphic.Tests.LayoutTests","_owner":{"__isSmartRef__":true,"id":2107},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2112":{"name":"test04TileLayoutMovesFirstMorphToTopLeft","type":"propertyDef","startIndex":74258,"stopIndex":74817,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2109},"className":"lively.morphic.Tests.LayoutTests","_owner":{"__isSmartRef__":true,"id":2107},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2113":{"name":"lively.morphic.Tests.SelectionTest","type":"klassDef","startIndex":74826,"stopIndex":77825,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2116},{"__isSmartRef__":true,"id":2117},{"__isSmartRef__":true,"id":2118}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2115}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2114":{"name":"testGrabByHand","type":"propertyDef","startIndex":74918,"stopIndex":75958,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2115},"className":"lively.morphic.Tests.SelectionTest","_owner":{"__isSmartRef__":true,"id":2113},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2115":{"name":"testing","type":"categoryDef","startIndex":74905,"stopIndex":77822,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2116},{"__isSmartRef__":true,"id":2117},{"__isSmartRef__":true,"id":2118}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2116":{"name":"testDropOn","type":"propertyDef","startIndex":75960,"stopIndex":76697,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2115},"className":"lively.morphic.Tests.SelectionTest","_owner":{"__isSmartRef__":true,"id":2113},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2117":{"name":"testAddMorph","type":"propertyDef","startIndex":76701,"stopIndex":77243,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2115},"className":"lively.morphic.Tests.SelectionTest","_owner":{"__isSmartRef__":true,"id":2113},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2118":{"name":"testAddMorphWithSelectionInHand","type":"propertyDef","startIndex":77246,"stopIndex":77820,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2115},"className":"lively.morphic.Tests.SelectionTest","_owner":{"__isSmartRef__":true,"id":2113},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2119":{"name":null,"type":"comment","startIndex":77826,"stopIndex":77826,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2120":{"name":"lively.morphic.Tests.RenderingTest","type":"klassDef","startIndex":77827,"stopIndex":80151,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2121},{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2124}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2122}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2121":{"name":"test01NodeIsInDOM","type":"propertyDef","startIndex":77919,"stopIndex":78591,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2122},"className":"lively.morphic.Tests.RenderingTest","_owner":{"__isSmartRef__":true,"id":2120},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2122":{"name":"testing","type":"categoryDef","startIndex":77906,"stopIndex":80148,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[{"__isSmartRef__":true,"id":2121},{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2124}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2123":{"name":"test02RenderCrossBrowserLinearGradient","type":"propertyDef","startIndex":78593,"stopIndex":79347,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2122},"className":"lively.morphic.Tests.RenderingTest","_owner":{"__isSmartRef__":true,"id":2120},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2124":{"name":"test02bRenderCrossBrowserRadialGradient","type":"propertyDef","startIndex":79349,"stopIndex":80144,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2122},"className":"lively.morphic.Tests.RenderingTest","_owner":{"__isSmartRef__":true,"id":2120},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2125":{"name":null,"type":"comment","startIndex":80152,"stopIndex":80153,"fileName":"lively/morphic/tests/Morphic.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2126":{"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/Morphic2.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2127":{"target":{"__isSmartRef__":true,"id":2128},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/PathTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2128":{"name":"lively.morphic.tests.PathTests","type":"moduleDef","startIndex":0,"stopIndex":11527,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[{"__isSmartRef__":true,"id":2129},{"__isSmartRef__":true,"id":2130},{"__isSmartRef__":true,"id":2146},{"__isSmartRef__":true,"id":2150}],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2129":{"name":null,"type":"comment","startIndex":101,"stopIndex":101,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2130":{"name":"lively.morphic.Tests.LineTest","type":"klassDef","startIndex":102,"stopIndex":10319,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[{"__isSmartRef__":true,"id":2131},{"__isSmartRef__":true,"id":2133},{"__isSmartRef__":true,"id":2134},{"__isSmartRef__":true,"id":2135},{"__isSmartRef__":true,"id":2136},{"__isSmartRef__":true,"id":2137},{"__isSmartRef__":true,"id":2138},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2141},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2145}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2132}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2131":{"name":"test00ReflectsBorderWidth","type":"propertyDef","startIndex":189,"stopIndex":1153,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2132":{"name":"testing","type":"categoryDef","startIndex":176,"stopIndex":10316,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[{"__isSmartRef__":true,"id":2131},{"__isSmartRef__":true,"id":2133},{"__isSmartRef__":true,"id":2134},{"__isSmartRef__":true,"id":2135},{"__isSmartRef__":true,"id":2136},{"__isSmartRef__":true,"id":2137},{"__isSmartRef__":true,"id":2138},{"__isSmartRef__":true,"id":2139},{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2141},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2145}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2133":{"name":"test01AddMorph","type":"propertyDef","startIndex":1155,"stopIndex":1845,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2134":{"name":"test02SecondPointWithNegativeY","type":"propertyDef","startIndex":1847,"stopIndex":2718,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2135":{"name":"test03aMoveControlPoint","type":"propertyDef","startIndex":2720,"stopIndex":3417,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2136":{"name":"test03bMoveControlPoint2AboveStart","type":"propertyDef","startIndex":3420,"stopIndex":4129,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2137":{"name":"test03cMoveControlPoint2AboveStart","type":"propertyDef","startIndex":4131,"stopIndex":5106,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2138":{"name":"test04InsertPoint","type":"propertyDef","startIndex":5108,"stopIndex":5754,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2139":{"name":"test05MergeControlPoints","type":"propertyDef","startIndex":5756,"stopIndex":6184,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2140":{"name":"xtest05aadjustOrigin","type":"propertyDef","startIndex":6188,"stopIndex":6921,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2141":{"name":"test07ControlPointsAreStable","type":"propertyDef","startIndex":6923,"stopIndex":7604,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2142":{"name":"test08GetNextAndPrevControlPoint","type":"propertyDef","startIndex":7606,"stopIndex":8138,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2143":{"name":"test09aSetArrowHead","type":"propertyDef","startIndex":8140,"stopIndex":8488,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2144":{"name":"test09bArrowHeadDoesntMoves","type":"propertyDef","startIndex":8490,"stopIndex":9691,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2145":{"name":"test10aConvertControlPointTocurve","type":"propertyDef","startIndex":9693,"stopIndex":10313,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2132},"className":"lively.morphic.Tests.LineTest","_owner":{"__isSmartRef__":true,"id":2130},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2146":{"name":"lively.morphic.Tests.PathOriginTest","type":"klassDef","startIndex":10320,"stopIndex":11507,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2149}],"sourceControl":{"__isSmartRef__":true,"id":1065},"superclassName":"lively.morphic.Tests.MorphTests","categories":[{"__isSmartRef__":true,"id":2148}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2147":{"name":"test01SettingOriginDoesNotChangeBounds","type":"propertyDef","startIndex":10413,"stopIndex":10925,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2148},"className":"lively.morphic.Tests.PathOriginTest","_owner":{"__isSmartRef__":true,"id":2146},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2148":{"name":"testing","type":"categoryDef","startIndex":10400,"stopIndex":11504,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2149}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2149":{"name":"test02SubmorphIsNotAffectedByOrigin","type":"propertyDef","startIndex":10927,"stopIndex":11501,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"_isStatic":false,"category":{"__isSmartRef__":true,"id":2148},"className":"lively.morphic.Tests.PathOriginTest","_owner":{"__isSmartRef__":true,"id":2146},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2150":{"name":null,"type":"comment","startIndex":11508,"stopIndex":11508,"fileName":"lively/morphic/tests/PathTests.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"2151":{"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/TabTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2152":{"target":{"__isSmartRef__":true,"id":1085},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"2153":{"isListItem":true,"string":"Connectors.js (not parsed)","value":{"__isSmartRef__":true,"id":1901}},"2154":{"isListItem":true,"string":"DataGridTests.js (not parsed)","value":{"__isSmartRef__":true,"id":1902}},"2155":{"isListItem":true,"string":"EventTests.js","value":{"__isSmartRef__":true,"id":1903}},"2156":{"isListItem":true,"string":"InspectorTests.js","value":{"__isSmartRef__":true,"id":1918}},"2157":{"isListItem":true,"string":"Morphic.js","value":{"__isSmartRef__":true,"id":1925}},"2158":{"isListItem":true,"string":"Morphic2.js (not parsed)","value":{"__isSmartRef__":true,"id":2126}},"2159":{"isListItem":true,"string":"PathTests.js","value":{"__isSmartRef__":true,"id":2127}},"2160":{"isListItem":true,"string":"TabTests.js (not parsed)","value":{"__isSmartRef__":true,"id":2151}},"2161":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":2152}},"2162":{"morph":{"__isSmartRef__":true,"id":1889},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2163":{"x":0,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2164":{"sourceObj":{"__isSmartRef__":true,"id":1889},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2165},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2166},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2165":{"source":{"__isSmartRef__":true,"id":1889},"target":{"__isSmartRef__":true,"id":1636}},"2166":{"updater":{"__isSmartRef__":true,"id":2167}},"2167":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2165},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":2168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2168":{},"2169":{"sourceObj":{"__isSmartRef__":true,"id":1889},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2170},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2170":{"source":{"__isSmartRef__":true,"id":1889},"target":{"__isSmartRef__":true,"id":1636}},"2171":{"sourceObj":{"__isSmartRef__":true,"id":1889},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2172},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2172":{"source":{"__isSmartRef__":true,"id":1889},"target":{"__isSmartRef__":true,"id":1636}},"2173":{"sourceObj":{"__isSmartRef__":true,"id":1889},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2174},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2174":{"source":{"__isSmartRef__":true,"id":1889},"target":{"__isSmartRef__":true,"id":1636}},"2175":{"target":{"__isSmartRef__":true,"id":1926},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":1900},"moduleName":"lively/morphic/tests/Morphic.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2176":{"onDownPressed":{"__isSmartRef__":true,"id":2177},"onUpPressed":{"__isSmartRef__":true,"id":2184}},"2177":{"varMapping":{"__isSmartRef__":true,"id":2178},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2178":{"this":{"__isSmartRef__":true,"id":1889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2179}},"2179":{"$super":{"__isSmartRef__":true,"id":2180}},"2180":{"varMapping":{"__isSmartRef__":true,"id":2181},"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":2182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2181":{"obj":{"__isSmartRef__":true,"id":1889},"name":"onDownPressed"},"2182":{},"2183":{},"2184":{"varMapping":{"__isSmartRef__":true,"id":2185},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2185":{"this":{"__isSmartRef__":true,"id":1889},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2186}},"2186":{"$super":{"__isSmartRef__":true,"id":2187}},"2187":{"varMapping":{"__isSmartRef__":true,"id":2188},"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":2189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2188":{"obj":{"__isSmartRef__":true,"id":1889},"name":"onUpPressed"},"2189":{},"2190":{},"2191":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":1889}},"2192":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":2193},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2276},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2193":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2194},"derivationIds":[null],"id":"22115AD4-201A-4ADC-A919-2E45B897C4B0","renderContextTable":{"__isSmartRef__":true,"id":2200},"itemList":[{"__isSmartRef__":true,"id":2201},{"__isSmartRef__":true,"id":2203},{"__isSmartRef__":true,"id":2205},{"__isSmartRef__":true,"id":2207},{"__isSmartRef__":true,"id":2209},{"__isSmartRef__":true,"id":2211},{"__isSmartRef__":true,"id":2213},{"__isSmartRef__":true,"id":2215},{"__isSmartRef__":true,"id":2217},{"__isSmartRef__":true,"id":2219},{"__isSmartRef__":true,"id":2221},{"__isSmartRef__":true,"id":2223},{"__isSmartRef__":true,"id":2225},{"__isSmartRef__":true,"id":2227},{"__isSmartRef__":true,"id":2229},{"__isSmartRef__":true,"id":2231},{"__isSmartRef__":true,"id":2233},{"__isSmartRef__":true,"id":2235},{"__isSmartRef__":true,"id":2237},{"__isSmartRef__":true,"id":2239},{"__isSmartRef__":true,"id":2241},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2245}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2247},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2248},"selectedLineNo":8,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2249},{"__isSmartRef__":true,"id":2254},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2258}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":2260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2261},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2194":{"_Position":{"__isSmartRef__":true,"id":2195},"renderContextTable":{"__isSmartRef__":true,"id":2196},"_Extent":{"__isSmartRef__":true,"id":2197},"_Padding":{"__isSmartRef__":true,"id":2198},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":2199},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2195":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2196":{"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"},"2197":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2198":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2199":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"2201":{"isListItem":true,"string":"lively.morphic.Tests.TestCase","value":{"__isSmartRef__":true,"id":2202}},"2202":{"target":{"__isSmartRef__":true,"id":1929},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2203":{"isListItem":true,"string":"lively.morphic.Tests.WorldTests","value":{"__isSmartRef__":true,"id":2204}},"2204":{"target":{"__isSmartRef__":true,"id":1940},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2205":{"isListItem":true,"string":"lively.morphic.Tests.MorphTests","value":{"__isSmartRef__":true,"id":2206}},"2206":{"target":{"__isSmartRef__":true,"id":1944},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2207":{"isListItem":true,"string":"lively.morphic.Tests.EventTests","value":{"__isSmartRef__":true,"id":2208}},"2208":{"target":{"__isSmartRef__":true,"id":1965},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2209":{"isListItem":true,"string":"lively.morphic.Tests.CopyMorphTests","value":{"__isSmartRef__":true,"id":2210}},"2210":{"target":{"__isSmartRef__":true,"id":1971},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2211":{"isListItem":true,"string":"lively.morphic.Tests.TextMorphTests","value":{"__isSmartRef__":true,"id":2212}},"2212":{"target":{"__isSmartRef__":true,"id":1979},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2213":{"isListItem":true,"string":"lively.morphic.Tests.TextMorphRichTextTests","value":{"__isSmartRef__":true,"id":2214}},"2214":{"target":{"__isSmartRef__":true,"id":1994},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2215":{"isListItem":true,"string":"lively.morphic.Tests.RichTextTests","value":{"__isSmartRef__":true,"id":2216}},"2216":{"target":{"__isSmartRef__":true,"id":2038},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2217":{"isListItem":true,"string":"lively.morphic.Tests.ButtonMorphTests","value":{"__isSmartRef__":true,"id":2218}},"2218":{"target":{"__isSmartRef__":true,"id":2046},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2219":{"isListItem":true,"string":"lively.morphic.Tests.ListMorphTests","value":{"__isSmartRef__":true,"id":2220}},"2220":{"target":{"__isSmartRef__":true,"id":2049},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2221":{"isListItem":true,"string":"lively.morphic.Tests.MultipleSelectionListTests","value":{"__isSmartRef__":true,"id":2222}},"2222":{"target":{"__isSmartRef__":true,"id":2059},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2223":{"isListItem":true,"string":"lively.morphic.Tests.AppTests","value":{"__isSmartRef__":true,"id":2224}},"2224":{"target":{"__isSmartRef__":true,"id":2064},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2225":{"isListItem":true,"string":"lively.morphic.Tests.CanvasRenderingTests","value":{"__isSmartRef__":true,"id":2226}},"2226":{"target":{"__isSmartRef__":true,"id":2068},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2227":{"isListItem":true,"string":"lively.morphic.Tests.SimilitudeTests","value":{"__isSmartRef__":true,"id":2228}},"2228":{"target":{"__isSmartRef__":true,"id":2073},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2229":{"isListItem":true,"string":"lively.morphic.Tests.ScriptTests","value":{"__isSmartRef__":true,"id":2230}},"2230":{"target":{"__isSmartRef__":true,"id":2077},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2231":{"isListItem":true,"string":"lively.morphic.Tests.SerializationTests","value":{"__isSmartRef__":true,"id":2232}},"2232":{"target":{"__isSmartRef__":true,"id":2086},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2233":{"isListItem":true,"string":"lively.morphic.Tests.HaloTests","value":{"__isSmartRef__":true,"id":2234}},"2234":{"target":{"__isSmartRef__":true,"id":2089},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2235":{"isListItem":true,"string":"lively.morphic.Tests.ImageTests","value":{"__isSmartRef__":true,"id":2236}},"2236":{"target":{"__isSmartRef__":true,"id":2095},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2237":{"isListItem":true,"string":"lively.morphic.Tests.MenuTests","value":{"__isSmartRef__":true,"id":2238}},"2238":{"target":{"__isSmartRef__":true,"id":2098},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2239":{"isListItem":true,"string":"lively.morphic.Tests.ExternalShapesTests","value":{"__isSmartRef__":true,"id":2240}},"2240":{"target":{"__isSmartRef__":true,"id":2104},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2241":{"isListItem":true,"string":"lively.morphic.Tests.LayoutTests","value":{"__isSmartRef__":true,"id":2242}},"2242":{"target":{"__isSmartRef__":true,"id":2107},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2243":{"isListItem":true,"string":"lively.morphic.Tests.SelectionTest","value":{"__isSmartRef__":true,"id":2244}},"2244":{"target":{"__isSmartRef__":true,"id":2113},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2245":{"isListItem":true,"string":"lively.morphic.Tests.RenderingTest","value":{"__isSmartRef__":true,"id":2246}},"2246":{"target":{"__isSmartRef__":true,"id":2120},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2247":{"morph":{"__isSmartRef__":true,"id":2193},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2248":{"x":205,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2249":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2250},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2251},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2250":{"source":{"__isSmartRef__":true,"id":2193},"target":{"__isSmartRef__":true,"id":1636}},"2251":{"updater":{"__isSmartRef__":true,"id":2252}},"2252":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2250},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":2253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2253":{},"2254":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2255},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2255":{"source":{"__isSmartRef__":true,"id":2193},"target":{"__isSmartRef__":true,"id":1636}},"2256":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2257},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2257":{"source":{"__isSmartRef__":true,"id":2193},"target":{"__isSmartRef__":true,"id":1636}},"2258":{"sourceObj":{"__isSmartRef__":true,"id":2193},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2259},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2259":{"source":{"__isSmartRef__":true,"id":2193},"target":{"__isSmartRef__":true,"id":1636}},"2260":{"target":{"__isSmartRef__":true,"id":2046},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2261":{"onDownPressed":{"__isSmartRef__":true,"id":2262},"onUpPressed":{"__isSmartRef__":true,"id":2269}},"2262":{"varMapping":{"__isSmartRef__":true,"id":2263},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2263":{"this":{"__isSmartRef__":true,"id":2193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2264}},"2264":{"$super":{"__isSmartRef__":true,"id":2265}},"2265":{"varMapping":{"__isSmartRef__":true,"id":2266},"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":2267},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2266":{"obj":{"__isSmartRef__":true,"id":2193},"name":"onDownPressed"},"2267":{},"2268":{},"2269":{"varMapping":{"__isSmartRef__":true,"id":2270},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2275},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2270":{"this":{"__isSmartRef__":true,"id":2193},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2271}},"2271":{"$super":{"__isSmartRef__":true,"id":2272}},"2272":{"varMapping":{"__isSmartRef__":true,"id":2273},"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":2274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2273":{"obj":{"__isSmartRef__":true,"id":2193},"name":"onUpPressed"},"2274":{},"2275":{},"2276":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":2193}},"2277":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":2278},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2316},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2278":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2279},"derivationIds":[null],"id":"B9E09943-82A7-4B3F-92B3-4320DC24590F","renderContextTable":{"__isSmartRef__":true,"id":2285},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2286},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2287},"selectedLineNo":0,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2295},{"__isSmartRef__":true,"id":2297}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":2299},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2301},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2279":{"_Position":{"__isSmartRef__":true,"id":2280},"renderContextTable":{"__isSmartRef__":true,"id":2281},"_Extent":{"__isSmartRef__":true,"id":2282},"_Padding":{"__isSmartRef__":true,"id":2283},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":2284},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2280":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2281":{"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"},"2282":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2283":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2284":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2285":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"2286":{"morph":{"__isSmartRef__":true,"id":2278},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2287":{"x":410,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2288":{"sourceObj":{"__isSmartRef__":true,"id":2278},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2289},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2290},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2289":{"source":{"__isSmartRef__":true,"id":2278},"target":{"__isSmartRef__":true,"id":1636}},"2290":{"updater":{"__isSmartRef__":true,"id":2291}},"2291":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2289},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":2292},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2292":{},"2293":{"sourceObj":{"__isSmartRef__":true,"id":2278},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2294},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2294":{"source":{"__isSmartRef__":true,"id":2278},"target":{"__isSmartRef__":true,"id":1636}},"2295":{"sourceObj":{"__isSmartRef__":true,"id":2278},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2296},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2296":{"source":{"__isSmartRef__":true,"id":2278},"target":{"__isSmartRef__":true,"id":1636}},"2297":{"sourceObj":{"__isSmartRef__":true,"id":2278},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2298},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2298":{"source":{"__isSmartRef__":true,"id":2278},"target":{"__isSmartRef__":true,"id":1636}},"2299":{"target":{"__isSmartRef__":true,"id":2046},"browser":{"__isSmartRef__":true,"id":1636},"parent":{"__isSmartRef__":true,"id":2300},"__LivelyClassName__":"lively.ide.AllMethodCategoryFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2300":{"target":{"__isSmartRef__":true,"id":2046},"browser":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"2301":{"onDownPressed":{"__isSmartRef__":true,"id":2302},"onUpPressed":{"__isSmartRef__":true,"id":2309}},"2302":{"varMapping":{"__isSmartRef__":true,"id":2303},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2303":{"this":{"__isSmartRef__":true,"id":2278},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2304}},"2304":{"$super":{"__isSmartRef__":true,"id":2305}},"2305":{"varMapping":{"__isSmartRef__":true,"id":2306},"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":2307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2306":{"obj":{"__isSmartRef__":true,"id":2278},"name":"onDownPressed"},"2307":{},"2308":{},"2309":{"varMapping":{"__isSmartRef__":true,"id":2310},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2310":{"this":{"__isSmartRef__":true,"id":2278},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2311}},"2311":{"$super":{"__isSmartRef__":true,"id":2312}},"2312":{"varMapping":{"__isSmartRef__":true,"id":2313},"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":2314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2313":{"obj":{"__isSmartRef__":true,"id":2278},"name":"onUpPressed"},"2314":{},"2315":{},"2316":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":2278}},"2317":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":2318},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2351},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2318":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2319},"derivationIds":[null],"id":"FAC60E8C-4377-47AF-BB3F-2115BC8EDDC7","renderContextTable":{"__isSmartRef__":true,"id":2325},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":2326},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2327},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2334}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2336},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"2319":{"_Position":{"__isSmartRef__":true,"id":2320},"renderContextTable":{"__isSmartRef__":true,"id":2321},"_Extent":{"__isSmartRef__":true,"id":2322},"_Padding":{"__isSmartRef__":true,"id":2323},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":2324},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2320":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2321":{"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"},"2322":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2323":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2324":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2325":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"2326":{"morph":{"__isSmartRef__":true,"id":2318},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2327":{"x":615,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2328":{"sourceObj":{"__isSmartRef__":true,"id":2318},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":2329},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2329":{"source":{"__isSmartRef__":true,"id":2318},"target":{"__isSmartRef__":true,"id":1636}},"2330":{"sourceObj":{"__isSmartRef__":true,"id":2318},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2331},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2331":{"source":{"__isSmartRef__":true,"id":2318},"target":{"__isSmartRef__":true,"id":1636}},"2332":{"sourceObj":{"__isSmartRef__":true,"id":2318},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2333},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2333":{"source":{"__isSmartRef__":true,"id":2318},"target":{"__isSmartRef__":true,"id":1636}},"2334":{"sourceObj":{"__isSmartRef__":true,"id":2318},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2335},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2335":{"source":{"__isSmartRef__":true,"id":2318},"target":{"__isSmartRef__":true,"id":1636}},"2336":{"onDownPressed":{"__isSmartRef__":true,"id":2337},"onUpPressed":{"__isSmartRef__":true,"id":2344}},"2337":{"varMapping":{"__isSmartRef__":true,"id":2338},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2343},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2338":{"this":{"__isSmartRef__":true,"id":2318},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2339}},"2339":{"$super":{"__isSmartRef__":true,"id":2340}},"2340":{"varMapping":{"__isSmartRef__":true,"id":2341},"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":2342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2341":{"obj":{"__isSmartRef__":true,"id":2318},"name":"onDownPressed"},"2342":{},"2343":{},"2344":{"varMapping":{"__isSmartRef__":true,"id":2345},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":2350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2345":{"this":{"__isSmartRef__":true,"id":2318},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2346}},"2346":{"$super":{"__isSmartRef__":true,"id":2347}},"2347":{"varMapping":{"__isSmartRef__":true,"id":2348},"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":2349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2348":{"obj":{"__isSmartRef__":true,"id":2318},"name":"onUpPressed"},"2349":{},"2350":{},"2351":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":2318}},"2352":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":2353},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2369},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2353":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2354},"derivationIds":[null],"id":"71404B4D-6033-4C1F-8E17-C24BAA35D3FB","renderContextTable":{"__isSmartRef__":true,"id":2359},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2360}],"eventHandler":{"__isSmartRef__":true,"id":2362},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2363},"priorExtent":{"__isSmartRef__":true,"id":2364},"_MaxTextWidth":808,"_MinTextWidth":808,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1622},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":2365},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2367}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"module('lively.morphic.tests.Morphic').requires('lively.TestFramework', 'lively.morphic.Complete', 'lively.morphic.Layout').toRun(function() {\n\nnamespace('lively.morphic.Tests'); // FIXME to be removed\n\nTestCase.subclass('lively.morphic.Tests.TestCase',\n'running', {\n tearDown: function($super) {\n $super();\n this.removeTestWorld();\n },\n},\n'helper', {\n removeTestWorld: function() {\n if (this.world) {\n this.world.remove();\n this.world = null;\n }\n if (this.oldAlert)\n Global.alert = this.oldAlert;\n if (this.existingWorld) {\n this.existingWorld.displayOnCanvas(document.getElementsByTagName('body')[0]);\n lively.morphic.World.currentWorld = this.existingWorld;\n this.existingWorld = null;\n }\n },\n openMorphsInRealWorld: function() {\n this.removeTestWorld();\n },\n createWorld: function() {\n if (this.world) return; // already created\n this.existingWorld = lively.morphic.World.current();\n this.world = lively.morphic.World.createOn(document.body, new Rectangle(0,0,300,300));\n this.oldAlert = Global.alert;\n Global.alert = function (msg) { this.existingWorld.alert(String(msg)) }.bind(this)\n },\n serializeAndDeserializeWorld: function() {\n if (!this.world) {\n alert('No test world created');\n return\n }\n var json = this.world.serializeToJSON();\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n },\n\n},\n'assertion', {\n assertNodeMatches: function(expected, node) {\n var self = this,\n fail = function fail(msg) { self.assert(false, msg) };\n if (!expected) fail('expected is null');\n if (!node) fail('node is null but should be ' + expected.tagName);\n if (expected.tagName != node.tagName) fail(expected.tagName + '!=' + node.tagName);\n if (expected.parentNode && (expected.parentNode !== node.parentNode))\n fail('parent is ' + node.parentNode + ' but should be ' + expected.parentNode);\n\n if (expected.textContent) {\n if (expected.textContent != node.textContent)\n fail('textContent ' + expected.textContent + ' != ' + node.textContent);\n }\n\n if (expected.attributes)\n Properties.forEachOwn(expected.attributes, function(key, expectedValue) {\n var actualValue = node.getAttribute(key);\n if (expectedValue instanceof RegExp) {\n if (!expectedValue.test(actualValue))\n fail('attribute ' + key + ' was ' + actualValue + ' and didn\\'t match ' + expectedValue);\n return\n }\n if (expectedValue != actualValue) {\n fail('attribute ' + key + ' not ' + expectedValue + ' but ' + actualValue);\n }\n });\n if (expected.style)\n Properties.forEachOwn(expected.style, function(key, expected) {\n if (!node.style[key]) {\n alert(\"Warning: \" + key + \" is falsy in \" + node + \".style\"); \n }\n var actualValue = node.style[key].replace(/ /g, '');\n if (Object.isFunction(expected)) {\n self.assert(expected.call(self, actualValue), 'value ' + actualValue + ' did no match')\n return\n }\n if (expected != actualValue)\n fail('style ' + key + ' not ' + expected + ' but ' + actualValue);\n });\n if (expected.childNodeLength)\n this.assertEquals(expected.childNodeLength, node.childNodes.length, 'childNode.length of ' + node)\n if (expected.childNodes)\n for (var i = 0; i < expected.childNodes.length; i++)\n this.assertNodeMatches(expected.childNodes[i], node.childNodes[i]);\n },\n});\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.WorldTests',\n'testing', {\n testAddWorldToDoc: function() {\n var canvasNode = document.body, bounds = new Rectangle(0, 0, 100, 100),\n world = new lively.morphic.World();\n try {\n world.setBounds(bounds);\n world.displayOnCanvas(canvasNode);\n\n var expected = {tagName: 'div', parentNode: canvasNode, childNodes: [{tagName: 'div'}]};\n this.assertNodeMatches(expected, world.renderContext().getMorphNode());\n } finally {\n world.remove();\n }\n },\n});\n\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.MorphTests',\n'running', {\n setUp: function($super) {\n $super();\n this.createWorld();\n },\n},\n'testing', {\n test01AddMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n this.assert(this.world.submorphs.include(m), 'not in submorphs');\n this.assertIdentity(this.world, m.owner, 'owner');\n\n var expected = {\n tagName: 'div', // world morph\n childNodes: [\n {tagName: 'div', childNodes: [ // world shape\n {tagName: 'div', childNodes: [{tagName: 'div'}]} // m and its shape\n ]}, \n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n test02aUseSVGRenderer: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext());\n\n var expected = {\n tagName: 'div', // world\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg', // submorph\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'rect'}]}]},\n ]}, // world's shape\n ]\n };\nconsole.log(Exporter.stringify(this.world.renderContext().getMorphNode()));\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n test03MorphWithSVGEllipse: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setShape(new lively.morphic.Shapes.Ellipse(new Rectangle(0,0, 30, 30)));\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg',\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'ellipse'}]}]}\n ]}, \n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test04MorphLocalize: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph2.setPosition(pt(10,10));\n this.assertEquals(pt(0,0), morph2.localize(pt(10,10)));\n },\n test04AddMorphBefore: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph(),\n morph3 = new lively.morphic.Morph();\n // Colors to identify the morphs are in correct order\n morph1.setFill(Color.green);\n morph2.setFill(Color.blue);\n morph3.setFill(Color.yellow);\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n this.world.addMorph(morph3, morph2);\n\n morph1.setExtent(pt(200, 200))\n morph2.setExtent(pt(100, 150))\n morph3.setExtent(pt(150, 100))\n\n // order back to front: morph1, morph3, morph2 \n /*var expected = {\n tagName: 'div', // morphNode\n childNodes: [{tagName: 'div', childNodes: [ // shape\n {tagName: 'div', childNodes: [ // submorphNode\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph1.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph3.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph2.getFill().toString()}}]},\n {tagName: 'div'} // hand\n ]}\n ]}]\n }\n\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());*/\n },\n\n testMorphBounds: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph1.setBounds(new Rectangle(100, 100, 40, 40));\n morph2.setBounds(new Rectangle(20, 10, 40, 40));\n this.assertEquals(new Rectangle(100, 100, 60, 50), morph1.getBounds());\n },\n test07MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n shape = new lively.morphic.Shapes.Rectangle(bounds);\n this.assertEquals(bounds, shape.getBounds(), 'shape bounds');\n var morph = new lively.morphic.Morph(shape);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n test08aCreateMorphWithLinearGradient: function() {\n var morph = new lively.morphic.Morph();\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\"));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(linear,0%0%,0%100%,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-linear-gradient(90deg,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n\n }]}\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test08bCreateMorphWithradialGradient: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3)));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(radial,50%30%,0,50%50%,25,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-radial-gradient(50%50%,circlefarthest-corner,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n }] \n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test09BorderColorAndWidth: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderColor(Color.green);\n morph.setBorderWidth(2.5);\n morph.setStrokeOpacity(0.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {\n // FIXME float conversion in style makes it hard to test directly\n 'border': function(result) { // \"2.5px solid rgba(0,204,0,0.5)\"\n return result.include('2.5px') && result.include('solid') && result.include('rgba(0,204')\n }\n }\n }] \n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test10BorderRadiusHTML: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderRadius(3.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: { 'border-top-left-radius': '3.5px3.5px'}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{tagName: 'div',\n style: {\"borderRadius\": \"3.5px3.5px3.5px3.5px\"}}]\n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test16MorphsContainingPoint: function() {\n var morph = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(20, 20, 30, 30), \n subsubmorph = lively.morphic.Morph.makeRectangle(25, 25, 5, 5),\n morph2 = lively.morphic.Morph.makeRectangle(48, 48, 100, 100);\n this.world.addMorph(morph)\n morph.addMorph(submorph)\n submorph.addMorph(subsubmorph)\n this.world.addMorph(morph2)\n\n var result, expected;\n\n result = morph.morphsContainingPoint(pt(-1,-1));\n this.assertEquals(0, result.length, 'for ' + pt(-1,-1));\n\n result = morph.morphsContainingPoint(pt(1,1));\n this.assertEquals(1, result.length, 'for ' + pt(1,1));\n this.assertEquals(morph, result[0], 'for ' + pt(1,1));\n\n result = morph.morphsContainingPoint(pt(40,40));\n this.assertEquals(2, result.length, 'for ' + pt(40,40));\n this.assertEquals(submorph, result[0]);\n this.assertEquals(morph, result[1]);\n\n result = morph.morphsContainingPoint(pt(45,45));\n this.assertEquals(3, result.length, 'for ' + pt(45,45));\n this.assertEquals(subsubmorph, result[0]);\n this.assertEquals(submorph, result[1]);\n this.assertEquals(morph, result[2]);\n\n result = this.world.morphsContainingPoint(pt(48,48));\n this.assertEquals(5, result.length, 'for ' + pt(48,48));\n this.assertEquals(morph2, result[0]);\n this.assertEquals(subsubmorph, result[1]);\n this.assertEquals(submorph, result[2]);\n this.assertEquals(morph, result[3]);\n this.assertEquals(this.world, result[4]);\n },\n test17MorphsContainingPointWithAddMorphFront: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n var result = this.world.morphsContainingPoint(pt(1,1));\nthis. openMorphsInRealWorld()\n// inspect(result)\n this.assertEquals(3, result.length);\n // this.assertEquals(this.world.firstHand(), result[0], 'for ' + pt(1,1));\n\n this.assertEquals(morph1, result[0], 'for ' + pt(1,1));\n this.assertEquals(morph2, result[1], 'for ' + pt(1,1));\n },\n test18OrderOfMorphsOnScrennAndInSubmorphArrayMatches: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n this.assertIdentity(this.world.submorphs[0], morph2, 'morph2 not @0')\n this.assertIdentity(this.world.submorphs[1], morph1, 'morph1 not @1')\n },\n test19MorphsContainingPointDosNotIncludeOffsetedOwner: function() {\n var owner = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(110, 10, 90, 90), \n other = lively.morphic.Morph.makeRectangle(100, 0, 100, 100);\n\n owner.name = 'owner'; submorph.name = 'submorph'; other.name = 'other';\n this.world.addMorph(owner)\n owner.addMorph(submorph)\n this.world.addMorphBack(other)\n\n var result = this.world.morphsContainingPoint(pt(150,50));\n this.assertEquals(3, result.length, 'for ' + pt(150,50));\n this.assertEquals(this.world, result[2], 'for 2');\n this.assertEquals(other, result[1], 'for 1');\n this.assertEquals(submorph, result[0], 'for 0');\n },\n\n test20setScalePointHTML: function() {\n var morph = lively.morphic.Morph.makeRectangle(0,0, 10, 10);\n morph.setScale(pt(2,3));\n this.assertEquals(pt(2,3), morph.getScale());\n this.assertEquals(pt(2,3), morph.getTransform().getScalePoint());\n var ctxt = morph.renderContext(),\n transformProp = ctxt.domInterface.html5TransformProperty;\n this.assert(/scale.+2.+3/, ctxt.morphNode.style[transformProp],\n 'css transform prop does not match');\n }\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.EventTests',\n'testing', {\n xtest05DropMorph: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n // this.world.addHandMorph();\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n morph1.setBounds(new Rectangle(0,0, 100, 100));\n morph2.setBounds(new Rectangle(0,0, 80, 80));\n morph1.applyStyle({fill: Color.red});\n morph2.applyStyle({fill: Color.green});\n\n // is already done by style settings\n // this.world.enableDropping();\n // morph1.enableDropping();\n // morph1.enableGrabbing();\n // morph2.enableDropping();\n // morph2.enableGrabbing();\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morph2.renderContext().getMorphNode(), button: 0});\n\n this.assert(this.world.firstHand().submorphs.include(morph2), 'morph not grabbed');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(20,20), target: this.world.renderContext().getMorphNode()});\n\n this.assert(morph1.submorphs.include(morph2), 'morph not dropped on morph2'); \n },\n test01DragMorph: function() {\n var dragStarted = false,\n dragMoved = false,\n dragEnded = false,\n morph = new lively.morphic.Morph(),\n morphNode = morph.renderContext().getMorphNode();\n this.world.addMorph(morph);\n morph.setBounds(new Rectangle(0,0, 100, 100));\n morph.applyStyle({fill: Color.red, enableDragging: true});\n\n morph.onDragStart = function() { dragStarted = true }\n morph.onDrag = function() { dragMoved = true }\n morph.onDragEnd = function() { dragEnded = true }\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morphNode, button: 0});\n this.assert(!dragStarted, 'drag already started after mousedown');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(25,25), target: morphNode, button: 0});\n this.assert(dragStarted, 'drag not started after mousedown and mousemove');\n this.assert(!dragMoved, 'drag already moved at dragStart');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragMoved, 'drag not moved after mousemove');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragEnded, 'dragEnd not called');\n },\n test02RelayMouseEventsToMorphBeneath: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n morph2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n\n morph2.relayMouseEventsToMorphBeneath();\n\n lively.morphic.EventSimulator.doMouseEvent(\n {type: 'mousedown', pos: pt(20,20), target: morph2, button: 0});\n this.assertIdentity(morph1, this.world.clickedOnMorph);\n },\n\n});\n \nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CopyMorphTests',\n'testing', {\n test01CopySimpleMorph: function() {\n var m = new lively.morphic.Morph()\n m.setBounds(new Rectangle(100, 100, 40, 40));\n var m2 = m.copy();\n this.assert(m !== m2, 'copied morph is identical to original morph')\n this.assertEquals(new Rectangle(100, 100, 40, 40), m2.getBounds());\n },\n test02ReferencedMorphThatIsNotASubmorphIsNotCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.addMorph(m2)\n m1.other = m3;\n this.world.addMorph(m3);\n var copy = m1.copy();\n this.assert(copy !== m1, 'copied morph is identical to original morph');\n this.assert(copy.submorphs[0] instanceof lively.morphic.Morph, 'submorph not copied');\n this.assert(copy.submorphs[0] !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.other === m3, 'referenced morph that is not a submorph is not identical')\n },\n test02bReferencedMorphThatIsNotASubmorphButIsNotInTheWorldIsCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n this.world.addMorph(m1);\n m2.addMorph(m3);\n m1.ref = m2;\n var copy = m1.copy();\n this.assert(copy.ref instanceof lively.morphic.Morph, 'ref not copied');\n this.assert(copy.ref !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.ref.submorphs[0] instanceof lively.morphic.Morph, 'm3 not copied');\n this.assert(copy.ref.submorphs[0] !== m3, 'm3 copied is identical to m3');\n },\n\n test03OwnerIsNotCopied: function() {\n var m = new lively.morphic.Morph();\n this.world.addMorph(m);\n var copy = m.copy();\n this.assert(!copy.owner, 'owner was copied');\n },\n test04CopyMorphTreeWithEventHandlers: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.enableGrabbing();\n m2.enableGrabbing();\n m3.enableGrabbing();\n m1.addMorph(m2)\n m2.addMorph(m3)\n this.world.addMorph(m1);\n var copy = m1.copy();\n this.world.addMorph(copy);\n this.assertEquals(2+1, this.world.submorphs.length); // +1 for hand\n this.assertEquals(1, copy.submorphs.length);\n this.assertEquals(1, copy.submorphs[0].submorphs.length);\n },\n test05CopySetsNewTargetForScripts: function() {\n var m1 = new lively.morphic.Morph();\n m1.startStepping(20, 'rotateBy', 0.1);\n var copy = m1.copy();\n\n this.assertIdentity(m1, m1.scripts[0].target, 'original target changed');\n this.assertIdentity(copy, copy.scripts[0].target, 'copy target changed');\n },\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphTests',\n'testing', {\n test01TextMorphHTML: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.setTextString('Foo');\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div', textContent: 'Foo'}] // text node\n }, \n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test02TextMorphSVG: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setTextString('Foo');\n var expected = {\n tagName: 'g',\n childNodes: [\n {tagName: 'rect'}, // shape\n {tagName: 'text', textContent: 'Foo'} // text node\n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test03TextStringIsConnectable: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n var resultObj = {result: null};\n connect(m, 'textString', resultObj, 'result');\n m.setTextString('Foo');\n this.assertEquals('Foo', resultObj.result);\n },\n test04GrowToFit: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 10, 20));\n this.world.addMorph(m);\n m.setTextString('a really long string longer than 10px')\n m.applyStyle({fixedWidth: false});\n this.assert(m.getExtent().x > 10, 'did not grow to fit text ' + m.bounds().width);\n },\n test04bFitReallyShrinksMorphinHTML: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 200));\n this.world.addMorph(m);\n m.setTextString('short')\n m.applyStyle({fixedWidth: false});\n m.fit();\n this.assert(m.getExtent().x < 100, 'did not shrink to fit text');\n },\n\n\n test05SetSelectionRange: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(0,1);\n this.assertEquals('1', m.selectionString());\n m.setSelectionRange(0,3);\n this.assertEquals('123', m.selectionString());\n m.setSelectionRange(-99,m.textString.length+10);\n this.assertEquals('123\\t567\\n9', m.selectionString());\n },\n test05bSetSelectionRangeRightToLeft: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(3, 0);\n this.assertEquals('123', m.selectionString());\n this.assertEqualState([3,0], m.getSelectionRange());\n },\n test05cCorrectNewlinesInSelection: function() {\n // added 2012-01-06. Firefox Selection>>toString replaces \\n with ' '\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assert(m.textString.indexOf(m.selectionString()) != -1);\n },\n\n\n test06ModifySelectedLinesInsertsAtCorrectPosition: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assertEquals('This\\nis\\na', m.selectionString())\n m.modifySelectedLines(function(ea) { return '+' + ea });\n this.assertEquals('+This\\n+is\\n+a\\ntest', m.textString);\n },\n test07aSplitText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n\n m.splitText();\n\n var newText = this.world.submorphs[this.world.submorphs.indexOf(m)+1]\n this.assert(newText.isText && newText !== m, 'no text created');\n this.assertEquals(m, newText.splittedFrom, 'spittedFrom field no correct');\n this.assertEquals('test', newText.textString, 'spittedFrom string');\n this.assertEquals('This is a ', m.textString, 'former text string not OK');\n this.assert(newText.bounds().top() > m.bounds().bottom(), 'not below old text');\n },\n test07bMergeText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n var splitted = m.splitText();\n splitted.emphasizeAll({fontWeight: 'bold'});\n splitted.mergeText();\n \n this.assert(!splitted.owner, 'splitted not removed');\n this.assertEquals('This is a test', m.textString, 'spittedFrom string');\n this.assertMatches({fontWeight: 'bold'}, m.getEmphasisAt(11))\n },\n test08CopyTextWithConnection: function() {\n // issue 285\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20), \"\");\n connect(m, 'textString', m, 'someOtherField')\n var copy = m.duplicate()\n this.assert(copy.textString == '', 'copy is broken') \n },\n\n\n\n\n\n\n\n\n\n\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphRichTextTests',\n'running', {\n setUp: function($super) {\n $super();\n this.text = new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // cop.withLayers([TextDevLayer], function() {\n // return new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // })\n // this.text.setWithLayers([TextDevLayer]);\n this.world.addMorph(this.text);\n },\n checkRunArray: function(expectedRunArray) {\n this.assertMatches(expectedRunArray.asArray(), this.text.textStyle.asArray());\n },\n checkChunks: function(expectedChunks, optTextChunkOwner) {\n var textChunkOwner = optTextChunkOwner || this.text;\n this.assertMatches(expectedChunks, textChunkOwner.getTextChunks());\n },\n\n checkDOM: function(expectedTextNodes) {\n // check what was actually rendered\n var expected = {\n tagName: 'div',\n childNodeLength: expectedTextNodes.length,\n childNodes: expectedTextNodes\n };\n this.assertNodeMatches(expected, this.text.renderContext().textNode);\n },\n\n\n},\n'testing', {\n test01MorphHasTextChunk: function() {\n// this. openMorphsInRealWorld()\n// inspect(this.text)\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('', chunks[0].textString);\n chunks[0].textString = 'foo';\n this.assertEquals('foo', this.text.textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test02MorphHasTextChunkWhenTextStringIsSet: function() {\n this.text.textString = 'foo'\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('foo', chunks[0].textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test03SplitAndJoinTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n var after = chunk.splitAfter(3);\n this.assertEquals('test', after.textString, 'after string');\n this.assertEquals('ein', chunk.textString, 'chunk string');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n\n chunk.joinWithNext();\n this.assertEquals('eintest', chunk.textString);\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}]);\n\n var before = chunk.splitBefore(3);\n this.assertEquals('ein', before.textString, 'before string');\n this.assertEquals(2, this.text.getTextChunks().length);\n },\n test03bCoalesceChunks: function() {\n this.text.setTextString('test');\n this.text.firstTextChunk().splitAfter(2);\n this.text.coalesceChunks()\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test03cSplitAtFrontAndBack: function() {\n this.text.setTextString('a');\n var after = this.text.firstTextChunk().splitAfter(1);\n this.assertEquals('', after.textString, 'splitAfter');\n var before = this.text.firstTextChunk().splitBefore(0);\n this.assertEquals('', before.textString, 'splitBefore');\n this.assertEquals(3, this.text.getTextChunks().length);\n },\n test03cSplittedChunkGetsStyle: function() {\n this.text.setTextString('abcdef');\n var chunk = this.text.firstTextChunk();\n chunk.style.setFontWeight('bold');\n var after = this.text.firstTextChunk().splitAfter(3);\n this.assertEquals('bold', after.style.getFontWeight());\n },\n\n\n\n test04SliceTextChunksSimple: function() {\n this.text.setTextString('eintest');\n var sliced = this.text.sliceTextChunks(0,3);\n this.assertEquals(1, sliced.length, 'sliced not oke');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n },\n\n test04SliceTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n chunk.splitAfter(3);\n var sliced = this.text.sliceTextChunks(2,6);\n this.assertEquals(4, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ei'},\n {tagName: 'span', textContent: 'n'},\n {tagName: 'span', textContent: 'tes'},\n {tagName: 'span', textContent: 't'}])\n },\n test04SliceTextChunksAgain: function() {\n this.text.setTextString('abc');\n var sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'first');\n sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'second');\n },\n\n test05StyleChunk: function() {\n this.text.setTextString('test');\n var chunk = this.text.firstTextChunk();\n chunk.styleText({fontWeight: 'bold'});\n this.checkDOM([{tagName: 'span', style: {fontWeight: 'bold'}}]);\n },\n test06MakeTextBold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n\n\n\n test07MakeTextBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 2);\n this.text.emphasize({fontWeight: 'normal'}, 0, 2);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test08ToggleBoldnessComplete: function() {\n this.text.setTextString('eintest');\n this.text.toggleBoldness(1, 6);\n this.checkDOM([\n {tagName: 'span', textContent: 'e'},\n {tagName: 'span', textContent: 'intes'},\n {tagName: 'span', textContent: 't'}])\n this.text.toggleBoldness(1, 6);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test09ChunksAreSerializable: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.text.name = 'testText';\n this.serializeAndDeserializeWorld();\n this.text = this.world.get('testText');\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n\n },\n test10ConvertSelectionRangeForEmphasis: function() {\n // the indexes used by text selection are currently different\n // to those used for emphasizing the text\n var testValues = [\n {sel: [0,0], emph: [0,0]},\n {sel: [0,7], emph: [0,7]},\n {sel: [1,1], emph: [1,1]},\n {sel: [2,0], emph: [0,2]},\n {sel: [8,0], emph: [0, 8]},\n {sel: [4,7], emph: [4,7]}];\n testValues.forEach(function(selAndEmph) {\n this.assertEqualState(\n selAndEmph.emph,\n this.text.convertSelectionRangeForEmphasis(selAndEmph.sel),\n 'sel conversion of ' + selAndEmph.sel);\n }, this)\n },\n test11ToggleBoldnessWithChunkWithMultipleTextNodes: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n this.text.insertAtCursor('foo');\n this.assertEquals('einfootest', this.text.textString, 'insert')\n this.checkDOM([\n {tagName: 'span', textContent: 'einfootest', childNodes: [\n {tagName: undefined, textContent: 'ein'},\n {tagName: undefined, textContent: 'foo'},\n {tagName: undefined, textContent: 'test'}\n ]},\n ])\n\n this.text.toggleBoldness(1, 9);\n this.checkDOM([\n {tagName: 'span', textContent: 'e', childNodes: [{textContent: 'e'}]},\n {tagName: 'span', textContent: 'infootes', childNodes: [{textContent: 'infootes'}]},\n {tagName: 'span', textContent: 't', childNodes: [{textContent: 't'}]},\n ])\n },\n test11FixChunksShouldKeepSlection: function() {\n this.text.setTextString('eintest');\n // add a text outside of chunks manually\n this.text.renderContext().textNode.appendChild(document.createTextNode('test'))\n this.text.setSelectionRange(2,5)\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest', childNodes: [\n {tagName: undefined, textContent: 'eintesttest'},\n ]},\n ])\n var range = this.text.getSelectionRange()\n this.assert(range, 'no selection range after fixChunks!')\n this.assertMatches([2, 5], range) // Inconsistency with selection ranges?\n },\n test12GetAndSetSelectionRangeHaveEqualValues: function() {\n this.text.setTextString('eintest');\n this.text.setSelectionRange(1, 6)\n this.assertEquals('intes', this.text.selectionString());\n this.assertMatches([1,6], this.text.getSelectionRange());\n },\n test13InsertedTextBetweenChunksIsAssimilated: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n\n var chunks = this.text.getTextChunks();\n this.assertEquals(2, chunks.length, 'test preparation: chunks not OK')\n\n var newNode = XHTMLNS.create('b')\n newNode.textContent = 'foo';\n\n this.text.renderContext().textNode.insertBefore(newNode, chunks[1].getChunkNode());\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abcfoo'},\n {tagName: 'span', textContent: 'def'},\n ])\n },\n test14GetEmphasisAt: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 1, 3);\n\n var emph, expected = ['normal', 'bold', 'bold', 'normal']\n expected.forEach(function(expectedFontWeight, i) {\n var emph = this.text.getEmphasisAt(i)\n this.assertEquals(expectedFontWeight, emph.getFontWeight(), i);\n },this)\n },\n\n test15GetChunkAndLocalIndex: function() {\n this.text.setTextString('abcdef');\n this.text.sliceTextChunks(1,3);\n this.checkDOM([\n {tagName: 'span', textContent: 'a'},\n {tagName: 'span', textContent: 'bc'},\n {tagName: 'span', textContent: 'def'},\n ]);\n\n var chunks = this.text.getTextChunks(), result;\n \n result = this.text.getChunkAndLocalIndex(0);\n this.assertEquals(chunks[0], result[0]); // test for chunk\n this.assertEquals(0, result[1]); // test for local index\n\n result = this.text.getChunkAndLocalIndex(1); // if chunks ends at idx we extend it\n this.assertEquals(chunks[0], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(2);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(1, true);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(0, result[1])\n },\n test16AddLink: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({uri: 'http://foo.com'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein', style: {uri: 'http://foo.com'}},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {textDecoration: 'underline'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test17AddLinkMakeBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n\n this.text.emphasize({uri: 'test'}, 3, 7)\n this.text.emphasize({fontWeight: 'bold'}, 0, 4)\n this.text.emphasize({fontWeight: 'normal'}, 0, 4)\n\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test', style: {textDecoration: 'underline'}}])\n },\n test18LinkifiedChunkShouldKeepLinkWhenTextStringChanges: function() {\n this.text.setTextString('foo');\n this.text.emphasize({uri: 'test'}, 0, 3);\n\n this.text.firstTextChunk().textString = 'bar'\n\n this.checkChunks([{textString: 'bar', style: {uri: 'test'}}])\n\n this.checkDOM([{\n tagName: 'span',\n textContent: 'bar',\n style: {textDecoration: 'underline'}\n }])\n },\n test19FixChunksShouldRemoveElements: function() {\n this.text.setTextString('eintest');\n\n // this happens when pasting rich text on windows, for now remove RT attributes\n var elem = XHTMLNS.create('a');\n elem.href = 'http://foo.com';\n elem.textContent = 'test';\n\n this.text.firstTextChunk().getChunkNode().appendChild(elem);\n\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest',\n // childNodes: [{tagName: undefined, textContent: 'eintesttest'}]\n },\n ])\n },\n test20HandleSplittedSpanNodes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('ac');\n\n var span = XHTMLNS.create('span');\n span.textContent = 'a';\n textNode.insertBefore(span, this.text.firstTextChunk().getChunkNode());\n\n var text = NodeFactory.createText('b');\n textNode.insertBefore(text, this.text.firstTextChunk().getChunkNode());\n\n this.text.firstTextChunk().textString = 'c';\n\n this.text.fixChunks();\n\n this.checkDOM([{tagName: 'span', textContent: 'abc'}]);\n },\n test21HandleSplittedSpanNodesAndTextAttributes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('abc');\n\n this.text.emphasize({fontWeight: 'bold'}, 1,3);\n var chunks = this.text.getTextChunks();\n\n var span = XHTMLNS.create('span');\n span.textContent = 'b';\n textNode.insertBefore(span, chunks.last().getChunkNode());\n // abbc\n\n var text = NodeFactory.createText('x');\n textNode.insertBefore(text, chunks.last().getChunkNode());\n // abxbc\n\n chunks.last().textString = 'c';\n // abxc\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abx'},\n {tagName: 'span', textContent: 'c', style: {fontWeight: 'bold'}}]);\n },\n test22ReclaimRemovedSpanNodesOnPaste: function() {\n // this happens when pasting normal text on Mac OS after a chunk\n // the span node of the chunk that is pasted into is removed and the chunkNode\n // has no parent anymore. The abandoned chunkNode should reclaim its old text + the isnerted\n\n // add new content\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\n\\nbar\\n\\nbaz');\n\n this.text.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.emphasize({fontWeight: 'bold'}, 10,13);\n var chunks = this.text.getTextChunks();\n\n // remove middle chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var text = NodeFactory.createText('\\n\\nbar zurp\\n\\n');\n textNode.insertBefore(text, chunks[2].getChunkNode());\n\n this.assertEquals('foo\\n\\nbar zurp\\n\\nbaz',textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: '\\n\\nbar zurp\\n\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'baz', style: {fontWeight: 'bold'}}]);\n\n },\n test23ReclaimRemovedChunkNodeAndReapplyTextAttributes: function() {\n // this happens when pasting normal text on Mac OS in attributed text (e.g. bold)\n // Chrome tries to complete render the span itself, e.g. using \n // the chunkNode is removed but the chunk still exists\n // this tests if the chunk can reclaim the text and set it's attributes again\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\nbar');\n\n this.text.emphasize({fontWeight: 'bold'}, 4,7);\n var chunks = this.text.getTextChunks();\n\n // remove last chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var b = XHTMLNS.create('b');\n b.textContent = 'morebar'\n textNode.appendChild(b);\n\n this.assertEquals('foo\\nmorebar', textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'morebar', style: {fontWeight: 'bold'}}]);\n }, \n\n test22EmphasizeRegex: function() {\n this.text.setTextString(\"a1b2c\");\n this.text.emphasizeRegex(/[0-9]/g, {color: Color.red});\n this.checkChunks([\n {textString: 'a', style: {color: null}},\n {textString: '1', style: {color: Color.red}},\n {textString: 'b', style: {color: null}},\n {textString: '2', style: {color: Color.red}},\n {textString: 'c', style: {color: null}},\n ])\n },\n richTextPasteData: 'ein test',\n\n test23aRichTextPaste: function() {\n var pastedText = this.richTextPasteData,\n rt = lively.morphic.HTMLParser.pastedHTMLToRichText(pastedText);\n this.assertEquals(2, rt.textChunks.length);\n this.assertEquals('ein ', rt.textChunks[0].textString);\n this.assertEquals('test', rt.textChunks[1].textString);\n this.assertEquals('normal', rt.textChunks[0].style.getFontWeight());\n this.assertEquals('bold', rt.textChunks[1].style.getFontWeight());\n \n },\n test24aInsertTextChunks: function() {\n this.text.setTextString('ein');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('test')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n test24bInsertTextChunks: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('foo')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'foo'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n\n test25SlicingTextChunksWithRangeWithLengthZero: function() {\n this.text.setTextString('ein');\n var newChunk = this.text.sliceTextChunks(3,3);\n this.assertEquals(2, this.text.textChunks.length)\n this.assertIdentity(newChunk[0], this.text.textChunks.last())\n },\n test26aUnEmphasize: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.unEmphasize(0,7);\n this.checkChunks(\n [{textString: 'eintest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'eintest', style: {fontWeight: ''}}])\n },\n test26bUnEmphasizePart: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.setSelectionRange(1,3);\n this.text.unEmphasizeSelection();\n var selRange = this.text.getSelectionRange();\n this.assertMatches([1,3], selRange)\n this.checkChunks(\n [{textString: 'e'},\n {textString: 'intest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'e', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'intest', style: {fontWeight: ''}}])\n },\n\n\n\n\n\n});\nlively.morphic.Tests.TextMorphRichTextTests.subclass('lively.morphic.Tests.RichTextTests',\n'testing', {\n test01CreateRichText: function() {\n var rt = new lively.morphic.RichText('test');\n this.text.setRichText(rt);\n this.assertEquals('test', this.text.textString)\n },\n test02GetRichText: function() {\n this.text.textString = 'test';\n var rt = this.text.getRichText();\n this.assertEquals('test', rt.textString)\n },\n test03EmphasizeRichText: function() {\n var rt = new lively.morphic.RichText('eintest');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.assertEquals(2, rt.textChunks.length, 'chunks not created in rich text')\n this.text.setRichText(rt);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test04InsertInText: function() {\n var rt = new lively.morphic.RichText('foo');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.setTextString('einxtest');\n this.text.setSelectionRange(3,4);\n rt.replaceSelectionInMorph(this.text)\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'foo'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test05GetRichText: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichText();\n this.checkChunks([{textString: 'test', style: {fontWeight: 'bold'}}], rt)\n },\n test05bGetRichTextFromTo: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichTextFromTo(2, 4);\n this.checkChunks([{textString: 'te', style: {fontWeight: 'bold'}}], this.text)\n this.checkChunks([{textString: 'st', style: {fontWeight: 'bold'}}], rt)\n },\n\n\n\n\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ButtonMorphTests',\n'testing', {\n test01MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n morph = new lively.morphic.Button(bounds);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ListMorphTests',\n'testing', {\n test01SetAndRetrieveStringItems: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.assertEqualState(['1', '2', '3'], list.itemList);\n list.updateList(['foo']);\n this.assertEqualState(['foo'], list.itemList);\n },\n test02SelectAt: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['first']);\n this.world.addMorph(morph);\n morph.selectAt(0);\n\n this.assertEquals('first', morph.selection);\n // var morphNode = morph.renderContext().getMorphNode();\n // this.doMouseEvent({type: 'mousedown', pos: pt(10,8), target: morphNode, button: 0});\n },\n test03SelectListItem: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(morph);\n morph.updateList([\n {isListItem: true, string: 'foo', value: 23},\n {isListItem: true, string: 'bar', value: 24}])\n morph.selectAt(1);\n this.assertEquals(24, morph.selection);\n },\n\n test04ListMorphBoundsOnCreationInHTML: function() {\n var owner = lively.morphic.Morph.makeRectangle(0,0,10,10),\n list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n\n owner.addMorph(list)\n this.world.addMorph(owner);\n\n // FIXME depends on HTML\n this.assert(list.renderContext().listNode.clientHeight > 0, 'list node height is wrong')\n },\n test05ListMorphKeepsSelectionHighlightOnUpdateList: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(list);\n\n list.updateList([1,2,3]);\n list.setSelection(2);\n list.updateList([1,2,3]);\n\n var expected = {\n tagName: 'option',\n // attributes: {selected: true} // for some reason this does not work..\n };\n this.assertNodeMatches(expected, list.renderContext().subNodes[1]);\n this.assert(list.renderContext().subNodes[1].selected, 'not selected');\n },\n test06SetSelectionWithListItems: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [{isListItem: true, string: 'foo', value: 23}];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(23);\n\n this.assertEquals(0, list.selectedLineNo);\n },\n testAddMorphDuplicatesListsBug: function() {\n var list = new lively.morphic.List(new Rectangle(0,0,100,100), [1,2,3]),\n rect = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(list);\n this.world.addMorph(rect);\n rect.addMorph(list);\n\n this.assert(!this.world.submorphs.include(list), 'list in world submorphs')\n this.assert(rect.submorphs.include(list), 'list not in rect submorphs')\n },\n testUpdateListOnSelectionHighlightsSelectionCorrectly: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [1, 2, 3];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(2);\n this.assertEquals(1, list.selectedLineNo);\n\n connect(list, 'selection', list, 'onSelect')\n list.addScript(function onSelect(sel) { this.updateList(this.getList()) });\n\n list.setSelection(3);\n this.assertEquals(2, list.selectedLineNo);\n // FIXME implementation & HTML specific\n var isSelected = list.renderContext().subNodes[2].selected;\n this.assert(isSelected !== '', 'highlight wrong')\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MultipleSelectionListTests',\n'testing', {\n test01GetSelections: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.setSelection('2');\n this.assertEqualState(['2'], list.getSelections());\n },\n test02TurnOnMultipleSelectionMode: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.enableMultipleSelections();\n list.setSelections(['1','3'])\n this.assertEqualState(['1', '3'], list.getSelections());\n },\n test03SetSelection: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n list.enableMultipleSelections();\n list.setSelection('1')\n list.setSelection('3')\n list.setSelection(null)\n this.assertEqualState(['1', '3'], list.getSelections());\n list.clearSelections();\n this.assertEqualState([], list.getSelections());\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.AppTests',\n'testing', {\n test01ConfirmDialog: function() {\n var answer = false,\n dialog = this.world.confirm('Foo?', function(bool) { answer = bool });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'no button does not work')\n dialog.okButton.simulateButtonClick();\n this.assert(answer, 'yes button does not work')\n },\n test02PromptDialog: function() {\n var answer = 'nothing',\n dialog = this.world.prompt('Foo?', function(input) { answer = input });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'cancel button does not work')\n dialog.inputText.setTextString('test input')\n dialog.okButton.simulateButtonClick();\n this.assertEquals('test input', answer, 'ok button does not work')\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CanvasRenderingTests',\n'testing', {\n test01UseCanvasRendererForSimpleMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.Canvas.RenderContext())\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test02MorphAndSubmorphWithCanvas: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph()\n this.world.addMorph(m1);\n m1.renderUsing(new lively.morphic.Canvas.RenderContext())\n m1.addMorph(m2);\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n});\n\nTestCase.subclass('lively.morphic.Tests.SimilitudeTests',\n'testing', {\n test01PointTransform: function() {\n var globalPoint = pt(20,10),\n globalTransform = new lively.morphic.Similitude(pt(0,0), 0, pt(1,1)),\n localTransform = new lively.morphic.Similitude(pt(5,10), 0, pt(1,1)),\n globalizedInvertedLocal = localTransform.preConcatenate(globalTransform).inverse(),\n matrix = globalTransform.preConcatenate(globalizedInvertedLocal);\n this.assertEquals(pt(15, 0), globalPoint.matrixTransform(matrix))\n },\n});\n\nAsyncTestCase.subclass('lively.morphic.Tests.ScriptTests',\n'testing', {\n test01StartAndStopTicking: function() {\n var n = 0, script = new lively.morphic.FunctionScript(function() { script.stop(); n++; });\n script.startTicking(10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test02SuspendAndContinue: function() {\n var n = 0,\n script = lively.morphic.Script.forFunction(function() { n++; });\n script.startTicking(10);\n this.delay(function() { this.assertEquals(1, n, 'Script not run once'); script.suspend() }, 15);\n this.delay(function() { this.assertEquals(1, n, 'Script not suspended'); script.resume() }, 25);\n this.delay(function() {\n script.stop();\n this.assertEquals(2, n, 'Script not continued');\n this.done();\n }, 40);\n },\n test03MorphStartStepping: function() {\n var m = new lively.morphic.Morph(),\n arg = {callCount: 0};\n m.someFunction = function(arg) { arg.callCount++ };\n\n m.startStepping(10, 'someFunction', arg);\n this.delay(function() {\n m.remove();\n this.assertEquals(1, arg.callCount, 'someFunction not run once');\n }, 15);\n this.delay(function() {\n this.assertEquals(1, arg.callCount, 'arg call count changed although morph was removed');\n this.done();\n }, 30);\n },\n test04ScriptEquals: function() {\n var cb = function() { return 23 },\n script1 = new lively.morphic.FunctionScript(cb);\n script2 = new lively.morphic.FunctionScript(cb);\n this.assert(script1.equals(script1), 'identity not working');\n this.assert(script1.equals(script2), 'FunctionScript equals');\n\n script1 = new lively.morphic.TargetScript(this, 'foo', 33);\n script2 = new lively.morphic.TargetScript(this, 'foo', 44);\n this.assert(script1.equals(script1), 'identity not working Target');\n this.assert(script1.equals(script2), 'TargetScript equals');\n\n this.done()\n },\n test05StartSteppingChecksIfScriptIsThere: function() {\n var m = new lively.morphic.Morph();\n m.someFunction = function(arg) { return 33 };\n\n m.startStepping(10, 'someFunction');\n m.startStepping(20, 'someFunction');\n\n this.assertEquals(1, m.scripts.length, 'script added twice');\n this.assertEquals(20, m.scripts[0].tickTime, 'tickTime not OK');\n \n this.done();\n },\n test06FunctionScriptOnce: function() {\n var n = 0, cb = function() { n++; };\n lively.morphic.FunctionScript.once(cb, 10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test07MorphicDelayWorksLikeNormalDelay: function() {\n Global.test07MorphicDelayWorksLikeNormalDelayTriggered = false;\n var f = function() { Global.test07MorphicDelayWorksLikeNormalDelayTriggered = true }\n f.morphicDelay(20);\n this.delay(function() {\n this.assert(!Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was triggered too early');\n }, 10);\n this.delay(function() {\n this.assert(Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was not triggered');\n this.done();\n }, 30);\n }\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.SerializationTests',\n'testing', {\n test01SerializeSimpleWorld: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n this.world.addMorph(m1);\n m1.setName('SomeMorph');\n var json = lively.persistence.Serializer.serialize(this.world)\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n this.assertEquals(2, this.world.submorphs.length) // m1 and hand;\n this.assert(this.world.get('SomeMorph'), 'does not find morph with name from m1');\n this.assert(m1 !== this.world.submorphs[1], 'morphs are identical!!!');\n },\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.HaloTests',\n'testing', {\n test01ShowHalosForMorph: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(50,50, 100, 100);\n this.world.addMorph(m1);\n m1.showHalos();\n this.assertIdentity(m1, this.world.currentHaloTarget, 'halo target');\n this.assert(m1.halos.length > 0, 'morph has no halos?');\n },\n test02HalosStayInVisibleBounds: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n m1.align(m1.bounds().topRight(), this.world.bounds().topRight());\n this.world.addMorph(m1);\n m1.showHalos(); \n m1.halos.forEach(function(ea) {\n if (ea.constructor == lively.morphic.OriginHalo) return;\n if (ea.constructor == lively.morphic.RenameHalo) return;\n if (ea.constructor == lively.morphic.BoundsHalo) return;\n this.assert(this.world.visibleBounds().containsRect(ea.bounds()), 'halo ' + ea + ' not in visibleBounds')\n }, this)\n },\n testChangeExtentOfRectSoThatItFitsInOuter: function() {\n var outer, r, result;\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(0,0, 10, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(20,30, 10, 20), result);\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(40,40, 10, 12);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(r, result);\n\n outer = new Rectangle(20,30, 80, 70);\n r = new Rectangle(90,90, 20, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(90,90, 10, 10), result);\n },\n\n\n\n\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ImageTests',\n'testing', {\n testImageMorphHTML: function() {\n var url = 'http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png',\n morph = new lively.morphic.Image(new Rectangle(0,0,100,100), url) \n this.world.addMorph(morph);\n var expected = {\n tagName: 'div',\n childNodes: [{\n tagName: 'div',\n childNodes: [{tagName: 'img', attributes: {src: url}}]\n }],\n };\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode()); \n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MenuTests',\n'testing', {\n testWrongSubMenuItems: function() {\n var menu = lively.morphic.Menu.openAt(pt(0,0), 'test', [['foo', ['bar']], ['foo2', ['bar2']]]),\n item = menu.submorphs[1]; // 0 is title, 1 is first item\n this.doMouseEvent({type: 'mouseover', pos: pt(5,5), target: item.renderContext().getMorphNode()});\n this.assertEquals('bar', menu.subMenu.items[0].string, 'sub menu is wrong')\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n menuBounds, result, expected;\n\n // nothing to do when rect opens in visible range\n menuBounds = new Rectangle(0,0, 30, 20);\n expected = menuBounds;\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 1);\n\n // move bounds left besides opening point (hand) so that no accidental clicks occur\n menuBounds = new Rectangle(290,0, 30, 20);\n expected = new Rectangle(260,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 2);\n\n // if bottom of menu would be lower than bottom of visble bounds, translate it\n menuBounds = new Rectangle(0,90, 30, 20);\n expected = menuBounds.translatedBy(pt(0,-10));\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 3);\n },\n testTransformSubMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n mainMenuItemBounds, subMenuBounds, result, expected;\n\n // move rect so that it is next to menu item\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 1);\n\n // when too far right, move the submenu to the left\n mainMenuItemBounds = new Rectangle(290,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(290-30,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 2);\n\n // when too far below move the submenu up\n mainMenuItemBounds = new Rectangle(0,90, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,90-10, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 3);\n\n // when owner bounds to small align at top\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 10, 200);\n expected = new Rectangle(10,0, 10, 200);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 4);\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 20, 20),\n menuBounds = new Rectangle(10,10, 30, 30),\n // move 1px to right so hand is out of bounds\n expected = new Rectangle(1,0, 30, 30);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 'transformed when onerBounds smaller');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ExternalShapesTests',\n'testing', {\n test01AddADivShape: function() {\n //var div = stringToXML('
a test
');\n var div = document.createElement('div');\n div.innerHTML = \"a test\";\n var morph = new Morph(new lively.morphic.Shapes.External(div));\n this.world.addMorph(morph);\n this.assert(morph.getExtent().x > 0, 'width of morph not bigger than 0');\n this.assert(morph.getExtent().y > 0, 'height of morph not bigger than 0');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.LayoutTests',\n'testing', {\n test01DropJournalLayoutOnMorph: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.JournalLayout());\n this.world.addMorph(container);\n\n var text = new lively.morphic.Text();\n text.setExtent(new lively.Point(300, text.getExtent().y));\n text.setTextString('hello world');\n text.openInWorld();\n\n text.growOrShrinkToFit();\n container.addMorph(text);\n\n this.assertEquals(container.getExtent().y, 2*container.getLayouter().getBorderSize() + text.getExtent().y, \"expected morph's extent to be 200\");\n },\n test02ApplyHBoxLayout: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.HorizontalLayout());\n this.world.addMorph(container);\n\n var child = new Morph();\n child.setExtent(new lively.Point(200, 200));\n child.layout = {};\n child.layout.resizeWidth = true;\n child.openInWorld();\n\n container.addMorph(child);\n\n this.assertEquals(child.getExtent().x, container.getExtent().x - 2*container.getLayouter().getBorderSize(), \"expected child to fit into container\");\n },\n test03GridLayoutDefaultSizes: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var grid = new lively.morphic.Layout.GridLayout();\n container.setLayouter(grid);\n this.world.addMorph(container);\n\n for (var x = 0; x < grid.numCols; x++) {\n assertEquals(grid.defaultColWidth, grid.getMinColWidth(x), 'col width should be same as default');\n }\n for (var y = 0; y < grid.numRows; y++) {\n assertEquals(grid.defaultRowHeight, grid.getMinRowHeight(y), 'row height should be same as default');\n }\n },\n test04TileLayoutMovesFirstMorphToTopLeft: function() {\n var container = new lively.morphic.Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var l = new lively.morphic.Layout.TileLayout();\n container.setLayouter(l);\n this.world.addMorph(container);\n\n var m = new lively.morphic.Morph();\n\n container.addMorph(m);\n\n this.assertEquals(m.getPosition(), pt(l.getSpacing(), l.getSpacing()), 'TileLayout did not set correct position of first submorph');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.SelectionTest',\n'testing', {\n testGrabByHand: function() {\n LastWorld = this.world;\n\n var hand = this.world.hands.first();\n hand.setPosition(pt(10,10))\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(100,20))\n this.world.addMorph(morph2);\n\n var oldPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.world.selectionMorph.selectMorphs([morph1, morph2]);\n this.world.selectionMorph.grabByHand(hand);\n\n var newPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.assertEquals(oldPos, newPos, 'selection pos changed')\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n testDropOn: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(40,40))\n this.world.addMorph(morph2)\n\n this.world.selectionMorph.addMorph(morph1);\n this.world.selectionMorph.dropOn(morph2);\n\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n\n testAddMorph: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n testAddMorphWithSelectionInHand: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.hands.first().addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n },\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.RenderingTest',\n'testing', {\n test01NodeIsInDOM: function() {\n var m1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n m2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n m1.addMorph(m2);\n var domInterface = m1.renderContext().domInterface;\n this.assert(!domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node in DOM?')\n this.assert(!domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node in DOM?')\n this.world.addMorph(m1)\n this.assert(domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node not in DOM?') \n this.assert(domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node not in DOM?')\n },\n test02RenderCrossBrowserLinearGradient: function() {\n var gradient = new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\");\n expectedWebkit = '-webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0, rgb(204,0,0)),color-stop(0.8, rgb(0,204,0)))',\n expectedFirefox = '-moz-linear-gradient(90deg, rgb(204,0,0) 0%, rgb(0,204,0) 80%)';\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n test02bRenderCrossBrowserRadialGradient: function() {\n var gradient = new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3));\n expectedWebkit = \"-webkit-gradient(radial,50%30%,0,50%50%,50,color-stop(0,rgba(204,0,0,1)),color-stop(0.8,rgba(0,204,0,1)))\",\n expectedFirefox = '-moz-radial-gradient(50% 50%, circle cover, rgb(204,0,0) 0%, rgb(0,204,0) 80%)'\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult.replace(/\\s/g, '') || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n\n\n});\n\n\n}) // end of module\n","lastSyntaxHighlightTime":1328826361343,"styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2354":{"_Position":{"__isSmartRef__":true,"id":2355},"renderContextTable":{"__isSmartRef__":true,"id":2356},"_Extent":{"__isSmartRef__":true,"id":2357},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":2358},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2355":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2356":{"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"},"2357":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2358":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2359":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2360":{"style":{"__isSmartRef__":true,"id":2361},"chunkOwner":{"__isSmartRef__":true,"id":2353},"storedString":"module('lively.morphic.tests.Morphic').requires('lively.TestFramework', 'lively.morphic.Complete', 'lively.morphic.Layout').toRun(function() {\n\nnamespace('lively.morphic.Tests'); // FIXME to be removed\n\nTestCase.subclass('lively.morphic.Tests.TestCase',\n'running', {\n tearDown: function($super) {\n $super();\n this.removeTestWorld();\n },\n},\n'helper', {\n removeTestWorld: function() {\n if (this.world) {\n this.world.remove();\n this.world = null;\n }\n if (this.oldAlert)\n Global.alert = this.oldAlert;\n if (this.existingWorld) {\n this.existingWorld.displayOnCanvas(document.getElementsByTagName('body')[0]);\n lively.morphic.World.currentWorld = this.existingWorld;\n this.existingWorld = null;\n }\n },\n openMorphsInRealWorld: function() {\n this.removeTestWorld();\n },\n createWorld: function() {\n if (this.world) return; // already created\n this.existingWorld = lively.morphic.World.current();\n this.world = lively.morphic.World.createOn(document.body, new Rectangle(0,0,300,300));\n this.oldAlert = Global.alert;\n Global.alert = function (msg) { this.existingWorld.alert(String(msg)) }.bind(this)\n },\n serializeAndDeserializeWorld: function() {\n if (!this.world) {\n alert('No test world created');\n return\n }\n var json = this.world.serializeToJSON();\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n },\n\n},\n'assertion', {\n assertNodeMatches: function(expected, node) {\n var self = this,\n fail = function fail(msg) { self.assert(false, msg) };\n if (!expected) fail('expected is null');\n if (!node) fail('node is null but should be ' + expected.tagName);\n if (expected.tagName != node.tagName) fail(expected.tagName + '!=' + node.tagName);\n if (expected.parentNode && (expected.parentNode !== node.parentNode))\n fail('parent is ' + node.parentNode + ' but should be ' + expected.parentNode);\n\n if (expected.textContent) {\n if (expected.textContent != node.textContent)\n fail('textContent ' + expected.textContent + ' != ' + node.textContent);\n }\n\n if (expected.attributes)\n Properties.forEachOwn(expected.attributes, function(key, expectedValue) {\n var actualValue = node.getAttribute(key);\n if (expectedValue instanceof RegExp) {\n if (!expectedValue.test(actualValue))\n fail('attribute ' + key + ' was ' + actualValue + ' and didn\\'t match ' + expectedValue);\n return\n }\n if (expectedValue != actualValue) {\n fail('attribute ' + key + ' not ' + expectedValue + ' but ' + actualValue);\n }\n });\n if (expected.style)\n Properties.forEachOwn(expected.style, function(key, expected) {\n if (!node.style[key]) {\n alert(\"Warning: \" + key + \" is falsy in \" + node + \".style\"); \n }\n var actualValue = node.style[key].replace(/ /g, '');\n if (Object.isFunction(expected)) {\n self.assert(expected.call(self, actualValue), 'value ' + actualValue + ' did no match')\n return\n }\n if (expected != actualValue)\n fail('style ' + key + ' not ' + expected + ' but ' + actualValue);\n });\n if (expected.childNodeLength)\n this.assertEquals(expected.childNodeLength, node.childNodes.length, 'childNode.length of ' + node)\n if (expected.childNodes)\n for (var i = 0; i < expected.childNodes.length; i++)\n this.assertNodeMatches(expected.childNodes[i], node.childNodes[i]);\n },\n});\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.WorldTests',\n'testing', {\n testAddWorldToDoc: function() {\n var canvasNode = document.body, bounds = new Rectangle(0, 0, 100, 100),\n world = new lively.morphic.World();\n try {\n world.setBounds(bounds);\n world.displayOnCanvas(canvasNode);\n\n var expected = {tagName: 'div', parentNode: canvasNode, childNodes: [{tagName: 'div'}]};\n this.assertNodeMatches(expected, world.renderContext().getMorphNode());\n } finally {\n world.remove();\n }\n },\n});\n\n\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.MorphTests',\n'running', {\n setUp: function($super) {\n $super();\n this.createWorld();\n },\n},\n'testing', {\n test01AddMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n this.assert(this.world.submorphs.include(m), 'not in submorphs');\n this.assertIdentity(this.world, m.owner, 'owner');\n\n var expected = {\n tagName: 'div', // world morph\n childNodes: [\n {tagName: 'div', childNodes: [ // world shape\n {tagName: 'div', childNodes: [{tagName: 'div'}]} // m and its shape\n ]}, \n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n test02aUseSVGRenderer: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext());\n\n var expected = {\n tagName: 'div', // world\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg', // submorph\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'rect'}]}]},\n ]}, // world's shape\n ]\n };\nconsole.log(Exporter.stringify(this.world.renderContext().getMorphNode()));\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n test03MorphWithSVGEllipse: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setShape(new lively.morphic.Shapes.Ellipse(new Rectangle(0,0, 30, 30)));\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'svg',\n childNodes: [{tagName: 'g', childNodes: [{tagName: 'ellipse'}]}]}\n ]}, \n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test04MorphLocalize: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph2.setPosition(pt(10,10));\n this.assertEquals(pt(0,0), morph2.localize(pt(10,10)));\n },\n test04AddMorphBefore: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph(),\n morph3 = new lively.morphic.Morph();\n // Colors to identify the morphs are in correct order\n morph1.setFill(Color.green);\n morph2.setFill(Color.blue);\n morph3.setFill(Color.yellow);\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n this.world.addMorph(morph3, morph2);\n\n morph1.setExtent(pt(200, 200))\n morph2.setExtent(pt(100, 150))\n morph3.setExtent(pt(150, 100))\n\n // order back to front: morph1, morph3, morph2 \n /*var expected = {\n tagName: 'div', // morphNode\n childNodes: [{tagName: 'div', childNodes: [ // shape\n {tagName: 'div', childNodes: [ // submorphNode\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph1.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph3.getFill().toString()}}]},\n {tagName: 'div', childNodes: [{tagName: 'div', style: {'backgroundColor': morph2.getFill().toString()}}]},\n {tagName: 'div'} // hand\n ]}\n ]}]\n }\n\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());*/\n },\n\n testMorphBounds: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n this.world.addMorph(morph1);\n morph1.addMorph(morph2);\n morph1.setBounds(new Rectangle(100, 100, 40, 40));\n morph2.setBounds(new Rectangle(20, 10, 40, 40));\n this.assertEquals(new Rectangle(100, 100, 60, 50), morph1.getBounds());\n },\n test07MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n shape = new lively.morphic.Shapes.Rectangle(bounds);\n this.assertEquals(bounds, shape.getBounds(), 'shape bounds');\n var morph = new lively.morphic.Morph(shape);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n test08aCreateMorphWithLinearGradient: function() {\n var morph = new lively.morphic.Morph();\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\"));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(linear,0%0%,0%100%,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-linear-gradient(90deg,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n\n }]}\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test08bCreateMorphWithradialGradient: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setFill(new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3)));\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-webkit-gradient(radial,50%30%,0,50%50%,25,from(rgb(204,0,0)),color-stop(0.8,rgb(0,204,0)))\"}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {'background': \"-moz-radial-gradient(50%50%,circlefarthest-corner,rgb(204,0,0)0%,rgb(0,204,0)80%)repeatscroll0%0%transparent\"}\n }] \n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test09BorderColorAndWidth: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderColor(Color.green);\n morph.setBorderWidth(2.5);\n morph.setStrokeOpacity(0.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: {\n // FIXME float conversion in style makes it hard to test directly\n 'border': function(result) { // \"2.5px solid rgba(0,204,0,0.5)\"\n return result.include('2.5px') && result.include('solid') && result.include('rgba(0,204')\n }\n }\n }] \n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test10BorderRadiusHTML: function() {\n var morph = new lively.morphic.Morph.makeRectangle(0,0,50,50);\n this.world.addMorph(morph);\n morph.setBorderRadius(3.5);\n var expected = {\n tagName: 'div',\n childNodes: [{ \n tagName: 'div', // morph's shape\n style: { 'border-top-left-radius': '3.5px3.5px'}\n }] \n }\n if (jQuery.browser.mozilla) {\n expected = {\n tagName: 'div',\n childNodes: [{tagName: 'div',\n style: {\"borderRadius\": \"3.5px3.5px3.5px3.5px\"}}]\n }\n }\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode());\n },\n test16MorphsContainingPoint: function() {\n var morph = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(20, 20, 30, 30), \n subsubmorph = lively.morphic.Morph.makeRectangle(25, 25, 5, 5),\n morph2 = lively.morphic.Morph.makeRectangle(48, 48, 100, 100);\n this.world.addMorph(morph)\n morph.addMorph(submorph)\n submorph.addMorph(subsubmorph)\n this.world.addMorph(morph2)\n\n var result, expected;\n\n result = morph.morphsContainingPoint(pt(-1,-1));\n this.assertEquals(0, result.length, 'for ' + pt(-1,-1));\n\n result = morph.morphsContainingPoint(pt(1,1));\n this.assertEquals(1, result.length, 'for ' + pt(1,1));\n this.assertEquals(morph, result[0], 'for ' + pt(1,1));\n\n result = morph.morphsContainingPoint(pt(40,40));\n this.assertEquals(2, result.length, 'for ' + pt(40,40));\n this.assertEquals(submorph, result[0]);\n this.assertEquals(morph, result[1]);\n\n result = morph.morphsContainingPoint(pt(45,45));\n this.assertEquals(3, result.length, 'for ' + pt(45,45));\n this.assertEquals(subsubmorph, result[0]);\n this.assertEquals(submorph, result[1]);\n this.assertEquals(morph, result[2]);\n\n result = this.world.morphsContainingPoint(pt(48,48));\n this.assertEquals(5, result.length, 'for ' + pt(48,48));\n this.assertEquals(morph2, result[0]);\n this.assertEquals(subsubmorph, result[1]);\n this.assertEquals(submorph, result[2]);\n this.assertEquals(morph, result[3]);\n this.assertEquals(this.world, result[4]);\n },\n test17MorphsContainingPointWithAddMorphFront: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n var result = this.world.morphsContainingPoint(pt(1,1));\nthis. openMorphsInRealWorld()\n// inspect(result)\n this.assertEquals(3, result.length);\n // this.assertEquals(this.world.firstHand(), result[0], 'for ' + pt(1,1));\n\n this.assertEquals(morph1, result[0], 'for ' + pt(1,1));\n this.assertEquals(morph2, result[1], 'for ' + pt(1,1));\n },\n test18OrderOfMorphsOnScrennAndInSubmorphArrayMatches: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n morph2 = lively.morphic.Morph.makeRectangle(0, 0, 100, 100);\n\n this.world.addMorph(morph1);\n this.world.addMorphBack(morph2);\n\n this.assertIdentity(this.world.submorphs[0], morph2, 'morph2 not @0')\n this.assertIdentity(this.world.submorphs[1], morph1, 'morph1 not @1')\n },\n test19MorphsContainingPointDosNotIncludeOffsetedOwner: function() {\n var owner = lively.morphic.Morph.makeRectangle(0, 0, 100, 100),\n submorph = lively.morphic.Morph.makeRectangle(110, 10, 90, 90), \n other = lively.morphic.Morph.makeRectangle(100, 0, 100, 100);\n\n owner.name = 'owner'; submorph.name = 'submorph'; other.name = 'other';\n this.world.addMorph(owner)\n owner.addMorph(submorph)\n this.world.addMorphBack(other)\n\n var result = this.world.morphsContainingPoint(pt(150,50));\n this.assertEquals(3, result.length, 'for ' + pt(150,50));\n this.assertEquals(this.world, result[2], 'for 2');\n this.assertEquals(other, result[1], 'for 1');\n this.assertEquals(submorph, result[0], 'for 0');\n },\n\n test20setScalePointHTML: function() {\n var morph = lively.morphic.Morph.makeRectangle(0,0, 10, 10);\n morph.setScale(pt(2,3));\n this.assertEquals(pt(2,3), morph.getScale());\n this.assertEquals(pt(2,3), morph.getTransform().getScalePoint());\n var ctxt = morph.renderContext(),\n transformProp = ctxt.domInterface.html5TransformProperty;\n this.assert(/scale.+2.+3/, ctxt.morphNode.style[transformProp],\n 'css transform prop does not match');\n }\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.EventTests',\n'testing', {\n xtest05DropMorph: function() {\n var morph1 = new lively.morphic.Morph(),\n morph2 = new lively.morphic.Morph();\n // this.world.addHandMorph();\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n morph1.setBounds(new Rectangle(0,0, 100, 100));\n morph2.setBounds(new Rectangle(0,0, 80, 80));\n morph1.applyStyle({fill: Color.red});\n morph2.applyStyle({fill: Color.green});\n\n // is already done by style settings\n // this.world.enableDropping();\n // morph1.enableDropping();\n // morph1.enableGrabbing();\n // morph2.enableDropping();\n // morph2.enableGrabbing();\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morph2.renderContext().getMorphNode(), button: 0});\n\n this.assert(this.world.firstHand().submorphs.include(morph2), 'morph not grabbed');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(20,20), target: this.world.renderContext().getMorphNode()});\n\n this.assert(morph1.submorphs.include(morph2), 'morph not dropped on morph2'); \n },\n test01DragMorph: function() {\n var dragStarted = false,\n dragMoved = false,\n dragEnded = false,\n morph = new lively.morphic.Morph(),\n morphNode = morph.renderContext().getMorphNode();\n this.world.addMorph(morph);\n morph.setBounds(new Rectangle(0,0, 100, 100));\n morph.applyStyle({fill: Color.red, enableDragging: true});\n\n morph.onDragStart = function() { dragStarted = true }\n morph.onDrag = function() { dragMoved = true }\n morph.onDragEnd = function() { dragEnded = true }\n\n this.doMouseEvent({type: 'mousedown', pos: pt(20,20), target: morphNode, button: 0});\n this.assert(!dragStarted, 'drag already started after mousedown');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(25,25), target: morphNode, button: 0});\n this.assert(dragStarted, 'drag not started after mousedown and mousemove');\n this.assert(!dragMoved, 'drag already moved at dragStart');\n\n this.doMouseEvent({type: 'mousemove', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragMoved, 'drag not moved after mousemove');\n\n this.doMouseEvent({type: 'mouseup', pos: pt(30,30), target: morphNode, button: 0});\n this.assert(dragEnded, 'dragEnd not called');\n },\n test02RelayMouseEventsToMorphBeneath: function() {\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n morph2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(morph1);\n this.world.addMorph(morph2);\n\n morph2.relayMouseEventsToMorphBeneath();\n\n lively.morphic.EventSimulator.doMouseEvent(\n {type: 'mousedown', pos: pt(20,20), target: morph2, button: 0});\n this.assertIdentity(morph1, this.world.clickedOnMorph);\n },\n\n});\n \nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CopyMorphTests',\n'testing', {\n test01CopySimpleMorph: function() {\n var m = new lively.morphic.Morph()\n m.setBounds(new Rectangle(100, 100, 40, 40));\n var m2 = m.copy();\n this.assert(m !== m2, 'copied morph is identical to original morph')\n this.assertEquals(new Rectangle(100, 100, 40, 40), m2.getBounds());\n },\n test02ReferencedMorphThatIsNotASubmorphIsNotCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.addMorph(m2)\n m1.other = m3;\n this.world.addMorph(m3);\n var copy = m1.copy();\n this.assert(copy !== m1, 'copied morph is identical to original morph');\n this.assert(copy.submorphs[0] instanceof lively.morphic.Morph, 'submorph not copied');\n this.assert(copy.submorphs[0] !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.other === m3, 'referenced morph that is not a submorph is not identical')\n },\n test02bReferencedMorphThatIsNotASubmorphButIsNotInTheWorldIsCopied: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n this.world.addMorph(m1);\n m2.addMorph(m3);\n m1.ref = m2;\n var copy = m1.copy();\n this.assert(copy.ref instanceof lively.morphic.Morph, 'ref not copied');\n this.assert(copy.ref !== m2, 'copied submorph is identical to original submorph');\n this.assert(copy.ref.submorphs[0] instanceof lively.morphic.Morph, 'm3 not copied');\n this.assert(copy.ref.submorphs[0] !== m3, 'm3 copied is identical to m3');\n },\n\n test03OwnerIsNotCopied: function() {\n var m = new lively.morphic.Morph();\n this.world.addMorph(m);\n var copy = m.copy();\n this.assert(!copy.owner, 'owner was copied');\n },\n test04CopyMorphTreeWithEventHandlers: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph(),\n m3 = new lively.morphic.Morph();\n m1.enableGrabbing();\n m2.enableGrabbing();\n m3.enableGrabbing();\n m1.addMorph(m2)\n m2.addMorph(m3)\n this.world.addMorph(m1);\n var copy = m1.copy();\n this.world.addMorph(copy);\n this.assertEquals(2+1, this.world.submorphs.length); // +1 for hand\n this.assertEquals(1, copy.submorphs.length);\n this.assertEquals(1, copy.submorphs[0].submorphs.length);\n },\n test05CopySetsNewTargetForScripts: function() {\n var m1 = new lively.morphic.Morph();\n m1.startStepping(20, 'rotateBy', 0.1);\n var copy = m1.copy();\n\n this.assertIdentity(m1, m1.scripts[0].target, 'original target changed');\n this.assertIdentity(copy, copy.scripts[0].target, 'copy target changed');\n },\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphTests',\n'testing', {\n test01TextMorphHTML: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.setTextString('Foo');\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div', textContent: 'Foo'}] // text node\n }, \n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test02TextMorphSVG: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.SVG.RenderContext())\n m.setTextString('Foo');\n var expected = {\n tagName: 'g',\n childNodes: [\n {tagName: 'rect'}, // shape\n {tagName: 'text', textContent: 'Foo'} // text node\n ]};\n this.assertNodeMatches(expected, m.renderContext().getMorphNode());\n },\n test03TextStringIsConnectable: function() {\n var m = new lively.morphic.Text()\n this.world.addMorph(m);\n var resultObj = {result: null};\n connect(m, 'textString', resultObj, 'result');\n m.setTextString('Foo');\n this.assertEquals('Foo', resultObj.result);\n },\n test04GrowToFit: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 10, 20));\n this.world.addMorph(m);\n m.setTextString('a really long string longer than 10px')\n m.applyStyle({fixedWidth: false});\n this.assert(m.getExtent().x > 10, 'did not grow to fit text ' + m.bounds().width);\n },\n test04bFitReallyShrinksMorphinHTML: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 200));\n this.world.addMorph(m);\n m.setTextString('short')\n m.applyStyle({fixedWidth: false});\n m.fit();\n this.assert(m.getExtent().x < 100, 'did not shrink to fit text');\n },\n\n\n test05SetSelectionRange: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(0,1);\n this.assertEquals('1', m.selectionString());\n m.setSelectionRange(0,3);\n this.assertEquals('123', m.selectionString());\n m.setSelectionRange(-99,m.textString.length+10);\n this.assertEquals('123\\t567\\n9', m.selectionString());\n },\n test05bSetSelectionRangeRightToLeft: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('123\\t567\\n9');\n m.focus();\n m.setSelectionRange(3, 0);\n this.assertEquals('123', m.selectionString());\n this.assertEqualState([3,0], m.getSelectionRange());\n },\n test05cCorrectNewlinesInSelection: function() {\n // added 2012-01-06. Firefox Selection>>toString replaces \\n with ' '\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assert(m.textString.indexOf(m.selectionString()) != -1);\n },\n\n\n test06ModifySelectedLinesInsertsAtCorrectPosition: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This\\nis\\na\\ntest');\n m.setSelectionRange(0,9);\n this.assertEquals('This\\nis\\na', m.selectionString())\n m.modifySelectedLines(function(ea) { return '+' + ea });\n this.assertEquals('+This\\n+is\\n+a\\ntest', m.textString);\n },\n test07aSplitText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n\n m.splitText();\n\n var newText = this.world.submorphs[this.world.submorphs.indexOf(m)+1]\n this.assert(newText.isText && newText !== m, 'no text created');\n this.assertEquals(m, newText.splittedFrom, 'spittedFrom field no correct');\n this.assertEquals('test', newText.textString, 'spittedFrom string');\n this.assertEquals('This is a ', m.textString, 'former text string not OK');\n this.assert(newText.bounds().top() > m.bounds().bottom(), 'not below old text');\n },\n test07bMergeText: function() {\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20));\n this.world.addMorph(m);\n m.setTextString('This is a test');\n m.setSelectionRange(10,10);\n var splitted = m.splitText();\n splitted.emphasizeAll({fontWeight: 'bold'});\n splitted.mergeText();\n \n this.assert(!splitted.owner, 'splitted not removed');\n this.assertEquals('This is a test', m.textString, 'spittedFrom string');\n this.assertMatches({fontWeight: 'bold'}, m.getEmphasisAt(11))\n },\n test08CopyTextWithConnection: function() {\n // issue 285\n var m = new lively.morphic.Text(new Rectangle(0,0, 100, 20), \"\");\n connect(m, 'textString', m, 'someOtherField')\n var copy = m.duplicate()\n this.assert(copy.textString == '', 'copy is broken') \n },\n\n\n\n\n\n\n\n\n\n\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.TextMorphRichTextTests',\n'running', {\n setUp: function($super) {\n $super();\n this.text = new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // cop.withLayers([TextDevLayer], function() {\n // return new lively.morphic.Text(new Rectangle(0,0, 400, 200));\n // })\n // this.text.setWithLayers([TextDevLayer]);\n this.world.addMorph(this.text);\n },\n checkRunArray: function(expectedRunArray) {\n this.assertMatches(expectedRunArray.asArray(), this.text.textStyle.asArray());\n },\n checkChunks: function(expectedChunks, optTextChunkOwner) {\n var textChunkOwner = optTextChunkOwner || this.text;\n this.assertMatches(expectedChunks, textChunkOwner.getTextChunks());\n },\n\n checkDOM: function(expectedTextNodes) {\n // check what was actually rendered\n var expected = {\n tagName: 'div',\n childNodeLength: expectedTextNodes.length,\n childNodes: expectedTextNodes\n };\n this.assertNodeMatches(expected, this.text.renderContext().textNode);\n },\n\n\n},\n'testing', {\n test01MorphHasTextChunk: function() {\n// this. openMorphsInRealWorld()\n// inspect(this.text)\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('', chunks[0].textString);\n chunks[0].textString = 'foo';\n this.assertEquals('foo', this.text.textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test02MorphHasTextChunkWhenTextStringIsSet: function() {\n this.text.textString = 'foo'\n var chunks = this.text.getTextChunks();\n this.assertEquals(1, chunks.length);\n this.assertEquals('foo', chunks[0].textString);\n this.checkDOM([{tagName: 'span', textContent: 'foo'}])\n },\n test03SplitAndJoinTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n var after = chunk.splitAfter(3);\n this.assertEquals('test', after.textString, 'after string');\n this.assertEquals('ein', chunk.textString, 'chunk string');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n\n chunk.joinWithNext();\n this.assertEquals('eintest', chunk.textString);\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}]);\n\n var before = chunk.splitBefore(3);\n this.assertEquals('ein', before.textString, 'before string');\n this.assertEquals(2, this.text.getTextChunks().length);\n },\n test03bCoalesceChunks: function() {\n this.text.setTextString('test');\n this.text.firstTextChunk().splitAfter(2);\n this.text.coalesceChunks()\n this.assertEquals(1, this.text.getTextChunks().length);\n this.checkDOM([{tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test03cSplitAtFrontAndBack: function() {\n this.text.setTextString('a');\n var after = this.text.firstTextChunk().splitAfter(1);\n this.assertEquals('', after.textString, 'splitAfter');\n var before = this.text.firstTextChunk().splitBefore(0);\n this.assertEquals('', before.textString, 'splitBefore');\n this.assertEquals(3, this.text.getTextChunks().length);\n },\n test03cSplittedChunkGetsStyle: function() {\n this.text.setTextString('abcdef');\n var chunk = this.text.firstTextChunk();\n chunk.style.setFontWeight('bold');\n var after = this.text.firstTextChunk().splitAfter(3);\n this.assertEquals('bold', after.style.getFontWeight());\n },\n\n\n\n test04SliceTextChunksSimple: function() {\n this.text.setTextString('eintest');\n var sliced = this.text.sliceTextChunks(0,3);\n this.assertEquals(1, sliced.length, 'sliced not oke');\n this.assertEquals(2, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'}])\n },\n\n test04SliceTextChunks: function() {\n this.text.setTextString('eintest');\n var chunk = this.text.firstTextChunk();\n chunk.splitAfter(3);\n var sliced = this.text.sliceTextChunks(2,6);\n this.assertEquals(4, this.text.getTextChunks().length);\n this.checkDOM([\n {tagName: 'span', textContent: 'ei'},\n {tagName: 'span', textContent: 'n'},\n {tagName: 'span', textContent: 'tes'},\n {tagName: 'span', textContent: 't'}])\n },\n test04SliceTextChunksAgain: function() {\n this.text.setTextString('abc');\n var sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'first');\n sliced = this.text.sliceTextChunks(1,2);\n this.assertEquals(1, sliced.length, 'second');\n },\n\n test05StyleChunk: function() {\n this.text.setTextString('test');\n var chunk = this.text.firstTextChunk();\n chunk.styleText({fontWeight: 'bold'});\n this.checkDOM([{tagName: 'span', style: {fontWeight: 'bold'}}]);\n },\n test06MakeTextBold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n\n\n\n test07MakeTextBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 2);\n this.text.emphasize({fontWeight: 'normal'}, 0, 2);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test08ToggleBoldnessComplete: function() {\n this.text.setTextString('eintest');\n this.text.toggleBoldness(1, 6);\n this.checkDOM([\n {tagName: 'span', textContent: 'e'},\n {tagName: 'span', textContent: 'intes'},\n {tagName: 'span', textContent: 't'}])\n this.text.toggleBoldness(1, 6);\n this.checkDOM([{tagName: 'span', textContent: 'eintest'}])\n },\n test09ChunksAreSerializable: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n this.text.name = 'testText';\n this.serializeAndDeserializeWorld();\n this.text = this.world.get('testText');\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n\n },\n test10ConvertSelectionRangeForEmphasis: function() {\n // the indexes used by text selection are currently different\n // to those used for emphasizing the text\n var testValues = [\n {sel: [0,0], emph: [0,0]},\n {sel: [0,7], emph: [0,7]},\n {sel: [1,1], emph: [1,1]},\n {sel: [2,0], emph: [0,2]},\n {sel: [8,0], emph: [0, 8]},\n {sel: [4,7], emph: [4,7]}];\n testValues.forEach(function(selAndEmph) {\n this.assertEqualState(\n selAndEmph.emph,\n this.text.convertSelectionRangeForEmphasis(selAndEmph.sel),\n 'sel conversion of ' + selAndEmph.sel);\n }, this)\n },\n test11ToggleBoldnessWithChunkWithMultipleTextNodes: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n this.text.insertAtCursor('foo');\n this.assertEquals('einfootest', this.text.textString, 'insert')\n this.checkDOM([\n {tagName: 'span', textContent: 'einfootest', childNodes: [\n {tagName: undefined, textContent: 'ein'},\n {tagName: undefined, textContent: 'foo'},\n {tagName: undefined, textContent: 'test'}\n ]},\n ])\n\n this.text.toggleBoldness(1, 9);\n this.checkDOM([\n {tagName: 'span', textContent: 'e', childNodes: [{textContent: 'e'}]},\n {tagName: 'span', textContent: 'infootes', childNodes: [{textContent: 'infootes'}]},\n {tagName: 'span', textContent: 't', childNodes: [{textContent: 't'}]},\n ])\n },\n test11FixChunksShouldKeepSlection: function() {\n this.text.setTextString('eintest');\n // add a text outside of chunks manually\n this.text.renderContext().textNode.appendChild(document.createTextNode('test'))\n this.text.setSelectionRange(2,5)\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest', childNodes: [\n {tagName: undefined, textContent: 'eintesttest'},\n ]},\n ])\n var range = this.text.getSelectionRange()\n this.assert(range, 'no selection range after fixChunks!')\n this.assertMatches([2, 5], range) // Inconsistency with selection ranges?\n },\n test12GetAndSetSelectionRangeHaveEqualValues: function() {\n this.text.setTextString('eintest');\n this.text.setSelectionRange(1, 6)\n this.assertEquals('intes', this.text.selectionString());\n this.assertMatches([1,6], this.text.getSelectionRange());\n },\n test13InsertedTextBetweenChunksIsAssimilated: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 0, 3);\n\n var chunks = this.text.getTextChunks();\n this.assertEquals(2, chunks.length, 'test preparation: chunks not OK')\n\n var newNode = XHTMLNS.create('b')\n newNode.textContent = 'foo';\n\n this.text.renderContext().textNode.insertBefore(newNode, chunks[1].getChunkNode());\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abcfoo'},\n {tagName: 'span', textContent: 'def'},\n ])\n },\n test14GetEmphasisAt: function() {\n // certain actions like native spell checking can add text and other DOM elements\n // between our chunk elements (spans)\n // this should be recognized and additional text appended to some chunk\n this.text.setTextString('abcdef');\n this.text.emphasize({fontWeight: 'bold'}, 1, 3);\n\n var emph, expected = ['normal', 'bold', 'bold', 'normal']\n expected.forEach(function(expectedFontWeight, i) {\n var emph = this.text.getEmphasisAt(i)\n this.assertEquals(expectedFontWeight, emph.getFontWeight(), i);\n },this)\n },\n\n test15GetChunkAndLocalIndex: function() {\n this.text.setTextString('abcdef');\n this.text.sliceTextChunks(1,3);\n this.checkDOM([\n {tagName: 'span', textContent: 'a'},\n {tagName: 'span', textContent: 'bc'},\n {tagName: 'span', textContent: 'def'},\n ]);\n\n var chunks = this.text.getTextChunks(), result;\n \n result = this.text.getChunkAndLocalIndex(0);\n this.assertEquals(chunks[0], result[0]); // test for chunk\n this.assertEquals(0, result[1]); // test for local index\n\n result = this.text.getChunkAndLocalIndex(1); // if chunks ends at idx we extend it\n this.assertEquals(chunks[0], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(2);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(1, result[1])\n\n result = this.text.getChunkAndLocalIndex(1, true);\n this.assertEquals(chunks[1], result[0])\n this.assertEquals(0, result[1])\n },\n test16AddLink: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({uri: 'http://foo.com'}, 0, 3);\n this.checkChunks(\n [{textString: 'ein', style: {uri: 'http://foo.com'}},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {textDecoration: 'underline'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test17AddLinkMakeBoldThenUnbold: function() {\n this.text.setTextString('eintest');\n\n this.text.emphasize({uri: 'test'}, 3, 7)\n this.text.emphasize({fontWeight: 'bold'}, 0, 4)\n this.text.emphasize({fontWeight: 'normal'}, 0, 4)\n\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test', style: {textDecoration: 'underline'}}])\n },\n test18LinkifiedChunkShouldKeepLinkWhenTextStringChanges: function() {\n this.text.setTextString('foo');\n this.text.emphasize({uri: 'test'}, 0, 3);\n\n this.text.firstTextChunk().textString = 'bar'\n\n this.checkChunks([{textString: 'bar', style: {uri: 'test'}}])\n\n this.checkDOM([{\n tagName: 'span',\n textContent: 'bar',\n style: {textDecoration: 'underline'}\n }])\n },\n test19FixChunksShouldRemoveElements: function() {\n this.text.setTextString('eintest');\n\n // this happens when pasting rich text on windows, for now remove RT attributes\n var elem = XHTMLNS.create('a');\n elem.href = 'http://foo.com';\n elem.textContent = 'test';\n\n this.text.firstTextChunk().getChunkNode().appendChild(elem);\n\n this.text.fixChunks()\n this.checkDOM([\n {tagName: 'span', textContent: 'eintesttest',\n // childNodes: [{tagName: undefined, textContent: 'eintesttest'}]\n },\n ])\n },\n test20HandleSplittedSpanNodes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('ac');\n\n var span = XHTMLNS.create('span');\n span.textContent = 'a';\n textNode.insertBefore(span, this.text.firstTextChunk().getChunkNode());\n\n var text = NodeFactory.createText('b');\n textNode.insertBefore(text, this.text.firstTextChunk().getChunkNode());\n\n this.text.firstTextChunk().textString = 'c';\n\n this.text.fixChunks();\n\n this.checkDOM([{tagName: 'span', textContent: 'abc'}]);\n },\n test21HandleSplittedSpanNodesAndTextAttributes: function() {\n // this happens when pasting normal text on windows\n // the span node of a chunk is splitted in two parts and the pasted text\n // is inserted inbetween\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('abc');\n\n this.text.emphasize({fontWeight: 'bold'}, 1,3);\n var chunks = this.text.getTextChunks();\n\n var span = XHTMLNS.create('span');\n span.textContent = 'b';\n textNode.insertBefore(span, chunks.last().getChunkNode());\n // abbc\n\n var text = NodeFactory.createText('x');\n textNode.insertBefore(text, chunks.last().getChunkNode());\n // abxbc\n\n chunks.last().textString = 'c';\n // abxc\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'abx'},\n {tagName: 'span', textContent: 'c', style: {fontWeight: 'bold'}}]);\n },\n test22ReclaimRemovedSpanNodesOnPaste: function() {\n // this happens when pasting normal text on Mac OS after a chunk\n // the span node of the chunk that is pasted into is removed and the chunkNode\n // has no parent anymore. The abandoned chunkNode should reclaim its old text + the isnerted\n\n // add new content\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\n\\nbar\\n\\nbaz');\n\n this.text.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.emphasize({fontWeight: 'bold'}, 10,13);\n var chunks = this.text.getTextChunks();\n\n // remove middle chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var text = NodeFactory.createText('\\n\\nbar zurp\\n\\n');\n textNode.insertBefore(text, chunks[2].getChunkNode());\n\n this.assertEquals('foo\\n\\nbar zurp\\n\\nbaz',textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: '\\n\\nbar zurp\\n\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'baz', style: {fontWeight: 'bold'}}]);\n\n },\n test23ReclaimRemovedChunkNodeAndReapplyTextAttributes: function() {\n // this happens when pasting normal text on Mac OS in attributed text (e.g. bold)\n // Chrome tries to complete render the span itself, e.g. using \n // the chunkNode is removed but the chunk still exists\n // this tests if the chunk can reclaim the text and set it's attributes again\n var textNode = this.text.renderContext().textNode;\n this.text.setTextString('foo\\nbar');\n\n this.text.emphasize({fontWeight: 'bold'}, 4,7);\n var chunks = this.text.getTextChunks();\n\n // remove last chunk node\n var n = chunks[1].getChunkNode();\n n.parentNode.removeChild(n);\n\n var b = XHTMLNS.create('b');\n b.textContent = 'morebar'\n textNode.appendChild(b);\n\n this.assertEquals('foo\\nmorebar', textNode.textContent, 'setup not successful')\n\n this.text.fixChunks();\n\n this.checkDOM([\n {tagName: 'span', textContent: 'foo\\n', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'morebar', style: {fontWeight: 'bold'}}]);\n }, \n\n test22EmphasizeRegex: function() {\n this.text.setTextString(\"a1b2c\");\n this.text.emphasizeRegex(/[0-9]/g, {color: Color.red});\n this.checkChunks([\n {textString: 'a', style: {color: null}},\n {textString: '1', style: {color: Color.red}},\n {textString: 'b', style: {color: null}},\n {textString: '2', style: {color: Color.red}},\n {textString: 'c', style: {color: null}},\n ])\n },\n richTextPasteData: 'ein test',\n\n test23aRichTextPaste: function() {\n var pastedText = this.richTextPasteData,\n rt = lively.morphic.HTMLParser.pastedHTMLToRichText(pastedText);\n this.assertEquals(2, rt.textChunks.length);\n this.assertEquals('ein ', rt.textChunks[0].textString);\n this.assertEquals('test', rt.textChunks[1].textString);\n this.assertEquals('normal', rt.textChunks[0].style.getFontWeight());\n this.assertEquals('bold', rt.textChunks[1].style.getFontWeight());\n \n },\n test24aInsertTextChunks: function() {\n this.text.setTextString('ein');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('test')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n test24bInsertTextChunks: function() {\n this.text.setTextString('eintest');\n this.text.setNullSelectionAt(3);\n var chunk = new lively.morphic.TextChunk('foo')\n\n this.text.insertTextChunksAtCursor([chunk], true, true);\n this.checkDOM([\n {tagName: 'span', textContent: 'ein'},\n {tagName: 'span', textContent: 'foo'},\n {tagName: 'span', textContent: 'test'},\n ])\n },\n\n test25SlicingTextChunksWithRangeWithLengthZero: function() {\n this.text.setTextString('ein');\n var newChunk = this.text.sliceTextChunks(3,3);\n this.assertEquals(2, this.text.textChunks.length)\n this.assertIdentity(newChunk[0], this.text.textChunks.last())\n },\n test26aUnEmphasize: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.unEmphasize(0,7);\n this.checkChunks(\n [{textString: 'eintest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'eintest', style: {fontWeight: ''}}])\n },\n test26bUnEmphasizePart: function() {\n this.text.setTextString('eintest');\n this.text.emphasize({fontWeight: 'bold'}, 0,3)\n this.text.setSelectionRange(1,3);\n this.text.unEmphasizeSelection();\n var selRange = this.text.getSelectionRange();\n this.assertMatches([1,3], selRange)\n this.checkChunks(\n [{textString: 'e'},\n {textString: 'intest'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'e', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'intest', style: {fontWeight: ''}}])\n },\n\n\n\n\n\n});\nlively.morphic.Tests.TextMorphRichTextTests.subclass('lively.morphic.Tests.RichTextTests',\n'testing', {\n test01CreateRichText: function() {\n var rt = new lively.morphic.RichText('test');\n this.text.setRichText(rt);\n this.assertEquals('test', this.text.textString)\n },\n test02GetRichText: function() {\n this.text.textString = 'test';\n var rt = this.text.getRichText();\n this.assertEquals('test', rt.textString)\n },\n test03EmphasizeRichText: function() {\n var rt = new lively.morphic.RichText('eintest');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.assertEquals(2, rt.textChunks.length, 'chunks not created in rich text')\n this.text.setRichText(rt);\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test04InsertInText: function() {\n var rt = new lively.morphic.RichText('foo');\n rt.emphasize({fontWeight: 'bold'}, 0,3);\n this.text.setTextString('einxtest');\n this.text.setSelectionRange(3,4);\n rt.replaceSelectionInMorph(this.text)\n this.checkChunks(\n [{textString: 'ein'},\n {textString: 'foo'},\n {textString: 'test'}])\n this.checkDOM([\n {tagName: 'span', textContent: 'ein', style: {fontWeight: ''}},\n {tagName: 'span', textContent: 'foo', style: {fontWeight: 'bold'}},\n {tagName: 'span', textContent: 'test', style: {fontWeight: ''}}])\n },\n test05GetRichText: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichText();\n this.checkChunks([{textString: 'test', style: {fontWeight: 'bold'}}], rt)\n },\n test05bGetRichTextFromTo: function() {\n this.text.textString = 'test';\n this.text.emphasizeAll({fontWeight: 'bold'});\n var rt = this.text.getRichTextFromTo(2, 4);\n this.checkChunks([{textString: 'te', style: {fontWeight: 'bold'}}], this.text)\n this.checkChunks([{textString: 'st', style: {fontWeight: 'bold'}}], rt)\n },\n\n\n\n\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ButtonMorphTests',\n'testing', {\n test01MorphBoundsOnCreation: function() {\n var bounds = new Rectangle(30, 90, 30, 60),\n morph = new lively.morphic.Button(bounds);\n this.assertEquals(bounds, morph.getBounds(), 'morph bounds');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ListMorphTests',\n'testing', {\n test01SetAndRetrieveStringItems: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.assertEqualState(['1', '2', '3'], list.itemList);\n list.updateList(['foo']);\n this.assertEqualState(['foo'], list.itemList);\n },\n test02SelectAt: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['first']);\n this.world.addMorph(morph);\n morph.selectAt(0);\n\n this.assertEquals('first', morph.selection);\n // var morphNode = morph.renderContext().getMorphNode();\n // this.doMouseEvent({type: 'mousedown', pos: pt(10,8), target: morphNode, button: 0});\n },\n test03SelectListItem: function() {\n var morph = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(morph);\n morph.updateList([\n {isListItem: true, string: 'foo', value: 23},\n {isListItem: true, string: 'bar', value: 24}])\n morph.selectAt(1);\n this.assertEquals(24, morph.selection);\n },\n\n test04ListMorphBoundsOnCreationInHTML: function() {\n var owner = lively.morphic.Morph.makeRectangle(0,0,10,10),\n list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n\n owner.addMorph(list)\n this.world.addMorph(owner);\n\n // FIXME depends on HTML\n this.assert(list.renderContext().listNode.clientHeight > 0, 'list node height is wrong')\n },\n test05ListMorphKeepsSelectionHighlightOnUpdateList: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100));\n this.world.addMorph(list);\n\n list.updateList([1,2,3]);\n list.setSelection(2);\n list.updateList([1,2,3]);\n\n var expected = {\n tagName: 'option',\n // attributes: {selected: true} // for some reason this does not work..\n };\n this.assertNodeMatches(expected, list.renderContext().subNodes[1]);\n this.assert(list.renderContext().subNodes[1].selected, 'not selected');\n },\n test06SetSelectionWithListItems: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [{isListItem: true, string: 'foo', value: 23}];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(23);\n\n this.assertEquals(0, list.selectedLineNo);\n },\n testAddMorphDuplicatesListsBug: function() {\n var list = new lively.morphic.List(new Rectangle(0,0,100,100), [1,2,3]),\n rect = lively.morphic.Morph.makeRectangle(0,0,100,100);\n\n this.world.addMorph(list);\n this.world.addMorph(rect);\n rect.addMorph(list);\n\n this.assert(!this.world.submorphs.include(list), 'list in world submorphs')\n this.assert(rect.submorphs.include(list), 'list not in rect submorphs')\n },\n testUpdateListOnSelectionHighlightsSelectionCorrectly: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100)),\n items = [1, 2, 3];\n this.world.addMorph(list);\n\n list.updateList(items);\n list.setSelection(2);\n this.assertEquals(1, list.selectedLineNo);\n\n connect(list, 'selection', list, 'onSelect')\n list.addScript(function onSelect(sel) { this.updateList(this.getList()) });\n\n list.setSelection(3);\n this.assertEquals(2, list.selectedLineNo);\n // FIXME implementation & HTML specific\n var isSelected = list.renderContext().subNodes[2].selected;\n this.assert(isSelected !== '', 'highlight wrong')\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MultipleSelectionListTests',\n'testing', {\n test01GetSelections: function() {\n var list = new lively.morphic.List(new Rectangle(0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.setSelection('2');\n this.assertEqualState(['2'], list.getSelections());\n },\n test02TurnOnMultipleSelectionMode: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n this.world.addMorph(list)\n list.enableMultipleSelections();\n list.setSelections(['1','3'])\n this.assertEqualState(['1', '3'], list.getSelections());\n },\n test03SetSelection: function() {\n var list = new lively.morphic.List(new Rectangle (0, 0, 100, 100), ['1', '2', '3']);\n list.enableMultipleSelections();\n list.setSelection('1')\n list.setSelection('3')\n list.setSelection(null)\n this.assertEqualState(['1', '3'], list.getSelections());\n list.clearSelections();\n this.assertEqualState([], list.getSelections());\n },\n\n\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.AppTests',\n'testing', {\n test01ConfirmDialog: function() {\n var answer = false,\n dialog = this.world.confirm('Foo?', function(bool) { answer = bool });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'no button does not work')\n dialog.okButton.simulateButtonClick();\n this.assert(answer, 'yes button does not work')\n },\n test02PromptDialog: function() {\n var answer = 'nothing',\n dialog = this.world.prompt('Foo?', function(input) { answer = input });\n dialog.cancelButton.simulateButtonClick();\n this.assert(!answer, 'cancel button does not work')\n dialog.inputText.setTextString('test input')\n dialog.okButton.simulateButtonClick();\n this.assertEquals('test input', answer, 'ok button does not work')\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.CanvasRenderingTests',\n'testing', {\n test01UseCanvasRendererForSimpleMorph: function() {\n var m = new lively.morphic.Morph()\n this.world.addMorph(m);\n m.renderUsing(new lively.morphic.Canvas.RenderContext())\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]};\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n\n\n test02MorphAndSubmorphWithCanvas: function() {\n var m1 = new lively.morphic.Morph(),\n m2 = new lively.morphic.Morph()\n this.world.addMorph(m1);\n m1.renderUsing(new lively.morphic.Canvas.RenderContext())\n m1.addMorph(m2);\n\n var expected = {\n tagName: 'div',\n childNodes: [\n {tagName: 'div', childNodes: [ // shape\n {tagName: 'div'}, // hand\n {tagName: 'canvas'}\n ]}\n ]\n };\n this.assertNodeMatches(expected, this.world.renderContext().getMorphNode());\n },\n});\n\nTestCase.subclass('lively.morphic.Tests.SimilitudeTests',\n'testing', {\n test01PointTransform: function() {\n var globalPoint = pt(20,10),\n globalTransform = new lively.morphic.Similitude(pt(0,0), 0, pt(1,1)),\n localTransform = new lively.morphic.Similitude(pt(5,10), 0, pt(1,1)),\n globalizedInvertedLocal = localTransform.preConcatenate(globalTransform).inverse(),\n matrix = globalTransform.preConcatenate(globalizedInvertedLocal);\n this.assertEquals(pt(15, 0), globalPoint.matrixTransform(matrix))\n },\n});\n\nAsyncTestCase.subclass('lively.morphic.Tests.ScriptTests',\n'testing', {\n test01StartAndStopTicking: function() {\n var n = 0, script = new lively.morphic.FunctionScript(function() { script.stop(); n++; });\n script.startTicking(10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test02SuspendAndContinue: function() {\n var n = 0,\n script = lively.morphic.Script.forFunction(function() { n++; });\n script.startTicking(10);\n this.delay(function() { this.assertEquals(1, n, 'Script not run once'); script.suspend() }, 15);\n this.delay(function() { this.assertEquals(1, n, 'Script not suspended'); script.resume() }, 25);\n this.delay(function() {\n script.stop();\n this.assertEquals(2, n, 'Script not continued');\n this.done();\n }, 40);\n },\n test03MorphStartStepping: function() {\n var m = new lively.morphic.Morph(),\n arg = {callCount: 0};\n m.someFunction = function(arg) { arg.callCount++ };\n\n m.startStepping(10, 'someFunction', arg);\n this.delay(function() {\n m.remove();\n this.assertEquals(1, arg.callCount, 'someFunction not run once');\n }, 15);\n this.delay(function() {\n this.assertEquals(1, arg.callCount, 'arg call count changed although morph was removed');\n this.done();\n }, 30);\n },\n test04ScriptEquals: function() {\n var cb = function() { return 23 },\n script1 = new lively.morphic.FunctionScript(cb);\n script2 = new lively.morphic.FunctionScript(cb);\n this.assert(script1.equals(script1), 'identity not working');\n this.assert(script1.equals(script2), 'FunctionScript equals');\n\n script1 = new lively.morphic.TargetScript(this, 'foo', 33);\n script2 = new lively.morphic.TargetScript(this, 'foo', 44);\n this.assert(script1.equals(script1), 'identity not working Target');\n this.assert(script1.equals(script2), 'TargetScript equals');\n\n this.done()\n },\n test05StartSteppingChecksIfScriptIsThere: function() {\n var m = new lively.morphic.Morph();\n m.someFunction = function(arg) { return 33 };\n\n m.startStepping(10, 'someFunction');\n m.startStepping(20, 'someFunction');\n\n this.assertEquals(1, m.scripts.length, 'script added twice');\n this.assertEquals(20, m.scripts[0].tickTime, 'tickTime not OK');\n \n this.done();\n },\n test06FunctionScriptOnce: function() {\n var n = 0, cb = function() { n++; };\n lively.morphic.FunctionScript.once(cb, 10);\n this.delay(function() {\n this.assertEquals(1, n, 'Script not run once');\n this.done();\n }, 40);\n },\n test07MorphicDelayWorksLikeNormalDelay: function() {\n Global.test07MorphicDelayWorksLikeNormalDelayTriggered = false;\n var f = function() { Global.test07MorphicDelayWorksLikeNormalDelayTriggered = true }\n f.morphicDelay(20);\n this.delay(function() {\n this.assert(!Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was triggered too early');\n }, 10);\n this.delay(function() {\n this.assert(Global.test07MorphicDelayWorksLikeNormalDelayTriggered, 'morphicDelay was not triggered');\n this.done();\n }, 30);\n }\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.SerializationTests',\n'testing', {\n test01SerializeSimpleWorld: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n this.world.addMorph(m1);\n m1.setName('SomeMorph');\n var json = lively.persistence.Serializer.serialize(this.world)\n this.world.remove();\n this.world = lively.morphic.World.createFromJSONOn(json, document.body);\n this.assertEquals(2, this.world.submorphs.length) // m1 and hand;\n this.assert(this.world.get('SomeMorph'), 'does not find morph with name from m1');\n this.assert(m1 !== this.world.submorphs[1], 'morphs are identical!!!');\n },\n});\nlively.morphic.Tests.TestCase.subclass('lively.morphic.Tests.HaloTests',\n'testing', {\n test01ShowHalosForMorph: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(50,50, 100, 100);\n this.world.addMorph(m1);\n m1.showHalos();\n this.assertIdentity(m1, this.world.currentHaloTarget, 'halo target');\n this.assert(m1.halos.length > 0, 'morph has no halos?');\n },\n test02HalosStayInVisibleBounds: function() {\n this.createWorld();\n var m1 = lively.morphic.Morph.makeRectangle(0,0, 100, 100);\n m1.align(m1.bounds().topRight(), this.world.bounds().topRight());\n this.world.addMorph(m1);\n m1.showHalos(); \n m1.halos.forEach(function(ea) {\n if (ea.constructor == lively.morphic.OriginHalo) return;\n if (ea.constructor == lively.morphic.RenameHalo) return;\n if (ea.constructor == lively.morphic.BoundsHalo) return;\n this.assert(this.world.visibleBounds().containsRect(ea.bounds()), 'halo ' + ea + ' not in visibleBounds')\n }, this)\n },\n testChangeExtentOfRectSoThatItFitsInOuter: function() {\n var outer, r, result;\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(0,0, 10, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(20,30, 10, 20), result);\n\n outer = new Rectangle(20,30, 100, 100);\n r = new Rectangle(40,40, 10, 12);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(r, result);\n\n outer = new Rectangle(20,30, 80, 70);\n r = new Rectangle(90,90, 20, 20);\n result = outer.transformRectForInclusion(r);\n this.assertEquals(new Rectangle(90,90, 10, 10), result);\n },\n\n\n\n\n});\n\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ImageTests',\n'testing', {\n testImageMorphHTML: function() {\n var url = 'http://lively-kernel.org/repository/webwerkstatt/media/hpi_logo.png',\n morph = new lively.morphic.Image(new Rectangle(0,0,100,100), url) \n this.world.addMorph(morph);\n var expected = {\n tagName: 'div',\n childNodes: [{\n tagName: 'div',\n childNodes: [{tagName: 'img', attributes: {src: url}}]\n }],\n };\n this.assertNodeMatches(expected, morph.renderContext().getMorphNode()); \n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.MenuTests',\n'testing', {\n testWrongSubMenuItems: function() {\n var menu = lively.morphic.Menu.openAt(pt(0,0), 'test', [['foo', ['bar']], ['foo2', ['bar2']]]),\n item = menu.submorphs[1]; // 0 is title, 1 is first item\n this.doMouseEvent({type: 'mouseover', pos: pt(5,5), target: item.renderContext().getMorphNode()});\n this.assertEquals('bar', menu.subMenu.items[0].string, 'sub menu is wrong')\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n menuBounds, result, expected;\n\n // nothing to do when rect opens in visible range\n menuBounds = new Rectangle(0,0, 30, 20);\n expected = menuBounds;\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 1);\n\n // move bounds left besides opening point (hand) so that no accidental clicks occur\n menuBounds = new Rectangle(290,0, 30, 20);\n expected = new Rectangle(260,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 2);\n\n // if bottom of menu would be lower than bottom of visble bounds, translate it\n menuBounds = new Rectangle(0,90, 30, 20);\n expected = menuBounds.translatedBy(pt(0,-10));\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 3);\n },\n testTransformSubMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 300, 100),\n mainMenuItemBounds, subMenuBounds, result, expected;\n\n // move rect so that it is next to menu item\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 1);\n\n // when too far right, move the submenu to the left\n mainMenuItemBounds = new Rectangle(290,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(290-30,0, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 2);\n\n // when too far below move the submenu up\n mainMenuItemBounds = new Rectangle(0,90, 10, 10);\n subMenuBounds = new Rectangle(0,0, 30, 20);\n expected = new Rectangle(10,90-10, 30, 20);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 3);\n\n // when owner bounds to small align at top\n mainMenuItemBounds = new Rectangle(0,0, 10, 10);\n subMenuBounds = new Rectangle(0,0, 10, 200);\n expected = new Rectangle(10,0, 10, 200);\n var result = lively.morphic.Menu.prototype.moveSubMenuBoundsForVisibility(\n subMenuBounds, mainMenuItemBounds, ownerBounds);\n this.assertEquals(expected, result, 4);\n },\n testTransformMenuBoundsForVisibility: function() {\n var ownerBounds = new Rectangle(0,0, 20, 20),\n menuBounds = new Rectangle(10,10, 30, 30),\n // move 1px to right so hand is out of bounds\n expected = new Rectangle(1,0, 30, 30);\n var result = lively.morphic.Menu.prototype.moveBoundsForVisibility(menuBounds, ownerBounds)\n this.assertEquals(expected, result, 'transformed when onerBounds smaller');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.ExternalShapesTests',\n'testing', {\n test01AddADivShape: function() {\n //var div = stringToXML('
a test
');\n var div = document.createElement('div');\n div.innerHTML = \"a test\";\n var morph = new Morph(new lively.morphic.Shapes.External(div));\n this.world.addMorph(morph);\n this.assert(morph.getExtent().x > 0, 'width of morph not bigger than 0');\n this.assert(morph.getExtent().y > 0, 'height of morph not bigger than 0');\n },\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.LayoutTests',\n'testing', {\n test01DropJournalLayoutOnMorph: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.JournalLayout());\n this.world.addMorph(container);\n\n var text = new lively.morphic.Text();\n text.setExtent(new lively.Point(300, text.getExtent().y));\n text.setTextString('hello world');\n text.openInWorld();\n\n text.growOrShrinkToFit();\n container.addMorph(text);\n\n this.assertEquals(container.getExtent().y, 2*container.getLayouter().getBorderSize() + text.getExtent().y, \"expected morph's extent to be 200\");\n },\n test02ApplyHBoxLayout: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n container.setLayouter(new lively.morphic.Layout.HorizontalLayout());\n this.world.addMorph(container);\n\n var child = new Morph();\n child.setExtent(new lively.Point(200, 200));\n child.layout = {};\n child.layout.resizeWidth = true;\n child.openInWorld();\n\n container.addMorph(child);\n\n this.assertEquals(child.getExtent().x, container.getExtent().x - 2*container.getLayouter().getBorderSize(), \"expected child to fit into container\");\n },\n test03GridLayoutDefaultSizes: function() {\n var container = new Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var grid = new lively.morphic.Layout.GridLayout();\n container.setLayouter(grid);\n this.world.addMorph(container);\n\n for (var x = 0; x < grid.numCols; x++) {\n assertEquals(grid.defaultColWidth, grid.getMinColWidth(x), 'col width should be same as default');\n }\n for (var y = 0; y < grid.numRows; y++) {\n assertEquals(grid.defaultRowHeight, grid.getMinRowHeight(y), 'row height should be same as default');\n }\n },\n test04TileLayoutMovesFirstMorphToTopLeft: function() {\n var container = new lively.morphic.Morph();\n container.setExtent(new lively.Point(200,200));\n container.setFill(Color.red);\n var l = new lively.morphic.Layout.TileLayout();\n container.setLayouter(l);\n this.world.addMorph(container);\n\n var m = new lively.morphic.Morph();\n\n container.addMorph(m);\n\n this.assertEquals(m.getPosition(), pt(l.getSpacing(), l.getSpacing()), 'TileLayout did not set correct position of first submorph');\n },\n\n\n\n});\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.SelectionTest',\n'testing', {\n testGrabByHand: function() {\n LastWorld = this.world;\n\n var hand = this.world.hands.first();\n hand.setPosition(pt(10,10))\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(100,20))\n this.world.addMorph(morph2);\n\n var oldPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.world.selectionMorph.selectMorphs([morph1, morph2]);\n this.world.selectionMorph.grabByHand(hand);\n\n var newPos = this.world.selectionMorph.worldPoint(pt(0,0))\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n\n this.assertEquals(oldPos, newPos, 'selection pos changed')\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n testDropOn: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n\n\n var morph2 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph2.setPosition(pt(40,40))\n this.world.addMorph(morph2)\n\n this.world.selectionMorph.addMorph(morph1);\n this.world.selectionMorph.dropOn(morph2);\n\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n\n testAddMorph: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n\n },\n\n testAddMorphWithSelectionInHand: function() {\n LastWorld = this.world;\n\n this.world.resetSelection()\n this.world.hands.first().addMorph(this.world.selectionMorph)\n\n var morph1 = lively.morphic.Morph.makeRectangle(0,0,50,50);\n morph1.setPosition(pt(20,20))\n this.world.addMorph(morph1)\n\n var oldMorph1Pos = morph1.worldPoint(pt(0,0))\n this.world.selectionMorph.addMorph(morph1)\n var newMorph1Pos = morph1.worldPoint(pt(0,0))\n this.assertEquals(oldMorph1Pos, newMorph1Pos, 'oldMorph1Pos changed')\n },\n});\n\nlively.morphic.Tests.MorphTests.subclass('lively.morphic.Tests.RenderingTest',\n'testing', {\n test01NodeIsInDOM: function() {\n var m1 = lively.morphic.Morph.makeRectangle(0,0,100,100),\n m2 = lively.morphic.Morph.makeRectangle(0,0,100,100);\n m1.addMorph(m2);\n var domInterface = m1.renderContext().domInterface;\n this.assert(!domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node in DOM?')\n this.assert(!domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node in DOM?')\n this.world.addMorph(m1)\n this.assert(domInterface.isInDOM(m1.renderContext().morphNode), 'm1 node not in DOM?') \n this.assert(domInterface.isInDOM(m2.renderContext().morphNode), 'm2 node not in DOM?')\n },\n test02RenderCrossBrowserLinearGradient: function() {\n var gradient = new lively.morphic.LinearGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], \"northSouth\");\n expectedWebkit = '-webkit-gradient(linear, 0% 0%, 0% 100%,color-stop(0, rgb(204,0,0)),color-stop(0.8, rgb(0,204,0)))',\n expectedFirefox = '-moz-linear-gradient(90deg, rgb(204,0,0) 0%, rgb(0,204,0) 80%)';\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n test02bRenderCrossBrowserRadialGradient: function() {\n var gradient = new lively.morphic.RadialGradient(\n [{offset: 0, color: Color.red}, {offset: 0.8, color: Color.green}], pt(0.5,0.3));\n expectedWebkit = \"-webkit-gradient(radial,50%30%,0,50%50%,50,color-stop(0,rgba(204,0,0,1)),color-stop(0.8,rgba(0,204,0,1)))\",\n expectedFirefox = '-moz-radial-gradient(50% 50%, circle cover, rgb(204,0,0) 0%, rgb(0,204,0) 80%)'\n webkitResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-webkit-'),\n firefoxResult = gradient.toCSSString(new Rectangle(0,0,100,100), '-moz-');\n this.assert(expectedWebkit == webkitResult.replace(/\\s/g, '') || expectedFirefox == firefoxResult, 'browser does not render gradients correctly');\n },\n\n\n});\n\n\n}) // end of module\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2361":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2362":{"morph":{"__isSmartRef__":true,"id":2353},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2363":{"x":0,"y":247.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2364":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2365":{"resizeWidth":true,"resizeHeight":true},"2366":{"sourceObj":{"__isSmartRef__":true,"id":2353},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2353},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2367":{"sourceObj":{"__isSmartRef__":true,"id":2353},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2368},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2368":{"source":{"__isSmartRef__":true,"id":2353},"target":{"__isSmartRef__":true,"id":1636}},"2369":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":2353}},"2370":{"sourceObj":{"__isSmartRef__":true,"id":1636},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":1623},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":2371},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2372},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2371":{"source":{"__isSmartRef__":true,"id":1636},"target":{"__isSmartRef__":true,"id":1623}},"2372":{"updater":{"__isSmartRef__":true,"id":2373}},"2373":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":2371},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":2374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"2374":{},"2375":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"2376":{"source":{"__isSmartRef__":true,"id":1623},"target":{"__isSmartRef__":true,"id":1636}},"2377":{"submorphs":[{"__isSmartRef__":true,"id":2378}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2390},"derivationIds":[null],"id":"E26E757F-1517-4345-AD82-011DF7295DB7","renderContextTable":{"__isSmartRef__":true,"id":2395},"eventHandler":{"__isSmartRef__":true,"id":2396},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2397},"priorExtent":{"__isSmartRef__":true,"id":2398},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":2399},"label":{"__isSmartRef__":true,"id":2378},"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2408}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":2410},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2378":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2379},"derivationIds":[null],"id":"8EE5B914-B4C5-447D-9B0E-2E25D2ADA44C","renderContextTable":{"__isSmartRef__":true,"id":2384},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2385}],"eventHandler":{"__isSmartRef__":true,"id":2387},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2388},"priorExtent":{"__isSmartRef__":true,"id":2389},"_MaxTextWidth":98.39999999999999,"_MinTextWidth":98.39999999999999,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2377},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2379":{"_Position":{"__isSmartRef__":true,"id":2380},"renderContextTable":{"__isSmartRef__":true,"id":2381},"_Extent":{"__isSmartRef__":true,"id":2382},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2383},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2380":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2381":{"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"},"2382":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2383":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2384":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2385":{"style":{"__isSmartRef__":true,"id":2386},"chunkOwner":{"__isSmartRef__":true,"id":2378},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2386":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2387":{"morph":{"__isSmartRef__":true,"id":2378},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2388":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2389":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2390":{"_Position":{"__isSmartRef__":true,"id":2391},"renderContextTable":{"__isSmartRef__":true,"id":2392},"_Extent":{"__isSmartRef__":true,"id":2393},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2394},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2391":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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","setClipMode":"setClipModeHTML"},"2393":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2394":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2395":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2396":{"morph":{"__isSmartRef__":true,"id":2377},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2397":{"x":656,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2398":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2399":{"stops":[{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2400":{"offset":0,"color":{"__isSmartRef__":true,"id":2401}},"2401":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2402":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2403}},"2403":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2404":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2405}},"2405":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2406":{"offset":1,"color":{"__isSmartRef__":true,"id":2407}},"2407":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2408":{"sourceObj":{"__isSmartRef__":true,"id":2377},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2409},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2409":{"source":{"__isSmartRef__":true,"id":2377},"target":{"__isSmartRef__":true,"id":1636}},"2410":{"moveHorizontal":true},"2411":{"submorphs":[{"__isSmartRef__":true,"id":2412}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2424},"derivationIds":[null],"id":"40144E53-0A86-45C2-B486-49CA7CDF440E","renderContextTable":{"__isSmartRef__":true,"id":2429},"eventHandler":{"__isSmartRef__":true,"id":2430},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2431},"priorExtent":{"__isSmartRef__":true,"id":2432},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":2433},"label":{"__isSmartRef__":true,"id":2412},"owner":{"__isSmartRef__":true,"id":1622},"attributeConnections":[{"__isSmartRef__":true,"id":2442}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":2444},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2412":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2413},"derivationIds":[null],"id":"1D205FED-A435-4EAC-AEBB-90BCA6AF45B2","renderContextTable":{"__isSmartRef__":true,"id":2418},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2419}],"eventHandler":{"__isSmartRef__":true,"id":2421},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":2422},"priorExtent":{"__isSmartRef__":true,"id":2423},"_MaxTextWidth":65.6,"_MinTextWidth":65.6,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2411},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2413":{"_Position":{"__isSmartRef__":true,"id":2414},"renderContextTable":{"__isSmartRef__":true,"id":2415},"_Extent":{"__isSmartRef__":true,"id":2416},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2417},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2414":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2415":{"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"},"2416":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2417":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2419":{"style":{"__isSmartRef__":true,"id":2420},"chunkOwner":{"__isSmartRef__":true,"id":2412},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2420":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2421":{"morph":{"__isSmartRef__":true,"id":2412},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2422":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2423":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2424":{"_Position":{"__isSmartRef__":true,"id":2425},"renderContextTable":{"__isSmartRef__":true,"id":2426},"_Extent":{"__isSmartRef__":true,"id":2427},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2428},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2425":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2426":{"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"},"2427":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2428":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2429":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2430":{"morph":{"__isSmartRef__":true,"id":2411},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2431":{"x":754.4,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2432":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2433":{"stops":[{"__isSmartRef__":true,"id":2434},{"__isSmartRef__":true,"id":2436},{"__isSmartRef__":true,"id":2438},{"__isSmartRef__":true,"id":2440}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2434":{"offset":0,"color":{"__isSmartRef__":true,"id":2435}},"2435":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2436":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2437}},"2437":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2438":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2439}},"2439":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2440":{"offset":1,"color":{"__isSmartRef__":true,"id":2441}},"2441":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2442":{"sourceObj":{"__isSmartRef__":true,"id":2411},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1636},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2443},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"2443":{"source":{"__isSmartRef__":true,"id":2411},"target":{"__isSmartRef__":true,"id":1636}},"2444":{"moveHorizontal":true},"2445":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2446},"derivationIds":[null],"id":"21EEBC81-7819-4B38-B2AD-0FC9819CA9A5","renderContextTable":{"__isSmartRef__":true,"id":2451},"eventHandler":{"__isSmartRef__":true,"id":2452},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":2453},"fixed":[{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1673},{"__isSmartRef__":true,"id":1708},{"__isSmartRef__":true,"id":1743},{"__isSmartRef__":true,"id":1778},{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1848}],"scalingBelow":[{"__isSmartRef__":true,"id":2353}],"scalingAbove":[{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":2193},{"__isSmartRef__":true,"id":2278},{"__isSmartRef__":true,"id":2318}],"minHeight":20,"pointerConnection":null,"owner":{"__isSmartRef__":true,"id":1622},"styleClass":["Browser_resizer"],"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"2446":{"_Position":{"__isSmartRef__":true,"id":2447},"renderContextTable":{"__isSmartRef__":true,"id":2448},"_Extent":{"__isSmartRef__":true,"id":2449},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2450},"_Fill":{"__isSmartRef__":true,"id":1326},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2447":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2448":{"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"},"2449":{"x":820,"y":5.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2450":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2451":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2452":{"morph":{"__isSmartRef__":true,"id":2445},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2453":{"x":0,"y":242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2454":{"_Position":{"__isSmartRef__":true,"id":2455},"renderContextTable":{"__isSmartRef__":true,"id":2456},"_Extent":{"__isSmartRef__":true,"id":2457},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2458},"_Fill":{"__isSmartRef__":true,"id":2459},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2455":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2456":{"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"},"2457":{"x":820,"y":550,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2458":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"2459":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2460":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2461":{"morph":{"__isSmartRef__":true,"id":1622},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2462":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2463":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2464":{"a":1,"b":0,"c":0,"d":1,"e":14.5,"f":13,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2465":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2466":{"a":1,"b":0,"c":0,"d":1,"e":19.5,"f":345,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Core"},"2467":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2468":{"x":730,"y":7,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2469":{"x":19.5,"y":345,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2470":{"submorphs":[{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":3344}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3486},"id":"4BD18D00-0CBF-4AC5-B2A8-21C8075139DD","renderContextTable":{"__isSmartRef__":true,"id":3490},"eventHandler":{"__isSmartRef__":true,"id":3491},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":3492},"LK2":true,"_Position":{"__isSmartRef__":true,"id":3493},"priorExtent":{"__isSmartRef__":true,"id":3494},"targetMorph":{"__isSmartRef__":true,"id":2471},"titleBar":{"__isSmartRef__":true,"id":3344},"contentOffset":{"__isSmartRef__":true,"id":3283},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3495},"name":"TestRunner","highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":3536},"isBeingDragged":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"testRunner":{"__isSmartRef__":true,"id":2471},"isCiJob":false,"_Rotation":0,"_Scale":1,"derivationIds":[614,"672443A9-408F-4CE4-87E2-F935CC71435D","3A90D5E5-BE2D-4304-A9FE-F3232C1E7F63","2FEE8316-82D0-48EF-AA62-278B6E8905DD"],"distanceToDragEvent":{"__isSmartRef__":true,"id":3537},"owner":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3538},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2471":{"submorphs":[{"__isSmartRef__":true,"id":2472},{"__isSmartRef__":true,"id":2488},{"__isSmartRef__":true,"id":2501},{"__isSmartRef__":true,"id":2515},{"__isSmartRef__":true,"id":2601},{"__isSmartRef__":true,"id":2918},{"__isSmartRef__":true,"id":2933},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2962}],"scripts":[],"id":"F933D23F-804D-4867-8B68-619C5BBD9FD0","shape":{"__isSmartRef__":true,"id":3276},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3283},"showsHalos":false,"name":"TestRunner","__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3284},"eventHandler":{"__isSmartRef__":true,"id":3285},"layout":{"__isSmartRef__":true,"id":3286},"priorExtent":{"__isSmartRef__":true,"id":3289},"owner":{"__isSmartRef__":true,"id":2470},"startTime":{"__isSmartRef__":true,"id":3290},"noOfTestCases":0,"doNotSerialize":["testSuite","loadedModules"],"doNotCopyProperties":["$$loadedModules"],"isInLayoutCycle":false,"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":2,"grabbingEnabled":false,"draggingEnabled":false,"numberOfTestCases":353,"modulesToLoad":11,"attributeConnections":[],"_Rotation":0,"_Scale":1.002003004005006,"derivationIds":[615,"72E8EC0F-4180-4B2F-B83E-F49A8031EA32","5CD27C4A-7223-4CFB-B7F6-227728354BF9","6C7270B4-DCEA-4B5C-A04D-7BBA57FE04F2"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3291},"__LivelyClassName__":"lively.morphic.Box"},"2472":{"submorphs":[],"scripts":[],"id":"B2104AFA-9368-465E-A6CA-5131316EC2AA","shape":{"__isSmartRef__":true,"id":2473},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2480},"_MaxTextWidth":558,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2477},"owner":{"__isSmartRef__":true,"id":2471},"showsHalos":false,"name":"ResultPane","__SourceModuleName__":"Global.lively.morphic.TextCore","padding":{"__isSmartRef__":true,"id":2481},"layout":{"__isSmartRef__":true,"id":2482},"_FontSize":8,"_Padding":{"__isSmartRef__":true,"id":2481},"_ClipMode":"scroll","textChunks":[{"__isSmartRef__":true,"id":2483}],"priorExtent":{"__isSmartRef__":true,"id":2485},"priorSelectionRange":[73,89],"renderContextTable":{"__isSmartRef__":true,"id":2486},"eventHandler":{"__isSmartRef__":true,"id":2487},"prevScroll":[0,0],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":558,"_MinTextHeight":null,"previousSelection":[82,82],"draggingEnabled":false,"_Scale":1,"derivationIds":[616,"212648FE-B21E-4FB7-BFB4-288248039B9B","6B3B9E63-C9D8-44A1-9817-21176155971C","00220152-BFAC-46C5-AE1B-8897A37F71E7"],"__LivelyClassName__":"lively.morphic.Text"},"2473":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2474},"_Extent":{"__isSmartRef__":true,"id":2475},"_Fill":{"__isSmartRef__":true,"id":2476},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2477},"renderContextTable":{"__isSmartRef__":true,"id":2478},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"scroll","_Padding":{"__isSmartRef__":true,"id":2479},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2474":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2475":{"x":560,"y":170,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2476":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2477":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2478":{"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"},"2479":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2480":{"x":4.309999999999999,"y":487.47,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2481":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2482":{"resizeWidth":true,"resizeHeight":false},"2483":{"style":{"__isSmartRef__":true,"id":2484},"chunkOwner":{"__isSmartRef__":true,"id":2472},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"2484":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2485":{"x":560,"y":170,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2486":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2487":{"morph":{"__isSmartRef__":true,"id":2472},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2488":{"submorphs":[],"scripts":[],"id":"1E681B5C-4983-4458-B3CD-B14398EA8933","renderContextTable":{"__isSmartRef__":true,"id":2489},"shape":{"__isSmartRef__":true,"id":2490},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"eventHandler":{"__isSmartRef__":true,"id":2497},"_Position":{"__isSmartRef__":true,"id":2498},"selection":"lively.AST.Tests.JSToAstTest","selectedLineNo":7,"selectOnMove":false,"isMultipleSelectionList":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Core","name":"TestClassesList","owner":{"__isSmartRef__":true,"id":2471},"priorExtent":{"__isSmartRef__":true,"id":2499},"layout":{"__isSmartRef__":true,"id":2500},"prevScroll":[0,360],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"itemList":[],"_Rotation":0,"_Scale":1,"derivationIds":[617,"DB80837B-AEA2-453A-B89F-861F3B80563D","AB32738F-14B4-4001-B2E8-CD21EAEA0322","A71663B8-5E83-47A0-866D-7DD0C15A9C62"],"__LivelyClassName__":"lively.morphic.List"},"2489":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"2490":{"_Position":{"__isSmartRef__":true,"id":2491},"renderContextTable":{"__isSmartRef__":true,"id":2492},"_Extent":{"__isSmartRef__":true,"id":2493},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2494},"_Fill":{"__isSmartRef__":true,"id":2495},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":2496},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2491":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2492":{"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"},"2493":{"x":560,"y":210,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2494":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2495":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2496":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2497":{"morph":{"__isSmartRef__":true,"id":2488},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2498":{"x":4.309999999999999,"y":221.28500000000003,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2499":{"x":561,"y":210,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2500":{"resizeWidth":true},"2501":{"submorphs":[],"scripts":[],"id":"2037C30A-E998-4983-9908-FD9EB1D8B16D","renderContextTable":{"__isSmartRef__":true,"id":2502},"shape":{"__isSmartRef__":true,"id":2503},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"eventHandler":{"__isSmartRef__":true,"id":2510},"_Position":{"__isSmartRef__":true,"id":2511},"itemList":[{"__isSmartRef__":true,"id":2512}],"selection":"lively.morphic.tests.InspectorTests","selectedLineNo":0,"selectOnMove":false,"isMultipleSelectionList":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Core","name":"ModuleList","priorExtent":{"__isSmartRef__":true,"id":2513},"layout":{"__isSmartRef__":true,"id":2514},"prevScroll":[0,50],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2471},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.998001,"derivationIds":[618,"B66A267D-ADE1-4999-8397-955F6EE5A493","833C6514-E908-4599-8F05-B076F69730A5","F5692E38-FA72-4D60-8984-C69F59E772AB"],"__LivelyClassName__":"lively.morphic.List"},"2502":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"2503":{"_Position":{"__isSmartRef__":true,"id":2504},"renderContextTable":{"__isSmartRef__":true,"id":2505},"_Extent":{"__isSmartRef__":true,"id":2506},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2507},"_Fill":{"__isSmartRef__":true,"id":2508},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_Padding":{"__isSmartRef__":true,"id":2509},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2504":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2505":{"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"},"2506":{"x":560,"y":110,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2507":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2508":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2509":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2510":{"morph":{"__isSmartRef__":true,"id":2501},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2511":{"x":4.309999999999999,"y":55.099999999999994,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2512":{"isListItem":true,"selectionString":"lively.morphic.tests.InspectorTests","string":"lively.morphic.tests.InspectorTests","value":"lively.morphic.tests.InspectorTests"},"2513":{"x":561,"y":110,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2514":{"resizeWidth":true},"2515":{"submorphs":[{"__isSmartRef__":true,"id":2516},{"__isSmartRef__":true,"id":2531}],"scripts":[],"id":"649107A9-B3F0-45DB-9BA0-CBCD38D83FEA","shape":{"__isSmartRef__":true,"id":2584},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2591},"showsHalos":false,"name":"HBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":2592},"__SourceModuleName__":"Global.lively.morphic.Core","priorExtent":{"__isSmartRef__":true,"id":2595},"layout":{"__isSmartRef__":true,"id":2596},"attributeConnections":[],"renderContextTable":{"__isSmartRef__":true,"id":2599},"eventHandler":{"__isSmartRef__":true,"id":2600},"doNotSerialize":[],"doNotCopyProperties":[],"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":2471},"grabbingEnabled":false,"draggingEnabled":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":1.0060210561262526,"derivationIds":[619,"57356A2A-1E84-48C7-AC82-405E4BDAFB35","786F7D48-0582-47D8-8EDB-805138FF4E2F","C64C5636-8A93-441B-A47E-2A1495869B73"],"__LivelyClassName__":"lively.morphic.Box"},"2516":{"submorphs":[],"scripts":[],"id":"A67A2F0B-F307-4057-B8F8-C6C3E0EF7E23","shape":{"__isSmartRef__":true,"id":2517},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2524},"_MaxTextWidth":423.805,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2521},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"AdditionalModuleInput","charsReplaced":"","lastFindLoc":19,"_ClipMode":"auto","textChunks":[{"__isSmartRef__":true,"id":2525}],"priorExtent":{"__isSmartRef__":true,"id":2527},"priorSelectionRange":[31,31],"renderContextTable":{"__isSmartRef__":true,"id":2528},"eventHandler":{"__isSmartRef__":true,"id":2529},"layout":{"__isSmartRef__":true,"id":2530},"savedTextString":"martin.test.Tests\n","_FontSize":10,"_WhiteSpaceHandling":"pre-wrap","prevScroll":[0,0],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":423.805,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2515},"draggingEnabled":false,"previousSelection":[0,0],"_Rotation":0,"_Scale":0.9920279440699439,"derivationIds":[620,"8B889365-A3A7-4DDE-9D9A-6C5AE8AAF66D","339FAE59-3766-4113-9344-2D79FB684B46","F5CD7F3A-C5ED-475E-B3DA-63F5BBA345E7"],"__LivelyClassName__":"lively.morphic.Text"},"2517":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2518},"_Extent":{"__isSmartRef__":true,"id":2519},"_Fill":{"__isSmartRef__":true,"id":2520},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2521},"renderContextTable":{"__isSmartRef__":true,"id":2522},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":2523},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2518":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2519":{"x":425.805,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2520":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2521":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2522":{"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"},"2523":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2524":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2525":{"style":{"__isSmartRef__":true,"id":2526},"chunkOwner":{"__isSmartRef__":true,"id":2516},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"lively.morphic.tests.InspectorTests","__LivelyClassName__":"lively.morphic.TextChunk"},"2526":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2527":{"x":425.805,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2528":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2529":{"morph":{"__isSmartRef__":true,"id":2516},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2530":{"resizeWidth":true},"2531":{"submorphs":[{"__isSmartRef__":true,"id":2532}],"scripts":[],"id":"DC11418E-CD76-4B03-9ACE-755023B5427D","shape":{"__isSmartRef__":true,"id":2547},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2563},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2550},"lighterFill":{"__isSmartRef__":true,"id":2564},"label":{"__isSmartRef__":true,"id":2532},"showsHalos":false,"name":"AddModuleButton","attributeConnections":[{"__isSmartRef__":true,"id":2573}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2574},"eventHandler":{"__isSmartRef__":true,"id":2575},"priorExtent":{"__isSmartRef__":true,"id":2576},"layout":{"__isSmartRef__":true,"id":2577},"owner":{"__isSmartRef__":true,"id":2515},"distanceToDragEvent":{"__isSmartRef__":true,"id":2578},"draggingEnabled":false,"prevScroll":[0,0],"_Rotation":0,"_Scale":0.9920279440699439,"derivationIds":[621,"34B20117-9BAC-4050-B1BC-BA66D5A584A6","C834BC74-BB09-4E7E-9176-0782E76B0597","7723E282-5FBA-4A76-A45B-21B0C1E15EEC"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2579},"__LivelyClassName__":"lively.morphic.Button"},"2532":{"submorphs":[],"scripts":[],"id":"F8103FE6-0BEE-4479-9DDF-589B023F6574","shape":{"__isSmartRef__":true,"id":2533},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2539},"_MaxTextWidth":58,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2536},"padding":{"__isSmartRef__":true,"id":2540},"_Padding":{"__isSmartRef__":true,"id":2541},"owner":{"__isSmartRef__":true,"id":2531},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2542}],"priorExtent":{"__isSmartRef__":true,"id":2544},"renderContextTable":{"__isSmartRef__":true,"id":2545},"eventHandler":{"__isSmartRef__":true,"id":2546},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":58,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[622,"8A84AAF7-D0D7-4D57-8699-BC17FC54AD56","374AC9E9-C2F5-4AB1-92B3-603056CE623C","70E3AD35-E62E-46CA-B961-97F05D652134"],"__LivelyClassName__":"lively.morphic.Text"},"2533":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2534},"_Extent":{"__isSmartRef__":true,"id":2535},"_BorderColor":{"__isSmartRef__":true,"id":2536},"renderContextTable":{"__isSmartRef__":true,"id":2537},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2538},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2534":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2535":{"x":58,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2536":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2537":{"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"},"2538":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2539":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2540":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2541":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2542":{"style":{"__isSmartRef__":true,"id":2543},"chunkOwner":{"__isSmartRef__":true,"id":2532},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"add","__LivelyClassName__":"lively.morphic.TextChunk"},"2543":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2544":{"x":58,"y":18,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2545":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2546":{"morph":{"__isSmartRef__":true,"id":2532},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2547":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2548},"_Extent":{"__isSmartRef__":true,"id":2549},"_Fill":{"__isSmartRef__":true,"id":2550},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2560},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2561},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2562},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2548":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2549":{"x":58,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2550":{"stops":[{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2553},{"__isSmartRef__":true,"id":2555},{"__isSmartRef__":true,"id":2557}],"vector":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2551":{"offset":0,"color":{"__isSmartRef__":true,"id":2552}},"2552":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2553":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2554}},"2554":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2555":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2556}},"2556":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2557":{"offset":1,"color":{"__isSmartRef__":true,"id":2558}},"2558":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2559":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2560":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2561":{"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"},"2562":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2563":{"x":428,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2564":{"stops":[{"__isSmartRef__":true,"id":2565},{"__isSmartRef__":true,"id":2567},{"__isSmartRef__":true,"id":2569},{"__isSmartRef__":true,"id":2571}],"vector":{"__isSmartRef__":true,"id":2559},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2565":{"offset":0,"color":{"__isSmartRef__":true,"id":2566}},"2566":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2567":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2568}},"2568":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2569":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2570}},"2570":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2571":{"offset":1,"color":{"__isSmartRef__":true,"id":2572}},"2572":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2573":{"sourceObj":{"__isSmartRef__":true,"id":2531},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2531},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2574":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2575":{"morph":{"__isSmartRef__":true,"id":2531},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2576":{"x":58,"y":18,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2577":{"moveHorizontal":true},"2578":{"x":54.919638796692084,"y":-4.080361203307945,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2579":{"onFire":{"__isSmartRef__":true,"id":2580}},"2580":{"varMapping":{"__isSmartRef__":true,"id":2581},"source":"function onFire() {\n var moduleName = this.get('AdditionalModuleInput').getTextString().trim();\n if (!moduleName) return;\n this.get('TestRunner').addModule(moduleName);\n}","funcProperties":{"__isSmartRef__":true,"id":2582},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2581":{"this":{"__isSmartRef__":true,"id":2531}},"2582":{"timestamp":{"__isSmartRef__":true,"id":2583},"user":"lauritz","tags":[]},"2583":{"isSerializedDate":true,"string":"Wed Dec 07 2011 14:21:50 GMT-0800 (PST)"},"2584":{"position":{"__isSmartRef__":true,"id":2585},"_Extent":{"__isSmartRef__":true,"id":2586},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2587},"_Fill":{"__isSmartRef__":true,"id":2588},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":2589},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2590},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2585":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2586":{"x":486,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2587":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2588":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"2589":{"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"},"2590":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2591":{"x":4.309999999999999,"y":29.705,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2592":{"partsSpaceName":"PartsBin/Layout/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":4,"partName":"HBox","changes":[{"__isSmartRef__":true,"id":2593}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2593":{"date":{"__isSmartRef__":true,"id":2594},"author":"fbo","message":"","id":"C0A8DE73-F7F3-437E-B0A6-5DD5B6456C9A"},"2594":{"isSerializedDate":true,"string":"Tue Nov 29 2011 12:11:31 GMT-0800 (PST)"},"2595":{"x":486,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2596":{"layouter":{"__isSmartRef__":true,"id":2597},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":2598}},"2597":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":2.1950000000000003,"container":{"__isSmartRef__":true,"id":2515},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"2598":{"x":260.82173264355447,"y":115.99198798397993,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2599":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2600":{"morph":{"__isSmartRef__":true,"id":2515},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2601":{"submorphs":[{"__isSmartRef__":true,"id":2602},{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2845}],"scripts":[],"id":"6FB61DBD-6745-4F3E-BE99-E7D1E4E7DC05","shape":{"__isSmartRef__":true,"id":2902},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2908},"showsHalos":false,"name":"ModuleButtonsBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":2909},"__SourceModuleName__":"Global.lively.morphic.Core","priorExtent":{"__isSmartRef__":true,"id":2912},"layout":{"__isSmartRef__":true,"id":2913},"attributeConnections":[],"renderContextTable":{"__isSmartRef__":true,"id":2916},"eventHandler":{"__isSmartRef__":true,"id":2917},"doNotSerialize":[],"doNotCopyProperties":[],"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":2471},"prevScroll":[0,0],"grabbingEnabled":false,"draggingEnabled":false,"isCopyMorphRef":true,"morphRefId":13,"_Rotation":0,"_Scale":1.0060210561262526,"derivationIds":[623,"F67F1BA4-04AD-472A-8B03-ED6BEF4057BA","3FF15D49-47EE-4A57-9760-512315294590","5F9FDC95-FB1E-44F7-8975-9DD3E84BBFB8"],"__LivelyClassName__":"lively.morphic.Box"},"2602":{"submorphs":[{"__isSmartRef__":true,"id":2603}],"scripts":[],"id":"FC99285F-9966-4FE3-B340-F67F4856ADA1","shape":{"__isSmartRef__":true,"id":2618},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2634},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2621},"lighterFill":{"__isSmartRef__":true,"id":2635},"label":{"__isSmartRef__":true,"id":2603},"showsHalos":false,"name":"LoadModulesButton","attributeConnections":[{"__isSmartRef__":true,"id":2644}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2646},"eventHandler":{"__isSmartRef__":true,"id":2647},"owner":{"__isSmartRef__":true,"id":2601},"priorExtent":{"__isSmartRef__":true,"id":2648},"layout":{"__isSmartRef__":true,"id":2649},"draggingEnabled":false,"_Rotation":0,"_Scale":0.9940149800149939,"derivationIds":[624,"D38D7A35-F2A3-4DED-B651-46BDED259933","365A106A-7FEA-4248-AFE9-E310430FDD3F","4356EB7C-E7E7-48AD-95DB-7F70E24D8B10"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2650},"__LivelyClassName__":"lively.morphic.Button"},"2603":{"submorphs":[],"scripts":[],"id":"15449F6D-1011-4848-831F-977145DD5572","shape":{"__isSmartRef__":true,"id":2604},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2610},"_MaxTextWidth":110,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2607},"padding":{"__isSmartRef__":true,"id":2611},"_Padding":{"__isSmartRef__":true,"id":2612},"owner":{"__isSmartRef__":true,"id":2602},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2613}],"priorExtent":{"__isSmartRef__":true,"id":2615},"renderContextTable":{"__isSmartRef__":true,"id":2616},"eventHandler":{"__isSmartRef__":true,"id":2617},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":110,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[625,"CCE854E6-DC1B-4760-9B75-3B2CD42A20F5","B32EB9EB-1E7B-481B-AF2A-ED32DF0C992E","7BA21521-EC9A-443F-B72D-C43571E62534"],"__LivelyClassName__":"lively.morphic.Text"},"2604":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2605},"_Extent":{"__isSmartRef__":true,"id":2606},"_BorderColor":{"__isSmartRef__":true,"id":2607},"renderContextTable":{"__isSmartRef__":true,"id":2608},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2609},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2605":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2606":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2607":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2608":{"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"},"2609":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2610":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2611":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2612":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2613":{"style":{"__isSmartRef__":true,"id":2614},"chunkOwner":{"__isSmartRef__":true,"id":2603},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"load selected","__LivelyClassName__":"lively.morphic.TextChunk"},"2614":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2615":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2616":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2617":{"morph":{"__isSmartRef__":true,"id":2603},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2618":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2619},"_Extent":{"__isSmartRef__":true,"id":2620},"_Fill":{"__isSmartRef__":true,"id":2621},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2631},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2632},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2633},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2619":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2620":{"x":110,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2621":{"stops":[{"__isSmartRef__":true,"id":2622},{"__isSmartRef__":true,"id":2624},{"__isSmartRef__":true,"id":2626},{"__isSmartRef__":true,"id":2628}],"vector":{"__isSmartRef__":true,"id":2630},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2622":{"offset":0,"color":{"__isSmartRef__":true,"id":2623}},"2623":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2624":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2625}},"2625":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2626":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2627}},"2627":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2628":{"offset":1,"color":{"__isSmartRef__":true,"id":2629}},"2629":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2630":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2631":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2632":{"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"},"2633":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2634":{"x":410,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2635":{"stops":[{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2642}],"vector":{"__isSmartRef__":true,"id":2630},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2636":{"offset":0,"color":{"__isSmartRef__":true,"id":2637}},"2637":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2638":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2639}},"2639":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2640":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2641}},"2641":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2642":{"offset":1,"color":{"__isSmartRef__":true,"id":2643}},"2643":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2644":{"sourceObj":{"__isSmartRef__":true,"id":2602},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2602},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2645},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2645":{"source":{"__isSmartRef__":true,"id":2602},"target":{"__isSmartRef__":true,"id":2602}},"2646":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2647":{"morph":{"__isSmartRef__":true,"id":2602},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2648":{"x":110,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2649":{"moveHorizontal":true},"2650":{"onFire":{"__isSmartRef__":true,"id":2651}},"2651":{"varMapping":{"__isSmartRef__":true,"id":2652},"source":"function onFire() {\n this.get('TestRunner').loadSelectedModules();\n}","funcProperties":{"__isSmartRef__":true,"id":2653},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2652":{"this":{"__isSmartRef__":true,"id":2602}},"2653":{"timestamp":{"__isSmartRef__":true,"id":2654},"user":"lauritz","tags":[]},"2654":{"isSerializedDate":true,"string":"Wed Dec 07 2011 13:26:37 GMT-0800 (PST)"},"2655":{"submorphs":[{"__isSmartRef__":true,"id":2656}],"scripts":[],"id":"968D17EA-369D-4D49-A914-C98F5D4B428F","shape":{"__isSmartRef__":true,"id":2671},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2687},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2674},"lighterFill":{"__isSmartRef__":true,"id":2688},"label":{"__isSmartRef__":true,"id":2656},"showsHalos":false,"name":"SelectAllModulesButton","attributeConnections":[{"__isSmartRef__":true,"id":2697}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2699},"eventHandler":{"__isSmartRef__":true,"id":2700},"priorExtent":{"__isSmartRef__":true,"id":2701},"layout":{"__isSmartRef__":true,"id":2702},"owner":{"__isSmartRef__":true,"id":2601},"distanceToDragEvent":{"__isSmartRef__":true,"id":2703},"draggingEnabled":false,"_Rotation":0,"_Scale":0.9940149800149939,"derivationIds":[626,"D68FF42D-E91A-4862-8589-5B2819918425","CA367931-155E-4105-B974-9E97CA06DC05","EBDF5B4E-3B1F-42C1-BBF3-E4C6FA2C779A"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2704},"__LivelyClassName__":"lively.morphic.Button"},"2656":{"submorphs":[],"scripts":[],"id":"FAA48DFB-5F3D-4CB7-8229-33C295D86E3E","shape":{"__isSmartRef__":true,"id":2657},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2663},"_MaxTextWidth":80,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2660},"padding":{"__isSmartRef__":true,"id":2664},"_Padding":{"__isSmartRef__":true,"id":2665},"owner":{"__isSmartRef__":true,"id":2655},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2666}],"priorExtent":{"__isSmartRef__":true,"id":2668},"renderContextTable":{"__isSmartRef__":true,"id":2669},"eventHandler":{"__isSmartRef__":true,"id":2670},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":80,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[627,"30791D84-E1D4-4CD0-B3E4-5B8E44B45097","A73CB42E-3FF7-4DB1-AA53-144D1AF60C20","BE61DB92-4CA6-4D13-9FB1-ACB460627790"],"__LivelyClassName__":"lively.morphic.Text"},"2657":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2658},"_Extent":{"__isSmartRef__":true,"id":2659},"_BorderColor":{"__isSmartRef__":true,"id":2660},"renderContextTable":{"__isSmartRef__":true,"id":2661},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2662},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2658":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2659":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2660":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2661":{"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"},"2662":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2663":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2664":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2665":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2666":{"style":{"__isSmartRef__":true,"id":2667},"chunkOwner":{"__isSmartRef__":true,"id":2656},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"select all","__LivelyClassName__":"lively.morphic.TextChunk"},"2667":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2668":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2669":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2670":{"morph":{"__isSmartRef__":true,"id":2656},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2671":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2672},"_Extent":{"__isSmartRef__":true,"id":2673},"_Fill":{"__isSmartRef__":true,"id":2674},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2684},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2685},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2686},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2672":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2673":{"x":80,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2674":{"stops":[{"__isSmartRef__":true,"id":2675},{"__isSmartRef__":true,"id":2677},{"__isSmartRef__":true,"id":2679},{"__isSmartRef__":true,"id":2681}],"vector":{"__isSmartRef__":true,"id":2683},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2675":{"offset":0,"color":{"__isSmartRef__":true,"id":2676}},"2676":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2677":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2678}},"2678":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2679":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2680}},"2680":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2681":{"offset":1,"color":{"__isSmartRef__":true,"id":2682}},"2682":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2683":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2684":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2685":{"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"},"2686":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2687":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2688":{"stops":[{"__isSmartRef__":true,"id":2689},{"__isSmartRef__":true,"id":2691},{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2695}],"vector":{"__isSmartRef__":true,"id":2683},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2689":{"offset":0,"color":{"__isSmartRef__":true,"id":2690}},"2690":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2691":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2692}},"2692":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2693":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2694}},"2694":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2695":{"offset":1,"color":{"__isSmartRef__":true,"id":2696}},"2696":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2697":{"sourceObj":{"__isSmartRef__":true,"id":2655},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2655},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2698},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2698":{"source":{"__isSmartRef__":true,"id":2655},"target":{"__isSmartRef__":true,"id":2655}},"2699":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2700":{"morph":{"__isSmartRef__":true,"id":2655},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2701":{"x":80,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2702":{"moveHorizontal":false},"2703":{"x":51.46051257173764,"y":-5.882571259948691,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2704":{"onFire":{"__isSmartRef__":true,"id":2705}},"2705":{"varMapping":{"__isSmartRef__":true,"id":2706},"source":"function onFire() {\n this.get('TestRunner').selectAllModules();\n}","funcProperties":{"__isSmartRef__":true,"id":2707},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2706":{"this":{"__isSmartRef__":true,"id":2655}},"2707":{"timestamp":{"__isSmartRef__":true,"id":2708},"user":"lauritz","tags":[]},"2708":{"isSerializedDate":true,"string":"Wed Dec 07 2011 12:55:48 GMT-0800 (PST)"},"2709":{"submorphs":[{"__isSmartRef__":true,"id":2710}],"scripts":[],"id":"68424A3E-4AB4-4E62-8E3F-647993D915AD","shape":{"__isSmartRef__":true,"id":2725},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2741},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2728},"lighterFill":{"__isSmartRef__":true,"id":2742},"label":{"__isSmartRef__":true,"id":2710},"showsHalos":false,"name":"DeselectModulesButton","attributeConnections":[{"__isSmartRef__":true,"id":2751}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2753},"eventHandler":{"__isSmartRef__":true,"id":2754},"priorExtent":{"__isSmartRef__":true,"id":2755},"layout":{"__isSmartRef__":true,"id":2756},"owner":{"__isSmartRef__":true,"id":2601},"draggingEnabled":false,"_Rotation":0,"_Scale":0.9880657804942088,"derivationIds":[628,"7839D6F1-739A-466C-B948-29803CF9C450","61DA01DA-5164-4059-98FA-D2DE96A3D1E7","826345C2-CB83-40FF-9A5E-C2A55C769450"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2757},"__LivelyClassName__":"lively.morphic.Button"},"2710":{"submorphs":[],"scripts":[],"id":"94CE972E-1096-4B4C-828F-69CEA51F4DD8","shape":{"__isSmartRef__":true,"id":2711},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2717},"_MaxTextWidth":100,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2714},"padding":{"__isSmartRef__":true,"id":2718},"_Padding":{"__isSmartRef__":true,"id":2719},"owner":{"__isSmartRef__":true,"id":2709},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2720}],"priorExtent":{"__isSmartRef__":true,"id":2722},"renderContextTable":{"__isSmartRef__":true,"id":2723},"eventHandler":{"__isSmartRef__":true,"id":2724},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":100,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[629,"A8E29B84-3F9C-46DF-9F5C-401ED5D01D27","5D237E2F-49C5-4293-9235-84C960FD5FFE","AEE03DBA-2FF5-4989-9BDC-84AC9780DB84"],"__LivelyClassName__":"lively.morphic.Text"},"2711":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2712},"_Extent":{"__isSmartRef__":true,"id":2713},"_BorderColor":{"__isSmartRef__":true,"id":2714},"renderContextTable":{"__isSmartRef__":true,"id":2715},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2716},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2712":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2713":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2714":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2715":{"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"},"2716":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2717":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2718":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2719":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2720":{"style":{"__isSmartRef__":true,"id":2721},"chunkOwner":{"__isSmartRef__":true,"id":2710},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"select none","__LivelyClassName__":"lively.morphic.TextChunk"},"2721":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2722":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2723":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2724":{"morph":{"__isSmartRef__":true,"id":2710},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2725":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2726},"_Extent":{"__isSmartRef__":true,"id":2727},"_Fill":{"__isSmartRef__":true,"id":2728},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2738},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2739},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2740},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2726":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2727":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2728":{"stops":[{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2735}],"vector":{"__isSmartRef__":true,"id":2737},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2729":{"offset":0,"color":{"__isSmartRef__":true,"id":2730}},"2730":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2731":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2732}},"2732":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2733":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2734}},"2734":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2735":{"offset":1,"color":{"__isSmartRef__":true,"id":2736}},"2736":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2737":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2738":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2739":{"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"},"2740":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2741":{"x":80,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2742":{"stops":[{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2747},{"__isSmartRef__":true,"id":2749}],"vector":{"__isSmartRef__":true,"id":2737},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2743":{"offset":0,"color":{"__isSmartRef__":true,"id":2744}},"2744":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2745":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2746}},"2746":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2747":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2748}},"2748":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2749":{"offset":1,"color":{"__isSmartRef__":true,"id":2750}},"2750":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2751":{"sourceObj":{"__isSmartRef__":true,"id":2709},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2752},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2752":{"source":{"__isSmartRef__":true,"id":2709},"target":{"__isSmartRef__":true,"id":2709}},"2753":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2754":{"morph":{"__isSmartRef__":true,"id":2709},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2755":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2756":{"moveHorizontal":false},"2757":{"onFire":{"__isSmartRef__":true,"id":2758}},"2758":{"varMapping":{"__isSmartRef__":true,"id":2759},"source":"function onFire() {\n this.get(\"TestRunner\").get(\"ModuleList\").clearSelections();\n}","funcProperties":{"__isSmartRef__":true,"id":2760},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2759":{"this":{"__isSmartRef__":true,"id":2709}},"2760":{"timestamp":{"__isSmartRef__":true,"id":2761},"user":"lauritz","tags":[]},"2761":{"isSerializedDate":true,"string":"Wed Dec 07 2011 11:11:58 GMT-0800 (PST)"},"2762":{"submorphs":[{"__isSmartRef__":true,"id":2763}],"scripts":[],"id":"13D700DB-52C2-4021-913C-B127A30361B2","shape":{"__isSmartRef__":true,"id":2778},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2794},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2781},"lighterFill":{"__isSmartRef__":true,"id":2795},"label":{"__isSmartRef__":true,"id":2763},"showsHalos":false,"name":"RemoveSelectedModuleButton","attributeConnections":[{"__isSmartRef__":true,"id":2804}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2806},"eventHandler":{"__isSmartRef__":true,"id":2807},"priorExtent":{"__isSmartRef__":true,"id":2808},"layout":{"__isSmartRef__":true,"id":2809},"owner":{"__isSmartRef__":true,"id":2601},"distanceToDragEvent":{"__isSmartRef__":true,"id":2810},"draggingEnabled":false,"_Rotation":0,"_Scale":0.986090636999001,"derivationIds":[630,"EA6A44ED-A74C-4287-9D8E-77659810C24E","DFFCAE8B-30C0-458F-8446-6B07A7E29634","30AD57A1-6E9A-4B84-8DFA-F60638836389"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2811},"__LivelyClassName__":"lively.morphic.Button"},"2763":{"submorphs":[],"scripts":[],"id":"593137C6-7939-4FC1-8D0B-757DC52C0E89","shape":{"__isSmartRef__":true,"id":2764},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2770},"_MaxTextWidth":130,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2767},"padding":{"__isSmartRef__":true,"id":2771},"_Padding":{"__isSmartRef__":true,"id":2772},"owner":{"__isSmartRef__":true,"id":2762},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2773}],"priorExtent":{"__isSmartRef__":true,"id":2775},"renderContextTable":{"__isSmartRef__":true,"id":2776},"eventHandler":{"__isSmartRef__":true,"id":2777},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":130,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[631,"CDD6E9B4-7A1B-4194-AF66-84584B0C2370","AB6B1BC8-D7A2-462D-86CB-F4C14A697AD5","4DE40EE9-6187-45B6-B863-1EBE6668A3CF"],"__LivelyClassName__":"lively.morphic.Text"},"2764":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2765},"_Extent":{"__isSmartRef__":true,"id":2766},"_BorderColor":{"__isSmartRef__":true,"id":2767},"renderContextTable":{"__isSmartRef__":true,"id":2768},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2769},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2765":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2766":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2767":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2768":{"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"},"2769":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2770":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2771":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2772":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2773":{"style":{"__isSmartRef__":true,"id":2774},"chunkOwner":{"__isSmartRef__":true,"id":2763},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"remove selected","__LivelyClassName__":"lively.morphic.TextChunk"},"2774":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2775":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2776":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2777":{"morph":{"__isSmartRef__":true,"id":2763},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2778":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2779},"_Extent":{"__isSmartRef__":true,"id":2780},"_Fill":{"__isSmartRef__":true,"id":2781},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2791},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2792},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2793},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2779":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2780":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2781":{"stops":[{"__isSmartRef__":true,"id":2782},{"__isSmartRef__":true,"id":2784},{"__isSmartRef__":true,"id":2786},{"__isSmartRef__":true,"id":2788}],"vector":{"__isSmartRef__":true,"id":2790},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2782":{"offset":0,"color":{"__isSmartRef__":true,"id":2783}},"2783":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2784":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2785}},"2785":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2786":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2787}},"2787":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2788":{"offset":1,"color":{"__isSmartRef__":true,"id":2789}},"2789":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2790":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2791":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2792":{"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"},"2793":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2794":{"x":180,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2795":{"stops":[{"__isSmartRef__":true,"id":2796},{"__isSmartRef__":true,"id":2798},{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2802}],"vector":{"__isSmartRef__":true,"id":2790},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2796":{"offset":0,"color":{"__isSmartRef__":true,"id":2797}},"2797":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2798":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2799}},"2799":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2800":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2801}},"2801":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2802":{"offset":1,"color":{"__isSmartRef__":true,"id":2803}},"2803":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2804":{"sourceObj":{"__isSmartRef__":true,"id":2762},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2762},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2805},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2805":{"source":{"__isSmartRef__":true,"id":2762},"target":{"__isSmartRef__":true,"id":2762}},"2806":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2807":{"morph":{"__isSmartRef__":true,"id":2762},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2808":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2809":{"moveHorizontal":true},"2810":{"x":79.37239290429102,"y":-9.88257125994869,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2811":{"onFire":{"__isSmartRef__":true,"id":2812}},"2812":{"varMapping":{"__isSmartRef__":true,"id":2813},"source":"function onFire() {\n var list = this.get('TestRunner').get('ModuleList');\n list.getSelectedItems().forEach(function (each) {\n list.removeItemOrValue(each);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2814},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2813":{"this":{"__isSmartRef__":true,"id":2762}},"2814":{"timestamp":{"__isSmartRef__":true,"id":2815},"user":"lauritz","tags":[]},"2815":{"isSerializedDate":true,"string":"Wed Dec 07 2011 11:20:17 GMT-0800 (PST)"},"2816":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2817},"id":"E7976E50-0778-4A92-B4B6-80EB34C2F7EB","renderContextTable":{"__isSmartRef__":true,"id":2822},"eventHandler":{"__isSmartRef__":true,"id":2823},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2824},"name":"ModuleProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":2825},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2826},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2827},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2601},"_Rotation":0,"_Scale":0.9920279440699439,"derivationIds":[632,"5BD3BE85-0C49-4CFC-A3EB-FBFBD758A2D5","43473A1E-95B8-40B3-B61D-400D75740E3A","C3E675C6-8E4B-4CFD-87F3-0E21F979484C"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2828},"__LivelyClassName__":"lively.morphic.Image"},"2817":{"_Position":{"__isSmartRef__":true,"id":2818},"renderContextTable":{"__isSmartRef__":true,"id":2819},"_Extent":{"__isSmartRef__":true,"id":2820},"_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":2821},"_Opacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Image"},"2818":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2819":{"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","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2820":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2821":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2822":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2823":{"morph":{"__isSmartRef__":true,"id":2816},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2824":{"x":520,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2825":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2826":{"x":39,"y":-11,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2827":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2828":{"hide":{"__isSmartRef__":true,"id":2829},"show":{"__isSmartRef__":true,"id":2837}},"2829":{"varMapping":{"__isSmartRef__":true,"id":2830},"source":"function hide() {\n this.setOpacity(0);\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":2835},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2830":{"this":{"__isSmartRef__":true,"id":2816},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2831}},"2831":{"$super":{"__isSmartRef__":true,"id":2832}},"2832":{"varMapping":{"__isSmartRef__":true,"id":2833},"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":2834},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2833":{"obj":{"__isSmartRef__":true,"id":2816},"name":"hide"},"2834":{},"2835":{"timestamp":{"__isSmartRef__":true,"id":2836},"user":"lauritz","tags":[]},"2836":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:03:26 GMT-0800 (PST)"},"2837":{"varMapping":{"__isSmartRef__":true,"id":2838},"source":"function show() {\n this.setOpacity(1);\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":2843},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2838":{"this":{"__isSmartRef__":true,"id":2816},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2839}},"2839":{"$super":{"__isSmartRef__":true,"id":2840}},"2840":{"varMapping":{"__isSmartRef__":true,"id":2841},"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":2842},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2841":{"obj":{"__isSmartRef__":true,"id":2816},"name":"show"},"2842":{},"2843":{"timestamp":{"__isSmartRef__":true,"id":2844},"user":"lauritz","tags":[]},"2844":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:03:26 GMT-0800 (PST)"},"2845":{"submorphs":[{"__isSmartRef__":true,"id":2846}],"scripts":[],"id":"40A71DDD-D300-424D-B2CC-21E529CF3E49","shape":{"__isSmartRef__":true,"id":2861},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2877},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2864},"lighterFill":{"__isSmartRef__":true,"id":2878},"label":{"__isSmartRef__":true,"id":2846},"showsHalos":false,"name":"AddDefaultModulesButton","attributeConnections":[{"__isSmartRef__":true,"id":2887}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":2889},"eventHandler":{"__isSmartRef__":true,"id":2890},"priorExtent":{"__isSmartRef__":true,"id":2891},"layout":{"__isSmartRef__":true,"id":2892},"draggingEnabled":false,"owner":{"__isSmartRef__":true,"id":2601},"_Rotation":0,"_Scale":0.9860906369990008,"derivationIds":[633,"A9C7F172-65A2-4EB2-A37E-E410F4604AA4","CA1CD4C3-7548-44CD-99B2-AEF1E6C8BB97","6E680437-C855-434D-A179-1C0A2BCDB8EB"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2893},"__LivelyClassName__":"lively.morphic.Button"},"2846":{"submorphs":[],"scripts":[],"id":"F6B2DD00-264D-4015-9612-D2765B3F3497","shape":{"__isSmartRef__":true,"id":2847},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2853},"_MaxTextWidth":100,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2850},"padding":{"__isSmartRef__":true,"id":2854},"_Padding":{"__isSmartRef__":true,"id":2855},"owner":{"__isSmartRef__":true,"id":2845},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2856}],"priorExtent":{"__isSmartRef__":true,"id":2858},"renderContextTable":{"__isSmartRef__":true,"id":2859},"eventHandler":{"__isSmartRef__":true,"id":2860},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":100,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[634,"03A849F7-94D6-446C-B168-47345D6F4471","F805ABC4-4FC9-41C4-A09F-684389FA2290","C974C5AF-8762-4034-915F-75AD91BF1430"],"__LivelyClassName__":"lively.morphic.Text"},"2847":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2848},"_Extent":{"__isSmartRef__":true,"id":2849},"_BorderColor":{"__isSmartRef__":true,"id":2850},"renderContextTable":{"__isSmartRef__":true,"id":2851},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2852},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2848":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2849":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2850":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2851":{"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"},"2852":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2853":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2854":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2855":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2856":{"style":{"__isSmartRef__":true,"id":2857},"chunkOwner":{"__isSmartRef__":true,"id":2846},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"add defaults","__LivelyClassName__":"lively.morphic.TextChunk"},"2857":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2858":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2859":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2860":{"morph":{"__isSmartRef__":true,"id":2846},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2861":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2862},"_Extent":{"__isSmartRef__":true,"id":2863},"_Fill":{"__isSmartRef__":true,"id":2864},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2874},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2875},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2876},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2862":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2863":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2864":{"stops":[{"__isSmartRef__":true,"id":2865},{"__isSmartRef__":true,"id":2867},{"__isSmartRef__":true,"id":2869},{"__isSmartRef__":true,"id":2871}],"vector":{"__isSmartRef__":true,"id":2873},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2865":{"offset":0,"color":{"__isSmartRef__":true,"id":2866}},"2866":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2867":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2868}},"2868":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2869":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2870}},"2870":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2871":{"offset":1,"color":{"__isSmartRef__":true,"id":2872}},"2872":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2873":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2874":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2875":{"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"},"2876":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2877":{"x":310,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2878":{"stops":[{"__isSmartRef__":true,"id":2879},{"__isSmartRef__":true,"id":2881},{"__isSmartRef__":true,"id":2883},{"__isSmartRef__":true,"id":2885}],"vector":{"__isSmartRef__":true,"id":2873},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2879":{"offset":0,"color":{"__isSmartRef__":true,"id":2880}},"2880":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2881":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2882}},"2882":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2883":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2884}},"2884":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2885":{"offset":1,"color":{"__isSmartRef__":true,"id":2886}},"2886":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2887":{"sourceObj":{"__isSmartRef__":true,"id":2845},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2845},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":2888},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2888":{"source":{"__isSmartRef__":true,"id":2845},"target":{"__isSmartRef__":true,"id":2845}},"2889":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2890":{"morph":{"__isSmartRef__":true,"id":2845},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2891":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2892":{"moveHorizontal":true},"2893":{"onFire":{"__isSmartRef__":true,"id":2894},"defaultModules":{"__isSmartRef__":true,"id":2898}},"2894":{"varMapping":{"__isSmartRef__":true,"id":2895},"source":"function onFire() {\n var runner = this.get('TestRunner');\n\n this.defaultModules().forEach(function (each) {\n runner.addModule(each);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":2896},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2895":{"this":{"__isSmartRef__":true,"id":2845}},"2896":{"timestamp":{"__isSmartRef__":true,"id":2897},"user":"lauritz","tags":[]},"2897":{"isSerializedDate":true,"string":"Fri Dec 09 2011 10:36:39 GMT-0800 (PST)"},"2898":{"varMapping":{"__isSmartRef__":true,"id":2899},"source":"function defaultModules() {\n return ['lively.morphic.Tests', 'lively.bindings.Tests', 'lively.bindings.GeometryBindingsTest', 'Tests.ClassTest', 'Tests.MiniPrototypeTest', 'Tests.ModuleSystemTests', 'Tests.OmetaTest', 'Tests.TestFrameworkTests', 'lively.persistence.Tests'];\n}","funcProperties":{"__isSmartRef__":true,"id":2900},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"2899":{"this":{"__isSmartRef__":true,"id":2845}},"2900":{"timestamp":{"__isSmartRef__":true,"id":2901},"user":"lauritz","tags":[]},"2901":{"isSerializedDate":true,"string":"Wed Dec 21 2011 08:47:07 GMT-0800 (PST)"},"2902":{"position":{"__isSmartRef__":true,"id":2903},"_Extent":{"__isSmartRef__":true,"id":2904},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2905},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":2906},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2907},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2903":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2904":{"x":540,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2905":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2906":{"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"},"2907":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2908":{"x":4.309999999999999,"y":170.495,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2909":{"partsSpaceName":"PartsBin/Layout/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":4,"partName":"HBox","changes":[{"__isSmartRef__":true,"id":2910}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2910":{"date":{"__isSmartRef__":true,"id":2911},"author":"fbo","message":"","id":"C0A8DE73-F7F3-437E-B0A6-5DD5B6456C9A"},"2911":{"isSerializedDate":true,"string":"Tue Nov 29 2011 12:11:31 GMT-0800 (PST)"},"2912":{"x":510,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2913":{"layouter":{"__isSmartRef__":true,"id":2914},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":2915}},"2914":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2601},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"2915":{"x":411.68,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2916":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2917":{"morph":{"__isSmartRef__":true,"id":2601},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2918":{"submorphs":[],"scripts":[],"id":"3FCF6E97-73C3-4BDA-9B66-D4F80A09A0B8","shape":{"__isSmartRef__":true,"id":2919},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2925},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2922},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Label","partsBinMetaInfo":{"__isSmartRef__":true,"id":2926},"textChunks":[{"__isSmartRef__":true,"id":2927}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":null,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2929},"isLabel":true,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","allowInput":false,"eventsAreIgnored":false,"renderContextTable":{"__isSmartRef__":true,"id":2930},"eventHandler":{"__isSmartRef__":true,"id":2931},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2471},"_MinTextWidth":null,"_MinTextHeight":null,"draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2932},"_Rotation":0,"_Scale":1,"derivationIds":[635,"7A991B29-BAF4-40D0-BB48-A4FF88898E54","F056939C-841F-415B-BB82-8A759D478A7D","245DCF40-577E-49CC-92D3-C779C2B7BFF2"],"__LivelyClassName__":"lively.morphic.Text"},"2919":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2920},"_Extent":{"__isSmartRef__":true,"id":2921},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2922},"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":2923},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2924},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2920":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2921":{"x":211,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2922":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2923":{"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"},"2924":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2925":{"x":4.309999999999999,"y":4.309999999999999,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2926":{"partsSpaceName":"PartsBin/Text/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"Label","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2927":{"style":{"__isSmartRef__":true,"id":2928},"chunkOwner":{"__isSmartRef__":true,"id":2918},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Test Modules","__LivelyClassName__":"lively.morphic.TextChunk"},"2928":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2929":{"x":211,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2930":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2931":{"morph":{"__isSmartRef__":true,"id":2918},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2932":{"x":48.68136705273842,"y":-22.65224583943302,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2933":{"submorphs":[],"scripts":[],"id":"61F6920B-F34B-4B79-A470-6C567897D562","shape":{"__isSmartRef__":true,"id":2934},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2940},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2937},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Label1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2941},"textChunks":[{"__isSmartRef__":true,"id":2942}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":null,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2944},"isLabel":true,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","allowInput":false,"eventsAreIgnored":false,"renderContextTable":{"__isSmartRef__":true,"id":2945},"eventHandler":{"__isSmartRef__":true,"id":2946},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2471},"draggingEnabled":false,"_Rotation":0,"_Scale":0.998001,"derivationIds":[636,"15FFE07E-1DF8-412D-B5FE-92EE60A8E6B5","B2C714C3-CC3B-4C0D-9E47-6AE5E222286C","D6D944B0-94AB-4DEB-BFC5-5C4BEAFC8EE2"],"__LivelyClassName__":"lively.morphic.Text"},"2934":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2935},"_Extent":{"__isSmartRef__":true,"id":2936},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2937},"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":2938},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2939},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2935":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2936":{"x":87,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2937":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2938":{"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"},"2939":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2940":{"x":4.309999999999999,"y":195.89000000000004,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2941":{"partsSpaceName":"PartsBin/Text/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"Label","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2942":{"style":{"__isSmartRef__":true,"id":2943},"chunkOwner":{"__isSmartRef__":true,"id":2933},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Test Classes","__LivelyClassName__":"lively.morphic.TextChunk"},"2943":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2944":{"x":87,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2945":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2946":{"morph":{"__isSmartRef__":true,"id":2933},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2947":{"submorphs":[],"scripts":[],"id":"9ACE070F-D8FD-45D7-B268-181AAE78E3D6","shape":{"__isSmartRef__":true,"id":2948},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2954},"_MaxTextWidth":null,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2951},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Label2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2955},"textChunks":[{"__isSmartRef__":true,"id":2956}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":null,"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2958},"isLabel":true,"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","allowInput":false,"eventsAreIgnored":false,"renderContextTable":{"__isSmartRef__":true,"id":2959},"eventHandler":{"__isSmartRef__":true,"id":2960},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2471},"layout":{"__isSmartRef__":true,"id":2961},"draggingEnabled":false,"_Rotation":0,"_Scale":0.996005996001,"derivationIds":[637,"D0128D68-BC3E-4DBF-BA26-47438952D362","BBAD0E40-F2E4-4D75-8E59-EC4EF07A0CA4","C9A8744B-AB92-43F6-9E57-4753CA873A57"],"__LivelyClassName__":"lively.morphic.Text"},"2948":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2949},"_Extent":{"__isSmartRef__":true,"id":2950},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2951},"_Fill":null,"renderContextTable":{"__isSmartRef__":true,"id":2952},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2953},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2949":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2950":{"x":83,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2951":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2952":{"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"},"2953":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2954":{"x":4.309999999999999,"y":462.07500000000005,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2955":{"partsSpaceName":"PartsBin/Text/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"Label","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2956":{"style":{"__isSmartRef__":true,"id":2957},"chunkOwner":{"__isSmartRef__":true,"id":2947},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Results","__LivelyClassName__":"lively.morphic.TextChunk"},"2957":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2958":{"x":83,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2959":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2960":{"morph":{"__isSmartRef__":true,"id":2947},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2961":{},"2962":{"submorphs":[{"__isSmartRef__":true,"id":2963},{"__isSmartRef__":true,"id":3016},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3123},{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3230}],"scripts":[],"id":"78DE1870-9670-477D-9715-A81A3B807F6F","shape":{"__isSmartRef__":true,"id":3259},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3266},"showsHalos":false,"name":"TestClassButtons","partsBinMetaInfo":{"__isSmartRef__":true,"id":3267},"__SourceModuleName__":"Global.lively.morphic.Core","priorExtent":{"__isSmartRef__":true,"id":3270},"layout":{"__isSmartRef__":true,"id":3271},"attributeConnections":[],"renderContextTable":{"__isSmartRef__":true,"id":3274},"eventHandler":{"__isSmartRef__":true,"id":3275},"doNotSerialize":[],"doNotCopyProperties":[],"isInLayoutCycle":false,"owner":{"__isSmartRef__":true,"id":2471},"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":1.0040100200350561,"derivationIds":[638,"C4FAB96B-6729-48C9-9F30-047A80002038","E4E2F9ED-0FBA-49A3-9995-4BAE58771DF1","EEE6B71B-BA0C-4D49-B235-67DB9E85E680"],"__LivelyClassName__":"lively.morphic.Box"},"2963":{"submorphs":[{"__isSmartRef__":true,"id":2964}],"scripts":[],"id":"E5B583B5-BE25-4B7D-A9AE-7D34A7F753C4","shape":{"__isSmartRef__":true,"id":2979},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2995},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2982},"lighterFill":{"__isSmartRef__":true,"id":2996},"label":{"__isSmartRef__":true,"id":2964},"showsHalos":false,"name":"DeselectTestClassesButton","attributeConnections":[{"__isSmartRef__":true,"id":3005}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":3007},"eventHandler":{"__isSmartRef__":true,"id":3008},"priorExtent":{"__isSmartRef__":true,"id":3009},"layout":{"__isSmartRef__":true,"id":3010},"owner":{"__isSmartRef__":true,"id":2962},"draggingEnabled":false,"_Rotation":0,"_Scale":0.996005996001,"derivationIds":[639,"2B873395-686F-4095-A1AA-7FE7779EEFA0","A05B793A-8CB7-4C34-AFFA-90207E9AAE03","D06A7388-0447-4EF9-8219-A08F1519C28B"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3011},"__LivelyClassName__":"lively.morphic.Button"},"2964":{"submorphs":[],"scripts":[],"id":"3CB2FE94-8020-4C53-AAB1-12AE260E3F00","shape":{"__isSmartRef__":true,"id":2965},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2971},"_MaxTextWidth":100,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2968},"padding":{"__isSmartRef__":true,"id":2972},"_Padding":{"__isSmartRef__":true,"id":2973},"owner":{"__isSmartRef__":true,"id":2963},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2974}],"priorExtent":{"__isSmartRef__":true,"id":2976},"renderContextTable":{"__isSmartRef__":true,"id":2977},"eventHandler":{"__isSmartRef__":true,"id":2978},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":100,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[640,"02995895-9285-49A4-9911-EA3CF04DAE89","833094E4-EBBF-496C-83DE-E2DAEB983F41","068561CE-FD87-4EF7-8F8D-78779E65A0EE"],"__LivelyClassName__":"lively.morphic.Text"},"2965":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2966},"_Extent":{"__isSmartRef__":true,"id":2967},"_BorderColor":{"__isSmartRef__":true,"id":2968},"renderContextTable":{"__isSmartRef__":true,"id":2969},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2970},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2966":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2967":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2968":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2969":{"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"},"2970":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2971":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2972":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2973":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2974":{"style":{"__isSmartRef__":true,"id":2975},"chunkOwner":{"__isSmartRef__":true,"id":2964},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"select none","__LivelyClassName__":"lively.morphic.TextChunk"},"2975":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2976":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"2977":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"2978":{"morph":{"__isSmartRef__":true,"id":2964},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2979":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2980},"_Extent":{"__isSmartRef__":true,"id":2981},"_Fill":{"__isSmartRef__":true,"id":2982},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2992},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2993},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2994},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2980":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2981":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2982":{"stops":[{"__isSmartRef__":true,"id":2983},{"__isSmartRef__":true,"id":2985},{"__isSmartRef__":true,"id":2987},{"__isSmartRef__":true,"id":2989}],"vector":{"__isSmartRef__":true,"id":2991},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2983":{"offset":0,"color":{"__isSmartRef__":true,"id":2984}},"2984":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2985":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2986}},"2986":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2987":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2988}},"2988":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2989":{"offset":1,"color":{"__isSmartRef__":true,"id":2990}},"2990":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2991":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2992":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2993":{"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"},"2994":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"2995":{"x":80,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"2996":{"stops":[{"__isSmartRef__":true,"id":2997},{"__isSmartRef__":true,"id":2999},{"__isSmartRef__":true,"id":3001},{"__isSmartRef__":true,"id":3003}],"vector":{"__isSmartRef__":true,"id":2991},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2997":{"offset":0,"color":{"__isSmartRef__":true,"id":2998}},"2998":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"2999":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3000}},"3000":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3001":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3002}},"3002":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3003":{"offset":1,"color":{"__isSmartRef__":true,"id":3004}},"3004":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3005":{"sourceObj":{"__isSmartRef__":true,"id":2963},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2963},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3006},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3006":{"source":{"__isSmartRef__":true,"id":2963},"target":{"__isSmartRef__":true,"id":2963}},"3007":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3008":{"morph":{"__isSmartRef__":true,"id":2963},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3009":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3010":{"moveHorizontal":false},"3011":{"onFire":{"__isSmartRef__":true,"id":3012}},"3012":{"varMapping":{"__isSmartRef__":true,"id":3013},"source":"function onFire() {\n this.get(\"TestRunner\").get(\"TestClassesList\").clearSelections();\n}","funcProperties":{"__isSmartRef__":true,"id":3014},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3013":{"this":{"__isSmartRef__":true,"id":2963}},"3014":{"timestamp":{"__isSmartRef__":true,"id":3015},"user":"lauritz","tags":[]},"3015":{"isSerializedDate":true,"string":"Wed Dec 07 2011 11:12:51 GMT-0800 (PST)"},"3016":{"submorphs":[{"__isSmartRef__":true,"id":3017}],"scripts":[],"id":"0EC2C894-0741-4B24-B285-C8D2C7CC980A","shape":{"__isSmartRef__":true,"id":3032},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3048},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3035},"lighterFill":{"__isSmartRef__":true,"id":3049},"label":{"__isSmartRef__":true,"id":3017},"showsHalos":false,"name":"SelectAllTestClassesButton","attributeConnections":[{"__isSmartRef__":true,"id":3058}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":3060},"eventHandler":{"__isSmartRef__":true,"id":3061},"priorExtent":{"__isSmartRef__":true,"id":3062},"layout":{"__isSmartRef__":true,"id":3063},"distanceToDragEvent":{"__isSmartRef__":true,"id":3064},"owner":{"__isSmartRef__":true,"id":2962},"draggingEnabled":false,"_Rotation":0,"_Scale":0.9880657804942088,"derivationIds":[641,"F9FCECB3-99D4-44A6-9CE3-AA4C5AB54735","E2ECFCC4-404F-4F18-8854-EA9E3FBB0430","C6063FB7-15A7-4EB5-9F8B-1C04767321E7"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3065},"__LivelyClassName__":"lively.morphic.Button"},"3017":{"submorphs":[],"scripts":[],"id":"299D2B63-7483-42E7-A658-2AFAE2CDCA0C","shape":{"__isSmartRef__":true,"id":3018},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3024},"_MaxTextWidth":80,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3021},"padding":{"__isSmartRef__":true,"id":3025},"_Padding":{"__isSmartRef__":true,"id":3026},"owner":{"__isSmartRef__":true,"id":3016},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3027}],"priorExtent":{"__isSmartRef__":true,"id":3029},"renderContextTable":{"__isSmartRef__":true,"id":3030},"eventHandler":{"__isSmartRef__":true,"id":3031},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":80,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[642,"36CEC889-D65D-4254-8FBE-352C6C58A5A9","C4BC15E4-1C76-46A8-8B1D-D644052F5123","6B992914-F7A4-46C9-848B-69BCFE01D0E7"],"__LivelyClassName__":"lively.morphic.Text"},"3018":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3019},"_Extent":{"__isSmartRef__":true,"id":3020},"_BorderColor":{"__isSmartRef__":true,"id":3021},"renderContextTable":{"__isSmartRef__":true,"id":3022},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3019":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3020":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3022":{"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"},"3023":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3024":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3025":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3026":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3027":{"style":{"__isSmartRef__":true,"id":3028},"chunkOwner":{"__isSmartRef__":true,"id":3017},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"select all","__LivelyClassName__":"lively.morphic.TextChunk"},"3028":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3029":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3030":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3031":{"morph":{"__isSmartRef__":true,"id":3017},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3032":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3033},"_Extent":{"__isSmartRef__":true,"id":3034},"_Fill":{"__isSmartRef__":true,"id":3035},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3045},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3046},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3047},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3033":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3034":{"x":80,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3035":{"stops":[{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3038},{"__isSmartRef__":true,"id":3040},{"__isSmartRef__":true,"id":3042}],"vector":{"__isSmartRef__":true,"id":3044},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3036":{"offset":0,"color":{"__isSmartRef__":true,"id":3037}},"3037":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3038":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3039}},"3039":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3040":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3041}},"3041":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3042":{"offset":1,"color":{"__isSmartRef__":true,"id":3043}},"3043":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3044":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3045":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3046":{"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"},"3047":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3048":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3049":{"stops":[{"__isSmartRef__":true,"id":3050},{"__isSmartRef__":true,"id":3052},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3056}],"vector":{"__isSmartRef__":true,"id":3044},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3050":{"offset":0,"color":{"__isSmartRef__":true,"id":3051}},"3051":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3052":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3053}},"3053":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3054":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3055}},"3055":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3056":{"offset":1,"color":{"__isSmartRef__":true,"id":3057}},"3057":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3058":{"sourceObj":{"__isSmartRef__":true,"id":3016},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3016},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3059},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3059":{"source":{"__isSmartRef__":true,"id":3016},"target":{"__isSmartRef__":true,"id":3016}},"3060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3061":{"morph":{"__isSmartRef__":true,"id":3016},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3062":{"x":80,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3063":{"moveHorizontal":false},"3064":{"x":39.221170689868984,"y":-7.600740881021238,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3065":{"onFire":{"__isSmartRef__":true,"id":3066}},"3066":{"varMapping":{"__isSmartRef__":true,"id":3067},"source":"function onFire() {\n this.get(\"TestRunner\").selectAllTestClasses();\n}","funcProperties":{"__isSmartRef__":true,"id":3068},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3067":{"this":{"__isSmartRef__":true,"id":3016}},"3068":{"timestamp":{"__isSmartRef__":true,"id":3069},"user":"lauritz","tags":[]},"3069":{"isSerializedDate":true,"string":"Wed Dec 07 2011 12:56:28 GMT-0800 (PST)"},"3070":{"submorphs":[{"__isSmartRef__":true,"id":3071}],"scripts":[],"id":"F5A34875-6F47-441B-B849-F7CFC66FA8B2","shape":{"__isSmartRef__":true,"id":3086},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3102},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3089},"lighterFill":{"__isSmartRef__":true,"id":3103},"label":{"__isSmartRef__":true,"id":3071},"showsHalos":false,"name":"RunTestsButton","attributeConnections":[{"__isSmartRef__":true,"id":3112}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":3113},"eventHandler":{"__isSmartRef__":true,"id":3114},"priorExtent":{"__isSmartRef__":true,"id":3115},"layout":{"__isSmartRef__":true,"id":3116},"distanceToDragEvent":{"__isSmartRef__":true,"id":3117},"draggingEnabled":false,"owner":{"__isSmartRef__":true,"id":2962},"_Rotation":0,"_Scale":0.9880657804942089,"derivationIds":[643,"F4BF68B9-A9FF-4EB4-9E2C-6B3F068BB9EE","17022FEE-5C70-427C-B082-CFC9F78AA612","887E5DBA-74EC-4E93-B1DF-EAA7A25D7E26"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3118},"__LivelyClassName__":"lively.morphic.Button"},"3071":{"submorphs":[],"scripts":[],"id":"85216B05-EC0A-4149-9019-62E471442DE7","shape":{"__isSmartRef__":true,"id":3072},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3078},"_MaxTextWidth":100,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3075},"padding":{"__isSmartRef__":true,"id":3079},"_Padding":{"__isSmartRef__":true,"id":3080},"owner":{"__isSmartRef__":true,"id":3070},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3081}],"priorExtent":{"__isSmartRef__":true,"id":3083},"renderContextTable":{"__isSmartRef__":true,"id":3084},"eventHandler":{"__isSmartRef__":true,"id":3085},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":100,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[644,"DF82C96F-9E57-4305-B266-7533865237B3","2757C7BD-D93F-4483-9663-D6E02B692B5E","3DC3CF44-EF2D-4B51-A3EF-F547FADB40B4"],"__LivelyClassName__":"lively.morphic.Text"},"3072":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3073},"_Extent":{"__isSmartRef__":true,"id":3074},"_BorderColor":{"__isSmartRef__":true,"id":3075},"renderContextTable":{"__isSmartRef__":true,"id":3076},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3077},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3073":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3074":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3075":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3076":{"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"},"3077":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3078":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3079":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3080":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3081":{"style":{"__isSmartRef__":true,"id":3082},"chunkOwner":{"__isSmartRef__":true,"id":3071},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run selected","__LivelyClassName__":"lively.morphic.TextChunk"},"3082":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3083":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3084":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3085":{"morph":{"__isSmartRef__":true,"id":3071},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3086":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3087},"_Extent":{"__isSmartRef__":true,"id":3088},"_Fill":{"__isSmartRef__":true,"id":3089},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3099},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3100},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3101},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3087":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3088":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3089":{"stops":[{"__isSmartRef__":true,"id":3090},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3094},{"__isSmartRef__":true,"id":3096}],"vector":{"__isSmartRef__":true,"id":3098},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3090":{"offset":0,"color":{"__isSmartRef__":true,"id":3091}},"3091":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3092":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3093}},"3093":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3094":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3095}},"3095":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3096":{"offset":1,"color":{"__isSmartRef__":true,"id":3097}},"3097":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3098":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3099":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3100":{"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"},"3101":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3102":{"x":439.99999999999994,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3103":{"stops":[{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3110}],"vector":{"__isSmartRef__":true,"id":3098},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3104":{"offset":0,"color":{"__isSmartRef__":true,"id":3105}},"3105":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3106":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3107}},"3107":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3108":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3109}},"3109":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3110":{"offset":1,"color":{"__isSmartRef__":true,"id":3111}},"3111":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3112":{"sourceObj":{"__isSmartRef__":true,"id":3070},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3070},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3113":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3114":{"morph":{"__isSmartRef__":true,"id":3070},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3115":{"x":100,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3116":{"moveHorizontal":false},"3117":{"x":57.72633518834607,"y":-15.523025088414272,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3118":{"onFire":{"__isSmartRef__":true,"id":3119}},"3119":{"varMapping":{"__isSmartRef__":true,"id":3120},"source":"function onFire() {\n this.get(\"TestRunner\").runSelectedTestClasses();\n}","funcProperties":{"__isSmartRef__":true,"id":3121},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3120":{"this":{"__isSmartRef__":true,"id":3070}},"3121":{"timestamp":{"__isSmartRef__":true,"id":3122},"user":"lauritz","tags":[]},"3122":{"isSerializedDate":true,"string":"Fri Dec 09 2011 11:04:59 GMT-0800 (PST)"},"3123":{"submorphs":[{"__isSmartRef__":true,"id":3124}],"scripts":[],"id":"06E71B1C-7FB4-462A-992E-B1722EE631A1","shape":{"__isSmartRef__":true,"id":3139},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3155},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3142},"lighterFill":{"__isSmartRef__":true,"id":3156},"label":{"__isSmartRef__":true,"id":3124},"showsHalos":false,"name":"RemoveSelectedTestClassesButton","attributeConnections":[{"__isSmartRef__":true,"id":3165}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":3167},"eventHandler":{"__isSmartRef__":true,"id":3168},"priorExtent":{"__isSmartRef__":true,"id":3169},"layout":{"__isSmartRef__":true,"id":3170},"distanceToDragEvent":{"__isSmartRef__":true,"id":3171},"draggingEnabled":false,"owner":{"__isSmartRef__":true,"id":2962},"_Rotation":0,"_Scale":0.9801888648295347,"derivationIds":[645,"A66DFC21-C839-4E50-B41A-A8261F5C8531","FB180B00-5C2A-4C3D-BCD1-030F490F7951","CA69C0E9-F583-4F02-B923-49845B28B103"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3172},"__LivelyClassName__":"lively.morphic.Button"},"3124":{"submorphs":[],"scripts":[],"id":"1AE5FC79-F09C-4159-B276-47E17847F037","shape":{"__isSmartRef__":true,"id":3125},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3131},"_MaxTextWidth":130,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3128},"padding":{"__isSmartRef__":true,"id":3132},"_Padding":{"__isSmartRef__":true,"id":3133},"owner":{"__isSmartRef__":true,"id":3123},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3134}],"priorExtent":{"__isSmartRef__":true,"id":3136},"renderContextTable":{"__isSmartRef__":true,"id":3137},"eventHandler":{"__isSmartRef__":true,"id":3138},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":130,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[646,"4EA09F0B-3666-40A3-8D0E-BA3F282C82E0","535B5D7C-17A4-4DFB-9BF7-6DD0797C319A","68930A42-3232-46A4-98DC-5A3CB45842F6"],"__LivelyClassName__":"lively.morphic.Text"},"3125":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3126},"_Extent":{"__isSmartRef__":true,"id":3127},"_BorderColor":{"__isSmartRef__":true,"id":3128},"renderContextTable":{"__isSmartRef__":true,"id":3129},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3130},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3126":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3127":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3128":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3129":{"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"},"3130":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3131":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3132":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3133":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3134":{"style":{"__isSmartRef__":true,"id":3135},"chunkOwner":{"__isSmartRef__":true,"id":3124},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"remove selected","__LivelyClassName__":"lively.morphic.TextChunk"},"3135":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3136":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3137":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3138":{"morph":{"__isSmartRef__":true,"id":3124},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3139":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3140},"_Extent":{"__isSmartRef__":true,"id":3141},"_Fill":{"__isSmartRef__":true,"id":3142},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3152},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3153},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3154},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3140":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3141":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3142":{"stops":[{"__isSmartRef__":true,"id":3143},{"__isSmartRef__":true,"id":3145},{"__isSmartRef__":true,"id":3147},{"__isSmartRef__":true,"id":3149}],"vector":{"__isSmartRef__":true,"id":3151},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3143":{"offset":0,"color":{"__isSmartRef__":true,"id":3144}},"3144":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3145":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3146}},"3146":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3147":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3148}},"3148":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3149":{"offset":1,"color":{"__isSmartRef__":true,"id":3150}},"3150":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3151":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3152":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3153":{"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"},"3154":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3155":{"x":180,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3156":{"stops":[{"__isSmartRef__":true,"id":3157},{"__isSmartRef__":true,"id":3159},{"__isSmartRef__":true,"id":3161},{"__isSmartRef__":true,"id":3163}],"vector":{"__isSmartRef__":true,"id":3151},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3157":{"offset":0,"color":{"__isSmartRef__":true,"id":3158}},"3158":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3159":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3160}},"3160":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3161":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3162}},"3162":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3163":{"offset":1,"color":{"__isSmartRef__":true,"id":3164}},"3164":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3165":{"sourceObj":{"__isSmartRef__":true,"id":3123},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3123},"targetMethodName":"onFire","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3166},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3166":{"source":{"__isSmartRef__":true,"id":3123},"target":{"__isSmartRef__":true,"id":3123}},"3167":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3168":{"morph":{"__isSmartRef__":true,"id":3123},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3169":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3170":{"moveHorizontal":true},"3171":{"x":78.38507274989763,"y":-11.600740881021238,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3172":{"onFire":{"__isSmartRef__":true,"id":3173}},"3173":{"varMapping":{"__isSmartRef__":true,"id":3174},"source":"function onFire() {\n var list = this.get('TestRunner').get('TestClassesList');\n list.getSelectedItems().forEach(function (each) {\n list.removeItemOrValue(each);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":3175},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3174":{"this":{"__isSmartRef__":true,"id":3123}},"3175":{"timestamp":{"__isSmartRef__":true,"id":3176},"user":"lauritz","tags":[]},"3176":{"isSerializedDate":true,"string":"Wed Dec 07 2011 14:23:41 GMT-0800 (PST)"},"3177":{"submorphs":[{"__isSmartRef__":true,"id":3178}],"scripts":[],"id":"949A1022-0376-46E4-9D87-F0A4093FCFCD","shape":{"__isSmartRef__":true,"id":3193},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3209},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3196},"lighterFill":{"__isSmartRef__":true,"id":3210},"label":{"__isSmartRef__":true,"id":3178},"showsHalos":false,"name":"AddAvailableTestClassesButton","attributeConnections":[{"__isSmartRef__":true,"id":3219}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","renderContextTable":{"__isSmartRef__":true,"id":3220},"eventHandler":{"__isSmartRef__":true,"id":3221},"priorExtent":{"__isSmartRef__":true,"id":3222},"layout":{"__isSmartRef__":true,"id":3223},"distanceToDragEvent":{"__isSmartRef__":true,"id":3224},"draggingEnabled":false,"owner":{"__isSmartRef__":true,"id":2962},"_Rotation":0,"_Scale":0.9880657804942091,"derivationIds":[647,"4487436F-29FA-4593-8F88-9014FE8EE7EC","F952B883-DDF5-4D5A-A3EB-8FF949EC8910","EF738846-F155-4601-9C5C-FB1300A47A4A"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3225},"__LivelyClassName__":"lively.morphic.Button"},"3178":{"submorphs":[],"scripts":[],"id":"DC40324B-2E4E-4278-8C9C-8905320917BA","shape":{"__isSmartRef__":true,"id":3179},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3185},"_MaxTextWidth":130,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":3182},"padding":{"__isSmartRef__":true,"id":3186},"_Padding":{"__isSmartRef__":true,"id":3187},"owner":{"__isSmartRef__":true,"id":3177},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3188}],"priorExtent":{"__isSmartRef__":true,"id":3190},"renderContextTable":{"__isSmartRef__":true,"id":3191},"eventHandler":{"__isSmartRef__":true,"id":3192},"_WhiteSpaceHandling":"pre-wrap","_Align":"center","_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":130,"_MinTextHeight":null,"draggingEnabled":false,"_Scale":1,"derivationIds":[648,"BE8B9C83-9B80-4C6A-9181-E3A06EC02246","77C6FC48-D382-4C7B-B524-B27AE6EB8647","BB2424AF-8F70-44A3-83A8-14566718A51D"],"__LivelyClassName__":"lively.morphic.Text"},"3179":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3180},"_Extent":{"__isSmartRef__":true,"id":3181},"_BorderColor":{"__isSmartRef__":true,"id":3182},"renderContextTable":{"__isSmartRef__":true,"id":3183},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3184},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3180":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3181":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3182":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3183":{"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"},"3184":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3185":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3186":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3187":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3188":{"style":{"__isSmartRef__":true,"id":3189},"chunkOwner":{"__isSmartRef__":true,"id":3178},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"add all available","__LivelyClassName__":"lively.morphic.TextChunk"},"3189":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3190":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3192":{"morph":{"__isSmartRef__":true,"id":3178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3193":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3194},"_Extent":{"__isSmartRef__":true,"id":3195},"_Fill":{"__isSmartRef__":true,"id":3196},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3206},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":3207},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3208},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3194":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3195":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3196":{"stops":[{"__isSmartRef__":true,"id":3197},{"__isSmartRef__":true,"id":3199},{"__isSmartRef__":true,"id":3201},{"__isSmartRef__":true,"id":3203}],"vector":{"__isSmartRef__":true,"id":3205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3197":{"offset":0,"color":{"__isSmartRef__":true,"id":3198}},"3198":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3199":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3200}},"3200":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3201":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3202}},"3202":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3203":{"offset":1,"color":{"__isSmartRef__":true,"id":3204}},"3204":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3205":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3206":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3207":{"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"},"3208":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3209":{"x":310,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3210":{"stops":[{"__isSmartRef__":true,"id":3211},{"__isSmartRef__":true,"id":3213},{"__isSmartRef__":true,"id":3215},{"__isSmartRef__":true,"id":3217}],"vector":{"__isSmartRef__":true,"id":3205},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3211":{"offset":0,"color":{"__isSmartRef__":true,"id":3212}},"3212":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3213":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3214}},"3214":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3215":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3216}},"3216":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3217":{"offset":1,"color":{"__isSmartRef__":true,"id":3218}},"3218":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3219":{"sourceObj":{"__isSmartRef__":true,"id":3177},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3177},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3221":{"morph":{"__isSmartRef__":true,"id":3177},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3222":{"x":130,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3223":{"moveHorizontal":false},"3224":{"x":75.02517708843084,"y":-12.600740881021238,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3225":{"onFire":{"__isSmartRef__":true,"id":3226}},"3226":{"varMapping":{"__isSmartRef__":true,"id":3227},"source":"function onFire() {\n this.get('TestRunner').listAllAvailableTestClasses();\n}","funcProperties":{"__isSmartRef__":true,"id":3228},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3227":{"this":{"__isSmartRef__":true,"id":3177}},"3228":{"timestamp":{"__isSmartRef__":true,"id":3229},"user":"lauritz","tags":[]},"3229":{"isSerializedDate":true,"string":"Fri Dec 09 2011 10:46:19 GMT-0800 (PST)"},"3230":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3231},"id":"9BC71B36-2FE2-4965-88A4-173120586E69","renderContextTable":{"__isSmartRef__":true,"id":3236},"eventHandler":{"__isSmartRef__":true,"id":3237},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3238},"name":"TestRunProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":3239},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":3240},"partsBinMetaInfo":{"__isSmartRef__":true,"id":3241},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2962},"_Rotation":0,"_Scale":0.986090636999001,"derivationIds":[649,"31F2A78D-2F2E-4C07-9C00-3A177C9BA836","3776CE80-6301-46CB-ADEA-C45FB4D72A20","38C85B6D-A98B-4B06-8D62-CD413E6D3C5F"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3242},"__LivelyClassName__":"lively.morphic.Image"},"3231":{"_Position":{"__isSmartRef__":true,"id":3232},"renderContextTable":{"__isSmartRef__":true,"id":3233},"_Extent":{"__isSmartRef__":true,"id":3234},"_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":3235},"_Opacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Image"},"3232":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3233":{"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","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"3234":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3235":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3236":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3237":{"morph":{"__isSmartRef__":true,"id":3230},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3238":{"x":539.9999999999999,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3239":{"x":20,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3240":{"x":39,"y":-11,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3241":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3242":{"hide":{"__isSmartRef__":true,"id":3243},"show":{"__isSmartRef__":true,"id":3251}},"3243":{"varMapping":{"__isSmartRef__":true,"id":3244},"source":"function hide() {\n this.setOpacity(0);\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":3249},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3244":{"this":{"__isSmartRef__":true,"id":3230},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3245}},"3245":{"$super":{"__isSmartRef__":true,"id":3246}},"3246":{"varMapping":{"__isSmartRef__":true,"id":3247},"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":3248},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3247":{"obj":{"__isSmartRef__":true,"id":3230},"name":"hide"},"3248":{},"3249":{"timestamp":{"__isSmartRef__":true,"id":3250},"user":"lauritz","tags":[]},"3250":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:03:32 GMT-0800 (PST)"},"3251":{"varMapping":{"__isSmartRef__":true,"id":3252},"source":"function show() {\n this.setOpacity(1);\n $super();\n}","funcProperties":{"__isSmartRef__":true,"id":3257},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3252":{"this":{"__isSmartRef__":true,"id":3230},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3253}},"3253":{"$super":{"__isSmartRef__":true,"id":3254}},"3254":{"varMapping":{"__isSmartRef__":true,"id":3255},"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":3256},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3255":{"obj":{"__isSmartRef__":true,"id":3230},"name":"show"},"3256":{},"3257":{"timestamp":{"__isSmartRef__":true,"id":3258},"user":"lauritz","tags":[]},"3258":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:03:32 GMT-0800 (PST)"},"3259":{"position":{"__isSmartRef__":true,"id":3260},"_Extent":{"__isSmartRef__":true,"id":3261},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3262},"_Fill":{"__isSmartRef__":true,"id":3263},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"renderContextTable":{"__isSmartRef__":true,"id":3264},"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3265},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3260":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3261":{"x":561,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3262":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3263":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3264":{"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"},"3265":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3266":{"x":4.31,"y":436.68000000000006,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3267":{"partsSpaceName":"PartsBin/Layout/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":4,"partName":"HBox","changes":[{"__isSmartRef__":true,"id":3268}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3268":{"date":{"__isSmartRef__":true,"id":3269},"author":"fbo","message":"","id":"C0A8DE73-F7F3-437E-B0A6-5DD5B6456C9A"},"3269":{"isSerializedDate":true,"string":"Tue Nov 29 2011 12:11:31 GMT-0800 (PST)"},"3270":{"x":561,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3271":{"layouter":{"__isSmartRef__":true,"id":3272},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":3273}},"3272":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2962},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout"},"3273":{"x":591.175,"y":20,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3274":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3275":{"morph":{"__isSmartRef__":true,"id":2962},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3276":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":3277},"_Extent":{"__isSmartRef__":true,"id":3278},"_Fill":{"__isSmartRef__":true,"id":3279},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3280},"renderContextTable":{"__isSmartRef__":true,"id":3281},"_BorderRadius":6.29,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3282},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3277":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3278":{"x":569.62,"y":665.78,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3279":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3280":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3281":{"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"},"3282":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3283":{"x":0,"y":21,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3284":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3285":{"morph":{"__isSmartRef__":true,"id":2471},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3286":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true,"layouter":{"__isSmartRef__":true,"id":3287},"extentWithoutPlaceholder":{"__isSmartRef__":true,"id":3288}},"3287":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":4.31,"spacing":5.3950000000000005,"container":{"__isSmartRef__":true,"id":2471},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"3288":{"x":532.82,"y":663.78,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3289":{"x":568.62,"y":665.78,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3290":{"isSerializedDate":true,"string":"Wed Dec 21 2011 08:43:54 GMT-0800 (PST)"},"3291":{"reset":{"__isSmartRef__":true,"id":3292},"addModule":{"__isSmartRef__":true,"id":3296},"addTestClasses":{"__isSmartRef__":true,"id":3300},"addTestClass":{"__isSmartRef__":true,"id":3304},"selectAllModules":{"__isSmartRef__":true,"id":3308},"selectAllTestClasses":{"__isSmartRef__":true,"id":3312},"displayResult":{"__isSmartRef__":true,"id":3316},"showTestRunResultCallback":{"__isSmartRef__":true,"id":3320},"loadSelectedModules":{"__isSmartRef__":true,"id":3324},"setTestClasses":{"__isSmartRef__":true,"id":3328},"listAllAvailableTestClasses":{"__isSmartRef__":true,"id":3332},"loadModulesAndRunTheirTests":{"__isSmartRef__":true,"id":3336},"runSelectedTestClasses":{"__isSmartRef__":true,"id":3340}},"3292":{"varMapping":{"__isSmartRef__":true,"id":3293},"source":"function reset() {\n this.get('ModuleList').setList([]);\n this.get('TestClassesList').setList([]);\n this.displayResult('');\n this.get('AdditionalModuleInput').setTextString('');\n this.get('ModuleProgressIndicator').hide();\n this.get('TestRunProgressIndicator').hide();\n this.doNotSerialize = ['testSuite','loadedModules'];\n}","funcProperties":{"__isSmartRef__":true,"id":3294},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3293":{"this":{"__isSmartRef__":true,"id":2471}},"3294":{"timestamp":{"__isSmartRef__":true,"id":3295},"user":"lauritz","tags":["menu"]},"3295":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:26:44 GMT-0800 (PST)"},"3296":{"varMapping":{"__isSmartRef__":true,"id":3297},"source":"function addModule(moduleName) {\n var name = moduleName.trim();\n var listItem = {\n isListItem: true,\n selectionString: name,\n string: name,\n value: name\n }\n var moduleList = this.get('ModuleList');\n moduleList.addItem(listItem);\n moduleList.selectAt(moduleList.getList().length - 1);\n}","funcProperties":{"__isSmartRef__":true,"id":3298},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3297":{"this":{"__isSmartRef__":true,"id":2471}},"3298":{"timestamp":{"__isSmartRef__":true,"id":3299},"user":"lauritz","tags":["ci api","button"]},"3299":{"isSerializedDate":true,"string":"Mon Dec 19 2011 13:46:28 GMT-0800 (PST)"},"3300":{"varMapping":{"__isSmartRef__":true,"id":3301},"source":"function addTestClasses(testCaseClasses) {\n testCaseClasses.forEach((function (each) {\n this.addTestClass(each);\n }).bind(this));\n}","funcProperties":{"__isSmartRef__":true,"id":3302},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3301":{"this":{"__isSmartRef__":true,"id":2471}},"3302":{"timestamp":{"__isSmartRef__":true,"id":3303},"user":"lauritz","tags":["private"]},"3303":{"isSerializedDate":true,"string":"Wed Dec 07 2011 12:50:53 GMT-0800 (PST)"},"3304":{"varMapping":{"__isSmartRef__":true,"id":3305},"source":"function addTestClass(testClass) {\n var testClass = testClass.type ? testClass.type : testClass;\n this.get('TestClassesList').addItem(testClass);\n}","funcProperties":{"__isSmartRef__":true,"id":3306},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3305":{"this":{"__isSmartRef__":true,"id":2471}},"3306":{"timestamp":{"__isSmartRef__":true,"id":3307},"user":"lauritz","tags":["private"]},"3307":{"isSerializedDate":true,"string":"Wed Dec 07 2011 12:49:58 GMT-0800 (PST)"},"3308":{"varMapping":{"__isSmartRef__":true,"id":3309},"source":"function selectAllModules() {\n var list = this.get('ModuleList');\n list.selectAllAt(Array.range(0, list.getList().length-1));\n}","funcProperties":{"__isSmartRef__":true,"id":3310},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3309":{"this":{"__isSmartRef__":true,"id":2471}},"3310":{"timestamp":{"__isSmartRef__":true,"id":3311},"user":"lauritz","tags":["button"]},"3311":{"isSerializedDate":true,"string":"Wed Dec 07 2011 12:55:29 GMT-0800 (PST)"},"3312":{"varMapping":{"__isSmartRef__":true,"id":3313},"source":"function selectAllTestClasses() {\n var list = this.get('TestClassesList');\n list.selectAllAt(Array.range(0, list.getList().length-1));\n}","funcProperties":{"__isSmartRef__":true,"id":3314},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3313":{"this":{"__isSmartRef__":true,"id":2471}},"3314":{"timestamp":{"__isSmartRef__":true,"id":3315},"user":"lauritz","tags":["button"]},"3315":{"isSerializedDate":true,"string":"Wed Dec 07 2011 13:21:04 GMT-0800 (PST)"},"3316":{"varMapping":{"__isSmartRef__":true,"id":3317},"source":"function displayResult(message, color) {\n var resultPane = this.get('ResultPane');\n resultPane.setTextString(message || '');\n resultPane.setFill(color || Color.white);\n}","funcProperties":{"__isSmartRef__":true,"id":3318},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3317":{"this":{"__isSmartRef__":true,"id":2471}},"3318":{"timestamp":{"__isSmartRef__":true,"id":3319},"user":"lauritz","tags":["private"]},"3319":{"isSerializedDate":true,"string":"Wed Dec 07 2011 13:12:28 GMT-0800 (PST)"},"3320":{"varMapping":{"__isSmartRef__":true,"id":3321},"source":"function showTestRunResultCallback() {\n var time = new Date() - this.startTime;\n var infoString = time.toString() + 'ms for ' \n infoString += this.numberOfTestCases + ' tests';\n\n if (this.testSuite.result.failed.length == 0) {\n this.displayResult(infoString, Color.green);\n } else {\n var failString = infoString + '\\n\\n';\n failString += this.testSuite.result.failed.length + ' failed tests:\\n\\n';\n failString += this.testSuite.result.failed.collect(function(result) {\n var msg = result.classname + '>>' + result.selector;\n msg += '\\n' + result.err.message;\n msg += '\\n' + result.err.stack;\n return msg;\n }).join('\\n---------\\n');\n this.displayResult(failString, Color.red);\n }\n\n this.get('TestRunProgressIndicator').hide();\n\n if (this.owner.isCiJob) {\n this.owner.reportCiResult();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3322},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3321":{"this":{"__isSmartRef__":true,"id":2471}},"3322":{"timestamp":{"__isSmartRef__":true,"id":3323},"user":"lauritz","tags":["private"]},"3323":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:02:25 GMT-0800 (PST)"},"3324":{"varMapping":{"__isSmartRef__":true,"id":3325},"source":"function loadSelectedModules() {\n this.get('ModuleProgressIndicator').show();\n var moduleNames = this.get('ModuleList').getSelectedItems().collect(function(each) {\n return each.value;\n }); \n\n this.loadedModules = [];\n module('lively.TestFramework').load();\n var suite = new TestSuite(); \n moduleNames.forEach((function(each) {\n (function() {\n var testModule = module(each);\n testModule.load();\n this.loadedModules.push(testModule);\n suite.addTestCasesFromModule(testModule);\n \n if (this.loadedModules.length === moduleNames.length) \n this.setTestClasses(suite.testCaseClasses)\n }).bind(this).morphicDelay(0);\n }).bind(this));\n \n this.get('ModuleProgressIndicator').hide();\n}","funcProperties":{"__isSmartRef__":true,"id":3326},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3325":{"this":{"__isSmartRef__":true,"id":2471}},"3326":{"timestamp":{"__isSmartRef__":true,"id":3327},"user":"lauritz","tags":["button"]},"3327":{"isSerializedDate":true,"string":"Fri Dec 09 2011 13:22:05 GMT-0800 (PST)"},"3328":{"varMapping":{"__isSmartRef__":true,"id":3329},"source":"function setTestClasses(testClasses) {\n var items = testClasses\n .collect(function(ea) { return ea.type ? ea.type : ea; })\n .sortBy(function(ea) { return ea.toLowerCase(); })\n\n this.get('TestClassesList').setList(items);\n this.selectAllTestClasses(); //default\n}","funcProperties":{"__isSmartRef__":true,"id":3330},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3329":{"this":{"__isSmartRef__":true,"id":2471}},"3330":{"timestamp":{"__isSmartRef__":true,"id":3331},"user":"lauritz","tags":["private"]},"3331":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:04:42 GMT-0800 (PST)"},"3332":{"varMapping":{"__isSmartRef__":true,"id":3333},"source":"function listAllAvailableTestClasses() {\n var classes = Global.classes(true).select(function(ea) { \n return ea.isRunnableTestCaseClass && ea.isRunnableTestCaseClass();\n });\n this.setTestClasses(classes);\n}","funcProperties":{"__isSmartRef__":true,"id":3334},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3333":{"this":{"__isSmartRef__":true,"id":2471}},"3334":{"timestamp":{"__isSmartRef__":true,"id":3335},"user":"lauritz","tags":["button"]},"3335":{"isSerializedDate":true,"string":"Fri Dec 09 2011 10:46:06 GMT-0800 (PST)"},"3336":{"varMapping":{"__isSmartRef__":true,"id":3337},"source":"function loadModulesAndRunTheirTests() {\n var callback = (function() {\n this.selectAllTestClasses();\n this.runSelectedTestClasses();\n }).bind(this);\n\n var list = this.get('TestClassesList');\n connect(list, 'itemList', {cb: callback}, 'cb', {removeAfterUpdate: true, converter: function(val) { this.getSourceObj().setList(val); }});\n \n this.selectAllModules();\n this.loadSelectedModules();\n}","funcProperties":{"__isSmartRef__":true,"id":3338},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3337":{"this":{"__isSmartRef__":true,"id":2471}},"3338":{"timestamp":{"__isSmartRef__":true,"id":3339},"user":"lauritz","tags":["ci api"]},"3339":{"isSerializedDate":true,"string":"Fri Dec 09 2011 13:47:51 GMT-0800 (PST)"},"3340":{"varMapping":{"__isSmartRef__":true,"id":3341},"source":"function runSelectedTestClasses() {\n this.startTime = new Date();\n this.get('TestRunProgressIndicator').show();\n\n module('lively.TestFramework').load(true);\n this.testSuite = new TestSuite();\n\n var selectedTestClasses = this.get('TestClassesList').getSelections().\n collect(function(ea) { return Class.forName(ea) });\n\n this.testSuite.addTestCases(selectedTestClasses);\n\n this.numberOfTestCases = this.testSuite.testCaseClasses.inject(0, function(sum, testClass) {\n return sum + new testClass().allTestSelectors().length;\n });\n\n this.testSuite.runFinished = (this.showTestRunResultCallback).bind(this);\n this.testSuite.runAll();\n}","funcProperties":{"__isSmartRef__":true,"id":3342},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3341":{"this":{"__isSmartRef__":true,"id":2471}},"3342":{"timestamp":{"__isSmartRef__":true,"id":3343},"user":"lauritz","tags":["button"]},"3343":{"isSerializedDate":true,"string":"Fri Dec 09 2011 11:04:49 GMT-0800 (PST)"},"3344":{"submorphs":[{"__isSmartRef__":true,"id":3345},{"__isSmartRef__":true,"id":3359},{"__isSmartRef__":true,"id":3406},{"__isSmartRef__":true,"id":3440}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3475},"id":"520F66EC-92A8-41CB-A79B-87F04D117714","renderContextTable":{"__isSmartRef__":true,"id":3481},"eventHandler":{"__isSmartRef__":true,"id":3482},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3483},"_Position":{"__isSmartRef__":true,"id":3484},"windowMorph":{"__isSmartRef__":true,"id":2470},"label":{"__isSmartRef__":true,"id":3345},"closeButton":{"__isSmartRef__":true,"id":3359},"menuButton":{"__isSmartRef__":true,"id":3406},"collapseButton":{"__isSmartRef__":true,"id":3440},"priorExtent":{"__isSmartRef__":true,"id":3485},"owner":{"__isSmartRef__":true,"id":2470},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[650,"20674C96-2BD3-472A-8F3D-72639BAAAE0E","BB2B5000-4E71-4CB5-A327-7CFC14C96FD6","A9B20851-13E5-4079-AA9B-B12D41530B47"],"__LivelyClassName__":"lively.morphic.TitleBar"},"3345":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3346},"id":"6C9D0B0D-FE15-4C24-891A-FCDAE386D182","renderContextTable":{"__isSmartRef__":true,"id":3352},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3353}],"eventHandler":{"__isSmartRef__":true,"id":3355},"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":3356},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":3344},"priorExtent":{"__isSmartRef__":true,"id":3357},"_MaxTextWidth":511.88724059394735,"_MinTextWidth":511.88724059394735,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":3358},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[651,"8FA05C50-4DCC-4D46-BF93-600780A116C1","83A4F153-86A5-4A1E-BD4E-3F325062E4BE","D42DDBD7-5E82-4B97-B46E-794DADFAAF2F"],"__LivelyClassName__":"lively.morphic.Text"},"3346":{"_Position":{"__isSmartRef__":true,"id":3347},"renderContextTable":{"__isSmartRef__":true,"id":3348},"_Extent":{"__isSmartRef__":true,"id":3349},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3350},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3351},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3347":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3348":{"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"},"3349":{"x":511.88724059394735,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3350":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3351":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3352":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3353":{"style":{"__isSmartRef__":true,"id":3354},"chunkOwner":{"__isSmartRef__":true,"id":3345},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"TestRunner","__LivelyClassName__":"lively.morphic.TextChunk"},"3354":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3355":{"morph":{"__isSmartRef__":true,"id":3345},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3356":{"resizeWidth":true},"3357":{"x":511.88724059394735,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3358":{"x":20,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3359":{"submorphs":[{"__isSmartRef__":true,"id":3360}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3372},"id":"86817247-0DB6-43CB-B6F6-65CE468A8A68","renderContextTable":{"__isSmartRef__":true,"id":3388},"eventHandler":{"__isSmartRef__":true,"id":3389},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3390},"priorExtent":{"__isSmartRef__":true,"id":3391},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3378},"lighterFill":{"__isSmartRef__":true,"id":3392},"label":{"__isSmartRef__":true,"id":3360},"owner":{"__isSmartRef__":true,"id":3344},"layout":{"__isSmartRef__":true,"id":3401},"attributeConnections":[{"__isSmartRef__":true,"id":3402},{"__isSmartRef__":true,"id":3404}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[652,"E723045D-C97E-4DE6-9760-F2CA278E09AD","1C2C447E-EEA2-4F25-8075-B73F307C2A64","D69BEDF2-1AAA-4254-88F5-68356575B732"],"__LivelyClassName__":"lively.morphic.WindowControl"},"3360":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3361},"id":"EC22B861-3371-4251-9B12-92F9297A4836","renderContextTable":{"__isSmartRef__":true,"id":3366},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3367}],"eventHandler":{"__isSmartRef__":true,"id":3369},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3370},"priorExtent":{"__isSmartRef__":true,"id":3371},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3359},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[653,"7D71CB26-6657-4D24-8C15-3A56B270AD69","518694CC-DBFD-4AAA-80F3-C77D194A19C5","07BA6A2C-F3C0-429E-843E-5FD3CC394E18"],"__LivelyClassName__":"lively.morphic.Text"},"3361":{"_Position":{"__isSmartRef__":true,"id":3362},"renderContextTable":{"__isSmartRef__":true,"id":3363},"_Extent":{"__isSmartRef__":true,"id":3364},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3365},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3351},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3362":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3363":{"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"},"3364":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3365":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3366":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3367":{"style":{"__isSmartRef__":true,"id":3368},"chunkOwner":{"__isSmartRef__":true,"id":3360},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"3368":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3369":{"morph":{"__isSmartRef__":true,"id":3360},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3370":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3371":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3372":{"_Position":{"__isSmartRef__":true,"id":3373},"renderContextTable":{"__isSmartRef__":true,"id":3374},"_Extent":{"__isSmartRef__":true,"id":3375},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3376},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3377},"_Fill":{"__isSmartRef__":true,"id":3378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3373":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3374":{"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"},"3375":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3376":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3377":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3378":{"stops":[{"__isSmartRef__":true,"id":3379},{"__isSmartRef__":true,"id":3381},{"__isSmartRef__":true,"id":3383},{"__isSmartRef__":true,"id":3385}],"vector":{"__isSmartRef__":true,"id":3387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3379":{"offset":0,"color":{"__isSmartRef__":true,"id":3380}},"3380":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3381":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3382}},"3382":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3383":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3384}},"3384":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3385":{"offset":1,"color":{"__isSmartRef__":true,"id":3386}},"3386":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3387":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3388":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3389":{"morph":{"__isSmartRef__":true,"id":3359},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3390":{"x":550.8872405939474,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3391":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3392":{"stops":[{"__isSmartRef__":true,"id":3393},{"__isSmartRef__":true,"id":3395},{"__isSmartRef__":true,"id":3397},{"__isSmartRef__":true,"id":3399}],"vector":{"__isSmartRef__":true,"id":3387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3393":{"offset":0,"color":{"__isSmartRef__":true,"id":3394}},"3394":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3395":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3396}},"3396":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3397":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3398}},"3398":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3399":{"offset":1,"color":{"__isSmartRef__":true,"id":3400}},"3400":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3401":{"moveHorizontal":true},"3402":{"sourceObj":{"__isSmartRef__":true,"id":3359},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3403},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3403":{"source":{"__isSmartRef__":true,"id":3359},"target":{"__isSmartRef__":true,"id":2470}},"3404":{"sourceObj":{"__isSmartRef__":true,"id":3359},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3405},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3405":{"source":{"__isSmartRef__":true,"id":3359},"target":{"__isSmartRef__":true,"id":2470}},"3406":{"submorphs":[{"__isSmartRef__":true,"id":3407}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3418},"id":"381030C0-E814-4DF8-A98B-75E8031E0072","renderContextTable":{"__isSmartRef__":true,"id":3423},"eventHandler":{"__isSmartRef__":true,"id":3424},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3425},"priorExtent":{"__isSmartRef__":true,"id":3426},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3378},"lighterFill":{"__isSmartRef__":true,"id":3427},"label":{"__isSmartRef__":true,"id":3407},"owner":{"__isSmartRef__":true,"id":3344},"attributeConnections":[{"__isSmartRef__":true,"id":3436},{"__isSmartRef__":true,"id":3438}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[654,"1825D5BF-1DC2-44B8-98C5-EA80EE8EC7E6","AA34044D-A4C8-47DC-8641-90270FC64B58","471D1BD8-6B5C-4A21-9102-C89C38015DE5"],"__LivelyClassName__":"lively.morphic.WindowControl"},"3407":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3408},"id":"50AB99CE-4629-4E90-91A4-35CDFBD611E1","renderContextTable":{"__isSmartRef__":true,"id":3412},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3413}],"eventHandler":{"__isSmartRef__":true,"id":3415},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3416},"priorExtent":{"__isSmartRef__":true,"id":3417},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3406},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[655,"408469B8-3893-4425-B98E-92CDFD007211","7020133E-7913-4F1C-994C-2D723BD74FF3","62FEFE45-A274-46E9-9DCF-ECBC15A6004E"],"__LivelyClassName__":"lively.morphic.Text"},"3408":{"_Position":{"__isSmartRef__":true,"id":3409},"renderContextTable":{"__isSmartRef__":true,"id":3410},"_Extent":{"__isSmartRef__":true,"id":3411},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3365},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3351},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3409":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3410":{"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"},"3411":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3412":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3413":{"style":{"__isSmartRef__":true,"id":3414},"chunkOwner":{"__isSmartRef__":true,"id":3407},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"3414":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3415":{"morph":{"__isSmartRef__":true,"id":3407},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3416":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3417":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3418":{"_Position":{"__isSmartRef__":true,"id":3419},"renderContextTable":{"__isSmartRef__":true,"id":3420},"_Extent":{"__isSmartRef__":true,"id":3421},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3422},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3377},"_Fill":{"__isSmartRef__":true,"id":3378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3419":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3420":{"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"},"3421":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3422":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3423":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3424":{"morph":{"__isSmartRef__":true,"id":3406},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3425":{"x":3,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3426":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3427":{"stops":[{"__isSmartRef__":true,"id":3428},{"__isSmartRef__":true,"id":3430},{"__isSmartRef__":true,"id":3432},{"__isSmartRef__":true,"id":3434}],"vector":{"__isSmartRef__":true,"id":3387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3428":{"offset":0,"color":{"__isSmartRef__":true,"id":3429}},"3429":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3430":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3431}},"3431":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3432":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3433}},"3433":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3434":{"offset":1,"color":{"__isSmartRef__":true,"id":3435}},"3435":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3436":{"sourceObj":{"__isSmartRef__":true,"id":3406},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3437},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3437":{"source":{"__isSmartRef__":true,"id":3406},"target":{"__isSmartRef__":true,"id":2470}},"3438":{"sourceObj":{"__isSmartRef__":true,"id":3406},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3439},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3439":{"source":{"__isSmartRef__":true,"id":3406},"target":{"__isSmartRef__":true,"id":2470}},"3440":{"submorphs":[{"__isSmartRef__":true,"id":3441}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3452},"id":"1B6EFF13-1A4E-4572-AAAE-84962A4AE6C2","renderContextTable":{"__isSmartRef__":true,"id":3457},"eventHandler":{"__isSmartRef__":true,"id":3458},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":3459},"priorExtent":{"__isSmartRef__":true,"id":3460},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3378},"lighterFill":{"__isSmartRef__":true,"id":3461},"label":{"__isSmartRef__":true,"id":3441},"owner":{"__isSmartRef__":true,"id":3344},"layout":{"__isSmartRef__":true,"id":3470},"attributeConnections":[{"__isSmartRef__":true,"id":3471},{"__isSmartRef__":true,"id":3473}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[656,"03A06C2E-536A-4832-BDA2-43C37595D949","95119A6F-D4DC-451D-BC3D-B8400CBF9B88","B511790B-C9B5-42BB-8D6B-918E537C190E"],"__LivelyClassName__":"lively.morphic.WindowControl"},"3441":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3442},"id":"E56D46A5-8CAF-4E87-AA42-0D927FAEFDFC","renderContextTable":{"__isSmartRef__":true,"id":3446},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3447}],"eventHandler":{"__isSmartRef__":true,"id":3449},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3450},"priorExtent":{"__isSmartRef__":true,"id":3451},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3440},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[657,"39B545AC-091E-4169-BDDB-8F2EE9968575","BA1D21E6-095C-42C4-87AF-8B35EC0AE0B4","52E38D08-031E-4370-B30C-6031B36AD611"],"__LivelyClassName__":"lively.morphic.Text"},"3442":{"_Position":{"__isSmartRef__":true,"id":3443},"renderContextTable":{"__isSmartRef__":true,"id":3444},"_Extent":{"__isSmartRef__":true,"id":3445},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3365},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3351},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3443":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3444":{"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"},"3445":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3446":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3447":{"style":{"__isSmartRef__":true,"id":3448},"chunkOwner":{"__isSmartRef__":true,"id":3441},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"3448":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3449":{"morph":{"__isSmartRef__":true,"id":3441},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3450":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3451":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3452":{"_Position":{"__isSmartRef__":true,"id":3453},"renderContextTable":{"__isSmartRef__":true,"id":3454},"_Extent":{"__isSmartRef__":true,"id":3455},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3456},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3377},"_Fill":{"__isSmartRef__":true,"id":3378},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3453":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3454":{"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"},"3455":{"x":17,"y":17,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3456":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3457":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3458":{"morph":{"__isSmartRef__":true,"id":3440},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3459":{"x":531.8872405939474,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3460":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3461":{"stops":[{"__isSmartRef__":true,"id":3462},{"__isSmartRef__":true,"id":3464},{"__isSmartRef__":true,"id":3466},{"__isSmartRef__":true,"id":3468}],"vector":{"__isSmartRef__":true,"id":3387},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3462":{"offset":0,"color":{"__isSmartRef__":true,"id":3463}},"3463":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3464":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3465}},"3465":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3466":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3467}},"3467":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3468":{"offset":1,"color":{"__isSmartRef__":true,"id":3469}},"3469":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3470":{"moveHorizontal":true},"3471":{"sourceObj":{"__isSmartRef__":true,"id":3440},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3472},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3472":{"source":{"__isSmartRef__":true,"id":3440},"target":{"__isSmartRef__":true,"id":2470}},"3473":{"sourceObj":{"__isSmartRef__":true,"id":3440},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2470},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3474},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3474":{"source":{"__isSmartRef__":true,"id":3440},"target":{"__isSmartRef__":true,"id":2470}},"3475":{"_Position":{"__isSmartRef__":true,"id":3476},"renderContextTable":{"__isSmartRef__":true,"id":3477},"_Extent":{"__isSmartRef__":true,"id":3478},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3479},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3480},"_Fill":{"__isSmartRef__":true,"id":1465},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3476":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3477":{"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"},"3478":{"x":570.8872405939474,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3479":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3480":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global","__LivelyClassName__":"Color"},"3481":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3482":{"morph":{"__isSmartRef__":true,"id":3344},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3483":{"resizeWidth":true,"adjustForNewBounds":true},"3484":{"x":0,"y":3,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3485":{"x":570.8872405939474,"y":22,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3486":{"renderContextTable":{"__isSmartRef__":true,"id":3487},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3488},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3489},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3487":{"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"},"3488":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"3489":{"x":533.8872405939474,"y":686.1095539984428,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3490":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3491":{"morph":{"__isSmartRef__":true,"id":2470},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3492":{"adjustForNewBounds":true},"3493":{"x":12.056379703026323,"y":242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3494":{"x":533.8872405939474,"y":686.1095539984428,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3495":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"Load modules and their test classes, then run test cases.","partName":"TestRunner","changes":[{"__isSmartRef__":true,"id":3496},{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":3500},{"__isSmartRef__":true,"id":3502},{"__isSmartRef__":true,"id":3504},{"__isSmartRef__":true,"id":3506},{"__isSmartRef__":true,"id":3508},{"__isSmartRef__":true,"id":3510},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3514},{"__isSmartRef__":true,"id":3516},{"__isSmartRef__":true,"id":3518},{"__isSmartRef__":true,"id":3520},{"__isSmartRef__":true,"id":3522},{"__isSmartRef__":true,"id":3524},{"__isSmartRef__":true,"id":3526},{"__isSmartRef__":true,"id":3528},{"__isSmartRef__":true,"id":3530},{"__isSmartRef__":true,"id":3532},{"__isSmartRef__":true,"id":3534}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3496":{"date":{"__isSmartRef__":true,"id":3497},"author":"fbo","message":"","id":"83D258DB-F490-4351-9D14-79F82E1905ED"},"3497":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:50:17 GMT-0800 (PST)"},"3498":{"date":{"__isSmartRef__":true,"id":3499},"author":"fbo","message":"","id":"700DCFD9-AD44-4BAC-BF10-1A93EB4DCECF"},"3499":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:44:55 GMT-0800 (PST)"},"3500":{"date":{"__isSmartRef__":true,"id":3501},"author":"undefined","message":"jenkins job execution loads specified modules now","id":"F3F2DEC0-E4E9-4B05-B0DE-6D23F6B2C3BF"},"3501":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:27:38 GMT-0800 (PST)"},"3502":{"date":{"__isSmartRef__":true,"id":3503},"author":"undefined","message":"made jenkins job execution load specified modules","id":"439DDAFD-99C2-4214-99CA-4C5602C3A78D"},"3503":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:26:53 GMT-0800 (PST)"},"3504":{"date":{"__isSmartRef__":true,"id":3505},"author":"lauritz","message":"Added a list for modules, added default modules, refactored.","id":"F5648405-3A45-4E84-92D0-671B6AC18ABA"},"3505":{"isSerializedDate":true,"string":"Wed Dec 07 2011 13:54:25 GMT-0800 (PST)"},"3506":{"date":{"__isSmartRef__":true,"id":3507},"author":"lauritz","message":"Added a list for modules, added default modules, refactored.","id":"F5648405-3A45-4E84-92D0-671B6AC18ABA"},"3507":{"isSerializedDate":true,"string":"Wed Dec 07 2011 13:54:25 GMT-0800 (PST)"},"3508":{"date":{"__isSmartRef__":true,"id":3509},"author":"lauritz","message":"fixed \"add\" button, added \"remove selected\" button for test classes","id":"B6576AB8-367D-4650-AEA6-43515F2DE0B9"},"3509":{"isSerializedDate":true,"string":"Wed Dec 07 2011 14:24:31 GMT-0800 (PST)"},"3510":{"date":{"__isSmartRef__":true,"id":3511},"author":"lauritz","message":"fixed \"add\" button, added \"remove selected\" button for test classes","id":"B6576AB8-367D-4650-AEA6-43515F2DE0B9"},"3511":{"isSerializedDate":true,"string":"Wed Dec 07 2011 14:24:31 GMT-0800 (PST)"},"3512":{"date":{"__isSmartRef__":true,"id":3513},"author":"lauritz","message":"changed all avail button.","id":"BBC54146-5B70-4093-917C-8EA1EB527BA1"},"3513":{"isSerializedDate":true,"string":"Thu Dec 08 2011 15:06:18 GMT-0800 (PST)"},"3514":{"date":{"__isSmartRef__":true,"id":3515},"author":"lauritz","message":"changed all avail button.","id":"BBC54146-5B70-4093-917C-8EA1EB527BA1"},"3515":{"isSerializedDate":true,"string":"Thu Dec 08 2011 15:06:18 GMT-0800 (PST)"},"3516":{"date":{"__isSmartRef__":true,"id":3517},"author":"lauritz","message":"changed labels","id":"25C2A417-296E-4213-82F3-EAB0B587E49D"},"3517":{"isSerializedDate":true,"string":"Thu Dec 08 2011 15:12:14 GMT-0800 (PST)"},"3518":{"date":{"__isSmartRef__":true,"id":3519},"author":"fbo","message":"bug fix.","id":"307A9030-AAC0-40DF-BF12-0603E7DFC39C"},"3519":{"isSerializedDate":true,"string":"Thu Dec 08 2011 17:51:04 GMT-0800 (PST)"},"3520":{"date":{"__isSmartRef__":true,"id":3521},"author":"lauritz","message":"added a button to load default test modules, refactored test runner api","id":"949D4503-99AF-4CE2-982C-ACA6C1FB3D88"},"3521":{"isSerializedDate":true,"string":"Fri Dec 09 2011 10:57:56 GMT-0800 (PST)"},"3522":{"date":{"__isSmartRef__":true,"id":3523},"author":"lauritz","message":"adapted module loading","id":"A1ECFCCD-0BCE-42BB-BF84-7BE100D421A2"},"3523":{"isSerializedDate":true,"string":"Fri Dec 09 2011 13:51:39 GMT-0800 (PST)"},"3524":{"date":{"__isSmartRef__":true,"id":3525},"author":"lauritz","message":"corrected spinners, removed network tests from defaults","id":"46D232BE-75DE-4A68-85C0-1668813758D1"},"3525":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:06:03 GMT-0800 (PST)"},"3526":{"date":{"__isSmartRef__":true,"id":3527},"author":"lauritz","message":"(hopefully) fixed a serialization dependency","id":"1CEF22A0-7D7C-49D6-A85A-50C32129E616"},"3527":{"isSerializedDate":true,"string":"Fri Dec 09 2011 14:32:33 GMT-0800 (PST)"},"3528":{"date":{"__isSmartRef__":true,"id":3529},"author":"lauritz","message":"preselects added modules","id":"21838602-ADD0-4158-BA23-BD2A53DD0A1D"},"3529":{"isSerializedDate":true,"string":"Mon Dec 19 2011 13:46:52 GMT-0800 (PST)"},"3530":{"date":{"__isSmartRef__":true,"id":3531},"author":"undefined","message":"push fail info to server","id":"45388299-E353-425D-A646-9DDCE3E7809A"},"3531":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:14:28 GMT-0800 (PST)"},"3532":{"date":{"__isSmartRef__":true,"id":3533},"author":"lauritz","message":"layout fix","id":"3EE93DBE-29DD-4F68-A639-2C6A73B639FC"},"3533":{"isSerializedDate":true,"string":"Wed Dec 21 2011 08:47:22 GMT-0800 (PST)"},"3534":{"date":{"__isSmartRef__":true,"id":3535},"author":"undefined","message":"made label a bit wider so that it does not break","id":"9EA522F4-C436-4628-9D9B-D741C04647B1"},"3535":{"isSerializedDate":true,"string":"Thu Jan 19 2012 06:50:22 GMT-0800 (PST)"},"3536":{"x":337,"y":254,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3537":{"x":380.9436202969737,"y":76.05678000322644,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"3538":{"reset":{"__isSmartRef__":true,"id":3539},"runCiJob":{"__isSmartRef__":true,"id":3543},"reportCiResult":{"__isSmartRef__":true,"id":3547},"couchDB":{"__isSmartRef__":true,"id":3551},"latestJob":{"__isSmartRef__":true,"id":3555}},"3539":{"varMapping":{"__isSmartRef__":true,"id":3540},"source":"function reset() {\n this.testRunner.reset();\n this.isCiJob = false;\n delete this.testId;\n}","funcProperties":{"__isSmartRef__":true,"id":3541},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3540":{"this":{"__isSmartRef__":true,"id":2470}},"3541":{"timestamp":{"__isSmartRef__":true,"id":3542},"user":"lauritz","tags":["reset"]},"3542":{"isSerializedDate":true,"string":"Fri Dec 09 2011 10:37:22 GMT-0800 (PST)"},"3543":{"varMapping":{"__isSmartRef__":true,"id":3544},"source":"function runCiJob() {\n this.reset();\n\n this.isCiJob = true;\n\n var job = this.latestJob();\n var testId = this.testId = job.testId;\n var modules = job.modules;\n\n modules.forEach((function (each) {\n this.testRunner.addModule(each);\n }).bind(this));\n \n this.testRunner.loadModulesAndRunTheirTests();\n}","funcProperties":{"__isSmartRef__":true,"id":3545},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3544":{"this":{"__isSmartRef__":true,"id":2470}},"3545":{"timestamp":{"__isSmartRef__":true,"id":3546},"user":"fbo","tags":["jenkins"]},"3546":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:50:10 GMT-0800 (PST)"},"3547":{"varMapping":{"__isSmartRef__":true,"id":3548},"source":"function reportCiResult() {\n var testId = this.testId;\n var db = this.couchDB();\n var jobResults = db.open('last_test_result');\n alert(this.testRunner.testSuite.result.failed.length);\n jobResults.testId = this.testId;\n jobResults.message = this.get('ResultPane').getTextString();\n jobResults.timestamp = new Date();\n jobResults.modules = this.testRunner.loadedModules.toString();\n jobResults.testsRun = this.testRunner.numberOfTestCases;\n jobResults.testsFailed = this.testRunner.testSuite.result.failed.length;\n jobResults.testsPassed = this.testRunner.numberOfTestCases - this.testRunner.testSuite.result.failed.length;\n jobResults.failed = this.testRunner.testSuite.result.failed;\n db.save(jobResults);\n this.isCiJob = undefined;\n this.testId = undefined;\n}","funcProperties":{"__isSmartRef__":true,"id":3549},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3548":{"this":{"__isSmartRef__":true,"id":2470}},"3549":{"timestamp":{"__isSmartRef__":true,"id":3550},"user":"undefined","tags":["jenkins"]},"3550":{"isSerializedDate":true,"string":"Tue Dec 20 2011 19:14:04 GMT-0800 (PST)"},"3551":{"varMapping":{"__isSmartRef__":true,"id":3552},"source":"function couchDB() {\n return new CouchDB('test_results', 'http://livelyk.iriscouch.com');\n}","funcProperties":{"__isSmartRef__":true,"id":3553},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3552":{"this":{"__isSmartRef__":true,"id":2470}},"3553":{"timestamp":{"__isSmartRef__":true,"id":3554},"user":"lauritz","tags":[]},"3554":{"isSerializedDate":true,"string":"Fri Dec 09 2011 13:54:43 GMT-0800 (PST)"},"3555":{"varMapping":{"__isSmartRef__":true,"id":3556},"source":"function latestJob() {\n module('apps.CouchDB').load();\n var db = this.couchDB();\n return db.open('test_runner_job'); \n}","funcProperties":{"__isSmartRef__":true,"id":3557},"__SourceModuleName__":"Global","__LivelyClassName__":"lively.Closure"},"3556":{"this":{"__isSmartRef__":true,"id":2470}},"3557":{"timestamp":{"__isSmartRef__":true,"id":3558},"user":"undefined","tags":["jenkins"]},"3558":{"isSerializedDate":true,"string":"Mon Dec 12 2011 10:25:03 GMT-0800 (PST)"},"3559":{"submorphs":[{"__isSmartRef__":true,"id":3560},{"__isSmartRef__":true,"id":4197}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4324},"derivationIds":[null],"id":"BE70E407-4B3A-4DB7-A75F-9DD5C609DEDA","renderContextTable":{"__isSmartRef__":true,"id":4328},"eventHandler":{"__isSmartRef__":true,"id":4329},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":4330},"LK2":true,"_Position":{"__isSmartRef__":true,"id":4331},"priorExtent":{"__isSmartRef__":true,"id":4332},"targetMorph":{"__isSmartRef__":true,"id":3560},"titleBar":{"__isSmartRef__":true,"id":4197},"contentOffset":{"__isSmartRef__":true,"id":4196},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"prevDragPos":{"__isSmartRef__":true,"id":4333},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"3560":{"submorphs":[{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":4110},{"__isSmartRef__":true,"id":4144},{"__isSmartRef__":true,"id":3830},{"__isSmartRef__":true,"id":3891},{"__isSmartRef__":true,"id":3928},{"__isSmartRef__":true,"id":3963},{"__isSmartRef__":true,"id":4178},{"__isSmartRef__":true,"id":3998},{"__isSmartRef__":true,"id":3576},{"__isSmartRef__":true,"id":3614},{"__isSmartRef__":true,"id":3649},{"__isSmartRef__":true,"id":3684},{"__isSmartRef__":true,"id":3719},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3789}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4187},"derivationIds":[null],"id":"0040C668-1C4E-4460-B307-3B20463AC2D3","renderContextTable":{"__isSmartRef__":true,"id":4193},"eventHandler":{"__isSmartRef__":true,"id":4194},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4195},"_Position":{"__isSmartRef__":true,"id":4196},"locationPane":{"__isSmartRef__":true,"id":3561},"codeBaseDirBtn":{"__isSmartRef__":true,"id":4110},"localDirBtn":{"__isSmartRef__":true,"id":4144},"Pane1":{"__isSmartRef__":true,"id":3830},"Pane2":{"__isSmartRef__":true,"id":3891},"Pane3":{"__isSmartRef__":true,"id":3928},"Pane4":{"__isSmartRef__":true,"id":3963},"midResizer":{"__isSmartRef__":true,"id":4178},"sourcePane":{"__isSmartRef__":true,"id":3998},"ownerWidget":{"__isSmartRef__":true,"id":3574},"owner":{"__isSmartRef__":true,"id":3559},"ownerApp":{"__isSmartRef__":true,"id":3574},"targetURL":{"__isSmartRef__":true,"id":4096},"prevScroll":[0,0],"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3561":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3562},"derivationIds":[null],"id":"B69462FA-C8BB-40B7-965E-AD90ECD8AEE4","renderContextTable":{"__isSmartRef__":true,"id":3566},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3567}],"eventHandler":{"__isSmartRef__":true,"id":3569},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3570},"priorExtent":{"__isSmartRef__":true,"id":3571},"_MaxTextWidth":646,"_MinTextWidth":646,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3560},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":3572},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":3573}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3562":{"_Position":{"__isSmartRef__":true,"id":3563},"renderContextTable":{"__isSmartRef__":true,"id":3564},"_Extent":{"__isSmartRef__":true,"id":3565},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":778},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3563":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3564":{"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"},"3565":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3566":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3567":{"style":{"__isSmartRef__":true,"id":3568},"chunkOwner":{"__isSmartRef__":true,"id":3561},"storedString":"http://www.lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3568":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3569":{"morph":{"__isSmartRef__":true,"id":3561},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3570":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3571":{"x":656,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3572":{"resizeWidth":true},"3573":{"sourceObj":{"__isSmartRef__":true,"id":3561},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setTargetURL","converter":null,"converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4109},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3574":{"buttonCommands":[{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3613},{"__isSmartRef__":true,"id":3648},{"__isSmartRef__":true,"id":3683},{"__isSmartRef__":true,"id":3718},{"__isSmartRef__":true,"id":3753},{"__isSmartRef__":true,"id":3788}],"RootFilters":[{"__isSmartRef__":true,"id":3823}],"Pane1Filters":[{"__isSmartRef__":true,"id":3824},{"__isSmartRef__":true,"id":3825}],"Pane2Filters":[{"__isSmartRef__":true,"id":3826}],"Pane3Filters":[{"__isSmartRef__":true,"id":3827}],"Pane4Filters":[{"__isSmartRef__":true,"id":3828}],"evaluate":true,"panel":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":3829},{"__isSmartRef__":true,"id":3890},{"__isSmartRef__":true,"id":3927},{"__isSmartRef__":true,"id":3962},{"__isSmartRef__":true,"id":3997},{"__isSmartRef__":true,"id":4091}],"SourceString":"module('lively.morphic.tests.InspectorTests').requires('lively.TestFramework', 'lively.morphic.Complete').toRun(function() {\n\nlively.morphic.tests.TestCase.subclass('lively.morphic.Tests.TreeNodeTests', \n'testing', {\n test01createTreeNode: function() {\n new lively.morphic.TreeNode();\n }\n }\n);\n\n}) // end of module","sourceString":"module('lively.morphic.tests.InspectorTests').requires('lively.TestFramework', 'lively.morphic.Complete').toRun(function() {\n\nlively.morphic.tests.TestCase.subclass('lively.morphic.Tests.TreeNodeTests', \n'testing', {\n test01createTreeNode: function() {\n new lively.morphic.TreeNode();\n }\n }\n);\n\n}) // end of module","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"targetURL":{"__isSmartRef__":true,"id":4096},"_rootNode":{"__isSmartRef__":true,"id":3841},"Pane1Selection":{"__isSmartRef__":true,"id":3845},"pane1Selection":{"__isSmartRef__":true,"id":3845},"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":[{"__isSmartRef__":true,"id":3899}],"Pane1Content":[{"__isSmartRef__":true,"id":3838},{"__isSmartRef__":true,"id":3851},{"__isSmartRef__":true,"id":3852},{"__isSmartRef__":true,"id":3853},{"__isSmartRef__":true,"id":3854},{"__isSmartRef__":true,"id":3855},{"__isSmartRef__":true,"id":3856},{"__isSmartRef__":true,"id":3857},{"__isSmartRef__":true,"id":3858},{"__isSmartRef__":true,"id":3859}],"view":{"__isSmartRef__":true,"id":3559},"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.tests.InspectorTests","_statusMorph":{"__isSmartRef__":true,"id":4097},"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"3575":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3576},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3576":{"submorphs":[{"__isSmartRef__":true,"id":3577}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3589},"derivationIds":[null],"id":"A2973DD4-A410-41FC-983C-25539C35D072","renderContextTable":{"__isSmartRef__":true,"id":3594},"eventHandler":{"__isSmartRef__":true,"id":3595},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3596},"priorExtent":{"__isSmartRef__":true,"id":3597},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3598},"label":{"__isSmartRef__":true,"id":3577},"command":{"__isSmartRef__":true,"id":3575},"attributeConnections":[{"__isSmartRef__":true,"id":3607},{"__isSmartRef__":true,"id":3608}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3577":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3578},"derivationIds":[null],"id":"1A04CB59-57C3-4012-8035-7829130B02CF","renderContextTable":{"__isSmartRef__":true,"id":3583},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3584}],"eventHandler":{"__isSmartRef__":true,"id":3586},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3587},"priorExtent":{"__isSmartRef__":true,"id":3588},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3576},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3578":{"_Position":{"__isSmartRef__":true,"id":3579},"renderContextTable":{"__isSmartRef__":true,"id":3580},"_Extent":{"__isSmartRef__":true,"id":3581},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3582},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3579":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3580":{"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"},"3581":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3582":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3583":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3584":{"style":{"__isSmartRef__":true,"id":3585},"chunkOwner":{"__isSmartRef__":true,"id":3577},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3585":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3586":{"morph":{"__isSmartRef__":true,"id":3577},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3587":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3588":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3589":{"_Position":{"__isSmartRef__":true,"id":3590},"renderContextTable":{"__isSmartRef__":true,"id":3591},"_Extent":{"__isSmartRef__":true,"id":3592},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3593},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3590":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3591":{"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"},"3592":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3593":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3595":{"morph":{"__isSmartRef__":true,"id":3576},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3596":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3597":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3598":{"stops":[{"__isSmartRef__":true,"id":3599},{"__isSmartRef__":true,"id":3601},{"__isSmartRef__":true,"id":3603},{"__isSmartRef__":true,"id":3605}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3599":{"offset":0,"color":{"__isSmartRef__":true,"id":3600}},"3600":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3601":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3602}},"3602":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3603":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3604}},"3604":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3605":{"offset":1,"color":{"__isSmartRef__":true,"id":3606}},"3606":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3607":{"sourceObj":{"__isSmartRef__":true,"id":3576},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3575},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3608":{"sourceObj":{"__isSmartRef__":true,"id":3576},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3576},"targetMethodName":"setLabel","converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3609},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3610},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3609":{"source":{"__isSmartRef__":true,"id":3576},"target":{"__isSmartRef__":true,"id":3576}},"3610":{"converter":{"__isSmartRef__":true,"id":3611}},"3611":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3609},"source":"function () { return this.getSourceObj().command.asString() }","funcProperties":{"__isSmartRef__":true,"id":3612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3612":{},"3613":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3614},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3614":{"submorphs":[{"__isSmartRef__":true,"id":3615}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3627},"derivationIds":[null],"id":"2DDE4484-232A-434C-98F9-9D6474337147","renderContextTable":{"__isSmartRef__":true,"id":3632},"eventHandler":{"__isSmartRef__":true,"id":3633},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3634},"priorExtent":{"__isSmartRef__":true,"id":3635},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3636},"label":{"__isSmartRef__":true,"id":3615},"command":{"__isSmartRef__":true,"id":3613},"attributeConnections":[{"__isSmartRef__":true,"id":3645},{"__isSmartRef__":true,"id":3646}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3615":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3616},"derivationIds":[null],"id":"E1A956BC-E511-48DB-8963-3DFF64D869A8","renderContextTable":{"__isSmartRef__":true,"id":3621},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3622}],"eventHandler":{"__isSmartRef__":true,"id":3624},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3625},"priorExtent":{"__isSmartRef__":true,"id":3626},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3614},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3616":{"_Position":{"__isSmartRef__":true,"id":3617},"renderContextTable":{"__isSmartRef__":true,"id":3618},"_Extent":{"__isSmartRef__":true,"id":3619},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3620},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3617":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3618":{"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"},"3619":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3620":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3621":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3622":{"style":{"__isSmartRef__":true,"id":3623},"chunkOwner":{"__isSmartRef__":true,"id":3615},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3623":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3624":{"morph":{"__isSmartRef__":true,"id":3615},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3625":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3626":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3627":{"_Position":{"__isSmartRef__":true,"id":3628},"renderContextTable":{"__isSmartRef__":true,"id":3629},"_Extent":{"__isSmartRef__":true,"id":3630},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3631},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3628":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3629":{"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"},"3630":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3631":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3632":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3633":{"morph":{"__isSmartRef__":true,"id":3614},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3634":{"x":117.14285714285714,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3635":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3636":{"stops":[{"__isSmartRef__":true,"id":3637},{"__isSmartRef__":true,"id":3639},{"__isSmartRef__":true,"id":3641},{"__isSmartRef__":true,"id":3643}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3637":{"offset":0,"color":{"__isSmartRef__":true,"id":3638}},"3638":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3639":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3640}},"3640":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3641":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3642}},"3642":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3643":{"offset":1,"color":{"__isSmartRef__":true,"id":3644}},"3644":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3645":{"sourceObj":{"__isSmartRef__":true,"id":3614},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3613},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3646":{"sourceObj":{"__isSmartRef__":true,"id":3614},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3614},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3647},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3647":{"source":{"__isSmartRef__":true,"id":3614},"target":{"__isSmartRef__":true,"id":3614}},"3648":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3649},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3649":{"submorphs":[{"__isSmartRef__":true,"id":3650}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3662},"derivationIds":[null],"id":"6010E8E2-287F-4C5C-97AB-94FA7DFDA184","renderContextTable":{"__isSmartRef__":true,"id":3667},"eventHandler":{"__isSmartRef__":true,"id":3668},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3669},"priorExtent":{"__isSmartRef__":true,"id":3670},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3671},"label":{"__isSmartRef__":true,"id":3650},"command":{"__isSmartRef__":true,"id":3648},"attributeConnections":[{"__isSmartRef__":true,"id":3680},{"__isSmartRef__":true,"id":3681}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3650":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3651},"derivationIds":[null],"id":"DB75A3E7-2147-4119-B44D-244CEB816C16","renderContextTable":{"__isSmartRef__":true,"id":3656},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3657}],"eventHandler":{"__isSmartRef__":true,"id":3659},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3660},"priorExtent":{"__isSmartRef__":true,"id":3661},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3649},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3651":{"_Position":{"__isSmartRef__":true,"id":3652},"renderContextTable":{"__isSmartRef__":true,"id":3653},"_Extent":{"__isSmartRef__":true,"id":3654},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3655},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3652":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3653":{"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"},"3654":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3655":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3656":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3657":{"style":{"__isSmartRef__":true,"id":3658},"chunkOwner":{"__isSmartRef__":true,"id":3650},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3658":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3659":{"morph":{"__isSmartRef__":true,"id":3650},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3660":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3661":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3662":{"_Position":{"__isSmartRef__":true,"id":3663},"renderContextTable":{"__isSmartRef__":true,"id":3664},"_Extent":{"__isSmartRef__":true,"id":3665},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3666},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3663":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3664":{"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"},"3665":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3666":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3667":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3668":{"morph":{"__isSmartRef__":true,"id":3649},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3669":{"x":234.28571428571428,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3670":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3671":{"stops":[{"__isSmartRef__":true,"id":3672},{"__isSmartRef__":true,"id":3674},{"__isSmartRef__":true,"id":3676},{"__isSmartRef__":true,"id":3678}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3672":{"offset":0,"color":{"__isSmartRef__":true,"id":3673}},"3673":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3674":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3675}},"3675":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3676":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3677}},"3677":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3678":{"offset":1,"color":{"__isSmartRef__":true,"id":3679}},"3679":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3680":{"sourceObj":{"__isSmartRef__":true,"id":3649},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3648},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3681":{"sourceObj":{"__isSmartRef__":true,"id":3649},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3649},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3682},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3682":{"source":{"__isSmartRef__":true,"id":3649},"target":{"__isSmartRef__":true,"id":3649}},"3683":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3684},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3684":{"submorphs":[{"__isSmartRef__":true,"id":3685}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3697},"derivationIds":[null],"id":"B817C710-81A3-453F-8B5F-EEA1502D7A87","renderContextTable":{"__isSmartRef__":true,"id":3702},"eventHandler":{"__isSmartRef__":true,"id":3703},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3704},"priorExtent":{"__isSmartRef__":true,"id":3705},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3706},"label":{"__isSmartRef__":true,"id":3685},"command":{"__isSmartRef__":true,"id":3683},"attributeConnections":[{"__isSmartRef__":true,"id":3715},{"__isSmartRef__":true,"id":3716}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3685":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3686},"derivationIds":[null],"id":"28D1D0D1-7929-4A34-A618-50B8AC538120","renderContextTable":{"__isSmartRef__":true,"id":3691},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3692}],"eventHandler":{"__isSmartRef__":true,"id":3694},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3695},"priorExtent":{"__isSmartRef__":true,"id":3696},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3684},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3686":{"_Position":{"__isSmartRef__":true,"id":3687},"renderContextTable":{"__isSmartRef__":true,"id":3688},"_Extent":{"__isSmartRef__":true,"id":3689},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3690},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3687":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3688":{"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"},"3689":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3690":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3691":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3692":{"style":{"__isSmartRef__":true,"id":3693},"chunkOwner":{"__isSmartRef__":true,"id":3685},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3693":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3694":{"morph":{"__isSmartRef__":true,"id":3685},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3695":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3696":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3697":{"_Position":{"__isSmartRef__":true,"id":3698},"renderContextTable":{"__isSmartRef__":true,"id":3699},"_Extent":{"__isSmartRef__":true,"id":3700},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3701},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3698":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3699":{"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"},"3700":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3701":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3702":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3703":{"morph":{"__isSmartRef__":true,"id":3684},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3704":{"x":351.42857142857144,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3705":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3706":{"stops":[{"__isSmartRef__":true,"id":3707},{"__isSmartRef__":true,"id":3709},{"__isSmartRef__":true,"id":3711},{"__isSmartRef__":true,"id":3713}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3707":{"offset":0,"color":{"__isSmartRef__":true,"id":3708}},"3708":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3709":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3710}},"3710":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3711":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3712}},"3712":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3713":{"offset":1,"color":{"__isSmartRef__":true,"id":3714}},"3714":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3715":{"sourceObj":{"__isSmartRef__":true,"id":3684},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3683},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3716":{"sourceObj":{"__isSmartRef__":true,"id":3684},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3684},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3717},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3717":{"source":{"__isSmartRef__":true,"id":3684},"target":{"__isSmartRef__":true,"id":3684}},"3718":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3719},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3719":{"submorphs":[{"__isSmartRef__":true,"id":3720}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3732},"derivationIds":[null],"id":"3412BD30-1E75-4DA3-9FAA-E177C9217B0D","renderContextTable":{"__isSmartRef__":true,"id":3737},"eventHandler":{"__isSmartRef__":true,"id":3738},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3739},"priorExtent":{"__isSmartRef__":true,"id":3740},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3741},"label":{"__isSmartRef__":true,"id":3720},"command":{"__isSmartRef__":true,"id":3718},"attributeConnections":[{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3751}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3720":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3721},"derivationIds":[null],"id":"0F1FFEE5-7360-4EA0-9C41-7969C569195C","renderContextTable":{"__isSmartRef__":true,"id":3726},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3727}],"eventHandler":{"__isSmartRef__":true,"id":3729},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3730},"priorExtent":{"__isSmartRef__":true,"id":3731},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3719},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3721":{"_Position":{"__isSmartRef__":true,"id":3722},"renderContextTable":{"__isSmartRef__":true,"id":3723},"_Extent":{"__isSmartRef__":true,"id":3724},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3725},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3722":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3723":{"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"},"3724":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3725":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3726":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3727":{"style":{"__isSmartRef__":true,"id":3728},"chunkOwner":{"__isSmartRef__":true,"id":3720},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3728":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3729":{"morph":{"__isSmartRef__":true,"id":3720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3730":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3731":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3732":{"_Position":{"__isSmartRef__":true,"id":3733},"renderContextTable":{"__isSmartRef__":true,"id":3734},"_Extent":{"__isSmartRef__":true,"id":3735},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3736},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3733":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3734":{"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"},"3735":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3736":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3737":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3738":{"morph":{"__isSmartRef__":true,"id":3719},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3739":{"x":468.57142857142856,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3740":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3741":{"stops":[{"__isSmartRef__":true,"id":3742},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3746},{"__isSmartRef__":true,"id":3748}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3742":{"offset":0,"color":{"__isSmartRef__":true,"id":3743}},"3743":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3744":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3745}},"3745":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3746":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3747}},"3747":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3748":{"offset":1,"color":{"__isSmartRef__":true,"id":3749}},"3749":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3750":{"sourceObj":{"__isSmartRef__":true,"id":3719},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3718},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3751":{"sourceObj":{"__isSmartRef__":true,"id":3719},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3719},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3752},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3752":{"source":{"__isSmartRef__":true,"id":3719},"target":{"__isSmartRef__":true,"id":3719}},"3753":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3754},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3754":{"submorphs":[{"__isSmartRef__":true,"id":3755}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3767},"derivationIds":[null],"id":"17391F8C-65A8-45E7-98C5-34E8A08515FD","renderContextTable":{"__isSmartRef__":true,"id":3772},"eventHandler":{"__isSmartRef__":true,"id":3773},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3774},"priorExtent":{"__isSmartRef__":true,"id":3775},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3776},"label":{"__isSmartRef__":true,"id":3755},"command":{"__isSmartRef__":true,"id":3753},"attributeConnections":[{"__isSmartRef__":true,"id":3785},{"__isSmartRef__":true,"id":3786}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3755":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3756},"derivationIds":[null],"id":"43F271EB-1B2D-4D5D-ABAA-1C3FB59DC007","renderContextTable":{"__isSmartRef__":true,"id":3761},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3762}],"eventHandler":{"__isSmartRef__":true,"id":3764},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3765},"priorExtent":{"__isSmartRef__":true,"id":3766},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3754},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3756":{"_Position":{"__isSmartRef__":true,"id":3757},"renderContextTable":{"__isSmartRef__":true,"id":3758},"_Extent":{"__isSmartRef__":true,"id":3759},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3760},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3757":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3758":{"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"},"3759":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3760":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3761":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3762":{"style":{"__isSmartRef__":true,"id":3763},"chunkOwner":{"__isSmartRef__":true,"id":3755},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3763":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3764":{"morph":{"__isSmartRef__":true,"id":3755},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3765":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3766":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3767":{"_Position":{"__isSmartRef__":true,"id":3768},"renderContextTable":{"__isSmartRef__":true,"id":3769},"_Extent":{"__isSmartRef__":true,"id":3770},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3771},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3768":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3769":{"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"},"3770":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3771":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3772":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3773":{"morph":{"__isSmartRef__":true,"id":3754},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3774":{"x":585.7142857142857,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3775":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3776":{"stops":[{"__isSmartRef__":true,"id":3777},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3781},{"__isSmartRef__":true,"id":3783}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3777":{"offset":0,"color":{"__isSmartRef__":true,"id":3778}},"3778":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3779":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3780}},"3780":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3781":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3782}},"3782":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3783":{"offset":1,"color":{"__isSmartRef__":true,"id":3784}},"3784":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3785":{"sourceObj":{"__isSmartRef__":true,"id":3754},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3753},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3786":{"sourceObj":{"__isSmartRef__":true,"id":3754},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3754},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3787},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3787":{"source":{"__isSmartRef__":true,"id":3754},"target":{"__isSmartRef__":true,"id":3754}},"3788":{"browser":{"__isSmartRef__":true,"id":3574},"button":{"__isSmartRef__":true,"id":3789},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3789":{"submorphs":[{"__isSmartRef__":true,"id":3790}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3802},"derivationIds":[null],"id":"F3F9526A-4A64-4C66-A1E2-554F1655401B","renderContextTable":{"__isSmartRef__":true,"id":3807},"eventHandler":{"__isSmartRef__":true,"id":3808},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3809},"priorExtent":{"__isSmartRef__":true,"id":3810},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":3811},"label":{"__isSmartRef__":true,"id":3790},"command":{"__isSmartRef__":true,"id":3788},"attributeConnections":[{"__isSmartRef__":true,"id":3820},{"__isSmartRef__":true,"id":3821}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3790":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3791},"derivationIds":[null],"id":"660FBB08-6575-4ED1-8971-9B4207DAAEA5","renderContextTable":{"__isSmartRef__":true,"id":3796},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3797}],"eventHandler":{"__isSmartRef__":true,"id":3799},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3800},"priorExtent":{"__isSmartRef__":true,"id":3801},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3789},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3791":{"_Position":{"__isSmartRef__":true,"id":3792},"renderContextTable":{"__isSmartRef__":true,"id":3793},"_Extent":{"__isSmartRef__":true,"id":3794},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3795},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3792":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3793":{"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"},"3794":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3795":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3796":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"3797":{"style":{"__isSmartRef__":true,"id":3798},"chunkOwner":{"__isSmartRef__":true,"id":3790},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3798":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3799":{"morph":{"__isSmartRef__":true,"id":3790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3800":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3801":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3802":{"_Position":{"__isSmartRef__":true,"id":3803},"renderContextTable":{"__isSmartRef__":true,"id":3804},"_Extent":{"__isSmartRef__":true,"id":3805},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3806},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3803":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3804":{"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"},"3805":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3806":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3807":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3808":{"morph":{"__isSmartRef__":true,"id":3789},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3809":{"x":702.8571428571429,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3810":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3811":{"stops":[{"__isSmartRef__":true,"id":3812},{"__isSmartRef__":true,"id":3814},{"__isSmartRef__":true,"id":3816},{"__isSmartRef__":true,"id":3818}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3812":{"offset":0,"color":{"__isSmartRef__":true,"id":3813}},"3813":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3814":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3815}},"3815":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3816":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3817}},"3817":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3818":{"offset":1,"color":{"__isSmartRef__":true,"id":3819}},"3819":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3820":{"sourceObj":{"__isSmartRef__":true,"id":3789},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3788},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3821":{"sourceObj":{"__isSmartRef__":true,"id":3789},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3789},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3822},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3822":{"source":{"__isSmartRef__":true,"id":3789},"target":{"__isSmartRef__":true,"id":3789}},"3823":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3824":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3825":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3826":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3827":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3828":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3829":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":3830},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3889},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3830":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3831},"derivationIds":[null],"id":"DE692AD7-219D-42AD-B4D1-2EEA60504A5D","renderContextTable":{"__isSmartRef__":true,"id":3837},"itemList":[{"__isSmartRef__":true,"id":3838},{"__isSmartRef__":true,"id":3851},{"__isSmartRef__":true,"id":3852},{"__isSmartRef__":true,"id":3853},{"__isSmartRef__":true,"id":3854},{"__isSmartRef__":true,"id":3855},{"__isSmartRef__":true,"id":3856},{"__isSmartRef__":true,"id":3857},{"__isSmartRef__":true,"id":3858},{"__isSmartRef__":true,"id":3859}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3860},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3861},"selectedLineNo":4,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":3862},{"__isSmartRef__":true,"id":3867},{"__isSmartRef__":true,"id":3869},{"__isSmartRef__":true,"id":3871}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":3873},"prevScroll":[0,16],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3874},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3831":{"_Position":{"__isSmartRef__":true,"id":3832},"renderContextTable":{"__isSmartRef__":true,"id":3833},"_Extent":{"__isSmartRef__":true,"id":3834},"_Padding":{"__isSmartRef__":true,"id":3835},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":3836},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3832":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3833":{"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"},"3834":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3835":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3836":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3837":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"3838":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":3839}},"3839":{"target":{"__isSmartRef__":true,"id":3840},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3840":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/tests/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3841":{"target":{"__isSmartRef__":true,"id":1065},"browser":{"__isSmartRef__":true,"id":3574},"parent":null,"allFiles":["lively/morphic/tests/EventTests.js","lively/morphic/tests/InspectorTests.js","lively/morphic/tests/TabTests.js","lively/morphic/tests/Connectors.js","lively/morphic/tests/PathTests.js","lively/morphic/tests/Morphic.js","lively/morphic/tests/DataGridTests.js","lively/morphic/tests/Morphic2.js"],"subNamespacePaths":[],"parentNamespacePath":{"__isSmartRef__":true,"id":3840},"_childNodes":[{"__isSmartRef__":true,"id":3839},{"__isSmartRef__":true,"id":3842},{"__isSmartRef__":true,"id":3843},{"__isSmartRef__":true,"id":3844},{"__isSmartRef__":true,"id":3845},{"__isSmartRef__":true,"id":3846},{"__isSmartRef__":true,"id":3847},{"__isSmartRef__":true,"id":3848},{"__isSmartRef__":true,"id":3849},{"__isSmartRef__":true,"id":3850}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3842":{"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/Connectors.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3843":{"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/DataGridTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3844":{"target":{"__isSmartRef__":true,"id":1904},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/EventTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3845":{"target":{"__isSmartRef__":true,"id":1919},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/InspectorTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3846":{"target":{"__isSmartRef__":true,"id":1926},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/Morphic.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3847":{"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/Morphic2.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3848":{"target":{"__isSmartRef__":true,"id":2128},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/PathTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3849":{"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/TabTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3850":{"target":{"__isSmartRef__":true,"id":1085},"browser":{"__isSmartRef__":true,"id":3574},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"3851":{"isListItem":true,"string":"Connectors.js (not parsed)","value":{"__isSmartRef__":true,"id":3842}},"3852":{"isListItem":true,"string":"DataGridTests.js (not parsed)","value":{"__isSmartRef__":true,"id":3843}},"3853":{"isListItem":true,"string":"EventTests.js","value":{"__isSmartRef__":true,"id":3844}},"3854":{"isListItem":true,"string":"InspectorTests.js","value":{"__isSmartRef__":true,"id":3845}},"3855":{"isListItem":true,"string":"Morphic.js","value":{"__isSmartRef__":true,"id":3846}},"3856":{"isListItem":true,"string":"Morphic2.js (not parsed)","value":{"__isSmartRef__":true,"id":3847}},"3857":{"isListItem":true,"string":"PathTests.js","value":{"__isSmartRef__":true,"id":3848}},"3858":{"isListItem":true,"string":"TabTests.js (not parsed)","value":{"__isSmartRef__":true,"id":3849}},"3859":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":3850}},"3860":{"morph":{"__isSmartRef__":true,"id":3830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3861":{"x":0,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3862":{"sourceObj":{"__isSmartRef__":true,"id":3830},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3863},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3864},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3863":{"source":{"__isSmartRef__":true,"id":3830},"target":{"__isSmartRef__":true,"id":3574}},"3864":{"updater":{"__isSmartRef__":true,"id":3865}},"3865":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3863},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":3866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3866":{},"3867":{"sourceObj":{"__isSmartRef__":true,"id":3830},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3868},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3868":{"source":{"__isSmartRef__":true,"id":3830},"target":{"__isSmartRef__":true,"id":3574}},"3869":{"sourceObj":{"__isSmartRef__":true,"id":3830},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3870},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3870":{"source":{"__isSmartRef__":true,"id":3830},"target":{"__isSmartRef__":true,"id":3574}},"3871":{"sourceObj":{"__isSmartRef__":true,"id":3830},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3872},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3872":{"source":{"__isSmartRef__":true,"id":3830},"target":{"__isSmartRef__":true,"id":3574}},"3873":{"target":{"__isSmartRef__":true,"id":1919},"browser":{"__isSmartRef__":true,"id":3574},"parent":{"__isSmartRef__":true,"id":3841},"moduleName":"lively/morphic/tests/InspectorTests.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3874":{"onDownPressed":{"__isSmartRef__":true,"id":3875},"onUpPressed":{"__isSmartRef__":true,"id":3882}},"3875":{"varMapping":{"__isSmartRef__":true,"id":3876},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3876":{"this":{"__isSmartRef__":true,"id":3830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3877}},"3877":{"$super":{"__isSmartRef__":true,"id":3878}},"3878":{"varMapping":{"__isSmartRef__":true,"id":3879},"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":3880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3879":{"obj":{"__isSmartRef__":true,"id":3830},"name":"onDownPressed"},"3880":{},"3881":{},"3882":{"varMapping":{"__isSmartRef__":true,"id":3883},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3883":{"this":{"__isSmartRef__":true,"id":3830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3884}},"3884":{"$super":{"__isSmartRef__":true,"id":3885}},"3885":{"varMapping":{"__isSmartRef__":true,"id":3886},"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":3887},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3886":{"obj":{"__isSmartRef__":true,"id":3830},"name":"onUpPressed"},"3887":{},"3888":{},"3889":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3830}},"3890":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":3891},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3926},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3891":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3892},"derivationIds":[null],"id":"82E48A40-785D-4837-96A3-C1005B9F0637","renderContextTable":{"__isSmartRef__":true,"id":3898},"itemList":[{"__isSmartRef__":true,"id":3899}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3901},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3902},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":3903},{"__isSmartRef__":true,"id":3905},{"__isSmartRef__":true,"id":3907},{"__isSmartRef__":true,"id":3909}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"prevScroll":[0,176],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3911},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3892":{"_Position":{"__isSmartRef__":true,"id":3893},"renderContextTable":{"__isSmartRef__":true,"id":3894},"_Extent":{"__isSmartRef__":true,"id":3895},"_Padding":{"__isSmartRef__":true,"id":3896},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":3897},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3893":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3894":{"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"},"3895":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3896":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3897":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3898":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"3899":{"isListItem":true,"string":"lively.morphic.Tests.TreeNodeTests","value":{"__isSmartRef__":true,"id":3900}},"3900":{"target":{"__isSmartRef__":true,"id":1921},"browser":{"__isSmartRef__":true,"id":3574},"__LivelyClassName__":"lively.ide.CategorizedClassFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3901":{"morph":{"__isSmartRef__":true,"id":3891},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3902":{"x":205,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3903":{"sourceObj":{"__isSmartRef__":true,"id":3891},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3904},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3904":{"source":{"__isSmartRef__":true,"id":3891},"target":{"__isSmartRef__":true,"id":3574}},"3905":{"sourceObj":{"__isSmartRef__":true,"id":3891},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3906},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3906":{"source":{"__isSmartRef__":true,"id":3891},"target":{"__isSmartRef__":true,"id":3574}},"3907":{"sourceObj":{"__isSmartRef__":true,"id":3891},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3908},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3908":{"source":{"__isSmartRef__":true,"id":3891},"target":{"__isSmartRef__":true,"id":3574}},"3909":{"sourceObj":{"__isSmartRef__":true,"id":3891},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3910},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3910":{"source":{"__isSmartRef__":true,"id":3891},"target":{"__isSmartRef__":true,"id":3574}},"3911":{"onDownPressed":{"__isSmartRef__":true,"id":3912},"onUpPressed":{"__isSmartRef__":true,"id":3919}},"3912":{"varMapping":{"__isSmartRef__":true,"id":3913},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3918},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3913":{"this":{"__isSmartRef__":true,"id":3891},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3914}},"3914":{"$super":{"__isSmartRef__":true,"id":3915}},"3915":{"varMapping":{"__isSmartRef__":true,"id":3916},"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":3917},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3916":{"obj":{"__isSmartRef__":true,"id":3891},"name":"onDownPressed"},"3917":{},"3918":{},"3919":{"varMapping":{"__isSmartRef__":true,"id":3920},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3920":{"this":{"__isSmartRef__":true,"id":3891},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3921}},"3921":{"$super":{"__isSmartRef__":true,"id":3922}},"3922":{"varMapping":{"__isSmartRef__":true,"id":3923},"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":3924},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3923":{"obj":{"__isSmartRef__":true,"id":3891},"name":"onUpPressed"},"3924":{},"3925":{},"3926":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3891}},"3927":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":3928},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3961},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3928":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3929},"derivationIds":[null],"id":"885B0801-C882-43DA-A5A4-949574E0FBAB","renderContextTable":{"__isSmartRef__":true,"id":3935},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3936},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3937},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":3938},{"__isSmartRef__":true,"id":3940},{"__isSmartRef__":true,"id":3942},{"__isSmartRef__":true,"id":3944}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3946},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3929":{"_Position":{"__isSmartRef__":true,"id":3930},"renderContextTable":{"__isSmartRef__":true,"id":3931},"_Extent":{"__isSmartRef__":true,"id":3932},"_Padding":{"__isSmartRef__":true,"id":3933},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":3934},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3930":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3931":{"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"},"3932":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3933":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3934":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3935":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"3936":{"morph":{"__isSmartRef__":true,"id":3928},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3937":{"x":410,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3938":{"sourceObj":{"__isSmartRef__":true,"id":3928},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3939},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3939":{"source":{"__isSmartRef__":true,"id":3928},"target":{"__isSmartRef__":true,"id":3574}},"3940":{"sourceObj":{"__isSmartRef__":true,"id":3928},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3941},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3941":{"source":{"__isSmartRef__":true,"id":3928},"target":{"__isSmartRef__":true,"id":3574}},"3942":{"sourceObj":{"__isSmartRef__":true,"id":3928},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3943},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3943":{"source":{"__isSmartRef__":true,"id":3928},"target":{"__isSmartRef__":true,"id":3574}},"3944":{"sourceObj":{"__isSmartRef__":true,"id":3928},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3945},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3945":{"source":{"__isSmartRef__":true,"id":3928},"target":{"__isSmartRef__":true,"id":3574}},"3946":{"onDownPressed":{"__isSmartRef__":true,"id":3947},"onUpPressed":{"__isSmartRef__":true,"id":3954}},"3947":{"varMapping":{"__isSmartRef__":true,"id":3948},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3953},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3948":{"this":{"__isSmartRef__":true,"id":3928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3949}},"3949":{"$super":{"__isSmartRef__":true,"id":3950}},"3950":{"varMapping":{"__isSmartRef__":true,"id":3951},"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":3952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3951":{"obj":{"__isSmartRef__":true,"id":3928},"name":"onDownPressed"},"3952":{},"3953":{},"3954":{"varMapping":{"__isSmartRef__":true,"id":3955},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3955":{"this":{"__isSmartRef__":true,"id":3928},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3956}},"3956":{"$super":{"__isSmartRef__":true,"id":3957}},"3957":{"varMapping":{"__isSmartRef__":true,"id":3958},"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":3959},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3958":{"obj":{"__isSmartRef__":true,"id":3928},"name":"onUpPressed"},"3959":{},"3960":{},"3961":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3928}},"3962":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":3963},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3996},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3963":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3964},"derivationIds":[null],"id":"89C89A12-BFC7-4FD6-B6A7-6A1A0203E434","renderContextTable":{"__isSmartRef__":true,"id":3970},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3971},"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3972},"selectedLineNo":-1,"selectOnMove":false,"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":3973},{"__isSmartRef__":true,"id":3975},{"__isSmartRef__":true,"id":3977},{"__isSmartRef__":true,"id":3979}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":null,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3981},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3964":{"_Position":{"__isSmartRef__":true,"id":3965},"renderContextTable":{"__isSmartRef__":true,"id":3966},"_Extent":{"__isSmartRef__":true,"id":3967},"_Padding":{"__isSmartRef__":true,"id":3968},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":3969},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3965":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3966":{"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"},"3967":{"x":205,"y":192.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3968":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"3969":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"3970":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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"},"3971":{"morph":{"__isSmartRef__":true,"id":3963},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3972":{"x":615,"y":27.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"3973":{"sourceObj":{"__isSmartRef__":true,"id":3963},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3974},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3974":{"source":{"__isSmartRef__":true,"id":3963},"target":{"__isSmartRef__":true,"id":3574}},"3975":{"sourceObj":{"__isSmartRef__":true,"id":3963},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3976},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3976":{"source":{"__isSmartRef__":true,"id":3963},"target":{"__isSmartRef__":true,"id":3574}},"3977":{"sourceObj":{"__isSmartRef__":true,"id":3963},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3978},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3978":{"source":{"__isSmartRef__":true,"id":3963},"target":{"__isSmartRef__":true,"id":3574}},"3979":{"sourceObj":{"__isSmartRef__":true,"id":3963},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3980},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3980":{"source":{"__isSmartRef__":true,"id":3963},"target":{"__isSmartRef__":true,"id":3574}},"3981":{"onDownPressed":{"__isSmartRef__":true,"id":3982},"onUpPressed":{"__isSmartRef__":true,"id":3989}},"3982":{"varMapping":{"__isSmartRef__":true,"id":3983},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3983":{"this":{"__isSmartRef__":true,"id":3963},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3984}},"3984":{"$super":{"__isSmartRef__":true,"id":3985}},"3985":{"varMapping":{"__isSmartRef__":true,"id":3986},"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":3987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3986":{"obj":{"__isSmartRef__":true,"id":3963},"name":"onDownPressed"},"3987":{},"3988":{},"3989":{"varMapping":{"__isSmartRef__":true,"id":3990},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3990":{"this":{"__isSmartRef__":true,"id":3963},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3991}},"3991":{"$super":{"__isSmartRef__":true,"id":3992}},"3992":{"varMapping":{"__isSmartRef__":true,"id":3993},"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":3994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"3993":{"obj":{"__isSmartRef__":true,"id":3963},"name":"onUpPressed"},"3994":{},"3995":{},"3996":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3963}},"3997":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":3998},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4090},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3998":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3999},"derivationIds":[null],"id":"7B4E5CC9-96DF-475C-A67F-8E8C866DC97E","renderContextTable":{"__isSmartRef__":true,"id":4004},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4005},{"__isSmartRef__":true,"id":4007},{"__isSmartRef__":true,"id":4010},{"__isSmartRef__":true,"id":4012},{"__isSmartRef__":true,"id":4014},{"__isSmartRef__":true,"id":4016},{"__isSmartRef__":true,"id":4018},{"__isSmartRef__":true,"id":4020},{"__isSmartRef__":true,"id":4023},{"__isSmartRef__":true,"id":4025},{"__isSmartRef__":true,"id":4028},{"__isSmartRef__":true,"id":4030},{"__isSmartRef__":true,"id":4033},{"__isSmartRef__":true,"id":4035},{"__isSmartRef__":true,"id":4038},{"__isSmartRef__":true,"id":4040},{"__isSmartRef__":true,"id":4042},{"__isSmartRef__":true,"id":4044},{"__isSmartRef__":true,"id":4046},{"__isSmartRef__":true,"id":4048},{"__isSmartRef__":true,"id":4050},{"__isSmartRef__":true,"id":4052},{"__isSmartRef__":true,"id":4055},{"__isSmartRef__":true,"id":4057},{"__isSmartRef__":true,"id":4059},{"__isSmartRef__":true,"id":4061},{"__isSmartRef__":true,"id":4063},{"__isSmartRef__":true,"id":4065},{"__isSmartRef__":true,"id":4067},{"__isSmartRef__":true,"id":4069},{"__isSmartRef__":true,"id":4071},{"__isSmartRef__":true,"id":4073},{"__isSmartRef__":true,"id":4075},{"__isSmartRef__":true,"id":4077},{"__isSmartRef__":true,"id":4079},{"__isSmartRef__":true,"id":4081}],"eventHandler":{"__isSmartRef__":true,"id":4083},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4084},"priorExtent":{"__isSmartRef__":true,"id":4085},"_MaxTextWidth":808,"_MinTextWidth":808,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3560},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":4086},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":4087},{"__isSmartRef__":true,"id":4088}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"module('lively.morphic.tests.InspectorTests').requires('lively.TestFramework', 'lively.morphic.Complete').toRun(function() {\n\nlively.morphic.tests.TestCase.subclass('lively.morphic.Tests.TreeNodeTests', \n'testing', {\n test01createTreeNode: function() {\n new lively.morphic.TreeNode();\n }\n }\n);\n\n}) // end of module","lastSyntaxHighlightTime":1328826506836,"savedTextString":"module('lively.morphic.tests.InspectorTests').requires('lively.TestFramework', 'lively.morphic.Complete').toRun(function() {\n\nlively.morphic.tests.TestCase.subclass('lively.morphic.Tests.TreeNodeTests', \n'testing', {\n test01createTreeNode: function() {\n new lively.morphic.TreeNode();\n }\n }\n);\n\n}) // end of module","styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"isBeingDragged":false,"previousSelection":[312,312],"priorSelectionRange":[142,142],"charsReplaced":"t","lastFindLoc":142,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3999":{"_Position":{"__isSmartRef__":true,"id":4000},"renderContextTable":{"__isSmartRef__":true,"id":4001},"_Extent":{"__isSmartRef__":true,"id":4002},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":4003},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":780},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4000":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4001":{"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"},"4002":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4003":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4004":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4005":{"style":{"__isSmartRef__":true,"id":4006},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"module(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4006":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4007":{"style":{"__isSmartRef__":true,"id":4008},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"'lively.morphic.tests.InspectorTests'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4008":{"color":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4009":{"r":0,"g":0.5019607843137255,"b":0.5019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4010":{"style":{"__isSmartRef__":true,"id":4011},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":").requires(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4011":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4012":{"style":{"__isSmartRef__":true,"id":4013},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"'lively.TestFramework'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4013":{"color":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4014":{"style":{"__isSmartRef__":true,"id":4015},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":", ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4015":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4016":{"style":{"__isSmartRef__":true,"id":4017},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"'lively.morphic.Complete'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4017":{"color":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4018":{"style":{"__isSmartRef__":true,"id":4019},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":").toRun(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4019":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4020":{"style":{"__isSmartRef__":true,"id":4021},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4021":{"color":{"__isSmartRef__":true,"id":4022},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4022":{"r":0,"g":0,"b":0.5450980392156862,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4023":{"style":{"__isSmartRef__":true,"id":4024},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"() ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4024":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4025":{"style":{"__isSmartRef__":true,"id":4026},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4026":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4027":{"r":0,"g":0.5019607843137255,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4028":{"style":{"__isSmartRef__":true,"id":4029},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4029":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4030":{"style":{"__isSmartRef__":true,"id":4031},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"lively.morphic.tests.TestCase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4031":{"color":{"__isSmartRef__":true,"id":4032},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4032":{"r":0,"g":0,"b":0.5019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4033":{"style":{"__isSmartRef__":true,"id":4034},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":".","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4034":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4035":{"style":{"__isSmartRef__":true,"id":4036},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"subclass","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4036":{"color":{"__isSmartRef__":true,"id":4037},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4037":{"r":0.5019607843137255,"g":0.5019607843137255,"b":0.5019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4038":{"style":{"__isSmartRef__":true,"id":4039},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4039":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4040":{"style":{"__isSmartRef__":true,"id":4041},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"'lively.morphic.Tests.TreeNodeTests'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4041":{"color":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4042":{"style":{"__isSmartRef__":true,"id":4043},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":", \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4043":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4044":{"style":{"__isSmartRef__":true,"id":4045},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"'testing'","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4045":{"color":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4046":{"style":{"__isSmartRef__":true,"id":4047},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":", ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4047":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4048":{"style":{"__isSmartRef__":true,"id":4049},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4049":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4050":{"style":{"__isSmartRef__":true,"id":4051},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4051":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4052":{"style":{"__isSmartRef__":true,"id":4053},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"test01createTreeNode:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4053":{"color":{"__isSmartRef__":true,"id":4054},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4054":{"r":0.5450980392156862,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4055":{"style":{"__isSmartRef__":true,"id":4056},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4056":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4057":{"style":{"__isSmartRef__":true,"id":4058},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4058":{"color":{"__isSmartRef__":true,"id":4022},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4059":{"style":{"__isSmartRef__":true,"id":4060},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"() ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4060":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4061":{"style":{"__isSmartRef__":true,"id":4062},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4062":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4063":{"style":{"__isSmartRef__":true,"id":4064},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4064":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4065":{"style":{"__isSmartRef__":true,"id":4066},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"new","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4066":{"color":{"__isSmartRef__":true,"id":4022},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4067":{"style":{"__isSmartRef__":true,"id":4068},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":" lively.morphic.TreeNode();\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4068":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4069":{"style":{"__isSmartRef__":true,"id":4070},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4070":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4071":{"style":{"__isSmartRef__":true,"id":4072},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4072":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4073":{"style":{"__isSmartRef__":true,"id":4074},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4074":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4075":{"style":{"__isSmartRef__":true,"id":4076},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"\n);\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4076":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4077":{"style":{"__isSmartRef__":true,"id":4078},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4078":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4079":{"style":{"__isSmartRef__":true,"id":4080},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4080":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4081":{"style":{"__isSmartRef__":true,"id":4082},"chunkOwner":{"__isSmartRef__":true,"id":3998},"storedString":"// end of module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4082":{"color":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4083":{"morph":{"__isSmartRef__":true,"id":3998},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4084":{"x":0,"y":247.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4085":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4086":{"resizeWidth":true,"resizeHeight":true},"4087":{"sourceObj":{"__isSmartRef__":true,"id":3998},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3998},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4088":{"sourceObj":{"__isSmartRef__":true,"id":3998},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4089},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4089":{"source":{"__isSmartRef__":true,"id":3998},"target":{"__isSmartRef__":true,"id":3574}},"4090":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3998}},"4091":{"sourceObj":{"__isSmartRef__":true,"id":3574},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":3561},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":4092},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4093},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4092":{"source":{"__isSmartRef__":true,"id":3574},"target":{"__isSmartRef__":true,"id":3561}},"4093":{"updater":{"__isSmartRef__":true,"id":4094}},"4094":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":4092},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":4095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4095":{},"4096":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/morphic/tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"4097":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4098},"derivationIds":[null],"id":"07350297-CF15-48A1-9218-7E50208ABF28","renderContextTable":{"__isSmartRef__":true,"id":4103},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4104}],"eventHandler":{"__isSmartRef__":true,"id":4106},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"visible","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4107},"priorExtent":{"__isSmartRef__":true,"id":4108},"_MaxTextWidth":292,"_MinTextWidth":292,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":null,"_TextColor":{"__isSmartRef__":true,"id":779},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4098":{"_Position":{"__isSmartRef__":true,"id":4099},"renderContextTable":{"__isSmartRef__":true,"id":4100},"_Extent":{"__isSmartRef__":true,"id":4101},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":778},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":{"__isSmartRef__":true,"id":4102},"_StrokeOpacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4099":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4100":{"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"},"4101":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4102":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4103":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4104":{"style":{"__isSmartRef__":true,"id":4105},"chunkOwner":{"__isSmartRef__":true,"id":4097},"storedString":"Saving lively.morphic.tests.InspectorTests...\nSuccessfully saved\nEval disabled for lively.morphic.tests.InspectorTests","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4105":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4106":{"morph":{"__isSmartRef__":true,"id":4097},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4107":{"x":260,"y":136.25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4108":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4109":{"source":{"__isSmartRef__":true,"id":3561},"target":{"__isSmartRef__":true,"id":3574}},"4110":{"submorphs":[{"__isSmartRef__":true,"id":4111}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4123},"derivationIds":[null],"id":"F9ED1119-FAD7-4EC9-8796-80E568A54EE2","renderContextTable":{"__isSmartRef__":true,"id":4128},"eventHandler":{"__isSmartRef__":true,"id":4129},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4130},"priorExtent":{"__isSmartRef__":true,"id":4131},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4132},"label":{"__isSmartRef__":true,"id":4111},"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":4141}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":4143},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4111":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4112},"derivationIds":[null],"id":"AEE5A8F3-6EC7-4A14-885F-E14ECAFF70FE","renderContextTable":{"__isSmartRef__":true,"id":4117},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4118}],"eventHandler":{"__isSmartRef__":true,"id":4120},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4121},"priorExtent":{"__isSmartRef__":true,"id":4122},"_MaxTextWidth":98.39999999999999,"_MinTextWidth":98.39999999999999,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4110},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4112":{"_Position":{"__isSmartRef__":true,"id":4113},"renderContextTable":{"__isSmartRef__":true,"id":4114},"_Extent":{"__isSmartRef__":true,"id":4115},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4116},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4113":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4114":{"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"},"4115":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4116":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4117":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4118":{"style":{"__isSmartRef__":true,"id":4119},"chunkOwner":{"__isSmartRef__":true,"id":4111},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4119":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4120":{"morph":{"__isSmartRef__":true,"id":4111},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4121":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4122":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4123":{"_Position":{"__isSmartRef__":true,"id":4124},"renderContextTable":{"__isSmartRef__":true,"id":4125},"_Extent":{"__isSmartRef__":true,"id":4126},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4127},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4124":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4125":{"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"},"4126":{"x":98.39999999999999,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4127":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4128":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4129":{"morph":{"__isSmartRef__":true,"id":4110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4130":{"x":656,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4131":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4132":{"stops":[{"__isSmartRef__":true,"id":4133},{"__isSmartRef__":true,"id":4135},{"__isSmartRef__":true,"id":4137},{"__isSmartRef__":true,"id":4139}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4133":{"offset":0,"color":{"__isSmartRef__":true,"id":4134}},"4134":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4135":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4136}},"4136":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4137":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4138}},"4138":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4139":{"offset":1,"color":{"__isSmartRef__":true,"id":4140}},"4140":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4141":{"sourceObj":{"__isSmartRef__":true,"id":4110},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4142},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4142":{"source":{"__isSmartRef__":true,"id":4110},"target":{"__isSmartRef__":true,"id":3574}},"4143":{"moveHorizontal":true},"4144":{"submorphs":[{"__isSmartRef__":true,"id":4145}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4157},"derivationIds":[null],"id":"5716B502-006D-42C3-A837-8E6904CD1425","renderContextTable":{"__isSmartRef__":true,"id":4162},"eventHandler":{"__isSmartRef__":true,"id":4163},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4164},"priorExtent":{"__isSmartRef__":true,"id":4165},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4166},"label":{"__isSmartRef__":true,"id":4145},"owner":{"__isSmartRef__":true,"id":3560},"attributeConnections":[{"__isSmartRef__":true,"id":4175}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":4177},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4145":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4146},"derivationIds":[null],"id":"823B0D8F-997B-4CBB-9FC0-03E8518CADA0","renderContextTable":{"__isSmartRef__":true,"id":4151},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4152}],"eventHandler":{"__isSmartRef__":true,"id":4154},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4155},"priorExtent":{"__isSmartRef__":true,"id":4156},"_MaxTextWidth":65.6,"_MinTextWidth":65.6,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4144},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__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},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":4150},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4147":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"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","setClipMode":"setClipModeHTML"},"4149":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4150":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4151":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4152":{"style":{"__isSmartRef__":true,"id":4153},"chunkOwner":{"__isSmartRef__":true,"id":4145},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4153":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4154":{"morph":{"__isSmartRef__":true,"id":4145},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4155":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4156":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4157":{"_Position":{"__isSmartRef__":true,"id":4158},"renderContextTable":{"__isSmartRef__":true,"id":4159},"_Extent":{"__isSmartRef__":true,"id":4160},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4161},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4158":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4159":{"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"},"4160":{"x":65.6,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4161":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4162":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4163":{"morph":{"__isSmartRef__":true,"id":4144},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4164":{"x":754.4,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4165":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4166":{"stops":[{"__isSmartRef__":true,"id":4167},{"__isSmartRef__":true,"id":4169},{"__isSmartRef__":true,"id":4171},{"__isSmartRef__":true,"id":4173}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4167":{"offset":0,"color":{"__isSmartRef__":true,"id":4168}},"4168":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4169":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4170}},"4170":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4171":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4172}},"4172":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4173":{"offset":1,"color":{"__isSmartRef__":true,"id":4174}},"4174":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4175":{"sourceObj":{"__isSmartRef__":true,"id":4144},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3574},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4176},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4176":{"source":{"__isSmartRef__":true,"id":4144},"target":{"__isSmartRef__":true,"id":3574}},"4177":{"moveHorizontal":true},"4178":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4179},"derivationIds":[null],"id":"C4AE0FD0-BAD4-453F-89A2-8F528C8CB3AC","renderContextTable":{"__isSmartRef__":true,"id":4184},"eventHandler":{"__isSmartRef__":true,"id":4185},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":4186},"fixed":[{"__isSmartRef__":true,"id":3576},{"__isSmartRef__":true,"id":3614},{"__isSmartRef__":true,"id":3649},{"__isSmartRef__":true,"id":3684},{"__isSmartRef__":true,"id":3719},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3789}],"scalingBelow":[{"__isSmartRef__":true,"id":3998}],"scalingAbove":[{"__isSmartRef__":true,"id":3830},{"__isSmartRef__":true,"id":3891},{"__isSmartRef__":true,"id":3928},{"__isSmartRef__":true,"id":3963}],"minHeight":20,"pointerConnection":null,"owner":{"__isSmartRef__":true,"id":3560},"styleClass":["Browser_resizer"],"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4179":{"_Position":{"__isSmartRef__":true,"id":4180},"renderContextTable":{"__isSmartRef__":true,"id":4181},"_Extent":{"__isSmartRef__":true,"id":4182},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4183},"_Fill":{"__isSmartRef__":true,"id":1326},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4180":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4181":{"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"},"4182":{"x":820,"y":5.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4183":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4184":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4185":{"morph":{"__isSmartRef__":true,"id":4178},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4186":{"x":0,"y":242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4187":{"_Position":{"__isSmartRef__":true,"id":4188},"renderContextTable":{"__isSmartRef__":true,"id":4189},"_Extent":{"__isSmartRef__":true,"id":4190},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4191},"_Fill":{"__isSmartRef__":true,"id":4192},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4188":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4189":{"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"},"4190":{"x":820,"y":550,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4191":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4192":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4193":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4194":{"morph":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4195":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4196":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4197":{"submorphs":[{"__isSmartRef__":true,"id":4198},{"__isSmartRef__":true,"id":4210},{"__isSmartRef__":true,"id":4245},{"__isSmartRef__":true,"id":4279}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4314},"derivationIds":[null],"id":"004A3A35-0ED3-4686-98CA-1382A67E5DC7","renderContextTable":{"__isSmartRef__":true,"id":4319},"eventHandler":{"__isSmartRef__":true,"id":4320},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4321},"_Position":{"__isSmartRef__":true,"id":4322},"windowMorph":{"__isSmartRef__":true,"id":3559},"label":{"__isSmartRef__":true,"id":4198},"closeButton":{"__isSmartRef__":true,"id":4210},"menuButton":{"__isSmartRef__":true,"id":4245},"collapseButton":{"__isSmartRef__":true,"id":4279},"priorExtent":{"__isSmartRef__":true,"id":4323},"owner":{"__isSmartRef__":true,"id":3559},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4198":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4199},"derivationIds":[null],"id":"FAF4E0B2-D956-43E2-AED1-F57876A0BE6D","renderContextTable":{"__isSmartRef__":true,"id":4203},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4204}],"eventHandler":{"__isSmartRef__":true,"id":4206},"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":4207},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4197},"priorExtent":{"__isSmartRef__":true,"id":4208},"_MaxTextWidth":761,"_MinTextWidth":761,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":4209},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4199":{"_Position":{"__isSmartRef__":true,"id":4200},"renderContextTable":{"__isSmartRef__":true,"id":4201},"_Extent":{"__isSmartRef__":true,"id":4202},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1346},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4200":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4201":{"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"},"4202":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4203":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4204":{"style":{"__isSmartRef__":true,"id":4205},"chunkOwner":{"__isSmartRef__":true,"id":4198},"storedString":"InspectorTests.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4205":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4206":{"morph":{"__isSmartRef__":true,"id":4198},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4207":{"resizeWidth":true},"4208":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4209":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4210":{"submorphs":[{"__isSmartRef__":true,"id":4211}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4222},"derivationIds":[null],"id":"339ABC77-63AD-4EFA-975A-A76DCE7CE26B","renderContextTable":{"__isSmartRef__":true,"id":4227},"eventHandler":{"__isSmartRef__":true,"id":4228},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4229},"priorExtent":{"__isSmartRef__":true,"id":4230},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4231},"label":{"__isSmartRef__":true,"id":4211},"owner":{"__isSmartRef__":true,"id":4197},"layout":{"__isSmartRef__":true,"id":4240},"attributeConnections":[{"__isSmartRef__":true,"id":4241},{"__isSmartRef__":true,"id":4243}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4211":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4212},"derivationIds":[null],"id":"3172DA4D-5E43-4178-93D9-BA54C42EAE37","renderContextTable":{"__isSmartRef__":true,"id":4216},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4217}],"eventHandler":{"__isSmartRef__":true,"id":4219},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4220},"priorExtent":{"__isSmartRef__":true,"id":4221},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4210},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4212":{"_Position":{"__isSmartRef__":true,"id":4213},"renderContextTable":{"__isSmartRef__":true,"id":4214},"_Extent":{"__isSmartRef__":true,"id":4215},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4213":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4214":{"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"},"4215":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4216":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4217":{"style":{"__isSmartRef__":true,"id":4218},"chunkOwner":{"__isSmartRef__":true,"id":4211},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4218":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4219":{"morph":{"__isSmartRef__":true,"id":4211},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4220":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4221":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4222":{"_Position":{"__isSmartRef__":true,"id":4223},"renderContextTable":{"__isSmartRef__":true,"id":4224},"_Extent":{"__isSmartRef__":true,"id":4225},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4226},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4223":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4224":{"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"},"4225":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4226":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4227":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4228":{"morph":{"__isSmartRef__":true,"id":4210},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4229":{"x":800,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4230":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4231":{"stops":[{"__isSmartRef__":true,"id":4232},{"__isSmartRef__":true,"id":4234},{"__isSmartRef__":true,"id":4236},{"__isSmartRef__":true,"id":4238}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4232":{"offset":0,"color":{"__isSmartRef__":true,"id":4233}},"4233":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4234":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4235}},"4235":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4236":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4237}},"4237":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4238":{"offset":1,"color":{"__isSmartRef__":true,"id":4239}},"4239":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4240":{"moveHorizontal":true},"4241":{"sourceObj":{"__isSmartRef__":true,"id":4210},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4242},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4242":{"source":{"__isSmartRef__":true,"id":4210},"target":{"__isSmartRef__":true,"id":3559}},"4243":{"sourceObj":{"__isSmartRef__":true,"id":4210},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4244},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4244":{"source":{"__isSmartRef__":true,"id":4210},"target":{"__isSmartRef__":true,"id":3559}},"4245":{"submorphs":[{"__isSmartRef__":true,"id":4246}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4257},"derivationIds":[null],"id":"88C4FB88-5F31-4FF5-A4E0-4EFADC8D6951","renderContextTable":{"__isSmartRef__":true,"id":4262},"eventHandler":{"__isSmartRef__":true,"id":4263},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4264},"priorExtent":{"__isSmartRef__":true,"id":4265},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4266},"label":{"__isSmartRef__":true,"id":4246},"owner":{"__isSmartRef__":true,"id":4197},"attributeConnections":[{"__isSmartRef__":true,"id":4275},{"__isSmartRef__":true,"id":4277}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4246":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4247},"derivationIds":[null],"id":"18EABC76-50C7-4C7A-9C17-46813EC10937","renderContextTable":{"__isSmartRef__":true,"id":4251},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4252}],"eventHandler":{"__isSmartRef__":true,"id":4254},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4255},"priorExtent":{"__isSmartRef__":true,"id":4256},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4245},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4247":{"_Position":{"__isSmartRef__":true,"id":4248},"renderContextTable":{"__isSmartRef__":true,"id":4249},"_Extent":{"__isSmartRef__":true,"id":4250},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4248":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4249":{"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"},"4250":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4251":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4252":{"style":{"__isSmartRef__":true,"id":4253},"chunkOwner":{"__isSmartRef__":true,"id":4246},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4253":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4254":{"morph":{"__isSmartRef__":true,"id":4246},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4255":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4256":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4257":{"_Position":{"__isSmartRef__":true,"id":4258},"renderContextTable":{"__isSmartRef__":true,"id":4259},"_Extent":{"__isSmartRef__":true,"id":4260},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4261},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4258":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4259":{"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"},"4260":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4261":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4262":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4263":{"morph":{"__isSmartRef__":true,"id":4245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4264":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4265":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4266":{"stops":[{"__isSmartRef__":true,"id":4267},{"__isSmartRef__":true,"id":4269},{"__isSmartRef__":true,"id":4271},{"__isSmartRef__":true,"id":4273}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4267":{"offset":0,"color":{"__isSmartRef__":true,"id":4268}},"4268":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4269":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4270}},"4270":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4271":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4272}},"4272":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4273":{"offset":1,"color":{"__isSmartRef__":true,"id":4274}},"4274":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4275":{"sourceObj":{"__isSmartRef__":true,"id":4245},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4276},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4276":{"source":{"__isSmartRef__":true,"id":4245},"target":{"__isSmartRef__":true,"id":3559}},"4277":{"sourceObj":{"__isSmartRef__":true,"id":4245},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4278},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4278":{"source":{"__isSmartRef__":true,"id":4245},"target":{"__isSmartRef__":true,"id":3559}},"4279":{"submorphs":[{"__isSmartRef__":true,"id":4280}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4291},"derivationIds":[null],"id":"12C1907B-F0C1-4C2C-8C89-7A00DF79161F","renderContextTable":{"__isSmartRef__":true,"id":4296},"eventHandler":{"__isSmartRef__":true,"id":4297},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4298},"priorExtent":{"__isSmartRef__":true,"id":4299},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4300},"label":{"__isSmartRef__":true,"id":4280},"owner":{"__isSmartRef__":true,"id":4197},"layout":{"__isSmartRef__":true,"id":4309},"attributeConnections":[{"__isSmartRef__":true,"id":4310},{"__isSmartRef__":true,"id":4312}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4280":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4281},"derivationIds":[null],"id":"5D03A959-59FE-42C0-BAAC-7B21724D7B1E","renderContextTable":{"__isSmartRef__":true,"id":4285},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4286}],"eventHandler":{"__isSmartRef__":true,"id":4288},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4289},"priorExtent":{"__isSmartRef__":true,"id":4290},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4279},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4281":{"_Position":{"__isSmartRef__":true,"id":4282},"renderContextTable":{"__isSmartRef__":true,"id":4283},"_Extent":{"__isSmartRef__":true,"id":4284},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4282":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4283":{"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"},"4284":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4285":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4286":{"style":{"__isSmartRef__":true,"id":4287},"chunkOwner":{"__isSmartRef__":true,"id":4280},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4287":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4288":{"morph":{"__isSmartRef__":true,"id":4280},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4289":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4290":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4291":{"_Position":{"__isSmartRef__":true,"id":4292},"renderContextTable":{"__isSmartRef__":true,"id":4293},"_Extent":{"__isSmartRef__":true,"id":4294},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4295},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4292":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4293":{"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"},"4294":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4295":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4296":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4297":{"morph":{"__isSmartRef__":true,"id":4279},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4298":{"x":781,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4299":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4300":{"stops":[{"__isSmartRef__":true,"id":4301},{"__isSmartRef__":true,"id":4303},{"__isSmartRef__":true,"id":4305},{"__isSmartRef__":true,"id":4307}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4301":{"offset":0,"color":{"__isSmartRef__":true,"id":4302}},"4302":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4303":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4304}},"4304":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4305":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4306}},"4306":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4307":{"offset":1,"color":{"__isSmartRef__":true,"id":4308}},"4308":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4309":{"moveHorizontal":true},"4310":{"sourceObj":{"__isSmartRef__":true,"id":4279},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4311},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4311":{"source":{"__isSmartRef__":true,"id":4279},"target":{"__isSmartRef__":true,"id":3559}},"4312":{"sourceObj":{"__isSmartRef__":true,"id":4279},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4313},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4313":{"source":{"__isSmartRef__":true,"id":4279},"target":{"__isSmartRef__":true,"id":3559}},"4314":{"_Position":{"__isSmartRef__":true,"id":4315},"renderContextTable":{"__isSmartRef__":true,"id":4316},"_Extent":{"__isSmartRef__":true,"id":4317},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4318},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1464},"_Fill":{"__isSmartRef__":true,"id":1465},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4315":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4316":{"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"},"4317":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4318":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4319":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4320":{"morph":{"__isSmartRef__":true,"id":4197},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4321":{"resizeWidth":true,"adjustForNewBounds":true},"4322":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4323":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4324":{"renderContextTable":{"__isSmartRef__":true,"id":4325},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4326},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":4327},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4325":{"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"},"4326":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4327":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4328":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4329":{"morph":{"__isSmartRef__":true,"id":3559},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4330":{"adjustForNewBounds":true},"4331":{"x":713.5,"y":7,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4332":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4333":{"x":828,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4334":{"submorphs":[{"__isSmartRef__":true,"id":4335},{"__isSmartRef__":true,"id":4350}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4482},"derivationIds":[null],"id":"DBC23754-924E-4BE0-B3D3-2FD4D2551612","renderContextTable":{"__isSmartRef__":true,"id":4486},"eventHandler":{"__isSmartRef__":true,"id":4487},"droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":4488},"LK2":true,"_Position":{"__isSmartRef__":true,"id":4489},"priorExtent":{"__isSmartRef__":true,"id":4490},"targetMorph":{"__isSmartRef__":true,"id":4335},"titleBar":{"__isSmartRef__":true,"id":4350},"contentOffset":{"__isSmartRef__":true,"id":4346},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"4335":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4336},"derivationIds":[null],"id":"A9D9A70F-B3DD-4E86-B264-F760E14D739D","renderContextTable":{"__isSmartRef__":true,"id":4342},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4343}],"eventHandler":{"__isSmartRef__":true,"id":4345},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4346},"priorExtent":{"__isSmartRef__":true,"id":4347},"_MaxTextWidth":490,"_MinTextWidth":490,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4334},"layout":{"__isSmartRef__":true,"id":4348},"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":4349}],"doNotSerialize":["$$textString"],"doNotCopyProperties":["$$textString"],"textString":"lively.morphic.tests","lastSyntaxHighlightTime":1328826504727,"accessibleInInactiveWindow":true,"previousSelection":[37,37],"priorSelectionRange":[20,20],"charsReplaced":"m","lastFindLoc":1,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4336":{"_Position":{"__isSmartRef__":true,"id":4337},"renderContextTable":{"__isSmartRef__":true,"id":4338},"_Extent":{"__isSmartRef__":true,"id":4339},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":778},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4340},"_Fill":{"__isSmartRef__":true,"id":4341},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4337":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4338":{"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"},"4339":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4340":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4341":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4342":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4343":{"style":{"__isSmartRef__":true,"id":4344},"chunkOwner":{"__isSmartRef__":true,"id":4335},"storedString":"lively.morphic.tests","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4344":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4345":{"morph":{"__isSmartRef__":true,"id":4335},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4346":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4347":{"x":500,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4348":{"resizeWidth":true,"resizeHeight":true},"4349":{"sourceObj":{"__isSmartRef__":true,"id":4335},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":4335},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4350":{"submorphs":[{"__isSmartRef__":true,"id":4351},{"__isSmartRef__":true,"id":4363},{"__isSmartRef__":true,"id":4398},{"__isSmartRef__":true,"id":4432}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4467},"derivationIds":[null],"id":"C8E287FC-CE7C-45B0-BB5B-5560048E3600","renderContextTable":{"__isSmartRef__":true,"id":4477},"eventHandler":{"__isSmartRef__":true,"id":4478},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4479},"_Position":{"__isSmartRef__":true,"id":4480},"windowMorph":{"__isSmartRef__":true,"id":4334},"label":{"__isSmartRef__":true,"id":4351},"closeButton":{"__isSmartRef__":true,"id":4363},"menuButton":{"__isSmartRef__":true,"id":4398},"collapseButton":{"__isSmartRef__":true,"id":4432},"priorExtent":{"__isSmartRef__":true,"id":4481},"owner":{"__isSmartRef__":true,"id":4334},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4351":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4352},"derivationIds":[null],"id":"2F974FB4-D2BB-465F-999B-CAD3178720A9","renderContextTable":{"__isSmartRef__":true,"id":4356},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4357}],"eventHandler":{"__isSmartRef__":true,"id":4359},"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":4360},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4350},"priorExtent":{"__isSmartRef__":true,"id":4361},"_MaxTextWidth":441,"_MinTextWidth":441,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":4362},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4352":{"_Position":{"__isSmartRef__":true,"id":4353},"renderContextTable":{"__isSmartRef__":true,"id":4354},"_Extent":{"__isSmartRef__":true,"id":4355},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1346},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4353":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4354":{"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"},"4355":{"x":441,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4356":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4357":{"style":{"__isSmartRef__":true,"id":4358},"chunkOwner":{"__isSmartRef__":true,"id":4351},"storedString":"Workspace","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4358":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4359":{"morph":{"__isSmartRef__":true,"id":4351},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4360":{"resizeWidth":true},"4361":{"x":0,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4362":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4363":{"submorphs":[{"__isSmartRef__":true,"id":4364}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4375},"derivationIds":[null],"id":"B682F290-9B40-434F-BA2D-C07AE33E32CE","renderContextTable":{"__isSmartRef__":true,"id":4380},"eventHandler":{"__isSmartRef__":true,"id":4381},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4382},"priorExtent":{"__isSmartRef__":true,"id":4383},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4384},"label":{"__isSmartRef__":true,"id":4364},"owner":{"__isSmartRef__":true,"id":4350},"layout":{"__isSmartRef__":true,"id":4393},"attributeConnections":[{"__isSmartRef__":true,"id":4394},{"__isSmartRef__":true,"id":4396}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4364":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4365},"derivationIds":[null],"id":"9B5AFDB5-305B-4541-8C11-84B47A30C208","renderContextTable":{"__isSmartRef__":true,"id":4369},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4370}],"eventHandler":{"__isSmartRef__":true,"id":4372},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4373},"priorExtent":{"__isSmartRef__":true,"id":4374},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4363},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4365":{"_Position":{"__isSmartRef__":true,"id":4366},"renderContextTable":{"__isSmartRef__":true,"id":4367},"_Extent":{"__isSmartRef__":true,"id":4368},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4366":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4367":{"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"},"4368":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4369":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4370":{"style":{"__isSmartRef__":true,"id":4371},"chunkOwner":{"__isSmartRef__":true,"id":4364},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4371":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4372":{"morph":{"__isSmartRef__":true,"id":4364},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4373":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4374":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4375":{"_Position":{"__isSmartRef__":true,"id":4376},"renderContextTable":{"__isSmartRef__":true,"id":4377},"_Extent":{"__isSmartRef__":true,"id":4378},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4379},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4376":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4377":{"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"},"4378":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4379":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4380":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4381":{"morph":{"__isSmartRef__":true,"id":4363},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4382":{"x":480,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4383":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4384":{"stops":[{"__isSmartRef__":true,"id":4385},{"__isSmartRef__":true,"id":4387},{"__isSmartRef__":true,"id":4389},{"__isSmartRef__":true,"id":4391}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4385":{"offset":0,"color":{"__isSmartRef__":true,"id":4386}},"4386":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4387":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4388}},"4388":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4389":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4390}},"4390":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4391":{"offset":1,"color":{"__isSmartRef__":true,"id":4392}},"4392":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4393":{"moveHorizontal":true},"4394":{"sourceObj":{"__isSmartRef__":true,"id":4363},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4395},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4395":{"source":{"__isSmartRef__":true,"id":4363},"target":{"__isSmartRef__":true,"id":4334}},"4396":{"sourceObj":{"__isSmartRef__":true,"id":4363},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4397},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4397":{"source":{"__isSmartRef__":true,"id":4363},"target":{"__isSmartRef__":true,"id":4334}},"4398":{"submorphs":[{"__isSmartRef__":true,"id":4399}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4410},"derivationIds":[null],"id":"40F14A13-C211-4837-A016-F8BFC8285C24","renderContextTable":{"__isSmartRef__":true,"id":4415},"eventHandler":{"__isSmartRef__":true,"id":4416},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4417},"priorExtent":{"__isSmartRef__":true,"id":4418},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4419},"label":{"__isSmartRef__":true,"id":4399},"owner":{"__isSmartRef__":true,"id":4350},"attributeConnections":[{"__isSmartRef__":true,"id":4428},{"__isSmartRef__":true,"id":4430}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4399":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4400},"derivationIds":[null],"id":"6886104B-F54D-4AD3-AAA1-9B5404B5D8A3","renderContextTable":{"__isSmartRef__":true,"id":4404},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4405}],"eventHandler":{"__isSmartRef__":true,"id":4407},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4408},"priorExtent":{"__isSmartRef__":true,"id":4409},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4398},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4400":{"_Position":{"__isSmartRef__":true,"id":4401},"renderContextTable":{"__isSmartRef__":true,"id":4402},"_Extent":{"__isSmartRef__":true,"id":4403},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4401":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4402":{"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"},"4403":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4404":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4405":{"style":{"__isSmartRef__":true,"id":4406},"chunkOwner":{"__isSmartRef__":true,"id":4399},"storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4406":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4407":{"morph":{"__isSmartRef__":true,"id":4399},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4408":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4409":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4410":{"_Position":{"__isSmartRef__":true,"id":4411},"renderContextTable":{"__isSmartRef__":true,"id":4412},"_Extent":{"__isSmartRef__":true,"id":4413},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4414},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4411":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4412":{"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"},"4413":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4414":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4415":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4416":{"morph":{"__isSmartRef__":true,"id":4398},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4417":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4418":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4419":{"stops":[{"__isSmartRef__":true,"id":4420},{"__isSmartRef__":true,"id":4422},{"__isSmartRef__":true,"id":4424},{"__isSmartRef__":true,"id":4426}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4420":{"offset":0,"color":{"__isSmartRef__":true,"id":4421}},"4421":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4422":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4423}},"4423":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4424":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4425}},"4425":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4426":{"offset":1,"color":{"__isSmartRef__":true,"id":4427}},"4427":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4428":{"sourceObj":{"__isSmartRef__":true,"id":4398},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4429},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4429":{"source":{"__isSmartRef__":true,"id":4398},"target":{"__isSmartRef__":true,"id":4334}},"4430":{"sourceObj":{"__isSmartRef__":true,"id":4398},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4431},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4431":{"source":{"__isSmartRef__":true,"id":4398},"target":{"__isSmartRef__":true,"id":4334}},"4432":{"submorphs":[{"__isSmartRef__":true,"id":4433}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4444},"derivationIds":[null],"id":"65F914E8-93BD-479D-938A-78E0AB7AD93B","renderContextTable":{"__isSmartRef__":true,"id":4449},"eventHandler":{"__isSmartRef__":true,"id":4450},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4451},"priorExtent":{"__isSmartRef__":true,"id":4452},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":810},"lighterFill":{"__isSmartRef__":true,"id":4453},"label":{"__isSmartRef__":true,"id":4433},"owner":{"__isSmartRef__":true,"id":4350},"layout":{"__isSmartRef__":true,"id":4462},"attributeConnections":[{"__isSmartRef__":true,"id":4463},{"__isSmartRef__":true,"id":4465}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4433":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4434},"derivationIds":[null],"id":"1FEA94BB-730A-4D72-878E-DB75B9627B09","renderContextTable":{"__isSmartRef__":true,"id":4438},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4439}],"eventHandler":{"__isSmartRef__":true,"id":4441},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":4442},"priorExtent":{"__isSmartRef__":true,"id":4443},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4432},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":779},"_Align":"center","eventsAreIgnored":true,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4434":{"_Position":{"__isSmartRef__":true,"id":4435},"renderContextTable":{"__isSmartRef__":true,"id":4436},"_Extent":{"__isSmartRef__":true,"id":4437},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1360},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":779},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4435":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4436":{"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"},"4437":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4438":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","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","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML"},"4439":{"style":{"__isSmartRef__":true,"id":4440},"chunkOwner":{"__isSmartRef__":true,"id":4433},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4440":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4441":{"morph":{"__isSmartRef__":true,"id":4433},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4442":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4443":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4444":{"_Position":{"__isSmartRef__":true,"id":4445},"renderContextTable":{"__isSmartRef__":true,"id":4446},"_Extent":{"__isSmartRef__":true,"id":4447},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4448},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":809},"_Fill":{"__isSmartRef__":true,"id":810},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4445":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4446":{"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"},"4447":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4448":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4449":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4450":{"morph":{"__isSmartRef__":true,"id":4432},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4451":{"x":461,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4452":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4453":{"stops":[{"__isSmartRef__":true,"id":4454},{"__isSmartRef__":true,"id":4456},{"__isSmartRef__":true,"id":4458},{"__isSmartRef__":true,"id":4460}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4454":{"offset":0,"color":{"__isSmartRef__":true,"id":4455}},"4455":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4456":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4457}},"4457":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4458":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4459}},"4459":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4460":{"offset":1,"color":{"__isSmartRef__":true,"id":4461}},"4461":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4462":{"moveHorizontal":true},"4463":{"sourceObj":{"__isSmartRef__":true,"id":4432},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4464},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4464":{"source":{"__isSmartRef__":true,"id":4432},"target":{"__isSmartRef__":true,"id":4334}},"4465":{"sourceObj":{"__isSmartRef__":true,"id":4432},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4334},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4466},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4466":{"source":{"__isSmartRef__":true,"id":4432},"target":{"__isSmartRef__":true,"id":4334}},"4467":{"_Position":{"__isSmartRef__":true,"id":4468},"renderContextTable":{"__isSmartRef__":true,"id":4469},"_Extent":{"__isSmartRef__":true,"id":4470},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4471},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1464},"_Fill":{"__isSmartRef__":true,"id":4472},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4468":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4469":{"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"},"4470":{"x":500,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4471":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4472":{"stops":[{"__isSmartRef__":true,"id":4473},{"__isSmartRef__":true,"id":4475}],"vector":{"__isSmartRef__":true,"id":819},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4473":{"offset":0,"color":{"__isSmartRef__":true,"id":4474}},"4474":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4475":{"offset":1,"color":{"__isSmartRef__":true,"id":4476}},"4476":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4477":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4478":{"morph":{"__isSmartRef__":true,"id":4350},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4479":{"resizeWidth":true,"adjustForNewBounds":true},"4480":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4481":{"x":500,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4482":{"renderContextTable":{"__isSmartRef__":true,"id":4483},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4484},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":4485},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4483":{"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"},"4484":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global"},"4485":{"x":500,"y":221,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4486":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4487":{"morph":{"__isSmartRef__":true,"id":4334},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4488":{"adjustForNewBounds":true},"4489":{"x":864,"y":402,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4490":{"x":500,"y":221,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4491":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":4492},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"_Position":{"__isSmartRef__":true,"id":4498},"owner":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","carriesGrabbedMorphs":false,"_Scale":1,"_Rotation":0,"renderContextTable":{"__isSmartRef__":true,"id":4499},"eventHandler":{"__isSmartRef__":true,"id":4500},"clickedOnMorph":{"__isSmartRef__":true,"id":0},"lastScrollTime":1328826433971,"scrollFocusMorph":{"__isSmartRef__":true,"id":0},"internalClickedOnMorph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"4492":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4493},"_Extent":{"__isSmartRef__":true,"id":4494},"_Fill":{"__isSmartRef__":true,"id":4495},"renderContextTable":{"__isSmartRef__":true,"id":4496},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4497},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4493":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4494":{"x":2,"y":2,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4495":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"4496":{"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"},"4497":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4498":{"x":667,"y":309,"__LivelyClassName__":"Point","__SourceModuleName__":"Global"},"4499":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4500":{"morph":{"__isSmartRef__":true,"id":4491},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4501":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4502},"_Extent":{"__isSmartRef__":true,"id":4503},"_Fill":{"__isSmartRef__":true,"id":4504},"renderContextTable":{"__isSmartRef__":true,"id":4505},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4506},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4502":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4503":{"x":2800,"y":2900,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4504":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global"},"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","setClipMode":"setClipModeHTML"},"4506":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Rectangle"},"4507":{"x":0,"y":0,"__SourceModuleName__":"Global","__LivelyClassName__":"Point"},"4508":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setScroll":"setScrollHTML"},"4509":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4510":{"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":4511},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4512},"__LivelyClassName__":"AttributeConnection"},"4511":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"4512":{"updater":{"__isSmartRef__":true,"id":4513}},"4513":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":4511},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global"},"4514":{},"4515":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/users/lauritz/miniprojects/explorer.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>